@safe-global/safe-modules-deployments 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/allowance-module.js +2 -1
  2. package/dist/assets/allowance-module/v0.1.0/allowance-module.json +1 -0
  3. package/dist/assets/allowance-module/v0.1.1/allowance-module.json +709 -0
  4. package/dist/assets/safe-4337-module/v0.2.0/safe-4337-module.json +1 -0
  5. package/dist/assets/safe-4337-module/v0.3.0/safe-4337-module.json +11 -0
  6. package/dist/assets/safe-4337-module/v0.3.0/safe-module-setup.json +1 -0
  7. package/dist/assets/safe-passkey-module/v0.2.1/daimo-p256-verifier.json +24 -0
  8. package/dist/assets/safe-passkey-module/v0.2.1/fcl-p256-verifier.json +24 -0
  9. package/dist/assets/safe-passkey-module/v0.2.1/safe-webauthn-shared-signer.json +188 -0
  10. package/dist/assets/safe-passkey-module/v0.2.1/safe-webauthn-signer-factory.json +166 -0
  11. package/dist/safe-passkey-module.d.ts +1 -0
  12. package/dist/safe-passkey-module.js +19 -7
  13. package/package.json +8 -7
  14. package/src/allowance-module.ts +2 -1
  15. package/src/assets/allowance-module/v0.1.0/allowance-module.json +1 -0
  16. package/src/assets/allowance-module/v0.1.1/allowance-module.json +709 -0
  17. package/src/assets/safe-4337-module/v0.2.0/safe-4337-module.json +1 -0
  18. package/src/assets/safe-4337-module/v0.3.0/safe-4337-module.json +11 -0
  19. package/src/assets/safe-4337-module/v0.3.0/safe-module-setup.json +1 -0
  20. package/src/assets/safe-passkey-module/v0.2.1/daimo-p256-verifier.json +24 -0
  21. package/src/assets/safe-passkey-module/v0.2.1/fcl-p256-verifier.json +24 -0
  22. package/src/assets/safe-passkey-module/v0.2.1/safe-webauthn-shared-signer.json +188 -0
  23. package/src/assets/safe-passkey-module/v0.2.1/safe-webauthn-signer-factory.json +166 -0
  24. package/src/safe-passkey-module.ts +15 -3
@@ -3,6 +3,7 @@
3
3
  "contractName": "Safe4337Module",
4
4
  "version": "0.2.0",
