@safe-global/safe-modules-deployments 2.1.1 → 2.2.1
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 +18 -10
- package/dist/allowance-module.d.ts +1 -1
- package/dist/assets/allowance-module/v0.1.0/allowance-module.json +1 -0
- package/dist/assets/safe-4337-module/v0.3.0/safe-4337-module.json +1 -0
- package/dist/assets/safe-4337-module/v0.3.0/safe-module-setup.json +1 -0
- package/dist/assets/safe-passkey-module/v0.2.0/daimo-p256-verifier.json +24 -0
- package/dist/assets/safe-passkey-module/v0.2.0/fcl-p256-verifier.json +24 -0
- package/dist/assets/safe-passkey-module/v0.2.0/safe-webauthn-signer-factory.json +166 -0
- package/dist/assets/safe-passkey-module/v0.2.1/daimo-p256-verifier.json +24 -0
- package/dist/assets/safe-passkey-module/v0.2.1/fcl-p256-verifier.json +24 -0
- package/dist/assets/safe-passkey-module/v0.2.1/safe-webauthn-shared-signer.json +188 -0
- package/dist/assets/safe-passkey-module/v0.2.1/safe-webauthn-signer-factory.json +166 -0
- package/dist/assets/safe-recovery-module/v0.1.0/social-recovery-module.json +721 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/safe-4337-module.d.ts +3 -3
- package/dist/safe-passkey-module.d.ts +5 -0
- package/dist/safe-passkey-module.js +38 -0
- package/dist/safe-recovery-module.d.ts +2 -0
- package/dist/safe-recovery-module.js +14 -0
- package/dist/utils.d.ts +1 -1
- package/package.json +17 -20
- package/src/assets/allowance-module/v0.1.0/allowance-module.json +1 -0
- package/src/assets/safe-4337-module/v0.3.0/safe-4337-module.json +1 -0
- package/src/assets/safe-4337-module/v0.3.0/safe-module-setup.json +1 -0
- package/src/assets/safe-passkey-module/v0.2.0/daimo-p256-verifier.json +24 -0
- package/src/assets/safe-passkey-module/v0.2.0/fcl-p256-verifier.json +24 -0
- package/src/assets/safe-passkey-module/v0.2.0/safe-webauthn-signer-factory.json +166 -0
- package/src/assets/safe-passkey-module/v0.2.1/daimo-p256-verifier.json +24 -0
- package/src/assets/safe-passkey-module/v0.2.1/fcl-p256-verifier.json +24 -0
- package/src/assets/safe-passkey-module/v0.2.1/safe-webauthn-shared-signer.json +188 -0
- package/src/assets/safe-passkey-module/v0.2.1/safe-webauthn-signer-factory.json +166 -0
- package/src/assets/safe-recovery-module/v0.1.0/social-recovery-module.json +721 -0
- package/src/index.ts +2 -0
- package/src/safe-passkey-module.ts +34 -0
- package/src/safe-recovery-module.ts +10 -0
- package/src/types.ts +1 -0
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
For example, in order to get various deployments for the Safe Allowance module:
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
const allowanceModule = getAllowanceModuleDeployment();
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
// Returns latest contract version, even if not finally released yet
|
|
51
|
+
const allowanceModuleNightly = getAllowanceModuleDeployment({ released: undefined });
|
|
50
52
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
// Returns released contract version for specific network
|
|
54
|
+
const allowanceModuleGörli = getAllowanceModuleDeployment({ network: '5' });
|
|
53
55
|
|
|
54
|
-
|
|
55
|
-
|
|
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
|
|
2
|
+
export declare const getAllowanceModuleDeployment: (filter?: DeploymentFilter) => Deployment | undefined;
|
|
@@ -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",
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|