@clearproof/contracts 0.2.0 → 0.5.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 +63 -0
- package/artifacts/contracts/ComplianceRegistry.sol/ComplianceRegistry.json +356 -5
- package/artifacts/contracts/Groth16Verifier.sol/Groth16Verifier.json +7 -2
- package/artifacts/contracts/ISanctionsRootReceiver.sol/ISanctionsRootReceiver.json +29 -0
- package/artifacts/contracts/MockVerifier.sol/MockVerifier.json +45 -0
- package/artifacts/contracts/Pairing.sol/Pairing.json +10 -0
- package/artifacts/contracts/PairingHarness.sol/PairingHarness.json +252 -0
- package/artifacts/contracts/PilotCurrentRegistry.sol/PilotCurrentRegistry.json +1063 -0
- package/artifacts/contracts/PilotGroth16Verifier.sol/PilotGroth16Verifier.json +155 -0
- package/artifacts/contracts/PilotRootCheckpoint.sol/PilotRootCheckpoint.json +476 -0
- package/artifacts/contracts/SanctionsOracle.sol/SanctionsOracle.json +27 -2
- package/artifacts/contracts/SanctionsRootRelay.sol/SanctionsRootRelay.json +331 -0
- package/artifacts/contracts/VASPRegistry.sol/VASPRegistry.json +99 -2
- package/artifacts/contracts/{ComplianceRegistry.sol → VerifierRouter.sol}/IGroth16Verifier.json +1 -1
- package/artifacts/contracts/VerifierRouter.sol/VerifierRouter.json +741 -0
- package/artifacts/contracts/bench/Groth16VerifierBLS.sol/Groth16VerifierBLS.json +35 -0
- package/contracts/ComplianceRegistry.sol +189 -36
- package/contracts/Groth16Verifier.sol +135 -267
- package/contracts/ISanctionsRootReceiver.sol +14 -0
- package/contracts/MockVerifier.sol +14 -0
- package/contracts/Pairing.sol +147 -0
- package/contracts/PairingHarness.sol +27 -0
- package/contracts/PilotCurrentRegistry.sol +216 -0
- package/contracts/PilotGroth16Verifier.sol +95 -0
- package/contracts/PilotRootCheckpoint.sol +68 -0
- package/contracts/SanctionsOracle.sol +14 -5
- package/contracts/SanctionsRootRelay.sol +52 -0
- package/contracts/VASPRegistry.sol +34 -9
- package/contracts/VerifierRouter.sol +207 -0
- package/contracts/bench/Groth16VerifierBLS.sol +127 -0
- package/package.json +10 -3
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "SanctionsRootRelay",
|
|
4
|
+
"sourceName": "contracts/SanctionsRootRelay.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "admin",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "oracleAddress",
|
|
16
|
+
"type": "address"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "AccessControlBadConfirmation",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"internalType": "address",
|
|
31
|
+
"name": "account",
|
|
32
|
+
"type": "address"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"internalType": "bytes32",
|
|
36
|
+
"name": "neededRole",
|
|
37
|
+
"type": "bytes32"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "AccessControlUnauthorizedAccount",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [],
|
|
45
|
+
"name": "ZeroAdmin",
|
|
46
|
+
"type": "error"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [],
|
|
50
|
+
"name": "ZeroOracle",
|
|
51
|
+
"type": "error"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"anonymous": false,
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"indexed": true,
|
|
58
|
+
"internalType": "bytes32",
|
|
59
|
+
"name": "role",
|
|
60
|
+
"type": "bytes32"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"indexed": true,
|
|
64
|
+
"internalType": "bytes32",
|
|
65
|
+
"name": "previousAdminRole",
|
|
66
|
+
"type": "bytes32"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"indexed": true,
|
|
70
|
+
"internalType": "bytes32",
|
|
71
|
+
"name": "newAdminRole",
|
|
72
|
+
"type": "bytes32"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"name": "RoleAdminChanged",
|
|
76
|
+
"type": "event"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"anonymous": false,
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"indexed": true,
|
|
83
|
+
"internalType": "bytes32",
|
|
84
|
+
"name": "role",
|
|
85
|
+
"type": "bytes32"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"indexed": true,
|
|
89
|
+
"internalType": "address",
|
|
90
|
+
"name": "account",
|
|
91
|
+
"type": "address"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"indexed": true,
|
|
95
|
+
"internalType": "address",
|
|
96
|
+
"name": "sender",
|
|
97
|
+
"type": "address"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"name": "RoleGranted",
|
|
101
|
+
"type": "event"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"anonymous": false,
|
|
105
|
+
"inputs": [
|
|
106
|
+
{
|
|
107
|
+
"indexed": true,
|
|
108
|
+
"internalType": "bytes32",
|
|
109
|
+
"name": "role",
|
|
110
|
+
"type": "bytes32"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"indexed": true,
|
|
114
|
+
"internalType": "address",
|
|
115
|
+
"name": "account",
|
|
116
|
+
"type": "address"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"indexed": true,
|
|
120
|
+
"internalType": "address",
|
|
121
|
+
"name": "sender",
|
|
122
|
+
"type": "address"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"name": "RoleRevoked",
|
|
126
|
+
"type": "event"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"anonymous": false,
|
|
130
|
+
"inputs": [
|
|
131
|
+
{
|
|
132
|
+
"indexed": true,
|
|
133
|
+
"internalType": "bytes32",
|
|
134
|
+
"name": "root",
|
|
135
|
+
"type": "bytes32"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"indexed": false,
|
|
139
|
+
"internalType": "uint32",
|
|
140
|
+
"name": "leafCount",
|
|
141
|
+
"type": "uint32"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"indexed": true,
|
|
145
|
+
"internalType": "address",
|
|
146
|
+
"name": "relayer",
|
|
147
|
+
"type": "address"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"name": "RootRelayed",
|
|
151
|
+
"type": "event"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"inputs": [],
|
|
155
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
156
|
+
"outputs": [
|
|
157
|
+
{
|
|
158
|
+
"internalType": "bytes32",
|
|
159
|
+
"name": "",
|
|
160
|
+
"type": "bytes32"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"stateMutability": "view",
|
|
164
|
+
"type": "function"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"inputs": [],
|
|
168
|
+
"name": "RELAYER_ROLE",
|
|
169
|
+
"outputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "bytes32",
|
|
172
|
+
"name": "",
|
|
173
|
+
"type": "bytes32"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"stateMutability": "view",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"inputs": [
|
|
181
|
+
{
|
|
182
|
+
"internalType": "bytes32",
|
|
183
|
+
"name": "role",
|
|
184
|
+
"type": "bytes32"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"name": "getRoleAdmin",
|
|
188
|
+
"outputs": [
|
|
189
|
+
{
|
|
190
|
+
"internalType": "bytes32",
|
|
191
|
+
"name": "",
|
|
192
|
+
"type": "bytes32"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"stateMutability": "view",
|
|
196
|
+
"type": "function"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"inputs": [
|
|
200
|
+
{
|
|
201
|
+
"internalType": "bytes32",
|
|
202
|
+
"name": "role",
|
|
203
|
+
"type": "bytes32"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"internalType": "address",
|
|
207
|
+
"name": "account",
|
|
208
|
+
"type": "address"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"name": "grantRole",
|
|
212
|
+
"outputs": [],
|
|
213
|
+
"stateMutability": "nonpayable",
|
|
214
|
+
"type": "function"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"inputs": [
|
|
218
|
+
{
|
|
219
|
+
"internalType": "bytes32",
|
|
220
|
+
"name": "role",
|
|
221
|
+
"type": "bytes32"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"internalType": "address",
|
|
225
|
+
"name": "account",
|
|
226
|
+
"type": "address"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"name": "hasRole",
|
|
230
|
+
"outputs": [
|
|
231
|
+
{
|
|
232
|
+
"internalType": "bool",
|
|
233
|
+
"name": "",
|
|
234
|
+
"type": "bool"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"stateMutability": "view",
|
|
238
|
+
"type": "function"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"inputs": [],
|
|
242
|
+
"name": "oracle",
|
|
243
|
+
"outputs": [
|
|
244
|
+
{
|
|
245
|
+
"internalType": "contract SanctionsOracle",
|
|
246
|
+
"name": "",
|
|
247
|
+
"type": "address"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"stateMutability": "view",
|
|
251
|
+
"type": "function"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"inputs": [
|
|
255
|
+
{
|
|
256
|
+
"internalType": "bytes32",
|
|
257
|
+
"name": "newRoot",
|
|
258
|
+
"type": "bytes32"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"internalType": "uint32",
|
|
262
|
+
"name": "leafCount",
|
|
263
|
+
"type": "uint32"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"name": "receiveRoot",
|
|
267
|
+
"outputs": [],
|
|
268
|
+
"stateMutability": "nonpayable",
|
|
269
|
+
"type": "function"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"inputs": [
|
|
273
|
+
{
|
|
274
|
+
"internalType": "bytes32",
|
|
275
|
+
"name": "role",
|
|
276
|
+
"type": "bytes32"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"internalType": "address",
|
|
280
|
+
"name": "callerConfirmation",
|
|
281
|
+
"type": "address"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"name": "renounceRole",
|
|
285
|
+
"outputs": [],
|
|
286
|
+
"stateMutability": "nonpayable",
|
|
287
|
+
"type": "function"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"inputs": [
|
|
291
|
+
{
|
|
292
|
+
"internalType": "bytes32",
|
|
293
|
+
"name": "role",
|
|
294
|
+
"type": "bytes32"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"internalType": "address",
|
|
298
|
+
"name": "account",
|
|
299
|
+
"type": "address"
|
|
300
|
+
}
|
|
301
|
+
],
|
|
302
|
+
"name": "revokeRole",
|
|
303
|
+
"outputs": [],
|
|
304
|
+
"stateMutability": "nonpayable",
|
|
305
|
+
"type": "function"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"inputs": [
|
|
309
|
+
{
|
|
310
|
+
"internalType": "bytes4",
|
|
311
|
+
"name": "interfaceId",
|
|
312
|
+
"type": "bytes4"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"name": "supportsInterface",
|
|
316
|
+
"outputs": [
|
|
317
|
+
{
|
|
318
|
+
"internalType": "bool",
|
|
319
|
+
"name": "",
|
|
320
|
+
"type": "bool"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"stateMutability": "view",
|
|
324
|
+
"type": "function"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"bytecode": "0x60a060405234801561001057600080fd5b506040516107bd3803806107bd83398101604081905261002f9161018e565b6001600160a01b03821661005657604051633944ed8760e11b815260040160405180910390fd5b6001600160a01b03811661007d57604051636ab74eb360e11b815260040160405180910390fd5b6100886000836100c6565b506100b37fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4836100c6565b506001600160a01b0316608052506101c1565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16610168576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556101203390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161016c565b5060005b92915050565b80516001600160a01b038116811461018957600080fd5b919050565b600080604083850312156101a157600080fd5b6101aa83610172565b91506101b860208401610172565b90509250929050565b6080516105da6101e36000396000818161013c015261024e01526105da6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80637dc0d1d0116100665780637dc0d1d01461013757806391d1485414610176578063926d7d7f14610189578063a217fddf146101b0578063d547741f146101b857600080fd5b806301ffc9a7146100a357806307ba869a146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b13660046104f0565b6101cb565b60405190151581526020015b60405180910390f35b6100de6100d9366004610521565b610202565b005b6101036100ee36600461055a565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610573565b6102f4565b6100de610132366004610573565b61031f565b61015e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6100b6610184366004610573565b610357565b6101037fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b610103600081565b6100de6101c6366004610573565b610380565b60006001600160e01b03198216637965db0b60e01b14806101fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc461022c816103a5565b604051639f59e11f60e01b81526004810184905263ffffffff831660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690639f59e11f90604401600060405180830381600087803b15801561029a57600080fd5b505af11580156102ae573d6000803e3d6000fd5b505060405163ffffffff851681523392508591507fe4c5e2b5eaec8c0534190e73a2e76bf487b96521d6765d757c7c79ae2f2f66e59060200160405180910390a3505050565b60008281526020819052604090206001015461030f816103a5565b61031983836103b2565b50505050565b6001600160a01b03811633146103485760405163334bd91960e11b815260040160405180910390fd5b6103528282610444565b505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461039b816103a5565b6103198383610444565b6103af81336104af565b50565b60006103be8383610357565b61043c576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556103f43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016101fc565b5060006101fc565b60006104508383610357565b1561043c576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016101fc565b6104b98282610357565b6104ec5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60006020828403121561050257600080fd5b81356001600160e01b03198116811461051a57600080fd5b9392505050565b6000806040838503121561053457600080fd5b82359150602083013563ffffffff8116811461054f57600080fd5b809150509250929050565b60006020828403121561056c57600080fd5b5035919050565b6000806040838503121561058657600080fd5b8235915060208301356001600160a01b038116811461054f57600080fdfea26469706673582212206e984fed03f4ec2d4bb40717456d382c7036f4f7d7da99db76f51448c163b5bc64736f6c63430008180033",
|
|
328
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80637dc0d1d0116100665780637dc0d1d01461013757806391d1485414610176578063926d7d7f14610189578063a217fddf146101b0578063d547741f146101b857600080fd5b806301ffc9a7146100a357806307ba869a146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b13660046104f0565b6101cb565b60405190151581526020015b60405180910390f35b6100de6100d9366004610521565b610202565b005b6101036100ee36600461055a565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610573565b6102f4565b6100de610132366004610573565b61031f565b61015e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6100b6610184366004610573565b610357565b6101037fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b610103600081565b6100de6101c6366004610573565b610380565b60006001600160e01b03198216637965db0b60e01b14806101fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc461022c816103a5565b604051639f59e11f60e01b81526004810184905263ffffffff831660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690639f59e11f90604401600060405180830381600087803b15801561029a57600080fd5b505af11580156102ae573d6000803e3d6000fd5b505060405163ffffffff851681523392508591507fe4c5e2b5eaec8c0534190e73a2e76bf487b96521d6765d757c7c79ae2f2f66e59060200160405180910390a3505050565b60008281526020819052604090206001015461030f816103a5565b61031983836103b2565b50505050565b6001600160a01b03811633146103485760405163334bd91960e11b815260040160405180910390fd5b6103528282610444565b505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461039b816103a5565b6103198383610444565b6103af81336104af565b50565b60006103be8383610357565b61043c576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556103f43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016101fc565b5060006101fc565b60006104508383610357565b1561043c576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016101fc565b6104b98282610357565b6104ec5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60006020828403121561050257600080fd5b81356001600160e01b03198116811461051a57600080fd5b9392505050565b6000806040838503121561053457600080fd5b82359150602083013563ffffffff8116811461054f57600080fd5b809150509250929050565b60006020828403121561056c57600080fd5b5035919050565b6000806040838503121561058657600080fd5b8235915060208301356001600160a01b038116811461054f57600080fdfea26469706673582212206e984fed03f4ec2d4bb40717456d382c7036f4f7d7da99db76f51448c163b5bc64736f6c63430008180033",
|
|
329
|
+
"linkReferences": {},
|
|
330
|
+
"deployedLinkReferences": {}
|
|
331
|
+
}
|
|
@@ -35,6 +35,16 @@
|
|
|
35
35
|
"name": "AccessControlUnauthorizedAccount",
|
|
36
36
|
"type": "error"
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"inputs": [],
|
|
40
|
+
"name": "AlreadyActive",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [],
|
|
45
|
+
"name": "AlreadyRegistered",
|
|
46
|
+
"type": "error"
|
|
47
|
+
},
|
|
38
48
|
{
|
|
39
49
|
"inputs": [],
|
|
40
50
|
"name": "EnforcedPause",
|
|
@@ -45,6 +55,40 @@
|
|
|
45
55
|
"name": "ExpectedPause",
|
|
46
56
|
"type": "error"
|
|
47
57
|
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [],
|
|
60
|
+
"name": "NotActive",
|
|
61
|
+
"type": "error"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputs": [],
|
|
65
|
+
"name": "NotRegistered",
|
|
66
|
+
"type": "error"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"inputs": [],
|
|
70
|
+
"name": "ZeroAdmin",
|
|
71
|
+
"type": "error"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"anonymous": false,
|
|
75
|
+
"inputs": [
|
|
76
|
+
{
|
|
77
|
+
"indexed": true,
|
|
78
|
+
"internalType": "bytes32",
|
|
79
|
+
"name": "didHash",
|
|
80
|
+
"type": "bytes32"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"indexed": false,
|
|
84
|
+
"internalType": "string",
|
|
85
|
+
"name": "endpoint",
|
|
86
|
+
"type": "string"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"name": "DiscoveryEndpointUpdated",
|
|
90
|
+
"type": "event"
|
|
91
|
+
},
|
|
48
92
|
{
|
|
49
93
|
"anonymous": false,
|
|
50
94
|
"inputs": [
|
|
@@ -210,6 +254,12 @@
|
|
|
210
254
|
"internalType": "string",
|
|
211
255
|
"name": "jurisdiction",
|
|
212
256
|
"type": "string"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"indexed": false,
|
|
260
|
+
"internalType": "string",
|
|
261
|
+
"name": "discoveryEndpoint",
|
|
262
|
+
"type": "string"
|
|
213
263
|
}
|
|
214
264
|
],
|
|
215
265
|
"name": "VASPRegistered",
|
|
@@ -280,6 +330,25 @@
|
|
|
280
330
|
"stateMutability": "view",
|
|
281
331
|
"type": "function"
|
|
282
332
|
},
|
|
333
|
+
{
|
|
334
|
+
"inputs": [
|
|
335
|
+
{
|
|
336
|
+
"internalType": "bytes32",
|
|
337
|
+
"name": "didHash",
|
|
338
|
+
"type": "bytes32"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"name": "getDiscoveryEndpoint",
|
|
342
|
+
"outputs": [
|
|
343
|
+
{
|
|
344
|
+
"internalType": "string",
|
|
345
|
+
"name": "",
|
|
346
|
+
"type": "string"
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"stateMutability": "view",
|
|
350
|
+
"type": "function"
|
|
351
|
+
},
|
|
283
352
|
{
|
|
284
353
|
"inputs": [
|
|
285
354
|
{
|
|
@@ -440,6 +509,11 @@
|
|
|
440
509
|
"internalType": "string",
|
|
441
510
|
"name": "jurisdiction",
|
|
442
511
|
"type": "string"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"internalType": "string",
|
|
515
|
+
"name": "discoveryEndpoint",
|
|
516
|
+
"type": "string"
|
|
443
517
|
}
|
|
444
518
|
],
|
|
445
519
|
"name": "registerVASP",
|
|
@@ -522,6 +596,24 @@
|
|
|
522
596
|
"stateMutability": "nonpayable",
|
|
523
597
|
"type": "function"
|
|
524
598
|
},
|
|
599
|
+
{
|
|
600
|
+
"inputs": [
|
|
601
|
+
{
|
|
602
|
+
"internalType": "bytes32",
|
|
603
|
+
"name": "didHash",
|
|
604
|
+
"type": "bytes32"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"internalType": "string",
|
|
608
|
+
"name": "newEndpoint",
|
|
609
|
+
"type": "string"
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"name": "updateDiscoveryEndpoint",
|
|
613
|
+
"outputs": [],
|
|
614
|
+
"stateMutability": "nonpayable",
|
|
615
|
+
"type": "function"
|
|
616
|
+
},
|
|
525
617
|
{
|
|
526
618
|
"inputs": [
|
|
527
619
|
{
|
|
@@ -587,6 +679,11 @@
|
|
|
587
679
|
"name": "jurisdiction",
|
|
588
680
|
"type": "string"
|
|
589
681
|
},
|
|
682
|
+
{
|
|
683
|
+
"internalType": "string",
|
|
684
|
+
"name": "discoveryEndpoint",
|
|
685
|
+
"type": "string"
|
|
686
|
+
},
|
|
590
687
|
{
|
|
591
688
|
"internalType": "bool",
|
|
592
689
|
"name": "active",
|
|
@@ -602,8 +699,8 @@
|
|
|
602
699
|
"type": "function"
|
|
603
700
|
}
|
|
604
701
|
],
|
|
605
|
-
"bytecode": "0x608060405234801561001057600080fd5b506040516111ab3803806111ab83398101604081905261002f9161015f565b6001600160a01b0381166100765760405162461bcd60e51b815260206004820152600a6024820152692d32b9379030b236b4b760b11b604482015260640160405180910390fd5b6100816000826100b3565b506100ac7fedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238826100b3565b505061018f565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16610155576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905561010d3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610159565b5060005b92915050565b60006020828403121561017157600080fd5b81516001600160a01b038116811461018857600080fd5b9392505050565b61100d8061019e6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80637f3c5a62116100c3578063b6318d4f1161007c578063b6318d4f146102b8578063d547741f146102cb578063d9de8ff2146102de578063f68e9553146102e7578063f9cda90b146102fc578063fe853a0b1461030457600080fd5b80637f3c5a62146102715780638456cb591461027a578063861caf2a1461028257806391d1485414610295578063a217fddf146102a8578063b4c6dd1d146102b057600080fd5b806336568abe1161011557806336568abe146101e65780633f4ba83a146101f95780635c36901c146102015780635c975abb14610228578063628389b91461023357806370755bdc1461025e57600080fd5b806301ffc9a714610152578063248a9ca31461017a57806327f0b707146101ab5780632f2ff15d146101c0578063360c61c7146101d3575b600080fd5b610165610160366004610c16565b610327565b60405190151581526020015b60405180910390f35b61019d610188366004610c47565b60009081526020819052604090206001015490565b604051908152602001610171565b6101be6101b9366004610c47565b61035e565b005b6101be6101ce366004610c7c565b61040e565b6101be6101e1366004610ca8565b610439565b6101be6101f4366004610c7c565b610637565b6101be61066f565b61016561020f366004610c47565b6000908152600260208190526040909120015460ff1690565b60015460ff16610165565b600554610246906001600160401b031681565b6040516001600160401b039091168152602001610171565b6101be61026c366004610c47565b610685565b61019d60045481565b6101be61074f565b6101be610290366004610c7c565b610762565b6101656102a3366004610c7c565b6108c4565b61019d600081565b60035461019d565b61019d6102c6366004610c47565b6108ed565b6101be6102d9366004610c7c565b61090e565b61019d60065481565b61019d600080516020610fb883398151915281565b60065461019d565b610317610312366004610c47565b610933565b6040516101719493929190610d2e565b60006001600160e01b03198216637965db0b60e01b148061035857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080516020610fb8833981519152610376816109fc565b61037e610a06565b6004805490839055600580546001600160401b031690600061039f83610dc2565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b600082815260208190526040902060010154610429816109fc565b6104338383610a2c565b50505050565b600080516020610fb8833981519152610451816109fc565b610459610a06565b6000858152600260208190526040909120015461010090046001600160401b0316156104c15760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064015b60405180910390fd5b6040518060800160405280856001600160a01b0316815260200184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528a84526002815293909220845181546001600160a01b0319166001600160a01b039091161781559284015191830191610566915082610e88565b506040820151600290910180546060909301516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff19909316929092171790556003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0186905560068054916105ef83610f47565b9190505550847fbf88c4d70cdfd809463ef38a546d78e3a250a1b04dc817b48fa5961e50e1bff885858560405161062893929190610f60565b60405180910390a25050505050565b6001600160a01b03811633146106605760405163334bd91960e11b815260040160405180910390fd5b61066a8282610abe565b505050565b600061067a816109fc565b610682610b29565b50565b600080516020610fb883398151915261069d816109fc565b6106a5610a06565b6000828152600260208190526040909120015460ff166106f45760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016104b8565b6000828152600260208190526040822001805460ff19169055600680549161071b83610fa0565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b600061075a816109fc565b610682610b7b565b600080516020610fb883398151915261077a816109fc565b610782610a06565b60008381526002602081905260408220015461010090046001600160401b031690036107e15760405162461bcd60e51b815260206004820152600e60248201526d139bdd081c9959da5cdd195c995960921b60448201526064016104b8565b6000838152600260208190526040909120015460ff16156108355760405162461bcd60e51b815260206004820152600e60248201526d416c72656164792061637469766560901b60448201526064016104b8565b60008381526002602081905260408220908101805460ff1916600117905580546001600160a01b0385166001600160a01b0319909116179055600680549161087c83610f47565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600381815481106108fd57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610929816109fc565b6104338383610abe565b600260205260009081526040902080546001820180546001600160a01b03909216929161095f90610dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461098b90610dfe565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050506002909301549192505060ff8116906001600160401b036101009091041684565b6106828133610bb6565b60015460ff1615610a2a5760405163d93c066560e01b815260040160405180910390fd5b565b6000610a3883836108c4565b610ab6576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610a6e3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610358565b506000610358565b6000610aca83836108c4565b15610ab6576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610358565b610b31610bf3565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610b83610a06565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610b5e565b610bc082826108c4565b610bef5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104b8565b5050565b60015460ff16610a2a57604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610c2857600080fd5b81356001600160e01b031981168114610c4057600080fd5b9392505050565b600060208284031215610c5957600080fd5b5035919050565b80356001600160a01b0381168114610c7757600080fd5b919050565b60008060408385031215610c8f57600080fd5b82359150610c9f60208401610c60565b90509250929050565b60008060008060608587031215610cbe57600080fd5b84359350610cce60208601610c60565b925060408501356001600160401b0380821115610cea57600080fd5b818701915087601f830112610cfe57600080fd5b813581811115610d0d57600080fd5b886020828501011115610d1f57600080fd5b95989497505060200194505050565b60018060a01b03851681526000602060806020840152855180608085015260005b81811015610d6b5787810183015185820160a001528201610d4f565b50600060a0828601015260a0601f19601f830116850101925050508315156040830152610da360608301846001600160401b03169052565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b03808316818103610dde57610dde610dac565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610e1257607f821691505b602082108103610e3257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561066a576000816000526020600020601f850160051c81016020861015610e615750805b601f850160051c820191505b81811015610e8057828155600101610e6d565b505050505050565b81516001600160401b03811115610ea157610ea1610de8565b610eb581610eaf8454610dfe565b84610e38565b602080601f831160018114610eea5760008415610ed25750858301515b600019600386901b1c1916600185901b178555610e80565b600085815260208120601f198616915b82811015610f1957888601518255948401946001909101908401610efa565b5085821015610f375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201610f5957610f59610dac565b5060010190565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600081610faf57610faf610dac565b50600019019056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a2646970667358221220d1b6c12660a02cb12ad18d4681da6b485995730310c5c8cdd409c941e03177e364736f6c63430008180033",
|
|
606
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80637f3c5a62116100c3578063b6318d4f1161007c578063b6318d4f146102b8578063d547741f146102cb578063d9de8ff2146102de578063f68e9553146102e7578063f9cda90b146102fc578063fe853a0b1461030457600080fd5b80637f3c5a62146102715780638456cb591461027a578063861caf2a1461028257806391d1485414610295578063a217fddf146102a8578063b4c6dd1d146102b057600080fd5b806336568abe1161011557806336568abe146101e65780633f4ba83a146101f95780635c36901c146102015780635c975abb14610228578063628389b91461023357806370755bdc1461025e57600080fd5b806301ffc9a714610152578063248a9ca31461017a57806327f0b707146101ab5780632f2ff15d146101c0578063360c61c7146101d3575b600080fd5b610165610160366004610c16565b610327565b60405190151581526020015b60405180910390f35b61019d610188366004610c47565b60009081526020819052604090206001015490565b604051908152602001610171565b6101be6101b9366004610c47565b61035e565b005b6101be6101ce366004610c7c565b61040e565b6101be6101e1366004610ca8565b610439565b6101be6101f4366004610c7c565b610637565b6101be61066f565b61016561020f366004610c47565b6000908152600260208190526040909120015460ff1690565b60015460ff16610165565b600554610246906001600160401b031681565b6040516001600160401b039091168152602001610171565b6101be61026c366004610c47565b610685565b61019d60045481565b6101be61074f565b6101be610290366004610c7c565b610762565b6101656102a3366004610c7c565b6108c4565b61019d600081565b60035461019d565b61019d6102c6366004610c47565b6108ed565b6101be6102d9366004610c7c565b61090e565b61019d60065481565b61019d600080516020610fb883398151915281565b60065461019d565b610317610312366004610c47565b610933565b6040516101719493929190610d2e565b60006001600160e01b03198216637965db0b60e01b148061035857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080516020610fb8833981519152610376816109fc565b61037e610a06565b6004805490839055600580546001600160401b031690600061039f83610dc2565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b600082815260208190526040902060010154610429816109fc565b6104338383610a2c565b50505050565b600080516020610fb8833981519152610451816109fc565b610459610a06565b6000858152600260208190526040909120015461010090046001600160401b0316156104c15760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064015b60405180910390fd5b6040518060800160405280856001600160a01b0316815260200184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528a84526002815293909220845181546001600160a01b0319166001600160a01b039091161781559284015191830191610566915082610e88565b506040820151600290910180546060909301516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff19909316929092171790556003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0186905560068054916105ef83610f47565b9190505550847fbf88c4d70cdfd809463ef38a546d78e3a250a1b04dc817b48fa5961e50e1bff885858560405161062893929190610f60565b60405180910390a25050505050565b6001600160a01b03811633146106605760405163334bd91960e11b815260040160405180910390fd5b61066a8282610abe565b505050565b600061067a816109fc565b610682610b29565b50565b600080516020610fb883398151915261069d816109fc565b6106a5610a06565b6000828152600260208190526040909120015460ff166106f45760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016104b8565b6000828152600260208190526040822001805460ff19169055600680549161071b83610fa0565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b600061075a816109fc565b610682610b7b565b600080516020610fb883398151915261077a816109fc565b610782610a06565b60008381526002602081905260408220015461010090046001600160401b031690036107e15760405162461bcd60e51b815260206004820152600e60248201526d139bdd081c9959da5cdd195c995960921b60448201526064016104b8565b6000838152600260208190526040909120015460ff16156108355760405162461bcd60e51b815260206004820152600e60248201526d416c72656164792061637469766560901b60448201526064016104b8565b60008381526002602081905260408220908101805460ff1916600117905580546001600160a01b0385166001600160a01b0319909116179055600680549161087c83610f47565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600381815481106108fd57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610929816109fc565b6104338383610abe565b600260205260009081526040902080546001820180546001600160a01b03909216929161095f90610dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461098b90610dfe565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050506002909301549192505060ff8116906001600160401b036101009091041684565b6106828133610bb6565b60015460ff1615610a2a5760405163d93c066560e01b815260040160405180910390fd5b565b6000610a3883836108c4565b610ab6576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610a6e3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610358565b506000610358565b6000610aca83836108c4565b15610ab6576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610358565b610b31610bf3565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610b83610a06565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610b5e565b610bc082826108c4565b610bef5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104b8565b5050565b60015460ff16610a2a57604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610c2857600080fd5b81356001600160e01b031981168114610c4057600080fd5b9392505050565b600060208284031215610c5957600080fd5b5035919050565b80356001600160a01b0381168114610c7757600080fd5b919050565b60008060408385031215610c8f57600080fd5b82359150610c9f60208401610c60565b90509250929050565b60008060008060608587031215610cbe57600080fd5b84359350610cce60208601610c60565b925060408501356001600160401b0380821115610cea57600080fd5b818701915087601f830112610cfe57600080fd5b813581811115610d0d57600080fd5b886020828501011115610d1f57600080fd5b95989497505060200194505050565b60018060a01b03851681526000602060806020840152855180608085015260005b81811015610d6b5787810183015185820160a001528201610d4f565b50600060a0828601015260a0601f19601f830116850101925050508315156040830152610da360608301846001600160401b03169052565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b03808316818103610dde57610dde610dac565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610e1257607f821691505b602082108103610e3257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561066a576000816000526020600020601f850160051c81016020861015610e615750805b601f850160051c820191505b81811015610e8057828155600101610e6d565b505050505050565b81516001600160401b03811115610ea157610ea1610de8565b610eb581610eaf8454610dfe565b84610e38565b602080601f831160018114610eea5760008415610ed25750858301515b600019600386901b1c1916600185901b178555610e80565b600085815260208120601f198616915b82811015610f1957888601518255948401946001909101908401610efa565b5085821015610f375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201610f5957610f59610dac565b5060010190565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600081610faf57610faf610dac565b50600019019056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a2646970667358221220d1b6c12660a02cb12ad18d4681da6b485995730310c5c8cdd409c941e03177e364736f6c63430008180033",
|
|
702
|
+
"bytecode": "0x60806040523480156200001157600080fd5b506040516200157e3803806200157e83398101604081905262000034916200014d565b6001600160a01b0381166200005c57604051633944ed8760e11b815260040160405180910390fd5b620000696000826200009e565b50620000967fedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238826200009e565b50506200017f565b6000828152602081815260408083206001600160a01b038516845290915281205460ff1662000143576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055620000fa3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000147565b5060005b92915050565b6000602082840312156200016057600080fd5b81516001600160a01b03811681146200017857600080fd5b9392505050565b6113ef806200018f6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806376a7516a116100de578063b4c6dd1d11610097578063d9de8ff211610071578063d9de8ff214610336578063f68e95531461033f578063f9cda90b14610354578063fe853a0b1461035c57600080fd5b8063b4c6dd1d14610308578063b6318d4f14610310578063d547741f1461032357600080fd5b806376a7516a146102b65780637f3c5a62146102c95780638456cb59146102d2578063861caf2a146102da57806391d14854146102ed578063a217fddf1461030057600080fd5b80633f4ba83a116101305780633f4ba83a1461022c5780635c36901c146102345780635c975abb1461025a578063628389b91461026557806364ec38491461029057806370755bdc146102a357600080fd5b806301ffc9a7146101785780632430ecde146101a0578063248a9ca3146101c057806327f0b707146101f15780632f2ff15d1461020657806336568abe14610219575b600080fd5b61018b610186366004610e25565b610380565b60405190151581526020015b60405180910390f35b6101b36101ae366004610e56565b6103b7565b6040516101979190610eb5565b6101e36101ce366004610e56565b60009081526020819052604090206001015490565b604051908152602001610197565b6102046101ff366004610e56565b61045f565b005b610204610214366004610ee4565b61050f565b610204610227366004610ee4565b61053a565b610204610572565b61018b610242366004610e56565b60009081526002602052604090206003015460ff1690565b60015460ff1661018b565b600554610278906001600160401b031681565b6040516001600160401b039091168152602001610197565b61020461029e366004610f58565b610588565b6102046102b1366004610e56565b610638565b6102046102c4366004610fa3565b6106e5565b6101e360045481565b61020461090e565b6102046102e8366004610ee4565b610921565b61018b6102fb366004610ee4565b610a41565b6101e3600081565b6003546101e3565b6101e361031e366004610e56565b610a6a565b610204610331366004610ee4565b610a8b565b6101e360065481565b6101e360008051602061139a83398151915281565b6006546101e3565b61036f61036a366004610e56565b610ab0565b60405161019795949392919061102c565b60006001600160e01b03198216637965db0b60e01b14806103b157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002600083815260200190815260200160002060020180546103da90611085565b80601f016020809104026020016040519081016040528092919081815260200182805461040690611085565b80156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b50505050509050919050565b60008051602061139a83398151915261047781610c07565b61047f610c11565b6004805490839055600580546001600160401b03169060006104a0836110d5565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b60008281526020819052604090206001015461052a81610c07565b6105348383610c37565b50505050565b6001600160a01b03811633146105635760405163334bd91960e11b815260040160405180910390fd5b61056d8282610cc9565b505050565b600061057d81610c07565b610585610d34565b50565b60008051602061139a8339815191526105a081610c07565b6105a8610c11565b60008481526002602052604090206003015460ff166105da57604051634065aaf160e11b815260040160405180910390fd5b6000848152600260208190526040909120016105f7838583611161565b50837fd3a8f7b6395d038a0abdb9500517f5fa8400f90dd39a038f9819137d20b911bb848460405161062a92919061124a565b60405180910390a250505050565b60008051602061139a83398151915261065081610c07565b610658610c11565b60008281526002602052604090206003015460ff1661068a57604051634065aaf160e11b815260040160405180910390fd5b6000828152600260205260408120600301805460ff1916905560068054916106b183611266565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b60008051602061139a8339815191526106fd81610c07565b610705610c11565b60008781526002602052604090206003015461010090046001600160401b03161561074357604051630ea075bf60e21b815260040160405180910390fd5b6040518060a00160405280876001600160a01b0316815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250604080516020601f8701819004810282018101909252858152918101919086908690819084018382808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528c84526002815293909220845181546001600160a01b0319166001600160a01b03909116178155928401519183019161082391508261127d565b5060408201516002820190610838908261127d565b506060820151600391820180546080909401516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff199094169390931717909155805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0188905560068054916108c08361133c565b9190505550867f70d3f6ec100618e4d2ab4fbf047c4daec6b4381e3a2e8633394553447a4e9e5887878787876040516108fd959493929190611355565b60405180910390a250505050505050565b600061091981610c07565b610585610d86565b60008051602061139a83398151915261093981610c07565b610941610c11565b60008381526002602052604081206003015461010090046001600160401b031690036109805760405163aba4733960e01b815260040160405180910390fd5b60008381526002602052604090206003015460ff16156109b357604051637cdf305160e11b815260040160405180910390fd5b600083815260026020526040812060038101805460ff1916600117905580546001600160a01b0385166001600160a01b031990911617905560068054916109f98361133c565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60038181548110610a7a57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610aa681610c07565b6105348383610cc9565b600260205260009081526040902080546001820180546001600160a01b039092169291610adc90611085565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0890611085565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b505050505090806002018054610b6a90611085565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9690611085565b8015610be35780601f10610bb857610100808354040283529160200191610be3565b820191906000526020600020905b815481529060010190602001808311610bc657829003601f168201915b5050506003909301549192505060ff8116906001600160401b036101009091041685565b6105858133610dc1565b60015460ff1615610c355760405163d93c066560e01b815260040160405180910390fd5b565b6000610c438383610a41565b610cc1576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610c793390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103b1565b5060006103b1565b6000610cd58383610a41565b15610cc1576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103b1565b610d3c610e02565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610d8e610c11565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610d69565b610dcb8282610a41565b610dfe5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60015460ff16610c3557604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610e3757600080fd5b81356001600160e01b031981168114610e4f57600080fd5b9392505050565b600060208284031215610e6857600080fd5b5035919050565b6000815180845260005b81811015610e9557602081850181015186830182015201610e79565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610e4f6020830184610e6f565b80356001600160a01b0381168114610edf57600080fd5b919050565b60008060408385031215610ef757600080fd5b82359150610f0760208401610ec8565b90509250929050565b60008083601f840112610f2257600080fd5b5081356001600160401b03811115610f3957600080fd5b602083019150836020828501011115610f5157600080fd5b9250929050565b600080600060408486031215610f6d57600080fd5b8335925060208401356001600160401b03811115610f8a57600080fd5b610f9686828701610f10565b9497909650939450505050565b60008060008060008060808789031215610fbc57600080fd5b86359550610fcc60208801610ec8565b945060408701356001600160401b0380821115610fe857600080fd5b610ff48a838b01610f10565b9096509450606089013591508082111561100d57600080fd5b5061101a89828a01610f10565b979a9699509497509295939492505050565b6001600160a01b038616815260a06020820181905260009061105090830187610e6f565b82810360408401526110628187610e6f565b941515606084015250506001600160401b03919091166080909101529392505050565b600181811c9082168061109957607f821691505b6020821081036110b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b038083168181036110f1576110f16110bf565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b601f82111561056d576000816000526020600020601f850160051c8101602086101561113a5750805b601f850160051c820191505b8181101561115957828155600101611146565b505050505050565b6001600160401b03831115611178576111786110fb565b61118c836111868354611085565b83611111565b6000601f8411600181146111c057600085156111a85750838201355b600019600387901b1c1916600186901b17835561121a565b600083815260209020601f19861690835b828110156111f157868501358255602094850194600190920191016111d1565b508682101561120e5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061125e602083018486611221565b949350505050565b600081611275576112756110bf565b506000190190565b81516001600160401b03811115611296576112966110fb565b6112aa816112a48454611085565b84611111565b602080601f8311600181146112df57600084156112c75750858301515b600019600386901b1c1916600185901b178555611159565b600085815260208120601f198616915b8281101561130e578886015182559484019460019091019084016112ef565b508582101561132c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001820161134e5761134e6110bf565b5060010190565b6001600160a01b038616815260606020820181905260009061137a9083018688611221565b828103604084015261138d818587611221565b9897505050505050505056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a2646970667358221220662aec67f5212528e979788bb9d892175a2dd97b097ac29031002820bf5e8b0564736f6c63430008180033",
|
|
703
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c806376a7516a116100de578063b4c6dd1d11610097578063d9de8ff211610071578063d9de8ff214610336578063f68e95531461033f578063f9cda90b14610354578063fe853a0b1461035c57600080fd5b8063b4c6dd1d14610308578063b6318d4f14610310578063d547741f1461032357600080fd5b806376a7516a146102b65780637f3c5a62146102c95780638456cb59146102d2578063861caf2a146102da57806391d14854146102ed578063a217fddf1461030057600080fd5b80633f4ba83a116101305780633f4ba83a1461022c5780635c36901c146102345780635c975abb1461025a578063628389b91461026557806364ec38491461029057806370755bdc146102a357600080fd5b806301ffc9a7146101785780632430ecde146101a0578063248a9ca3146101c057806327f0b707146101f15780632f2ff15d1461020657806336568abe14610219575b600080fd5b61018b610186366004610e25565b610380565b60405190151581526020015b60405180910390f35b6101b36101ae366004610e56565b6103b7565b6040516101979190610eb5565b6101e36101ce366004610e56565b60009081526020819052604090206001015490565b604051908152602001610197565b6102046101ff366004610e56565b61045f565b005b610204610214366004610ee4565b61050f565b610204610227366004610ee4565b61053a565b610204610572565b61018b610242366004610e56565b60009081526002602052604090206003015460ff1690565b60015460ff1661018b565b600554610278906001600160401b031681565b6040516001600160401b039091168152602001610197565b61020461029e366004610f58565b610588565b6102046102b1366004610e56565b610638565b6102046102c4366004610fa3565b6106e5565b6101e360045481565b61020461090e565b6102046102e8366004610ee4565b610921565b61018b6102fb366004610ee4565b610a41565b6101e3600081565b6003546101e3565b6101e361031e366004610e56565b610a6a565b610204610331366004610ee4565b610a8b565b6101e360065481565b6101e360008051602061139a83398151915281565b6006546101e3565b61036f61036a366004610e56565b610ab0565b60405161019795949392919061102c565b60006001600160e01b03198216637965db0b60e01b14806103b157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002600083815260200190815260200160002060020180546103da90611085565b80601f016020809104026020016040519081016040528092919081815260200182805461040690611085565b80156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b50505050509050919050565b60008051602061139a83398151915261047781610c07565b61047f610c11565b6004805490839055600580546001600160401b03169060006104a0836110d5565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b60008281526020819052604090206001015461052a81610c07565b6105348383610c37565b50505050565b6001600160a01b03811633146105635760405163334bd91960e11b815260040160405180910390fd5b61056d8282610cc9565b505050565b600061057d81610c07565b610585610d34565b50565b60008051602061139a8339815191526105a081610c07565b6105a8610c11565b60008481526002602052604090206003015460ff166105da57604051634065aaf160e11b815260040160405180910390fd5b6000848152600260208190526040909120016105f7838583611161565b50837fd3a8f7b6395d038a0abdb9500517f5fa8400f90dd39a038f9819137d20b911bb848460405161062a92919061124a565b60405180910390a250505050565b60008051602061139a83398151915261065081610c07565b610658610c11565b60008281526002602052604090206003015460ff1661068a57604051634065aaf160e11b815260040160405180910390fd5b6000828152600260205260408120600301805460ff1916905560068054916106b183611266565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b60008051602061139a8339815191526106fd81610c07565b610705610c11565b60008781526002602052604090206003015461010090046001600160401b03161561074357604051630ea075bf60e21b815260040160405180910390fd5b6040518060a00160405280876001600160a01b0316815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250604080516020601f8701819004810282018101909252858152918101919086908690819084018382808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528c84526002815293909220845181546001600160a01b0319166001600160a01b03909116178155928401519183019161082391508261127d565b5060408201516002820190610838908261127d565b506060820151600391820180546080909401516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff199094169390931717909155805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0188905560068054916108c08361133c565b9190505550867f70d3f6ec100618e4d2ab4fbf047c4daec6b4381e3a2e8633394553447a4e9e5887878787876040516108fd959493929190611355565b60405180910390a250505050505050565b600061091981610c07565b610585610d86565b60008051602061139a83398151915261093981610c07565b610941610c11565b60008381526002602052604081206003015461010090046001600160401b031690036109805760405163aba4733960e01b815260040160405180910390fd5b60008381526002602052604090206003015460ff16156109b357604051637cdf305160e11b815260040160405180910390fd5b600083815260026020526040812060038101805460ff1916600117905580546001600160a01b0385166001600160a01b031990911617905560068054916109f98361133c565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60038181548110610a7a57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610aa681610c07565b6105348383610cc9565b600260205260009081526040902080546001820180546001600160a01b039092169291610adc90611085565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0890611085565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b505050505090806002018054610b6a90611085565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9690611085565b8015610be35780601f10610bb857610100808354040283529160200191610be3565b820191906000526020600020905b815481529060010190602001808311610bc657829003601f168201915b5050506003909301549192505060ff8116906001600160401b036101009091041685565b6105858133610dc1565b60015460ff1615610c355760405163d93c066560e01b815260040160405180910390fd5b565b6000610c438383610a41565b610cc1576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610c793390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103b1565b5060006103b1565b6000610cd58383610a41565b15610cc1576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103b1565b610d3c610e02565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610d8e610c11565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610d69565b610dcb8282610a41565b610dfe5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60015460ff16610c3557604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610e3757600080fd5b81356001600160e01b031981168114610e4f57600080fd5b9392505050565b600060208284031215610e6857600080fd5b5035919050565b6000815180845260005b81811015610e9557602081850181015186830182015201610e79565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610e4f6020830184610e6f565b80356001600160a01b0381168114610edf57600080fd5b919050565b60008060408385031215610ef757600080fd5b82359150610f0760208401610ec8565b90509250929050565b60008083601f840112610f2257600080fd5b5081356001600160401b03811115610f3957600080fd5b602083019150836020828501011115610f5157600080fd5b9250929050565b600080600060408486031215610f6d57600080fd5b8335925060208401356001600160401b03811115610f8a57600080fd5b610f9686828701610f10565b9497909650939450505050565b60008060008060008060808789031215610fbc57600080fd5b86359550610fcc60208801610ec8565b945060408701356001600160401b0380821115610fe857600080fd5b610ff48a838b01610f10565b9096509450606089013591508082111561100d57600080fd5b5061101a89828a01610f10565b979a9699509497509295939492505050565b6001600160a01b038616815260a06020820181905260009061105090830187610e6f565b82810360408401526110628187610e6f565b941515606084015250506001600160401b03919091166080909101529392505050565b600181811c9082168061109957607f821691505b6020821081036110b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b038083168181036110f1576110f16110bf565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b601f82111561056d576000816000526020600020601f850160051c8101602086101561113a5750805b601f850160051c820191505b8181101561115957828155600101611146565b505050505050565b6001600160401b03831115611178576111786110fb565b61118c836111868354611085565b83611111565b6000601f8411600181146111c057600085156111a85750838201355b600019600387901b1c1916600186901b17835561121a565b600083815260209020601f19861690835b828110156111f157868501358255602094850194600190920191016111d1565b508682101561120e5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061125e602083018486611221565b949350505050565b600081611275576112756110bf565b506000190190565b81516001600160401b03811115611296576112966110fb565b6112aa816112a48454611085565b84611111565b602080601f8311600181146112df57600084156112c75750858301515b600019600386901b1c1916600185901b178555611159565b600085815260208120601f198616915b8281101561130e578886015182559484019460019091019084016112ef565b508582101561132c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001820161134e5761134e6110bf565b5060010190565b6001600160a01b038616815260606020820181905260009061137a9083018688611221565b828103604084015261138d818587611221565b9897505050505050505056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a2646970667358221220662aec67f5212528e979788bb9d892175a2dd97b097ac29031002820bf5e8b0564736f6c63430008180033",
|
|
607
704
|
"linkReferences": {},
|
|
608
705
|
"deployedLinkReferences": {}
|
|
609
706
|
}
|