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

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.
package/README.md CHANGED
@@ -12,6 +12,7 @@ To add additional deployments please follow the [deployment steps in the module
12
12
 
13
13
  - npm - `npm i @safe-global/safe-modules-deployments`
14
14
  - yarn - `yarn add @safe-global/safe-modules-deployments`
15
+ - pnpm - `pnpm install @safe-global/safe-modules-deployments`
15
16
 
16
17
  ## Usage
17
18
 
@@ -41,20 +42,27 @@ interface Deployment {
41
42
  }
42
43
  ```
43
44
 
44
- - Allowance Module
45
- ```ts
46
- const allowanceModule = getAllowanceModuleDeployment();
45
+ For example, in order to get various deployments for the Safe Allowance module:
46
+
47
+ ```ts
48
+ const allowanceModule = getAllowanceModuleDeployment();
47
49
 
48
- // Returns latest contract version, even if not finally released yet
49
- const allowanceModuleNightly = getAllowanceModuleDeployment({ released: undefined });
50
+ // Returns latest contract version, even if not finally released yet
51
+ const allowanceModuleNightly = getAllowanceModuleDeployment({ released: undefined });
50
52
 
51
- // Returns released contract version for specific network
52
- const allowanceModuleGörli = getAllowanceModuleDeployment({ network: '5' });
53
+ // Returns released contract version for specific network
54
+ const allowanceModuleGörli = getAllowanceModuleDeployment({ network: '5' });
53
55
 
54
- // Returns released contract version for specific version
55
- const allowanceModule010 = getAllowanceModuleDeployment({ version: '0.1.0' });
56
- ```
56
+ // Returns released contract version for specific version
57
+ const allowanceModule010 = getAllowanceModuleDeployment({ version: '0.1.0' });
58
+ ```
59
+
60
+ This repository contains deployments for the following modules:
61
+
62
+ - Allowance Module
57
63
  - ERC-4337 Module
64
+ - Passkeys
65
+ - Social Recovery Module
58
66
 
59
67
  ## Notes
60
68
 
@@ -1,2 +1,2 @@
1
1
  import { DeploymentFilter, Deployment } from './types';
2
- export declare const getAllowanceModuleDeployment: (filter?: DeploymentFilter | undefined) => Deployment | undefined;
2
+ export declare const getAllowanceModuleDeployment: (filter?: DeploymentFilter) => Deployment | undefined;
@@ -0,0 +1,24 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "DaimoP256Verifier",
4
+ "version": "0.2.0",
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.0",
5
+ "networkAddresses": {
6
+ "1": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
7
+ "10": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
8
+ "137": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
9
+ "4078": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
10
+ "8453": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
11
+ "42161": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
12
+ "80002": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
13
+ "84532": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
14
+ "421614": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
15
+ "11155111": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765",
16
+ "11155420": "0x445a0683e494ea0c5AF3E83c5159fBE47Cf9e765"
17
+ },
18
+ "abi": [
19
+ {
20
+ "stateMutability": "nonpayable",
21
+ "type": "fallback"
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "SafeWebAuthnSignerFactory",
4
+ "version": "0.2.0",
5
+ "networkAddresses": {
6
+ "1": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
7
+ "10": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
8
+ "137": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
9
+ "4078": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
10
+ "8453": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
11
+ "42161": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
12
+ "80002": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
13
+ "84532": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
14
+ "421614": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
15
+ "11155111": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf",
16
+ "11155420": "0xF7488fFbe67327ac9f37D5F722d83Fc900852Fbf"
17
+ },
18
+ "abi": [
19
+ {
20
+ "inputs": [],
21
+ "stateMutability": "nonpayable",
22
+ "type": "constructor"
23
+ },
24
+ {
25
+ "anonymous": false,
26
+ "inputs": [
27
+ {
28
+ "indexed": false,
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
+ }