5
5
  "networkAddresses": {
6
+ "1": "0xa581c4A4DB7175302464fF3C06380BC3270b4037",
6
7
  "5": "0xa581c4A4DB7175302464fF3C06380BC3270b4037",
7
8
  "10": "0xa581c4A4DB7175302464fF3C06380BC3270b4037",
8
9
  "100": "0xa581c4A4DB7175302464fF3C06380BC3270b4037",
@@ -3,6 +3,17 @@
3
3
  "contractName": "Safe4337Module",
4
4
  "version": "0.3.0",
5
5
  "networkAddresses": {
6
+ "1": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
7
+ "10": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
8
+ "56": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
9
+ "97": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
10
+ "100": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
11
+ "137": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
12
+ "480": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
13
+ "8453": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
14
+ "42161": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
15
+ "84532": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
16
+ "421614": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
6
17
  "11155111": "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226"
7
18
  },
8
19
  "abi": [
@@ -3,6 +3,7 @@
3
3
  "contractName": "SafeModuleSetup",
4
4
  "version": "0.3.0",
5
5
  "networkAddresses": {
6
+ "480": "0x2dd68b007B46fBe91B9A7c3EDa5A7a1063cB5b47",
6
7
  "11155111": "0x2dd68b007B46fBe91B9A7c3EDa5A7a1063cB5b47"
7
8
  },
8
9
  "abi": [
@@ -0,0 +1,24 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "DaimoP256Verifier",
4
+ "version": "0.2.1",
5
+ "networkAddresses": {
6
+ "1": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
7
+ "10": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
8
+ "137": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
9
+ "4078": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
10
+ "8453": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
11
+ "42161": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
12
+ "80002": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
13
+ "84532": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
14
+ "421614": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
15
+ "11155111": "0xc2b78104907F722DABAc4C69f826a522B2754De4",
16
+ "11155420": "0xc2b78104907F722DABAc4C69f826a522B2754De4"
17
+ },
18
+ "abi": [
19
+ {
20
+ "stateMutability": "nonpayable",
21
+ "type": "fallback"
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "FCLP256Verifier",
4
+ "version": "0.2.1",
5
+ "networkAddresses": {
6
+ "1": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
7
+ "10": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
8
+ "137": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
9
+ "4078": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
10
+ "8453": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
11
+ "42161": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
12
+ "80002": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
13
+ "84532": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
14
+ "421614": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
15
+ "11155111": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA",
16
+ "11155420": "0xA86e0054C51E4894D88762a017ECc5E5235f5DBA"
17
+ },
18
+ "abi": [
19
+ {
20
+ "stateMutability": "nonpayable",
21
+ "type": "fallback"
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,188 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "SafeWebAuthnSharedSigner",
4
+ "version": "0.2.1",
5
+ "networkAddresses": {
6
+ "1": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
7
+ "10": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
8
+ "137": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
9
+ "4078": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
10
+ "8453": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
11
+ "42161": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
12
+ "80002": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
13
+ "84532": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
14
+ "421614": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
15
+ "11155111": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2",
16
+ "11155420": "0x94a4F6affBd8975951142c3999aEAB7ecee555c2"
17
+ },
18
+ "abi": [
19
+ {
20
+ "inputs": [],
21
+ "stateMutability": "nonpayable",
22
+ "type": "constructor"
23
+ },
24
+ {
25
+ "inputs": [],
26
+ "name": "NotDelegateCalled",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "anonymous": false,
31
+ "inputs": [
32
+ {
33
+ "indexed": true,
34
+ "internalType": "bytes32",
35
+ "name": "publicKeyHash",
36
+ "type": "bytes32"
37
+ },
38
+ {
39
+ "indexed": false,
40
+ "internalType": "uint256",
41
+ "name": "x",
42
+ "type": "uint256"
43
+ },
44
+ {
45
+ "indexed": false,
46
+ "internalType": "uint256",
47
+ "name": "y",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "indexed": false,
52
+ "internalType": "P256.Verifiers",
53
+ "name": "verifiers",
54
+ "type": "uint176"
55
+ }
56
+ ],
57
+ "name": "SafeWebAuthnSharedSignerConfigured",
58
+ "type": "event"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "SIGNER_SLOT",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
75
+ {
76
+ "components": [
77
+ {
78
+ "internalType": "uint256",
79
+ "name": "x",
80
+ "type": "uint256"
81
+ },
82
+ {
83
+ "internalType": "uint256",
84
+ "name": "y",
85
+ "type": "uint256"
86
+ },
87
+ {
88
+ "internalType": "P256.Verifiers",
89
+ "name": "verifiers",
90
+ "type": "uint176"
91
+ }
92
+ ],
93
+ "internalType": "struct SafeWebAuthnSharedSigner.Signer",
94
+ "name": "signer",
95
+ "type": "tuple"
96
+ }
97
+ ],
98
+ "name": "configure",
99
+ "outputs": [],
100
+ "stateMutability": "nonpayable",
101
+ "type": "function"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "account",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "getConfiguration",
112
+ "outputs": [
113
+ {
114
+ "components": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "x",
118
+ "type": "uint256"
119
+ },
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "y",
123
+ "type": "uint256"
124
+ },
125
+ {
126
+ "internalType": "P256.Verifiers",
127
+ "name": "verifiers",
128
+ "type": "uint176"
129
+ }
130
+ ],
131
+ "internalType": "struct SafeWebAuthnSharedSigner.Signer",
132
+ "name": "signer",
133
+ "type": "tuple"
134
+ }
135
+ ],
136
+ "stateMutability": "view",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "bytes32",
143
+ "name": "message",
144
+ "type": "bytes32"
145
+ },
146
+ {
147
+ "internalType": "bytes",
148
+ "name": "signature",
149
+ "type": "bytes"
150
+ }
151
+ ],
152
+ "name": "isValidSignature",
153
+ "outputs": [
154
+ {
155
+ "internalType": "bytes4",
156
+ "name": "magicValue",
157
+ "type": "bytes4"
158
+ }
159
+ ],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "bytes",
167
+ "name": "data",
168
+ "type": "bytes"
169
+ },
170
+ {
171
+ "internalType": "bytes",
172
+ "name": "signature",
173
+ "type": "bytes"
174
+ }
175
+ ],
176
+ "name": "isValidSignature",
177
+ "outputs": [
178
+ {
179
+ "internalType": "bytes4",
180
+ "name": "magicValue",
181
+ "type": "bytes4"
182
+ }
183
+ ],
184
+ "stateMutability": "view",
185
+ "type": "function"
186
+ }
187
+ ]
188
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "SafeWebAuthnSignerFactory",
4
+ "version": "0.2.1",
5
+ "networkAddresses": {
6
+ "1": "0x1d31F259eE307358a26dFb23EB365939E8641195",
7
+ "10": "0x1d31F259eE307358a26dFb23EB365939E8641195",
8
+ "137": "0x1d31F259eE307358a26dFb23EB365939E8641195",
9
+ "4078": "0x1d31F259eE307358a26dFb23EB365939E8641195",
10
+ "8453": "0x1d31F259eE307358a26dFb23EB365939E8641195",
11
+ "42161": "0x1d31F259eE307358a26dFb23EB365939E8641195",
12
+ "80002": "0x1d31F259eE307358a26dFb23EB365939E8641195",
13
+ "84532": "0x1d31F259eE307358a26dFb23EB365939E8641195",
14
+ "421614": "0x1d31F259eE307358a26dFb23EB365939E8641195",
15
+ "11155111": "0x1d31F259eE307358a26dFb23EB365939E8641195",
16
+ "11155420": "0x1d31F259eE307358a26dFb23EB365939E8641195"
17
+ },
18
+ "abi": [
19
+ {
20
+ "inputs": [],
21
+ "stateMutability": "nonpayable",
22
+ "type": "constructor"
23
+ },
24
+ {
25
+ "anonymous": false,
26
+ "inputs": [
27
+ {
28
+ "indexed": true,
29
+ "internalType": "address",
30
+ "name": "signer",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "indexed": false,
35
+ "internalType": "uint256",
36
+ "name": "x",
37
+ "type": "uint256"
38
+ },
39
+ {
40
+ "indexed": false,
41
+ "internalType": "uint256",
42
+ "name": "y",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "indexed": false,
47
+ "internalType": "P256.Verifiers",
48
+ "name": "verifiers",
49
+ "type": "uint176"
50
+ }
51
+ ],
52
+ "name": "Created",
53
+ "type": "event"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "SINGLETON",
58
+ "outputs": [
59
+ {
60
+ "internalType": "contract SafeWebAuthnSignerSingleton",
61
+ "name": "",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "stateMutability": "view",
66
+ "type": "function"
67
+ },
68
+ {
69
+ "inputs": [
70
+ {
71
+ "internalType": "uint256",
72
+ "name": "x",
73
+ "type": "uint256"
74
+ },
75
+ {
76
+ "internalType": "uint256",
77
+ "name": "y",
78
+ "type": "uint256"
79
+ },
80
+ {
81
+ "internalType": "P256.Verifiers",
82
+ "name": "verifiers",
83
+ "type": "uint176"
84
+ }
85
+ ],
86
+ "name": "createSigner",
87
+ "outputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "signer",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "stateMutability": "nonpayable",
95
+ "type": "function"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "x",
102
+ "type": "uint256"
103
+ },
104
+ {
105
+ "internalType": "uint256",
106
+ "name": "y",
107
+ "type": "uint256"
108
+ },
109
+ {
110
+ "internalType": "P256.Verifiers",
111
+ "name": "verifiers",
112
+ "type": "uint176"
113
+ }
114
+ ],
115
+ "name": "getSigner",
116
+ "outputs": [
117
+ {
118
+ "internalType": "address",
119
+ "name": "signer",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "stateMutability": "view",
124
+ "type": "function"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "bytes32",
130
+ "name": "message",
131
+ "type": "bytes32"
132
+ },
133
+ {
134
+ "internalType": "bytes",
135
+ "name": "signature",
136
+ "type": "bytes"
137
+ },
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "x",
141
+ "type": "uint256"
142
+ },
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "y",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "internalType": "P256.Verifiers",
150
+ "name": "verifiers",
151
+ "type": "uint176"
152
+ }
153
+ ],
154
+ "name": "isValidSignatureForSigner",
155
+ "outputs": [
156
+ {
157
+ "internalType": "bytes4",
158
+ "name": "magicValue",
159
+ "type": "bytes4"
160
+ }
161
+ ],
162
+ "stateMutability": "view",
163
+ "type": "function"
164
+ }
165
+ ]
166
+ }
@@ -1,4 +1,5 @@
1
1
  import { DeploymentFilter, Deployment } from './types';
