@@ -10,28 +10,21 @@ import (
1010 "github.com/0xsequence/go-sequence/contracts/gen/ierc1271"
1111 "github.com/0xsequence/go-sequence/contracts/gen/niftyswap"
1212 "github.com/0xsequence/go-sequence/contracts/gen/tokens"
13+ walletfactory1 "github.com/0xsequence/go-sequence/contracts/gen/v1/walletfactory"
14+ walletgasestimator1 "github.com/0xsequence/go-sequence/contracts/gen/v1/walletgasestimator"
15+ walletguest1 "github.com/0xsequence/go-sequence/contracts/gen/v1/walletguest"
16+ walletmain1 "github.com/0xsequence/go-sequence/contracts/gen/v1/walletmain"
17+ walletupgradable1 "github.com/0xsequence/go-sequence/contracts/gen/v1/walletupgradable"
18+ walletutils1 "github.com/0xsequence/go-sequence/contracts/gen/v1/walletutils"
1319 walletfactory2 "github.com/0xsequence/go-sequence/contracts/gen/v2/walletfactory"
1420 walletgasestimator2 "github.com/0xsequence/go-sequence/contracts/gen/v2/walletgasestimator"
1521 walletguest2 "github.com/0xsequence/go-sequence/contracts/gen/v2/walletguest"
1622 walletmain2 "github.com/0xsequence/go-sequence/contracts/gen/v2/walletmain"
1723 walletupgradable2 "github.com/0xsequence/go-sequence/contracts/gen/v2/walletupgradable"
1824 walletutils2 "github.com/0xsequence/go-sequence/contracts/gen/v2/walletutils"
19- "github.com/0xsequence/go-sequence/contracts/gen/walletfactory"
20- "github.com/0xsequence/go-sequence/contracts/gen/walletgasestimator"
21- "github.com/0xsequence/go-sequence/contracts/gen/walletguest"
22- "github.com/0xsequence/go-sequence/contracts/gen/walletmain"
23- "github.com/0xsequence/go-sequence/contracts/gen/walletupgradable"
24- "github.com/0xsequence/go-sequence/contracts/gen/walletutils"
2525)
2626
2727var (
28- WalletFactory,
29- WalletMainModule,
30- WalletMainModuleUpgradable,
31- WalletGuestModule,
32- WalletUtils,
33- WalletRequireFreshSigner,
34- WalletGasEstimator,
3528 GasEstimator,
3629 IERC1271,
3730 ERC20Mock,
4841 _ ethartifact.Artifact
4942)
5043
44+ var V1 struct {
45+ WalletFactory ethartifact.Artifact
46+ WalletMainModule ethartifact.Artifact
47+ WalletMainModuleUpgradable ethartifact.Artifact
48+ WalletGuestModule ethartifact.Artifact
49+ WalletUtils ethartifact.Artifact
50+ WalletRequireFreshSigner ethartifact.Artifact
51+ WalletGasEstimator ethartifact.Artifact
52+ }
53+
5154var V2 struct {
5255 WalletFactory ethartifact.Artifact
5356 WalletMainModule ethartifact.Artifact
@@ -63,13 +66,13 @@ var (
6366)
6467
6568func init() {
66- WalletFactory = artifact("WALLET_FACTORY", walletfactory .WalletFactoryABI, walletfactory .WalletFactoryBin)
67- WalletMainModule = artifact("WALLET_MAIN", walletmain .WalletMainABI, walletmain .WalletMainBin)
68- WalletMainModuleUpgradable = artifact("WALLET_UPGRADABLE", walletupgradable .WalletUpgradableABI, walletupgradable .WalletUpgradableBin)
69- WalletGuestModule = artifact("WALLET_GUEST", walletguest .WalletGuestABI, walletguest .WalletGuestBin)
70- WalletUtils = artifact("WALLET_UTILS", walletutils .WalletUtilsABI, walletutils .WalletUtilsBin)
71- WalletRequireFreshSigner = artifact("WALLET_REQUIRE_FRESH_SIGNER", walletutils .WalletRequireFreshSignerABI, walletutils .WalletRequireFreshSignerBin)
72- WalletGasEstimator = artifact("WALLET_GAS_ESTIMATOR", walletgasestimator .WalletGasEstimatorABI, walletgasestimator .WalletGasEstimatorBin, walletgasestimator .WalletGasEstimatorDeployedBin)
69+ V1. WalletFactory = artifact("WALLET_FACTORY", walletfactory1 .WalletFactoryABI, walletfactory1 .WalletFactoryBin)
70+ V1. WalletMainModule = artifact("WALLET_MAIN", walletmain1 .WalletMainABI, walletmain1 .WalletMainBin)
71+ V1. WalletMainModuleUpgradable = artifact("WALLET_UPGRADABLE", walletupgradable1 .WalletUpgradableABI, walletupgradable1 .WalletUpgradableBin)
72+ V1. WalletGuestModule = artifact("WALLET_GUEST", walletguest1 .WalletGuestABI, walletguest1 .WalletGuestBin)
73+ V1. WalletUtils = artifact("WALLET_UTILS", walletutils1 .WalletUtilsABI, walletutils1 .WalletUtilsBin)
74+ V1. WalletRequireFreshSigner = artifact("WALLET_REQUIRE_FRESH_SIGNER", walletutils1 .WalletRequireFreshSignerABI, walletutils1 .WalletRequireFreshSignerBin)
75+ V1. WalletGasEstimator = artifact("WALLET_GAS_ESTIMATOR", walletgasestimator1 .WalletGasEstimatorABI, walletgasestimator1 .WalletGasEstimatorBin, walletgasestimator1 .WalletGasEstimatorDeployedBin)
7376
7477 V2.WalletFactory = artifact("WALLET_FACTORY", walletfactory2.WalletFactoryABI, walletfactory2.WalletFactoryBin)
7578 V2.WalletMainModule = artifact("WALLET_MAIN", walletmain2.WalletMainABI, walletmain2.WalletMainBin)
0 commit comments