2
2
  export declare const getSafeWebAuthnSignerFactoryDeployment: (filter?: DeploymentFilter) => Deployment | undefined;
3
+ export declare const getSafeWebAuthnShareSignerDeployment: (filter?: DeploymentFilter) => Deployment | undefined;
3
4
  export declare const getDaimoP256VerifierDeployment: (filter?: DeploymentFilter) => Deployment | undefined;
4
5
  export declare const getFCLP256VerifierDeployment: (filter?: DeploymentFilter) => Deployment | undefined;
@@ -3,19 +3,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getFCLP256VerifierDeployment = exports.getDaimoP256VerifierDeployment = exports.getSafeWebAuthnSignerFactoryDeployment = void 0;
7
- const safe_webauthn_signer_factory_json_1 = __importDefault(require("./assets/safe-passkey-module/v0.2.0/safe-webauthn-signer-factory.json"));
8
- const daimo_p256_verifier_json_1 = __importDefault(require("./assets/safe-passkey-module/v0.2.0/daimo-p256-verifier.json"));
9
- const fcl_p256_verifier_json_1 = __importDefault(require("./assets/safe-passkey-module/v0.2.0/fcl-p256-verifier.json"));
6
+ exports.getFCLP256VerifierDeployment = exports.getDaimoP256VerifierDeployment = exports.getSafeWebAuthnShareSignerDeployment = exports.getSafeWebAuthnSignerFactoryDeployment = void 0;
7
+ const safe_webauthn_signer_factory_json_1 = __importDefault(require("./assets/safe-passkey-module/v0.2.1/safe-webauthn-signer-factory.json"));
8
+ const safe_webauthn_signer_factory_json_2 = __importDefault(require("./assets/safe-passkey-module/v0.2.0/safe-webauthn-signer-factory.json"));
9
+ const safe_webauthn_shared_signer_json_1 = __importDefault(require("./assets/safe-passkey-module/v0.2.1/safe-webauthn-shared-signer.json"));
10
+ const daimo_p256_verifier_json_1 = __importDefault(require("./assets/safe-passkey-module/v0.2.1/daimo-p256-verifier.json"));
11
+ const daimo_p256_verifier_json_2 = __importDefault(require("./assets/safe-passkey-module/v0.2.0/daimo-p256-verifier.json"));
12
+ const fcl_p256_verifier_json_1 = __importDefault(require("./assets/safe-passkey-module/v0.2.1/fcl-p256-verifier.json"));
13
+ const fcl_p256_verifier_json_2 = __importDefault(require("./assets/safe-passkey-module/v0.2.0/fcl-p256-verifier.json"));
10
14
  const utils_1 = require("./utils");
11
15
  // The array should be sorted from the latest version to the oldest.
12
- const SAFE_WEBAUTHN_SIGNER_FACTORY_DEPLOYMENTS = [safe_webauthn_signer_factory_json_1.default];
13
- const DAIMO_P256_VERIFIER_DEPLOYMENTS = [daimo_p256_verifier_json_1.default];
14
- const FCL_P256_VERIFIER_DEPLOYMENTS = [fcl_p256_verifier_json_1.default];
16
+ const SAFE_WEBAUTHN_SIGNER_FACTORY_DEPLOYMENTS = [
17
+ safe_webauthn_signer_factory_json_1.default,
18
+ safe_webauthn_signer_factory_json_2.default,
19
+ ];
20
+ const SAFE_WEBAUTHN_SHARED_SIGNER_DEPLOYMENTS = [safe_webauthn_shared_signer_json_1.default];
21
+ const DAIMO_P256_VERIFIER_DEPLOYMENTS = [daimo_p256_verifier_json_1.default, daimo_p256_verifier_json_2.default];
22
+ const FCL_P256_VERIFIER_DEPLOYMENTS = [fcl_p256_verifier_json_1.default, fcl_p256_verifier_json_2.default];
15
23
  const getSafeWebAuthnSignerFactoryDeployment = (filter) => {
16
24
  return (0, utils_1.findDeployment)((0, utils_1.applyFilterDefaults)(filter), SAFE_WEBAUTHN_SIGNER_FACTORY_DEPLOYMENTS);
17
25
  };
18
26
  exports.getSafeWebAuthnSignerFactoryDeployment = getSafeWebAuthnSignerFactoryDeployment;
27
+ const getSafeWebAuthnShareSignerDeployment = (filter) => {
28
+ return (0, utils_1.findDeployment)((0, utils_1.applyFilterDefaults)(filter), SAFE_WEBAUTHN_SHARED_SIGNER_DEPLOYMENTS);
29
+ };
30
+ exports.getSafeWebAuthnShareSignerDeployment = getSafeWebAuthnShareSignerDeployment;
19
31
  const getDaimoP256VerifierDeployment = (filter) => {
20
32
  return (0, utils_1.findDeployment)((0, utils_1.applyFilterDefaults)(filter), DAIMO_P256_VERIFIER_DEPLOYMENTS);
21
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-global/safe-modules-deployments",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Collection of Safe modules contract deployments",
5
5
  "homepage": "https://github.com/safe-global/safe-modules-deployments/",
6
6
  "license": "MIT",
@@ -10,6 +10,12 @@
10
10
  "dist",
11
11
  "src"
12
12
  ],
13
+ "scripts": {
14
+ "build": "rimraf dist && tsc",
15
+ "lint": "eslint --max-warnings 0 src/",
16
+ "lint:fix": "pnpm run lint --fix",
17
+ "prepare": "pnpm run build"
18
+ },
13
19
  "repository": {
14
20
  "type": "git",
15
21
  "url": "git+https://github.com/safe-global/safe-modules-deployments.git"
@@ -32,10 +38,5 @@
32
38
  "rimraf": "^5.0.7",
33
39
  "typescript": "^5.4.5",
34
40
  "typescript-eslint": "^7.13.0"
35
- },
36
- "scripts": {
37
- "build": "rimraf dist && tsc",
38
- "lint": "eslint --max-warnings 0 src/",
39
- "lint:fix": "pnpm run lint --fix"
40
41
  }
41
- }
42
+ }
@@ -1,9 +1,10 @@
1
1
  import AllowanceModule010 from './assets/allowance-module/v0.1.0/allowance-module.json';
2
+ import AllowanceModule011 from './assets/allowance-module/v0.1.1/allowance-module.json';
2
3
  import { DeploymentFilter, Deployment } from './types';
3
4
  import { applyFilterDefaults, findDeployment } from './utils';
4
5
 
5
6
  // The array should be sorted from the latest version to the oldest.
6
- const ALLOWANCE_MODULE_DEPLOYMENTS: Deployment[] = [AllowanceModule010];
7
+ const ALLOWANCE_MODULE_DEPLOYMENTS: Deployment[] = [AllowanceModule011, AllowanceModule010];
7
8
 
8
9
  export const getAllowanceModuleDeployment = (filter?: DeploymentFilter): Deployment | undefined => {
9
10
  return findDeployment(applyFilterDefaults(filter), ALLOWANCE_MODULE_DEPLOYMENTS);
@@ -11,6 +11,7 @@
11
11
  "100": "0xCFbFaC74C26F8647cBDb8c5caf80BB5b32E43134",
12
12
  "137": "0x1Fb403834C911eB98d56E74F5182b0d64C3b3b4D",
13
13
  "246": "0xCFbFaC74C26F8647cBDb8c5caf80BB5b32E43134",
14
+ "8453": "0xCFbFaC74C26F8647cBDb8c5caf80BB5b32E43134",
14
15
  "42220": "0xCFbFaC74C26F8647cBDb8c5caf80BB5b32E43134",
15
16
  "43114": "0x1Fb403834C911eB98d56E74F5182b0d64C3b3b4D",
16
17
  "73799": "0xCFbFaC74C26F8647cBDb8c5caf80BB5b32E43134",