@clearproof/contracts 0.2.0 → 0.3.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 +35 -0
- package/artifacts/contracts/ComplianceRegistry.sol/ComplianceRegistry.json +2 -2
- package/artifacts/contracts/Groth16Verifier.sol/Groth16Verifier.json +2 -2
- package/artifacts/contracts/ISanctionsRootReceiver.sol/ISanctionsRootReceiver.json +29 -0
- package/artifacts/contracts/SanctionsOracle.sol/SanctionsOracle.json +2 -2
- package/artifacts/contracts/SanctionsRootRelay.sol/SanctionsRootRelay.json +321 -0
- package/artifacts/contracts/VASPRegistry.sol/VASPRegistry.json +74 -2
- package/contracts/ComplianceRegistry.sol +3 -1
- package/contracts/Groth16Verifier.sol +44 -44
- package/contracts/ISanctionsRootReceiver.sol +14 -0
- package/contracts/SanctionsOracle.sol +2 -0
- package/contracts/SanctionsRootRelay.sol +48 -0
- package/contracts/VASPRegistry.sol +22 -4
- package/package.json +6 -3
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @clearproof/contracts
|
|
2
|
+
|
|
3
|
+
Solidity smart contracts for on-chain ZK compliance proof verification and registry management.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @clearproof/contracts
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Deployed Contracts (Sepolia Testnet)
|
|
12
|
+
|
|
13
|
+
| Contract | Address |
|
|
14
|
+
|----------|---------|
|
|
15
|
+
| Groth16Verifier | `0xa8DF5a9F02cB6113463327C54F6e03C682D00a7a` |
|
|
16
|
+
| VASPRegistry | `0x89535b85EB5a4F9Fb30a09d4c0Ad9f1614C8f0E7` |
|
|
17
|
+
| SanctionsOracle | `0x05446C7A45c7Bd84F4702022B68232242c05Ffd1` |
|
|
18
|
+
| ComplianceRegistry | `0x3e4601759064654f28C5368f2B444A749AB26D8f` |
|
|
19
|
+
| SanctionsRootRelay | `0x1e808E9739f24b80bEb379B1a88e4152eB41635A` |
|
|
20
|
+
|
|
21
|
+
## Development
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
cd packages/contracts
|
|
25
|
+
npx hardhat compile
|
|
26
|
+
npx hardhat test
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Links
|
|
30
|
+
|
|
31
|
+
- [Main repository](https://github.com/repfigit/clearproof)
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
Apache-2.0
|
|
@@ -577,8 +577,8 @@
|
|
|
577
577
|
"type": "function"
|
|
578
578
|
}
|
|
579
579
|
],
|
|
580
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b506040516200188e3803806200188e833981016040819052620000349162000237565b6001600160a01b038316620000805760405162461bcd60e51b815260206004820152600d60248201526c2d32b937903b32b934b334b2b960991b60448201526064015b60405180910390fd5b6001600160a01b038216620000c85760405162461bcd60e51b815260206004820152600d60248201526c5a65726f20726567697374727960981b604482015260640162000077565b6001600160a01b0381166200010e5760405162461bcd60e51b815260206004820152600b60248201526a5a65726f206f7261636c6560a81b604482015260640162000077565b6001600160a01b0380841660805282811660a052811660c052620001346000336200016b565b50620001617fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee30336200016b565b5050505062000281565b6000828152602081815260408083206001600160a01b038516845290915281205460ff1662000210576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055620001c73390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000214565b5060005b92915050565b80516001600160a01b03811681146200023257600080fd5b919050565b6000806000606084860312156200024d57600080fd5b62000258846200021a565b925062000268602085016200021a565b915062000278604085016200021a565b90509250925092565b60805160a05160c0516115a5620002e960003960008181610328015281816104de015281816106730152610a7d01526000818161039c015281816105ad0152818161074f015281816108190152610b510152600081816101e00152610d5d01526115a56000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635a64c7fd116100b8578063a217fddf1161007c578063a217fddf1461031b578063b3df4df914610323578063c181b2731461034a578063ca6eec7814610371578063d547741f14610384578063f6d971d41461039757600080fd5b80635a64c7fd146102bb5780635c975abb146102ce5780637c4acabf146102d95780638456cb591461030057806391d148541461030857600080fd5b80632f2ff15d116100ff5780632f2ff15d1461021a57806336568abe1461022f5780633f4ba83a146102425780634294857f1461024a578063444d95b01461026d57600080fd5b806301ffc9a71461013c578063206137aa14610164578063248a9ca314610187578063249b92a0146101b85780632b7ac3f3146101db575b600080fd5b61014f61014a366004611271565b6103be565b60405190151581526020015b60405180910390f35b61014f6101723660046112a2565b60046020526000908152604090205460ff1681565b6101aa6101953660046112a2565b60009081526020819052604090206001015490565b60405190815260200161015b565b61014f6101c63660046112a2565b60036020526000908152604090205460ff1681565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161015b565b61022d6102283660046112d0565b6103f5565b005b61022d61023d3660046112d0565b610420565b61022d610458565b61014f6102583660046112a2565b60009081526003602052604090205460ff1690565b61029e61027b3660046112a2565b600260208190526000918252604090912080546001820154919092015460ff1683565b60408051938452602084019290925215159082015260600161015b565b61014f6102c9366004611311565b61046e565b60015460ff1661014f565b6101aa7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee3081565b61022d610f28565b61014f6103163660046112d0565b610f3b565b6101aa600081565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b61014f6103583660046112a2565b6000908152600260208190526040909120015460ff1690565b61022d61037f3660046112a2565b610f64565b61022d6103923660046112d0565b611032565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b03198216637965db0b60e01b14806103ef57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461041081611057565b61041a8383611061565b50505050565b6001600160a01b03811633146104495760405163334bd91960e11b815260040160405180910390fd5b61045382826110f3565b505050565b600061046381611057565b61046b61115e565b50565b60006104786111b0565b600087815260026020526040902060010154156104dc5760405162461bcd60e51b815260206004820152601960248201527f5472616e7366657220616c7265616479207265636f726465640000000000000060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e919061139f565b156105ab5760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e73206f7261636c652070617573656400000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d919061139f565b156106715760405162461bcd60e51b8152602060048201526014602482015273159054d4081c9959da5cdd1c9e481c185d5cd95960621b60448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a26f4476040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f3919061139f565b156107395760405162461bcd60e51b815260206004820152601660248201527553616e6374696f6e73206f7261636c65207374616c6560501b60448201526064016104d3565b60405163170da40760e21b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635c36901c90602401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c2919061139f565b6108005760405162461bcd60e51b815260206004820152600f60248201526e56415350206e6f742061637469766560881b60448201526064016104d3565b60405163fe853a0b60e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063fe853a0b90602401600060405180830381865afa158015610868573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261089091908101906113e8565b5050509050806001600160a01b0316336001600160a01b0316146108f65760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265676973746572656420564153502077616c6c657400000000000060448201526064016104d3565b61016084013546146109385760405162461bcd60e51b815260206004820152600b60248201526a2bb937b7339031b430b4b760a91b60448201526064016104d3565b6040516bffffffffffffffffffffffff193060601b1660208201527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001906101808601359082906034016040516020818303038152906040528051906020012060001c6109a491906114e7565b146109e25760405162461bcd60e51b815260206004820152600e60248201526d15dc9bdb99c818dbdb9d1c9858dd60921b60448201526064016104d3565b6101e0850135421115610a275760405162461bcd60e51b815260206004820152600d60248201526c141c9bdbd988195e1c1a5c9959609a1b60448201526064016104d3565b4260a08601351115610a7b5760405162461bcd60e51b815260206004820152601960248201527f50726f6f662074696d657374616d7020696e206675747572650000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fdab463d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afd9190611509565b604086013514610b4f5760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e7320726f6f74206d69736d6174636800000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637f3c5a626040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd19190611509565b606086013514610c1a5760405162461bcd60e51b8152602060048201526014602482015273092e6e6eacae440e4dedee840dad2e6dac2e8c6d60631b60448201526064016104d3565b6040805160208082018c905282518083038201815291830190925280519101206101a086013590610c4c9083906114e7565b14610c905760405162461bcd60e51b81526020600482015260146024820152730a8e4c2dce6cccae440928840dad2e6dac2e8c6d60631b60448201526064016104d3565b60e085013560009081526003602052604090205460ff1615610ce95760405162461bcd60e51b815260206004820152601260248201527110dc9959195b9d1a585b081c995d9bdad95960721b60448201526064016104d3565b6101c085013560008181526004602052604090205460ff1615610d435760405162461bcd60e51b8152602060048201526012602482015271141c9bdbd988185b1c9958591e481d5cd95960721b60448201526064016104d3565b60405163c82febf560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c82febf590610d98908d908d908d908d90600401611522565b602060405180830381865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd9919061139f565b905080610e285760405162461bcd60e51b815260206004820152601960248201527f50726f6f6620766572696669636174696f6e206661696c65640000000000000060448201526064016104d3565b60008281526004602052604090819020805460ff1916600117905580516060810190915280610e5d8c8c8c8c60808601611522565b60408051808303601f19018152918152815160209283012083524283830152600192810183905260008f8152600280845290829020855181558584015181860155948201519401805460ff1916941515949094179093558251808201869052835180820383018152818501948590528051908301208b358414909452908a0135909114606082015281908d907f8ce78072fc07e2ed101b2c9364e2028eb1ef92f996bf75e96909e48a342e59e99060800160405180910390a35060019b9a5050505050505050505050565b6000610f3381611057565b61046b6111d6565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee30610f8e81611057565b60008281526003602052604090205460ff1615610fdf5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e481c995d9bdad959608a1b60448201526064016104d3565b600082815260036020908152604091829020805460ff19166001179055905133815283917fd3196f598a360c115a1de20d5a58021203793f1bf1a08efe55ee14545779606d910160405180910390a25050565b60008281526020819052604090206001015461104d81611057565b61041a83836110f3565b61046b8133611211565b600061106d8383610f3b565b6110eb576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556110a33390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103ef565b5060006103ef565b60006110ff8383610f3b565b156110eb576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103ef565b61116661124e565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60015460ff16156111d45760405163d93c066560e01b815260040160405180910390fd5b565b6111de6111b0565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833611193565b61121b8282610f3b565b61124a5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104d3565b5050565b60015460ff166111d457604051638dfc202b60e01b815260040160405180910390fd5b60006020828403121561128357600080fd5b81356001600160e01b03198116811461129b57600080fd5b9392505050565b6000602082840312156112b457600080fd5b5035919050565b6001600160a01b038116811461046b57600080fd5b600080604083850312156112e357600080fd5b8235915060208301356112f5816112bb565b809150509250929050565b80604081018310156103ef57600080fd5b600080600080600080610340878903121561132b57600080fd5b8635955061133c8860208901611300565b945060e087018881111561134f57600080fd5b60608801945061135f8982611300565b93505061032087018881111561137457600080fd5b6101208801925080359150509295509295509295565b8051801515811461139a57600080fd5b919050565b6000602082840312156113b157600080fd5b61129b8261138a565b634e487b7160e01b600052604160045260246000fd5b805167ffffffffffffffff8116811461139a57600080fd5b600080600080608085870312156113fe57600080fd5b8451611409816112bb565b8094505060208086015167ffffffffffffffff8082111561142957600080fd5b818801915088601f83011261143d57600080fd5b81518181111561144f5761144f6113ba565b604051601f8201601f19908116603f01168101908382118183101715611477576114776113ba565b816040528281528b8684870101111561148f57600080fd5b600093505b828410156114b15784840186015181850187015292850192611494565b60008684830101528098505050505050506114ce6040860161138a565b91506114dc606086016113d0565b905092959194509250565b60008261150457634e487b7160e01b600052601260045260246000fd5b500690565b60006020828403121561151b57600080fd5b5051919050565b61030081016040808784378083018660005b600281101561155157838284379183019190830190600101611534565b505050808560c085013750610200836101008401379594505050505056fea264697066735822122027b8e44e636fc73e24206121682b9740479d69292faa7f05070874fccf98a97064736f6c63430008180033",
|
|
581
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635a64c7fd116100b8578063a217fddf1161007c578063a217fddf1461031b578063b3df4df914610323578063c181b2731461034a578063ca6eec7814610371578063d547741f14610384578063f6d971d41461039757600080fd5b80635a64c7fd146102bb5780635c975abb146102ce5780637c4acabf146102d95780638456cb591461030057806391d148541461030857600080fd5b80632f2ff15d116100ff5780632f2ff15d1461021a57806336568abe1461022f5780633f4ba83a146102425780634294857f1461024a578063444d95b01461026d57600080fd5b806301ffc9a71461013c578063206137aa14610164578063248a9ca314610187578063249b92a0146101b85780632b7ac3f3146101db575b600080fd5b61014f61014a366004611271565b6103be565b60405190151581526020015b60405180910390f35b61014f6101723660046112a2565b60046020526000908152604090205460ff1681565b6101aa6101953660046112a2565b60009081526020819052604090206001015490565b60405190815260200161015b565b61014f6101c63660046112a2565b60036020526000908152604090205460ff1681565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161015b565b61022d6102283660046112d0565b6103f5565b005b61022d61023d3660046112d0565b610420565b61022d610458565b61014f6102583660046112a2565b60009081526003602052604090205460ff1690565b61029e61027b3660046112a2565b600260208190526000918252604090912080546001820154919092015460ff1683565b60408051938452602084019290925215159082015260600161015b565b61014f6102c9366004611311565b61046e565b60015460ff1661014f565b6101aa7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee3081565b61022d610f28565b61014f6103163660046112d0565b610f3b565b6101aa600081565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b61014f6103583660046112a2565b6000908152600260208190526040909120015460ff1690565b61022d61037f3660046112a2565b610f64565b61022d6103923660046112d0565b611032565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b03198216637965db0b60e01b14806103ef57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461041081611057565b61041a8383611061565b50505050565b6001600160a01b03811633146104495760405163334bd91960e11b815260040160405180910390fd5b61045382826110f3565b505050565b600061046381611057565b61046b61115e565b50565b60006104786111b0565b600087815260026020526040902060010154156104dc5760405162461bcd60e51b815260206004820152601960248201527f5472616e7366657220616c7265616479207265636f726465640000000000000060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e919061139f565b156105ab5760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e73206f7261636c652070617573656400000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d919061139f565b156106715760405162461bcd60e51b8152602060048201526014602482015273159054d4081c9959da5cdd1c9e481c185d5cd95960621b60448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a26f4476040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f3919061139f565b156107395760405162461bcd60e51b815260206004820152601660248201527553616e6374696f6e73206f7261636c65207374616c6560501b60448201526064016104d3565b60405163170da40760e21b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635c36901c90602401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c2919061139f565b6108005760405162461bcd60e51b815260206004820152600f60248201526e56415350206e6f742061637469766560881b60448201526064016104d3565b60405163fe853a0b60e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063fe853a0b90602401600060405180830381865afa158015610868573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261089091908101906113e8565b5050509050806001600160a01b0316336001600160a01b0316146108f65760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265676973746572656420564153502077616c6c657400000000000060448201526064016104d3565b61016084013546146109385760405162461bcd60e51b815260206004820152600b60248201526a2bb937b7339031b430b4b760a91b60448201526064016104d3565b6040516bffffffffffffffffffffffff193060601b1660208201527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001906101808601359082906034016040516020818303038152906040528051906020012060001c6109a491906114e7565b146109e25760405162461bcd60e51b815260206004820152600e60248201526d15dc9bdb99c818dbdb9d1c9858dd60921b60448201526064016104d3565b6101e0850135421115610a275760405162461bcd60e51b815260206004820152600d60248201526c141c9bdbd988195e1c1a5c9959609a1b60448201526064016104d3565b4260a08601351115610a7b5760405162461bcd60e51b815260206004820152601960248201527f50726f6f662074696d657374616d7020696e206675747572650000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fdab463d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afd9190611509565b604086013514610b4f5760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e7320726f6f74206d69736d6174636800000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637f3c5a626040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd19190611509565b606086013514610c1a5760405162461bcd60e51b8152602060048201526014602482015273092e6e6eacae440e4dedee840dad2e6dac2e8c6d60631b60448201526064016104d3565b6040805160208082018c905282518083038201815291830190925280519101206101a086013590610c4c9083906114e7565b14610c905760405162461bcd60e51b81526020600482015260146024820152730a8e4c2dce6cccae440928840dad2e6dac2e8c6d60631b60448201526064016104d3565b60e085013560009081526003602052604090205460ff1615610ce95760405162461bcd60e51b815260206004820152601260248201527110dc9959195b9d1a585b081c995d9bdad95960721b60448201526064016104d3565b6101c085013560008181526004602052604090205460ff1615610d435760405162461bcd60e51b8152602060048201526012602482015271141c9bdbd988185b1c9958591e481d5cd95960721b60448201526064016104d3565b60405163c82febf560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c82febf590610d98908d908d908d908d90600401611522565b602060405180830381865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd9919061139f565b905080610e285760405162461bcd60e51b815260206004820152601960248201527f50726f6f6620766572696669636174696f6e206661696c65640000000000000060448201526064016104d3565b60008281526004602052604090819020805460ff1916600117905580516060810190915280610e5d8c8c8c8c60808601611522565b60408051808303601f19018152918152815160209283012083524283830152600192810183905260008f8152600280845290829020855181558584015181860155948201519401805460ff1916941515949094179093558251808201869052835180820383018152818501948590528051908301208b358414909452908a0135909114606082015281908d907f8ce78072fc07e2ed101b2c9364e2028eb1ef92f996bf75e96909e48a342e59e99060800160405180910390a35060019b9a5050505050505050505050565b6000610f3381611057565b61046b6111d6565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee30610f8e81611057565b60008281526003602052604090205460ff1615610fdf5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e481c995d9bdad959608a1b60448201526064016104d3565b600082815260036020908152604091829020805460ff19166001179055905133815283917fd3196f598a360c115a1de20d5a58021203793f1bf1a08efe55ee14545779606d910160405180910390a25050565b60008281526020819052604090206001015461104d81611057565b61041a83836110f3565b61046b8133611211565b600061106d8383610f3b565b6110eb576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556110a33390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103ef565b5060006103ef565b60006110ff8383610f3b565b156110eb576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103ef565b61116661124e565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60015460ff16156111d45760405163d93c066560e01b815260040160405180910390fd5b565b6111de6111b0565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833611193565b61121b8282610f3b565b61124a5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104d3565b5050565b60015460ff166111d457604051638dfc202b60e01b815260040160405180910390fd5b60006020828403121561128357600080fd5b81356001600160e01b03198116811461129b57600080fd5b9392505050565b6000602082840312156112b457600080fd5b5035919050565b6001600160a01b038116811461046b57600080fd5b600080604083850312156112e357600080fd5b8235915060208301356112f5816112bb565b809150509250929050565b80604081018310156103ef57600080fd5b600080600080600080610340878903121561132b57600080fd5b8635955061133c8860208901611300565b945060e087018881111561134f57600080fd5b60608801945061135f8982611300565b93505061032087018881111561137457600080fd5b6101208801925080359150509295509295509295565b8051801515811461139a57600080fd5b919050565b6000602082840312156113b157600080fd5b61129b8261138a565b634e487b7160e01b600052604160045260246000fd5b805167ffffffffffffffff8116811461139a57600080fd5b600080600080608085870312156113fe57600080fd5b8451611409816112bb565b8094505060208086015167ffffffffffffffff8082111561142957600080fd5b818801915088601f83011261143d57600080fd5b81518181111561144f5761144f6113ba565b604051601f8201601f19908116603f01168101908382118183101715611477576114776113ba565b816040528281528b8684870101111561148f57600080fd5b600093505b828410156114b15784840186015181850187015292850192611494565b60008684830101528098505050505050506114ce6040860161138a565b91506114dc606086016113d0565b905092959194509250565b60008261150457634e487b7160e01b600052601260045260246000fd5b500690565b60006020828403121561151b57600080fd5b5051919050565b61030081016040808784378083018660005b600281101561155157838284379183019190830190600101611534565b505050808560c085013750610200836101008401379594505050505056fea264697066735822122027b8e44e636fc73e24206121682b9740479d69292faa7f05070874fccf98a97064736f6c63430008180033",
|
|
580
|
+
"bytecode": "0x60e06040523480156200001157600080fd5b50604051620018c4380380620018c4833981016040819052620000349162000237565b6001600160a01b038316620000805760405162461bcd60e51b815260206004820152600d60248201526c2d32b937903b32b934b334b2b960991b60448201526064015b60405180910390fd5b6001600160a01b038216620000c85760405162461bcd60e51b815260206004820152600d60248201526c5a65726f20726567697374727960981b604482015260640162000077565b6001600160a01b0381166200010e5760405162461bcd60e51b815260206004820152600b60248201526a5a65726f206f7261636c6560a81b604482015260640162000077565b6001600160a01b0380841660805282811660a052811660c052620001346000336200016b565b50620001617fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee30336200016b565b5050505062000281565b6000828152602081815260408083206001600160a01b038516845290915281205460ff1662000210576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055620001c73390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000214565b5060005b92915050565b80516001600160a01b03811681146200023257600080fd5b919050565b6000806000606084860312156200024d57600080fd5b62000258846200021a565b925062000268602085016200021a565b915062000278604085016200021a565b90509250925092565b60805160a05160c0516115db620002e960003960008181610328015281816104de015281816106730152610a7e01526000818161039c015281816105ad0152818161074f015281816108190152610b520152600081816101e00152610d5e01526115db6000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635a64c7fd116100b8578063a217fddf1161007c578063a217fddf1461031b578063b3df4df914610323578063c181b2731461034a578063ca6eec7814610371578063d547741f14610384578063f6d971d41461039757600080fd5b80635a64c7fd146102bb5780635c975abb146102ce5780637c4acabf146102d95780638456cb591461030057806391d148541461030857600080fd5b80632f2ff15d116100ff5780632f2ff15d1461021a57806336568abe1461022f5780633f4ba83a146102425780634294857f1461024a578063444d95b01461026d57600080fd5b806301ffc9a71461013c578063206137aa14610164578063248a9ca314610187578063249b92a0146101b85780632b7ac3f3146101db575b600080fd5b61014f61014a366004611272565b6103be565b60405190151581526020015b60405180910390f35b61014f6101723660046112a3565b60046020526000908152604090205460ff1681565b6101aa6101953660046112a3565b60009081526020819052604090206001015490565b60405190815260200161015b565b61014f6101c63660046112a3565b60036020526000908152604090205460ff1681565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161015b565b61022d6102283660046112d1565b6103f5565b005b61022d61023d3660046112d1565b610420565b61022d610458565b61014f6102583660046112a3565b60009081526003602052604090205460ff1690565b61029e61027b3660046112a3565b600260208190526000918252604090912080546001820154919092015460ff1683565b60408051938452602084019290925215159082015260600161015b565b61014f6102c9366004611312565b61046e565b60015460ff1661014f565b6101aa7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee3081565b61022d610f29565b61014f6103163660046112d1565b610f3c565b6101aa600081565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b61014f6103583660046112a3565b6000908152600260208190526040909120015460ff1690565b61022d61037f3660046112a3565b610f65565b61022d6103923660046112d1565b611033565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b03198216637965db0b60e01b14806103ef57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461041081611058565b61041a8383611062565b50505050565b6001600160a01b03811633146104495760405163334bd91960e11b815260040160405180910390fd5b61045382826110f4565b505050565b600061046381611058565b61046b61115f565b50565b60006104786111b1565b600087815260026020526040902060010154156104dc5760405162461bcd60e51b815260206004820152601960248201527f5472616e7366657220616c7265616479207265636f726465640000000000000060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e91906113a0565b156105ab5760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e73206f7261636c652070617573656400000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d91906113a0565b156106715760405162461bcd60e51b8152602060048201526014602482015273159054d4081c9959da5cdd1c9e481c185d5cd95960621b60448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a26f4476040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f391906113a0565b156107395760405162461bcd60e51b815260206004820152601660248201527553616e6374696f6e73206f7261636c65207374616c6560501b60448201526064016104d3565b60405163170da40760e21b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635c36901c90602401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c291906113a0565b6108005760405162461bcd60e51b815260206004820152600f60248201526e56415350206e6f742061637469766560881b60448201526064016104d3565b60405163fe853a0b60e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063fe853a0b90602401600060405180830381865afa158015610868573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610890919081019061147a565b505050509050806001600160a01b0316336001600160a01b0316146108f75760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265676973746572656420564153502077616c6c657400000000000060448201526064016104d3565b61016084013546146109395760405162461bcd60e51b815260206004820152600b60248201526a2bb937b7339031b430b4b760a91b60448201526064016104d3565b6040516bffffffffffffffffffffffff193060601b1660208201527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001906101808601359082906034016040516020818303038152906040528051906020012060001c6109a5919061151d565b146109e35760405162461bcd60e51b815260206004820152600e60248201526d15dc9bdb99c818dbdb9d1c9858dd60921b60448201526064016104d3565b6101e0850135421115610a285760405162461bcd60e51b815260206004820152600d60248201526c141c9bdbd988195e1c1a5c9959609a1b60448201526064016104d3565b4260a08601351115610a7c5760405162461bcd60e51b815260206004820152601960248201527f50726f6f662074696d657374616d7020696e206675747572650000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fdab463d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe919061153f565b604086013514610b505760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e7320726f6f74206d69736d6174636800000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637f3c5a626040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd2919061153f565b606086013514610c1b5760405162461bcd60e51b8152602060048201526014602482015273092e6e6eacae440e4dedee840dad2e6dac2e8c6d60631b60448201526064016104d3565b6040805160208082018c905282518083038201815291830190925280519101206101a086013590610c4d90839061151d565b14610c915760405162461bcd60e51b81526020600482015260146024820152730a8e4c2dce6cccae440928840dad2e6dac2e8c6d60631b60448201526064016104d3565b60e085013560009081526003602052604090205460ff1615610cea5760405162461bcd60e51b815260206004820152601260248201527110dc9959195b9d1a585b081c995d9bdad95960721b60448201526064016104d3565b6101c085013560008181526004602052604090205460ff1615610d445760405162461bcd60e51b8152602060048201526012602482015271141c9bdbd988185b1c9958591e481d5cd95960721b60448201526064016104d3565b60405163c82febf560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c82febf590610d99908d908d908d908d90600401611558565b602060405180830381865afa158015610db6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dda91906113a0565b905080610e295760405162461bcd60e51b815260206004820152601960248201527f50726f6f6620766572696669636174696f6e206661696c65640000000000000060448201526064016104d3565b60008281526004602052604090819020805460ff1916600117905580516060810190915280610e5e8c8c8c8c60808601611558565b60408051808303601f19018152918152815160209283012083524283830152600192810183905260008f8152600280845290829020855181558584015181860155948201519401805460ff1916941515949094179093558251808201869052835180820383018152818501948590528051908301208b358414909452908a0135909114606082015281908d907f8ce78072fc07e2ed101b2c9364e2028eb1ef92f996bf75e96909e48a342e59e99060800160405180910390a35060019b9a5050505050505050505050565b6000610f3481611058565b61046b6111d7565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee30610f8f81611058565b60008281526003602052604090205460ff1615610fe05760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e481c995d9bdad959608a1b60448201526064016104d3565b600082815260036020908152604091829020805460ff19166001179055905133815283917fd3196f598a360c115a1de20d5a58021203793f1bf1a08efe55ee14545779606d910160405180910390a25050565b60008281526020819052604090206001015461104e81611058565b61041a83836110f4565b61046b8133611212565b600061106e8383610f3c565b6110ec576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556110a43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103ef565b5060006103ef565b60006111008383610f3c565b156110ec576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103ef565b61116761124f565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60015460ff16156111d55760405163d93c066560e01b815260040160405180910390fd5b565b6111df6111b1565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833611194565b61121c8282610f3c565b61124b5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104d3565b5050565b60015460ff166111d557604051638dfc202b60e01b815260040160405180910390fd5b60006020828403121561128457600080fd5b81356001600160e01b03198116811461129c57600080fd5b9392505050565b6000602082840312156112b557600080fd5b5035919050565b6001600160a01b038116811461046b57600080fd5b600080604083850312156112e457600080fd5b8235915060208301356112f6816112bc565b809150509250929050565b80604081018310156103ef57600080fd5b600080600080600080610340878903121561132c57600080fd5b8635955061133d8860208901611301565b945060e087018881111561135057600080fd5b6060880194506113608982611301565b93505061032087018881111561137557600080fd5b6101208801925080359150509295509295509295565b8051801515811461139b57600080fd5b919050565b6000602082840312156113b257600080fd5b61129c8261138b565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126113e257600080fd5b815167ffffffffffffffff808211156113fd576113fd6113bb565b604051601f8301601f19908116603f01168101908282118183101715611425576114256113bb565b816040528381526020925086602085880101111561144257600080fd5b600091505b838210156114645785820183015181830184015290820190611447565b6000602085830101528094505050505092915050565b600080600080600060a0868803121561149257600080fd5b855161149d816112bc565b602087015190955067ffffffffffffffff808211156114bb57600080fd5b6114c789838a016113d1565b955060408801519150808211156114dd57600080fd5b6114e989838a016113d1565b94506114f76060890161138b565b935060808801519150808216821461150e57600080fd5b50809150509295509295909350565b60008261153a57634e487b7160e01b600052601260045260246000fd5b500690565b60006020828403121561155157600080fd5b5051919050565b61030081016040808784378083018660005b60028110156115875783828437918301919083019060010161156a565b505050808560c085013750610200836101008401379594505050505056fea2646970667358221220c1d601442bc843aae228f695d15411fdf5a139b41f308607cf69f163176f513164736f6c63430008180033",
|
|
581
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635a64c7fd116100b8578063a217fddf1161007c578063a217fddf1461031b578063b3df4df914610323578063c181b2731461034a578063ca6eec7814610371578063d547741f14610384578063f6d971d41461039757600080fd5b80635a64c7fd146102bb5780635c975abb146102ce5780637c4acabf146102d95780638456cb591461030057806391d148541461030857600080fd5b80632f2ff15d116100ff5780632f2ff15d1461021a57806336568abe1461022f5780633f4ba83a146102425780634294857f1461024a578063444d95b01461026d57600080fd5b806301ffc9a71461013c578063206137aa14610164578063248a9ca314610187578063249b92a0146101b85780632b7ac3f3146101db575b600080fd5b61014f61014a366004611272565b6103be565b60405190151581526020015b60405180910390f35b61014f6101723660046112a3565b60046020526000908152604090205460ff1681565b6101aa6101953660046112a3565b60009081526020819052604090206001015490565b60405190815260200161015b565b61014f6101c63660046112a3565b60036020526000908152604090205460ff1681565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161015b565b61022d6102283660046112d1565b6103f5565b005b61022d61023d3660046112d1565b610420565b61022d610458565b61014f6102583660046112a3565b60009081526003602052604090205460ff1690565b61029e61027b3660046112a3565b600260208190526000918252604090912080546001820154919092015460ff1683565b60408051938452602084019290925215159082015260600161015b565b61014f6102c9366004611312565b61046e565b60015460ff1661014f565b6101aa7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee3081565b61022d610f29565b61014f6103163660046112d1565b610f3c565b6101aa600081565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b61014f6103583660046112a3565b6000908152600260208190526040909120015460ff1690565b61022d61037f3660046112a3565b610f65565b61022d6103923660046112d1565b611033565b6102027f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b03198216637965db0b60e01b14806103ef57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461041081611058565b61041a8383611062565b50505050565b6001600160a01b03811633146104495760405163334bd91960e11b815260040160405180910390fd5b61045382826110f4565b505050565b600061046381611058565b61046b61115f565b50565b60006104786111b1565b600087815260026020526040902060010154156104dc5760405162461bcd60e51b815260206004820152601960248201527f5472616e7366657220616c7265616479207265636f726465640000000000000060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e91906113a0565b156105ab5760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e73206f7261636c652070617573656400000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d91906113a0565b156106715760405162461bcd60e51b8152602060048201526014602482015273159054d4081c9959da5cdd1c9e481c185d5cd95960621b60448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a26f4476040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f391906113a0565b156107395760405162461bcd60e51b815260206004820152601660248201527553616e6374696f6e73206f7261636c65207374616c6560501b60448201526064016104d3565b60405163170da40760e21b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635c36901c90602401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c291906113a0565b6108005760405162461bcd60e51b815260206004820152600f60248201526e56415350206e6f742061637469766560881b60448201526064016104d3565b60405163fe853a0b60e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063fe853a0b90602401600060405180830381865afa158015610868573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610890919081019061147a565b505050509050806001600160a01b0316336001600160a01b0316146108f75760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265676973746572656420564153502077616c6c657400000000000060448201526064016104d3565b61016084013546146109395760405162461bcd60e51b815260206004820152600b60248201526a2bb937b7339031b430b4b760a91b60448201526064016104d3565b6040516bffffffffffffffffffffffff193060601b1660208201527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001906101808601359082906034016040516020818303038152906040528051906020012060001c6109a5919061151d565b146109e35760405162461bcd60e51b815260206004820152600e60248201526d15dc9bdb99c818dbdb9d1c9858dd60921b60448201526064016104d3565b6101e0850135421115610a285760405162461bcd60e51b815260206004820152600d60248201526c141c9bdbd988195e1c1a5c9959609a1b60448201526064016104d3565b4260a08601351115610a7c5760405162461bcd60e51b815260206004820152601960248201527f50726f6f662074696d657374616d7020696e206675747572650000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fdab463d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe919061153f565b604086013514610b505760405162461bcd60e51b815260206004820152601760248201527f53616e6374696f6e7320726f6f74206d69736d6174636800000000000000000060448201526064016104d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637f3c5a626040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd2919061153f565b606086013514610c1b5760405162461bcd60e51b8152602060048201526014602482015273092e6e6eacae440e4dedee840dad2e6dac2e8c6d60631b60448201526064016104d3565b6040805160208082018c905282518083038201815291830190925280519101206101a086013590610c4d90839061151d565b14610c915760405162461bcd60e51b81526020600482015260146024820152730a8e4c2dce6cccae440928840dad2e6dac2e8c6d60631b60448201526064016104d3565b60e085013560009081526003602052604090205460ff1615610cea5760405162461bcd60e51b815260206004820152601260248201527110dc9959195b9d1a585b081c995d9bdad95960721b60448201526064016104d3565b6101c085013560008181526004602052604090205460ff1615610d445760405162461bcd60e51b8152602060048201526012602482015271141c9bdbd988185b1c9958591e481d5cd95960721b60448201526064016104d3565b60405163c82febf560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c82febf590610d99908d908d908d908d90600401611558565b602060405180830381865afa158015610db6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dda91906113a0565b905080610e295760405162461bcd60e51b815260206004820152601960248201527f50726f6f6620766572696669636174696f6e206661696c65640000000000000060448201526064016104d3565b60008281526004602052604090819020805460ff1916600117905580516060810190915280610e5e8c8c8c8c60808601611558565b60408051808303601f19018152918152815160209283012083524283830152600192810183905260008f8152600280845290829020855181558584015181860155948201519401805460ff1916941515949094179093558251808201869052835180820383018152818501948590528051908301208b358414909452908a0135909114606082015281908d907f8ce78072fc07e2ed101b2c9364e2028eb1ef92f996bf75e96909e48a342e59e99060800160405180910390a35060019b9a5050505050505050505050565b6000610f3481611058565b61046b6111d7565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7fce3f34913921da558f105cefb578d87278debbbd073a8d552b5de0d168deee30610f8f81611058565b60008281526003602052604090205460ff1615610fe05760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e481c995d9bdad959608a1b60448201526064016104d3565b600082815260036020908152604091829020805460ff19166001179055905133815283917fd3196f598a360c115a1de20d5a58021203793f1bf1a08efe55ee14545779606d910160405180910390a25050565b60008281526020819052604090206001015461104e81611058565b61041a83836110f4565b61046b8133611212565b600061106e8383610f3c565b6110ec576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556110a43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103ef565b5060006103ef565b60006111008383610f3c565b156110ec576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103ef565b61116761124f565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60015460ff16156111d55760405163d93c066560e01b815260040160405180910390fd5b565b6111df6111b1565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833611194565b61121c8282610f3c565b61124b5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104d3565b5050565b60015460ff166111d557604051638dfc202b60e01b815260040160405180910390fd5b60006020828403121561128457600080fd5b81356001600160e01b03198116811461129c57600080fd5b9392505050565b6000602082840312156112b557600080fd5b5035919050565b6001600160a01b038116811461046b57600080fd5b600080604083850312156112e457600080fd5b8235915060208301356112f6816112bc565b809150509250929050565b80604081018310156103ef57600080fd5b600080600080600080610340878903121561132c57600080fd5b8635955061133d8860208901611301565b945060e087018881111561135057600080fd5b6060880194506113608982611301565b93505061032087018881111561137557600080fd5b6101208801925080359150509295509295509295565b8051801515811461139b57600080fd5b919050565b6000602082840312156113b257600080fd5b61129c8261138b565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126113e257600080fd5b815167ffffffffffffffff808211156113fd576113fd6113bb565b604051601f8301601f19908116603f01168101908282118183101715611425576114256113bb565b816040528381526020925086602085880101111561144257600080fd5b600091505b838210156114645785820183015181830184015290820190611447565b6000602085830101528094505050505092915050565b600080600080600060a0868803121561149257600080fd5b855161149d816112bc565b602087015190955067ffffffffffffffff808211156114bb57600080fd5b6114c789838a016113d1565b955060408801519150808211156114dd57600080fd5b6114e989838a016113d1565b94506114f76060890161138b565b935060808801519150808216821461150e57600080fd5b50809150509295509295909350565b60008261153a57634e487b7160e01b600052601260045260246000fd5b500690565b60006020828403121561155157600080fd5b5051919050565b61030081016040808784378083018660005b60028110156115875783828437918301919083019060010161156a565b505050808560c085013750610200836101008401379594505050505056fea2646970667358221220c1d601442bc843aae228f695d15411fdf5a139b41f308607cf69f163176f513164736f6c63430008180033",
|
|
582
582
|
"linkReferences": {},
|
|
583
583
|
"deployedLinkReferences": {}
|
|
584
584
|
}
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"type": "function"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
|
-
"bytecode": "
|
|
42
|
-
"deployedBytecode": "
|
|
41
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610ae0806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063c82febf514610030575b600080fd5b61004361003e366004610a44565b610057565b604051901515815260200160405180910390f35b6000610931565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001811061008f576000805260206000f35b50565b600060405183815284602082015285604082015260408160608360076107d05a03fa9150816100c5576000805260206000f35b825160408201526020830151606082015260408360808360066107d05a03fa915050806100f6576000805260206000f35b5050505050565b7f2b8fee1550b417dbdebcc5bb73b219da068951c73a05e9750c80e0604505fb4685527f041ef1c6ef6d5956ebb1526dc22680270ec27411e78c9d2c3ea99e4e4a32801160208601526000608086018661019a87357f0223b4fc6eb851003cd5f120bf2dd66ce2a6ad7eec8375a87145b366fcaa93667f0f209ee535bdbe50c8760d7b6d3158f4b6a401374e0821e394d7ef36cffcfc9e84610092565b6101ea60208801357f167f5e1299859d958af0a4583a9721e7f150361ed47633ca1dcea3ff61ac39bd7f2c96db8472a0b918bb5411ba23280dce8b45bb8d307085d2eb496b9a5c48635a84610092565b61023a60408801357f03cc54f5c1ca3ab7fe387632206ee55f4dd9b301e4daf5a35c46bc58201c27b87f1d07c86dc6c35ec7400d3e92a1fea8132e6d2b07c4c282f0bc2a0ae788328a1784610092565b61028a60608801357f05edd6eb42fb548897476eac9ea7c06a0be17ebe2ef0c3e69a89dc4ea08ac9a07f19948059a4dc4324815969ea5d89197a602cae767b5cc846061c85298765144d84610092565b6102da60808801357f303976e891eafcaaec98e4f1ca3485d0b52a94c3eac0c04dd3aa500d8cb12daa7f266ef56789233e60d1b01202e987af9b7ccbea5a9d1d90249b709f4312b092f984610092565b61032a60a08801357f2ced743afb9d21ccbcea6d8f3c736ce2721b3bb648741a22d1f8d76b2f13fe197f27a2a200aaf00accefbe06bdded0e758ebdd86f223b594f4de519cfde4ae5e5384610092565b61037a60c08801357f2f4f69dc583abf3138f6154dcfe0520b1aa059546cd74fe3bf8296f0eab6bb067f196778cac37805bed94c8885053a86f62641e15beb0ff9956c4ecbb9721f2bf084610092565b6103ca60e08801357f0efd661e1486feea165131eee1eaaf1b1f879aa878759c91490ff639ffee4d487f1ce76358c4800469098f01b184ea47c25a00b510b8ff403092fcb7965b28467584610092565b61041b6101008801357f08824e8af87963f65d2f5cff1eb65d4ba64879b64b203b8141e01006d0afb6407f16c7e49d26f9bea29876fa150428bf342dd342b0264a2d8c485c36d7480e487384610092565b61046c6101208801357f089aea4ffc08b50c3cd892d14aa420e85d781e976ae9656a7ade2df77f3d91467f1c03667f7781370f9d90986e05e547abc66d608246443e8ac4ae4a0767b59ce084610092565b6104bc6101408801357e6e446924328ba3296f9d98dcd938e34b61a09f765b95da3972d6719bdd122f7f1aa5921cf931ea4e119cc73f2fce1c0d6ed9a5d068d5bf4b6dcdee7520cac72384610092565b61050d6101608801357f18b7fdf771bac416ff235cd110ef03d64c5eab98e2c9ae90628403670e7466017f12bc67a45ed04ed29ce8bce3d56e92928aada914e049df9bb1fc0ddf90534a4184610092565b61055e6101808801357f2ff68d3f99f8e46eab4a272bbe4d012c7a904a44807c70fe8d2c98c07060f76b7f04b55a732481524689ff68f9f44ad3d1dd1b6e12fe4cd32c87aaf5407cbcd29584610092565b6105af6101a08801357f0e25b64f788dde8c6d11cb4888e0b76c150760d28e303bcf35ecaf1b32b3b2a97f072fc1bb1612f049d53f30b364ee6bd16f3a4adbca57401257be40349d55970084610092565b6106006101c08801357f0508da2bf06ce37653b66e7facf21412c891a68adaa2559a3cd0eac1f79dea307f2f3a64a5da56150db928c4a8203d4c4225035571cf2a9aa3ccbd842c9c56f82f84610092565b6106516101e08801357f23bad7356a5c3bb1d2cdf4c294e29e117c742f4c7d679c1b2079b791e7a8aa627f085e32346ab8362f7f2c192df6c757868da37a8133215d45aec118600855a18a84610092565b50823581527f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208401357f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4703066020820152833560408201526020840135606082015260408401356080820152606084013560a08201527f294f06c02f7b12cb61f7bdef23ef9cb0ace4c2544596db090e20b758188afa5a60c08201527f1d9647f3f4d72499afde9b65aae05d5e65858e6a2c1bcc3bd5ba45eb04db923c60e08201527f14b730ef14c62fa56ba877fbfdc0e80c7647e578c4e44e76dce6e842d74579106101008201527f0f8493c26c3ddae333606a4c67f4a1c85a419ad839f4e532faa3e2f6352033e86101208201527f2838b13684ea6a16dca03c50411e94ec1c6866f44a2e140e9ec82195343d87f66101408201527f2980a7f424d4df2c61254b78ab5de10a957e923a9ef6a3d57aea1420449c8065610160820152600087015161018082015260206000018701516101a08201527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c26101c08201527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed6101e08201527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b6102008201527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa610220820152843561024082015260208501356102608201527f238531f3e8369c095ad072c2ac59c6c73df34da77c74c4a8e88090383c1a57066102808201527f015b88623b4c4b91be203d45bd5f9cc4ba2dacecd60c81f54c5c252fb941f4716102a08201527f02357d2c1947060b860136927709f67fdc5972d59381713b17f6465e84914db66102c08201527f1361ada8c944321c8f45836393696daecb5493aa51d1c28507cb10de5db6200e6102e08201526020816103008360086107d05a03fa9051169695505050505050565b6040516103808101604052610949600084013561005e565b610956602084013561005e565b610963604084013561005e565b610970606084013561005e565b61097d608084013561005e565b61098a60a084013561005e565b61099760c084013561005e565b6109a460e084013561005e565b6109b261010084013561005e565b6109c061012084013561005e565b6109ce61014084013561005e565b6109dc61016084013561005e565b6109ea61018084013561005e565b6109f86101a084013561005e565b610a066101c084013561005e565b610a146101e084013561005e565b610a21818486888a6100fd565b90508060005260206000f35b8060408101831015610a3e57600080fd5b92915050565b600080600080610300808688031215610a5c57600080fd5b610a668787610a2d565b945060c0860187811115610a7957600080fd5b604087019450610a898882610a2d565b935050868187011115610a9b57600080fd5b5092959194509261010001915056fea26469706673582212207c58b4916e5f8e872d329a959de27b527bcbae386ffb2506b1518f2ceb0b7c4a64736f6c63430008180033",
|
|
42
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063c82febf514610030575b600080fd5b61004361003e366004610a44565b610057565b604051901515815260200160405180910390f35b6000610931565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001811061008f576000805260206000f35b50565b600060405183815284602082015285604082015260408160608360076107d05a03fa9150816100c5576000805260206000f35b825160408201526020830151606082015260408360808360066107d05a03fa915050806100f6576000805260206000f35b5050505050565b7f2b8fee1550b417dbdebcc5bb73b219da068951c73a05e9750c80e0604505fb4685527f041ef1c6ef6d5956ebb1526dc22680270ec27411e78c9d2c3ea99e4e4a32801160208601526000608086018661019a87357f0223b4fc6eb851003cd5f120bf2dd66ce2a6ad7eec8375a87145b366fcaa93667f0f209ee535bdbe50c8760d7b6d3158f4b6a401374e0821e394d7ef36cffcfc9e84610092565b6101ea60208801357f167f5e1299859d958af0a4583a9721e7f150361ed47633ca1dcea3ff61ac39bd7f2c96db8472a0b918bb5411ba23280dce8b45bb8d307085d2eb496b9a5c48635a84610092565b61023a60408801357f03cc54f5c1ca3ab7fe387632206ee55f4dd9b301e4daf5a35c46bc58201c27b87f1d07c86dc6c35ec7400d3e92a1fea8132e6d2b07c4c282f0bc2a0ae788328a1784610092565b61028a60608801357f05edd6eb42fb548897476eac9ea7c06a0be17ebe2ef0c3e69a89dc4ea08ac9a07f19948059a4dc4324815969ea5d89197a602cae767b5cc846061c85298765144d84610092565b6102da60808801357f303976e891eafcaaec98e4f1ca3485d0b52a94c3eac0c04dd3aa500d8cb12daa7f266ef56789233e60d1b01202e987af9b7ccbea5a9d1d90249b709f4312b092f984610092565b61032a60a08801357f2ced743afb9d21ccbcea6d8f3c736ce2721b3bb648741a22d1f8d76b2f13fe197f27a2a200aaf00accefbe06bdded0e758ebdd86f223b594f4de519cfde4ae5e5384610092565b61037a60c08801357f2f4f69dc583abf3138f6154dcfe0520b1aa059546cd74fe3bf8296f0eab6bb067f196778cac37805bed94c8885053a86f62641e15beb0ff9956c4ecbb9721f2bf084610092565b6103ca60e08801357f0efd661e1486feea165131eee1eaaf1b1f879aa878759c91490ff639ffee4d487f1ce76358c4800469098f01b184ea47c25a00b510b8ff403092fcb7965b28467584610092565b61041b6101008801357f08824e8af87963f65d2f5cff1eb65d4ba64879b64b203b8141e01006d0afb6407f16c7e49d26f9bea29876fa150428bf342dd342b0264a2d8c485c36d7480e487384610092565b61046c6101208801357f089aea4ffc08b50c3cd892d14aa420e85d781e976ae9656a7ade2df77f3d91467f1c03667f7781370f9d90986e05e547abc66d608246443e8ac4ae4a0767b59ce084610092565b6104bc6101408801357e6e446924328ba3296f9d98dcd938e34b61a09f765b95da3972d6719bdd122f7f1aa5921cf931ea4e119cc73f2fce1c0d6ed9a5d068d5bf4b6dcdee7520cac72384610092565b61050d6101608801357f18b7fdf771bac416ff235cd110ef03d64c5eab98e2c9ae90628403670e7466017f12bc67a45ed04ed29ce8bce3d56e92928aada914e049df9bb1fc0ddf90534a4184610092565b61055e6101808801357f2ff68d3f99f8e46eab4a272bbe4d012c7a904a44807c70fe8d2c98c07060f76b7f04b55a732481524689ff68f9f44ad3d1dd1b6e12fe4cd32c87aaf5407cbcd29584610092565b6105af6101a08801357f0e25b64f788dde8c6d11cb4888e0b76c150760d28e303bcf35ecaf1b32b3b2a97f072fc1bb1612f049d53f30b364ee6bd16f3a4adbca57401257be40349d55970084610092565b6106006101c08801357f0508da2bf06ce37653b66e7facf21412c891a68adaa2559a3cd0eac1f79dea307f2f3a64a5da56150db928c4a8203d4c4225035571cf2a9aa3ccbd842c9c56f82f84610092565b6106516101e08801357f23bad7356a5c3bb1d2cdf4c294e29e117c742f4c7d679c1b2079b791e7a8aa627f085e32346ab8362f7f2c192df6c757868da37a8133215d45aec118600855a18a84610092565b50823581527f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208401357f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4703066020820152833560408201526020840135606082015260408401356080820152606084013560a08201527f294f06c02f7b12cb61f7bdef23ef9cb0ace4c2544596db090e20b758188afa5a60c08201527f1d9647f3f4d72499afde9b65aae05d5e65858e6a2c1bcc3bd5ba45eb04db923c60e08201527f14b730ef14c62fa56ba877fbfdc0e80c7647e578c4e44e76dce6e842d74579106101008201527f0f8493c26c3ddae333606a4c67f4a1c85a419ad839f4e532faa3e2f6352033e86101208201527f2838b13684ea6a16dca03c50411e94ec1c6866f44a2e140e9ec82195343d87f66101408201527f2980a7f424d4df2c61254b78ab5de10a957e923a9ef6a3d57aea1420449c8065610160820152600087015161018082015260206000018701516101a08201527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c26101c08201527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed6101e08201527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b6102008201527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa610220820152843561024082015260208501356102608201527f238531f3e8369c095ad072c2ac59c6c73df34da77c74c4a8e88090383c1a57066102808201527f015b88623b4c4b91be203d45bd5f9cc4ba2dacecd60c81f54c5c252fb941f4716102a08201527f02357d2c1947060b860136927709f67fdc5972d59381713b17f6465e84914db66102c08201527f1361ada8c944321c8f45836393696daecb5493aa51d1c28507cb10de5db6200e6102e08201526020816103008360086107d05a03fa9051169695505050505050565b6040516103808101604052610949600084013561005e565b610956602084013561005e565b610963604084013561005e565b610970606084013561005e565b61097d608084013561005e565b61098a60a084013561005e565b61099760c084013561005e565b6109a460e084013561005e565b6109b261010084013561005e565b6109c061012084013561005e565b6109ce61014084013561005e565b6109dc61016084013561005e565b6109ea61018084013561005e565b6109f86101a084013561005e565b610a066101c084013561005e565b610a146101e084013561005e565b610a21818486888a6100fd565b90508060005260206000f35b8060408101831015610a3e57600080fd5b92915050565b600080600080610300808688031215610a5c57600080fd5b610a668787610a2d565b945060c0860187811115610a7957600080fd5b604087019450610a898882610a2d565b935050868187011115610a9b57600080fd5b5092959194509261010001915056fea26469706673582212207c58b4916e5f8e872d329a959de27b527bcbae386ffb2506b1518f2ceb0b7c4a64736f6c63430008180033",
|
|
43
43
|
"linkReferences": {},
|
|
44
44
|
"deployedLinkReferences": {}
|
|
45
45
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ISanctionsRootReceiver",
|
|
4
|
+
"sourceName": "contracts/ISanctionsRootReceiver.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes32",
|
|
10
|
+
"name": "newRoot",
|
|
11
|
+
"type": "bytes32"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "uint32",
|
|
15
|
+
"name": "leafCount",
|
|
16
|
+
"type": "uint32"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "receiveRoot",
|
|
20
|
+
"outputs": [],
|
|
21
|
+
"stateMutability": "nonpayable",
|
|
22
|
+
"type": "function"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"bytecode": "0x",
|
|
26
|
+
"deployedBytecode": "0x",
|
|
27
|
+
"linkReferences": {},
|
|
28
|
+
"deployedLinkReferences": {}
|
|
29
|
+
}
|
|
@@ -553,8 +553,8 @@
|
|
|
553
553
|
"type": "function"
|
|
554
554
|
}
|
|
555
555
|
],
|
|
556
|
-
"bytecode": "
|
|
557
|
-
"deployedBytecode": "
|
|
556
|
+
"bytecode": "0x60806040526201518060045534801561001757600080fd5b50604051610ef8380380610ef88339810160408190526100369161023b565b6001600160a01b03831661007d5760405162461bcd60e51b815260206004820152600a6024820152692d32b9379030b236b4b760b11b604482015260640160405180910390fd5b61008860008461018f565b506100b37f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef18461018f565b5060028281556003805463ffffffff938416680100000000000000008181026001600160601b03199384166001600160401b034281169182179290921790955560408051606081018252988952602089019586528801928352600580546001810182556000919091529751979095027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019790975592517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db1909601805491519095169092029116939091169290921791909117905550610293565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16610231576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556101e93390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610235565b5060005b92915050565b60008060006060848603121561025057600080fd5b83516001600160a01b038116811461026757600080fd5b60208501516040860151919450925063ffffffff8116811461028857600080fd5b809150509250925092565b610c56806102a26000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80638f42f624116100c3578063d0b06f5d1161007c578063d0b06f5d1461029b578063d547741f146102c8578063f1279c8c146102db578063f1c621ee146102e3578063f2f6596014610320578063fdab463d1461033357600080fd5b80638f42f6241461025257806391d148541461025b5780639d5739e71461026e5780639f59e11f14610277578063a06db7dc1461028a578063a217fddf1461029357600080fd5b80632f2ff15d116101155780632f2ff15d146101e357806330e69fc3146101f857806336568abe146102245780633f4ba83a146102375780635c975abb1461023f5780638456cb591461024a57600080fd5b806301ffc9a71461015257806307e2cea51461017a57806313545a02146101af5780631a26f447146101b8578063248a9ca3146101c0575b600080fd5b610165610160366004610ac7565b61033c565b60405190151581526020015b60405180910390f35b6101a17f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef181565b604051908152602001610171565b6101a16103e881565b610165610373565b6101a16101ce366004610af8565b60009081526020819052604090206001015490565b6101f66101f1366004610b11565b610396565b005b60035461020f90600160401b900463ffffffff1681565b60405163ffffffff9091168152602001610171565b6101f6610232366004610b11565b6103c1565b6101f66103f9565b60015460ff16610165565b6101f661040f565b6101a160065481565b610165610269366004610b11565b610422565b6101a1610e1081565b6101f6610285366004610b4d565b61044b565b6101a160045481565b6101a1600081565b6003546102af9067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610171565b6101f66102d6366004610b11565b610798565b6005546101a1565b6102f66102f1366004610af8565b6107bd565b6040805193845267ffffffffffffffff909216602084015263ffffffff1690820152606001610171565b6101f661032e366004610af8565b610804565b6101a160025481565b60006001600160e01b03198216637965db0b60e01b148061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60045460035460009161038f9167ffffffffffffffff16610b91565b4211905090565b6000828152602081905260409020600101546103b1816108ad565b6103bb83836108b7565b50505050565b6001600160a01b03811633146103ea5760405163334bd91960e11b815260040160405180910390fd5b6103f48282610949565b505050565b6000610404816108ad565b61040c6109b4565b50565b600061041a816108ad565b61040c610a06565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef1610475816108ad565b61047d610a41565b826104bb5760405162461bcd60e51b815260206004820152600960248201526816995c9bc81c9bdbdd60ba1b60448201526064015b60405180910390fd5b6003546104d590610e109067ffffffffffffffff16610b91565b4210156105165760405162461bcd60e51b815260206004820152600f60248201526e436f6f6c646f776e2061637469766560881b60448201526064016104b2565b60035461053290600290600160401b900463ffffffff16610bba565b63ffffffff168263ffffffff16101561058d5760405162461bcd60e51b815260206004820152601d60248201527f4c65616620636f756e742064656372656173656420746f6f206d75636800000060448201526064016104b2565b60028054908490556003805463ffffffff8516600160401b026001600160601b031990911667ffffffffffffffff4216171790556005546103e8111561068b576040805160608101825285815267ffffffffffffffff4281166020830190815263ffffffff80881694840194855260058054600181018255600091909152935160029094027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019490945590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db190930180549451909116600160401b026001600160601b03199094169290911691909117919091179055610746565b60006103e860065461069d9190610bdd565b905060405180606001604052808681526020014267ffffffffffffffff1681526020018563ffffffff16815250600582815481106106dd576106dd610bf1565b6000918252602080832084516002909302019182558301516001909101805460409094015163ffffffff16600160401b026001600160601b031990941667ffffffffffffffff9092169190911792909217909155600680549161073f83610c07565b9190505550505b6040805163ffffffff8516815267ffffffffffffffff42166020820152859183917ff920e451a3a0564cc13cfcef40fb2e3f2a43b33ffdffa43b50b8b9647ea1b508910160405180910390a350505050565b6000828152602081905260409020600101546107b3816108ad565b6103bb8383610949565b600581815481106107cd57600080fd5b60009182526020909120600290910201805460019091015490915067ffffffffffffffff811690600160401b900463ffffffff1683565b600061080f816108ad565b6154608210158015610824575062093a808211155b6108675760405162461bcd60e51b8152602060048201526014602482015273506572696f64206f7574206f6620626f756e647360601b60448201526064016104b2565b600480549083905560408051828152602081018590527f55c7a79c45e9a972909cd640f9336a14a84adbaf756211f16267001854110191910160405180910390a1505050565b61040c8133610a67565b60006108c38383610422565b610941576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556108f93390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161036d565b50600061036d565b60006109558383610422565b15610941576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161036d565b6109bc610aa4565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610a0e610a41565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258336109e9565b60015460ff1615610a655760405163d93c066560e01b815260040160405180910390fd5b565b610a718282610422565b610aa05760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104b2565b5050565b60015460ff16610a6557604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610ad957600080fd5b81356001600160e01b031981168114610af157600080fd5b9392505050565b600060208284031215610b0a57600080fd5b5035919050565b60008060408385031215610b2457600080fd5b8235915060208301356001600160a01b0381168114610b4257600080fd5b809150509250929050565b60008060408385031215610b6057600080fd5b82359150602083013563ffffffff81168114610b4257600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561036d5761036d610b7b565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff80841680610bd157610bd1610ba4565b92169190910492915050565b600082610bec57610bec610ba4565b500690565b634e487b7160e01b600052603260045260246000fd5b600060018201610c1957610c19610b7b565b506001019056fea2646970667358221220444da7e37feb0f429bcd8e7b58ecbfd0d40143d72c89755cecf580beca7f07a964736f6c63430008180033",
|
|
557
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80638f42f624116100c3578063d0b06f5d1161007c578063d0b06f5d1461029b578063d547741f146102c8578063f1279c8c146102db578063f1c621ee146102e3578063f2f6596014610320578063fdab463d1461033357600080fd5b80638f42f6241461025257806391d148541461025b5780639d5739e71461026e5780639f59e11f14610277578063a06db7dc1461028a578063a217fddf1461029357600080fd5b80632f2ff15d116101155780632f2ff15d146101e357806330e69fc3146101f857806336568abe146102245780633f4ba83a146102375780635c975abb1461023f5780638456cb591461024a57600080fd5b806301ffc9a71461015257806307e2cea51461017a57806313545a02146101af5780631a26f447146101b8578063248a9ca3146101c0575b600080fd5b610165610160366004610ac7565b61033c565b60405190151581526020015b60405180910390f35b6101a17f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef181565b604051908152602001610171565b6101a16103e881565b610165610373565b6101a16101ce366004610af8565b60009081526020819052604090206001015490565b6101f66101f1366004610b11565b610396565b005b60035461020f90600160401b900463ffffffff1681565b60405163ffffffff9091168152602001610171565b6101f6610232366004610b11565b6103c1565b6101f66103f9565b60015460ff16610165565b6101f661040f565b6101a160065481565b610165610269366004610b11565b610422565b6101a1610e1081565b6101f6610285366004610b4d565b61044b565b6101a160045481565b6101a1600081565b6003546102af9067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610171565b6101f66102d6366004610b11565b610798565b6005546101a1565b6102f66102f1366004610af8565b6107bd565b6040805193845267ffffffffffffffff909216602084015263ffffffff1690820152606001610171565b6101f661032e366004610af8565b610804565b6101a160025481565b60006001600160e01b03198216637965db0b60e01b148061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60045460035460009161038f9167ffffffffffffffff16610b91565b4211905090565b6000828152602081905260409020600101546103b1816108ad565b6103bb83836108b7565b50505050565b6001600160a01b03811633146103ea5760405163334bd91960e11b815260040160405180910390fd5b6103f48282610949565b505050565b6000610404816108ad565b61040c6109b4565b50565b600061041a816108ad565b61040c610a06565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef1610475816108ad565b61047d610a41565b826104bb5760405162461bcd60e51b815260206004820152600960248201526816995c9bc81c9bdbdd60ba1b60448201526064015b60405180910390fd5b6003546104d590610e109067ffffffffffffffff16610b91565b4210156105165760405162461bcd60e51b815260206004820152600f60248201526e436f6f6c646f776e2061637469766560881b60448201526064016104b2565b60035461053290600290600160401b900463ffffffff16610bba565b63ffffffff168263ffffffff16101561058d5760405162461bcd60e51b815260206004820152601d60248201527f4c65616620636f756e742064656372656173656420746f6f206d75636800000060448201526064016104b2565b60028054908490556003805463ffffffff8516600160401b026001600160601b031990911667ffffffffffffffff4216171790556005546103e8111561068b576040805160608101825285815267ffffffffffffffff4281166020830190815263ffffffff80881694840194855260058054600181018255600091909152935160029094027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019490945590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db190930180549451909116600160401b026001600160601b03199094169290911691909117919091179055610746565b60006103e860065461069d9190610bdd565b905060405180606001604052808681526020014267ffffffffffffffff1681526020018563ffffffff16815250600582815481106106dd576106dd610bf1565b6000918252602080832084516002909302019182558301516001909101805460409094015163ffffffff16600160401b026001600160601b031990941667ffffffffffffffff9092169190911792909217909155600680549161073f83610c07565b9190505550505b6040805163ffffffff8516815267ffffffffffffffff42166020820152859183917ff920e451a3a0564cc13cfcef40fb2e3f2a43b33ffdffa43b50b8b9647ea1b508910160405180910390a350505050565b6000828152602081905260409020600101546107b3816108ad565b6103bb8383610949565b600581815481106107cd57600080fd5b60009182526020909120600290910201805460019091015490915067ffffffffffffffff811690600160401b900463ffffffff1683565b600061080f816108ad565b6154608210158015610824575062093a808211155b6108675760405162461bcd60e51b8152602060048201526014602482015273506572696f64206f7574206f6620626f756e647360601b60448201526064016104b2565b600480549083905560408051828152602081018590527f55c7a79c45e9a972909cd640f9336a14a84adbaf756211f16267001854110191910160405180910390a1505050565b61040c8133610a67565b60006108c38383610422565b610941576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556108f93390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161036d565b50600061036d565b60006109558383610422565b15610941576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161036d565b6109bc610aa4565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610a0e610a41565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258336109e9565b60015460ff1615610a655760405163d93c066560e01b815260040160405180910390fd5b565b610a718282610422565b610aa05760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104b2565b5050565b60015460ff16610a6557604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610ad957600080fd5b81356001600160e01b031981168114610af157600080fd5b9392505050565b600060208284031215610b0a57600080fd5b5035919050565b60008060408385031215610b2457600080fd5b8235915060208301356001600160a01b0381168114610b4257600080fd5b809150509250929050565b60008060408385031215610b6057600080fd5b82359150602083013563ffffffff81168114610b4257600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561036d5761036d610b7b565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff80841680610bd157610bd1610ba4565b92169190910492915050565b600082610bec57610bec610ba4565b500690565b634e487b7160e01b600052603260045260246000fd5b600060018201610c1957610c19610b7b565b506001019056fea2646970667358221220444da7e37feb0f429bcd8e7b58ecbfd0d40143d72c89755cecf580beca7f07a964736f6c63430008180033",
|
|
558
558
|
"linkReferences": {},
|
|
559
559
|
"deployedLinkReferences": {}
|
|
560
560
|
}
|
|
@@ -0,0 +1,321 @@
|
|
|
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
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "bytes32",
|
|
49
|
+
"name": "role",
|
|
50
|
+
"type": "bytes32"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"indexed": true,
|
|
54
|
+
"internalType": "bytes32",
|
|
55
|
+
"name": "previousAdminRole",
|
|
56
|
+
"type": "bytes32"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"indexed": true,
|
|
60
|
+
"internalType": "bytes32",
|
|
61
|
+
"name": "newAdminRole",
|
|
62
|
+
"type": "bytes32"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"name": "RoleAdminChanged",
|
|
66
|
+
"type": "event"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"anonymous": false,
|
|
70
|
+
"inputs": [
|
|
71
|
+
{
|
|
72
|
+
"indexed": true,
|
|
73
|
+
"internalType": "bytes32",
|
|
74
|
+
"name": "role",
|
|
75
|
+
"type": "bytes32"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"indexed": true,
|
|
79
|
+
"internalType": "address",
|
|
80
|
+
"name": "account",
|
|
81
|
+
"type": "address"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"indexed": true,
|
|
85
|
+
"internalType": "address",
|
|
86
|
+
"name": "sender",
|
|
87
|
+
"type": "address"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "RoleGranted",
|
|
91
|
+
"type": "event"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"anonymous": false,
|
|
95
|
+
"inputs": [
|
|
96
|
+
{
|
|
97
|
+
"indexed": true,
|
|
98
|
+
"internalType": "bytes32",
|
|
99
|
+
"name": "role",
|
|
100
|
+
"type": "bytes32"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "account",
|
|
106
|
+
"type": "address"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"indexed": true,
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "sender",
|
|
112
|
+
"type": "address"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"name": "RoleRevoked",
|
|
116
|
+
"type": "event"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"anonymous": false,
|
|
120
|
+
"inputs": [
|
|
121
|
+
{
|
|
122
|
+
"indexed": true,
|
|
123
|
+
"internalType": "bytes32",
|
|
124
|
+
"name": "root",
|
|
125
|
+
"type": "bytes32"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"indexed": false,
|
|
129
|
+
"internalType": "uint32",
|
|
130
|
+
"name": "leafCount",
|
|
131
|
+
"type": "uint32"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"indexed": true,
|
|
135
|
+
"internalType": "address",
|
|
136
|
+
"name": "relayer",
|
|
137
|
+
"type": "address"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"name": "RootRelayed",
|
|
141
|
+
"type": "event"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"inputs": [],
|
|
145
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
146
|
+
"outputs": [
|
|
147
|
+
{
|
|
148
|
+
"internalType": "bytes32",
|
|
149
|
+
"name": "",
|
|
150
|
+
"type": "bytes32"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"stateMutability": "view",
|
|
154
|
+
"type": "function"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"inputs": [],
|
|
158
|
+
"name": "RELAYER_ROLE",
|
|
159
|
+
"outputs": [
|
|
160
|
+
{
|
|
161
|
+
"internalType": "bytes32",
|
|
162
|
+
"name": "",
|
|
163
|
+
"type": "bytes32"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"stateMutability": "view",
|
|
167
|
+
"type": "function"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"inputs": [
|
|
171
|
+
{
|
|
172
|
+
"internalType": "bytes32",
|
|
173
|
+
"name": "role",
|
|
174
|
+
"type": "bytes32"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"name": "getRoleAdmin",
|
|
178
|
+
"outputs": [
|
|
179
|
+
{
|
|
180
|
+
"internalType": "bytes32",
|
|
181
|
+
"name": "",
|
|
182
|
+
"type": "bytes32"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"stateMutability": "view",
|
|
186
|
+
"type": "function"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"inputs": [
|
|
190
|
+
{
|
|
191
|
+
"internalType": "bytes32",
|
|
192
|
+
"name": "role",
|
|
193
|
+
"type": "bytes32"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"internalType": "address",
|
|
197
|
+
"name": "account",
|
|
198
|
+
"type": "address"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"name": "grantRole",
|
|
202
|
+
"outputs": [],
|
|
203
|
+
"stateMutability": "nonpayable",
|
|
204
|
+
"type": "function"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"inputs": [
|
|
208
|
+
{
|
|
209
|
+
"internalType": "bytes32",
|
|
210
|
+
"name": "role",
|
|
211
|
+
"type": "bytes32"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"internalType": "address",
|
|
215
|
+
"name": "account",
|
|
216
|
+
"type": "address"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"name": "hasRole",
|
|
220
|
+
"outputs": [
|
|
221
|
+
{
|
|
222
|
+
"internalType": "bool",
|
|
223
|
+
"name": "",
|
|
224
|
+
"type": "bool"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"stateMutability": "view",
|
|
228
|
+
"type": "function"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"inputs": [],
|
|
232
|
+
"name": "oracle",
|
|
233
|
+
"outputs": [
|
|
234
|
+
{
|
|
235
|
+
"internalType": "contract SanctionsOracle",
|
|
236
|
+
"name": "",
|
|
237
|
+
"type": "address"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"stateMutability": "view",
|
|
241
|
+
"type": "function"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"inputs": [
|
|
245
|
+
{
|
|
246
|
+
"internalType": "bytes32",
|
|
247
|
+
"name": "newRoot",
|
|
248
|
+
"type": "bytes32"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"internalType": "uint32",
|
|
252
|
+
"name": "leafCount",
|
|
253
|
+
"type": "uint32"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"name": "receiveRoot",
|
|
257
|
+
"outputs": [],
|
|
258
|
+
"stateMutability": "nonpayable",
|
|
259
|
+
"type": "function"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"inputs": [
|
|
263
|
+
{
|
|
264
|
+
"internalType": "bytes32",
|
|
265
|
+
"name": "role",
|
|
266
|
+
"type": "bytes32"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"internalType": "address",
|
|
270
|
+
"name": "callerConfirmation",
|
|
271
|
+
"type": "address"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"name": "renounceRole",
|
|
275
|
+
"outputs": [],
|
|
276
|
+
"stateMutability": "nonpayable",
|
|
277
|
+
"type": "function"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"inputs": [
|
|
281
|
+
{
|
|
282
|
+
"internalType": "bytes32",
|
|
283
|
+
"name": "role",
|
|
284
|
+
"type": "bytes32"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"internalType": "address",
|
|
288
|
+
"name": "account",
|
|
289
|
+
"type": "address"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"name": "revokeRole",
|
|
293
|
+
"outputs": [],
|
|
294
|
+
"stateMutability": "nonpayable",
|
|
295
|
+
"type": "function"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"inputs": [
|
|
299
|
+
{
|
|
300
|
+
"internalType": "bytes4",
|
|
301
|
+
"name": "interfaceId",
|
|
302
|
+
"type": "bytes4"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"name": "supportsInterface",
|
|
306
|
+
"outputs": [
|
|
307
|
+
{
|
|
308
|
+
"internalType": "bool",
|
|
309
|
+
"name": "",
|
|
310
|
+
"type": "bool"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"stateMutability": "view",
|
|
314
|
+
"type": "function"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"bytecode": "0x60a060405234801561001057600080fd5b506040516107fb3803806107fb83398101604081905261002f916101cc565b6001600160a01b0382166100775760405162461bcd60e51b815260206004820152600a6024820152692d32b9379030b236b4b760b11b60448201526064015b60405180910390fd5b6001600160a01b0381166100bb5760405162461bcd60e51b815260206004820152600b60248201526a5a65726f206f7261636c6560a81b604482015260640161006e565b6100c6600083610104565b506100f17fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc483610104565b506001600160a01b0316608052506101ff565b6000828152602081815260408083206001600160a01b038516845290915281205460ff166101a6576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905561015e3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016101aa565b5060005b92915050565b80516001600160a01b03811681146101c757600080fd5b919050565b600080604083850312156101df57600080fd5b6101e8836101b0565b91506101f6602084016101b0565b90509250929050565b6080516105da6102216000396000818161013c015261024e01526105da6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80637dc0d1d0116100665780637dc0d1d01461013757806391d1485414610176578063926d7d7f14610189578063a217fddf146101b0578063d547741f146101b857600080fd5b806301ffc9a7146100a357806307ba869a146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b13660046104f0565b6101cb565b60405190151581526020015b60405180910390f35b6100de6100d9366004610521565b610202565b005b6101036100ee36600461055a565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610573565b6102f4565b6100de610132366004610573565b61031f565b61015e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6100b6610184366004610573565b610357565b6101037fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b610103600081565b6100de6101c6366004610573565b610380565b60006001600160e01b03198216637965db0b60e01b14806101fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc461022c816103a5565b604051639f59e11f60e01b81526004810184905263ffffffff831660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690639f59e11f90604401600060405180830381600087803b15801561029a57600080fd5b505af11580156102ae573d6000803e3d6000fd5b505060405163ffffffff851681523392508591507fe4c5e2b5eaec8c0534190e73a2e76bf487b96521d6765d757c7c79ae2f2f66e59060200160405180910390a3505050565b60008281526020819052604090206001015461030f816103a5565b61031983836103b2565b50505050565b6001600160a01b03811633146103485760405163334bd91960e11b815260040160405180910390fd5b6103528282610444565b505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461039b816103a5565b6103198383610444565b6103af81336104af565b50565b60006103be8383610357565b61043c576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556103f43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016101fc565b5060006101fc565b60006104508383610357565b1561043c576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016101fc565b6104b98282610357565b6104ec5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60006020828403121561050257600080fd5b81356001600160e01b03198116811461051a57600080fd5b9392505050565b6000806040838503121561053457600080fd5b82359150602083013563ffffffff8116811461054f57600080fd5b809150509250929050565b60006020828403121561056c57600080fd5b5035919050565b6000806040838503121561058657600080fd5b8235915060208301356001600160a01b038116811461054f57600080fdfea2646970667358221220960554634bd526ef9b060803dc5d77bc4f94dc6be611d303ceb22a1533e42f1f64736f6c63430008180033",
|
|
318
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80637dc0d1d0116100665780637dc0d1d01461013757806391d1485414610176578063926d7d7f14610189578063a217fddf146101b0578063d547741f146101b857600080fd5b806301ffc9a7146100a357806307ba869a146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b13660046104f0565b6101cb565b60405190151581526020015b60405180910390f35b6100de6100d9366004610521565b610202565b005b6101036100ee36600461055a565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610573565b6102f4565b6100de610132366004610573565b61031f565b61015e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c2565b6100b6610184366004610573565b610357565b6101037fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b610103600081565b6100de6101c6366004610573565b610380565b60006001600160e01b03198216637965db0b60e01b14806101fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc461022c816103a5565b604051639f59e11f60e01b81526004810184905263ffffffff831660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690639f59e11f90604401600060405180830381600087803b15801561029a57600080fd5b505af11580156102ae573d6000803e3d6000fd5b505060405163ffffffff851681523392508591507fe4c5e2b5eaec8c0534190e73a2e76bf487b96521d6765d757c7c79ae2f2f66e59060200160405180910390a3505050565b60008281526020819052604090206001015461030f816103a5565b61031983836103b2565b50505050565b6001600160a01b03811633146103485760405163334bd91960e11b815260040160405180910390fd5b6103528282610444565b505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461039b816103a5565b6103198383610444565b6103af81336104af565b50565b60006103be8383610357565b61043c576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556103f43390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016101fc565b5060006101fc565b60006104508383610357565b1561043c576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016101fc565b6104b98282610357565b6104ec5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b60006020828403121561050257600080fd5b81356001600160e01b03198116811461051a57600080fd5b9392505050565b6000806040838503121561053457600080fd5b82359150602083013563ffffffff8116811461054f57600080fd5b809150509250929050565b60006020828403121561056c57600080fd5b5035919050565b6000806040838503121561058657600080fd5b8235915060208301356001600160a01b038116811461054f57600080fdfea2646970667358221220960554634bd526ef9b060803dc5d77bc4f94dc6be611d303ceb22a1533e42f1f64736f6c63430008180033",
|
|
319
|
+
"linkReferences": {},
|
|
320
|
+
"deployedLinkReferences": {}
|
|
321
|
+
}
|
|
@@ -45,6 +45,25 @@
|
|
|
45
45
|
"name": "ExpectedPause",
|
|
46
46
|
"type": "error"
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"anonymous": false,
|
|
50
|
+
"inputs": [
|
|
51
|
+
{
|
|
52
|
+
"indexed": true,
|
|
53
|
+
"internalType": "bytes32",
|
|
54
|
+
"name": "didHash",
|
|
55
|
+
"type": "bytes32"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"indexed": false,
|
|
59
|
+
"internalType": "string",
|
|
60
|
+
"name": "endpoint",
|
|
61
|
+
"type": "string"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"name": "DiscoveryEndpointUpdated",
|
|
65
|
+
"type": "event"
|
|
66
|
+
},
|
|
48
67
|
{
|
|
49
68
|
"anonymous": false,
|
|
50
69
|
"inputs": [
|
|
@@ -210,6 +229,12 @@
|
|
|
210
229
|
"internalType": "string",
|
|
211
230
|
"name": "jurisdiction",
|
|
212
231
|
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"indexed": false,
|
|
235
|
+
"internalType": "string",
|
|
236
|
+
"name": "discoveryEndpoint",
|
|
237
|
+
"type": "string"
|
|
213
238
|
}
|
|
214
239
|
],
|
|
215
240
|
"name": "VASPRegistered",
|
|
@@ -280,6 +305,25 @@
|
|
|
280
305
|
"stateMutability": "view",
|
|
281
306
|
"type": "function"
|
|
282
307
|
},
|
|
308
|
+
{
|
|
309
|
+
"inputs": [
|
|
310
|
+
{
|
|
311
|
+
"internalType": "bytes32",
|
|
312
|
+
"name": "didHash",
|
|
313
|
+
"type": "bytes32"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"name": "getDiscoveryEndpoint",
|
|
317
|
+
"outputs": [
|
|
318
|
+
{
|
|
319
|
+
"internalType": "string",
|
|
320
|
+
"name": "",
|
|
321
|
+
"type": "string"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"stateMutability": "view",
|
|
325
|
+
"type": "function"
|
|
326
|
+
},
|
|
283
327
|
{
|
|
284
328
|
"inputs": [
|
|
285
329
|
{
|
|
@@ -440,6 +484,11 @@
|
|
|
440
484
|
"internalType": "string",
|
|
441
485
|
"name": "jurisdiction",
|
|
442
486
|
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"internalType": "string",
|
|
490
|
+
"name": "discoveryEndpoint",
|
|
491
|
+
"type": "string"
|
|
443
492
|
}
|
|
444
493
|
],
|
|
445
494
|
"name": "registerVASP",
|
|
@@ -522,6 +571,24 @@
|
|
|
522
571
|
"stateMutability": "nonpayable",
|
|
523
572
|
"type": "function"
|
|
524
573
|
},
|
|
574
|
+
{
|
|
575
|
+
"inputs": [
|
|
576
|
+
{
|
|
577
|
+
"internalType": "bytes32",
|
|
578
|
+
"name": "didHash",
|
|
579
|
+
"type": "bytes32"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"internalType": "string",
|
|
583
|
+
"name": "newEndpoint",
|
|
584
|
+
"type": "string"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"name": "updateDiscoveryEndpoint",
|
|
588
|
+
"outputs": [],
|
|
589
|
+
"stateMutability": "nonpayable",
|
|
590
|
+
"type": "function"
|
|
591
|
+
},
|
|
525
592
|
{
|
|
526
593
|
"inputs": [
|
|
527
594
|
{
|
|
@@ -587,6 +654,11 @@
|
|
|
587
654
|
"name": "jurisdiction",
|
|
588
655
|
"type": "string"
|
|
589
656
|
},
|
|
657
|
+
{
|
|
658
|
+
"internalType": "string",
|
|
659
|
+
"name": "discoveryEndpoint",
|
|
660
|
+
"type": "string"
|
|
661
|
+
},
|
|
590
662
|
{
|
|
591
663
|
"internalType": "bool",
|
|
592
664
|
"name": "active",
|
|
@@ -602,8 +674,8 @@
|
|
|
602
674
|
"type": "function"
|
|
603
675
|
}
|
|
604
676
|
],
|
|
605
|
-
"bytecode": "0x608060405234801561001057600080fd5b506040516111ab3803806111ab83398101604081905261002f9161015f565b6001600160a01b0381166100765760405162461bcd60e51b815260206004820152600a6024820152692d32b9379030b236b4b760b11b604482015260640160405180910390fd5b6100816000826100b3565b506100ac7fedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238826100b3565b505061018f565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16610155576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905561010d3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610159565b5060005b92915050565b60006020828403121561017157600080fd5b81516001600160a01b038116811461018857600080fd5b9392505050565b61100d8061019e6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80637f3c5a62116100c3578063b6318d4f1161007c578063b6318d4f146102b8578063d547741f146102cb578063d9de8ff2146102de578063f68e9553146102e7578063f9cda90b146102fc578063fe853a0b1461030457600080fd5b80637f3c5a62146102715780638456cb591461027a578063861caf2a1461028257806391d1485414610295578063a217fddf146102a8578063b4c6dd1d146102b057600080fd5b806336568abe1161011557806336568abe146101e65780633f4ba83a146101f95780635c36901c146102015780635c975abb14610228578063628389b91461023357806370755bdc1461025e57600080fd5b806301ffc9a714610152578063248a9ca31461017a57806327f0b707146101ab5780632f2ff15d146101c0578063360c61c7146101d3575b600080fd5b610165610160366004610c16565b610327565b60405190151581526020015b60405180910390f35b61019d610188366004610c47565b60009081526020819052604090206001015490565b604051908152602001610171565b6101be6101b9366004610c47565b61035e565b005b6101be6101ce366004610c7c565b61040e565b6101be6101e1366004610ca8565b610439565b6101be6101f4366004610c7c565b610637565b6101be61066f565b61016561020f366004610c47565b6000908152600260208190526040909120015460ff1690565b60015460ff16610165565b600554610246906001600160401b031681565b6040516001600160401b039091168152602001610171565b6101be61026c366004610c47565b610685565b61019d60045481565b6101be61074f565b6101be610290366004610c7c565b610762565b6101656102a3366004610c7c565b6108c4565b61019d600081565b60035461019d565b61019d6102c6366004610c47565b6108ed565b6101be6102d9366004610c7c565b61090e565b61019d60065481565b61019d600080516020610fb883398151915281565b60065461019d565b610317610312366004610c47565b610933565b6040516101719493929190610d2e565b60006001600160e01b03198216637965db0b60e01b148061035857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080516020610fb8833981519152610376816109fc565b61037e610a06565b6004805490839055600580546001600160401b031690600061039f83610dc2565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b600082815260208190526040902060010154610429816109fc565b6104338383610a2c565b50505050565b600080516020610fb8833981519152610451816109fc565b610459610a06565b6000858152600260208190526040909120015461010090046001600160401b0316156104c15760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064015b60405180910390fd5b6040518060800160405280856001600160a01b0316815260200184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528a84526002815293909220845181546001600160a01b0319166001600160a01b039091161781559284015191830191610566915082610e88565b506040820151600290910180546060909301516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff19909316929092171790556003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0186905560068054916105ef83610f47565b9190505550847fbf88c4d70cdfd809463ef38a546d78e3a250a1b04dc817b48fa5961e50e1bff885858560405161062893929190610f60565b60405180910390a25050505050565b6001600160a01b03811633146106605760405163334bd91960e11b815260040160405180910390fd5b61066a8282610abe565b505050565b600061067a816109fc565b610682610b29565b50565b600080516020610fb883398151915261069d816109fc565b6106a5610a06565b6000828152600260208190526040909120015460ff166106f45760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016104b8565b6000828152600260208190526040822001805460ff19169055600680549161071b83610fa0565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b600061075a816109fc565b610682610b7b565b600080516020610fb883398151915261077a816109fc565b610782610a06565b60008381526002602081905260408220015461010090046001600160401b031690036107e15760405162461bcd60e51b815260206004820152600e60248201526d139bdd081c9959da5cdd195c995960921b60448201526064016104b8565b6000838152600260208190526040909120015460ff16156108355760405162461bcd60e51b815260206004820152600e60248201526d416c72656164792061637469766560901b60448201526064016104b8565b60008381526002602081905260408220908101805460ff1916600117905580546001600160a01b0385166001600160a01b0319909116179055600680549161087c83610f47565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600381815481106108fd57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610929816109fc565b6104338383610abe565b600260205260009081526040902080546001820180546001600160a01b03909216929161095f90610dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461098b90610dfe565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050506002909301549192505060ff8116906001600160401b036101009091041684565b6106828133610bb6565b60015460ff1615610a2a5760405163d93c066560e01b815260040160405180910390fd5b565b6000610a3883836108c4565b610ab6576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610a6e3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610358565b506000610358565b6000610aca83836108c4565b15610ab6576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610358565b610b31610bf3565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610b83610a06565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610b5e565b610bc082826108c4565b610bef5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104b8565b5050565b60015460ff16610a2a57604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610c2857600080fd5b81356001600160e01b031981168114610c4057600080fd5b9392505050565b600060208284031215610c5957600080fd5b5035919050565b80356001600160a01b0381168114610c7757600080fd5b919050565b60008060408385031215610c8f57600080fd5b82359150610c9f60208401610c60565b90509250929050565b60008060008060608587031215610cbe57600080fd5b84359350610cce60208601610c60565b925060408501356001600160401b0380821115610cea57600080fd5b818701915087601f830112610cfe57600080fd5b813581811115610d0d57600080fd5b886020828501011115610d1f57600080fd5b95989497505060200194505050565b60018060a01b03851681526000602060806020840152855180608085015260005b81811015610d6b5787810183015185820160a001528201610d4f565b50600060a0828601015260a0601f19601f830116850101925050508315156040830152610da360608301846001600160401b03169052565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b03808316818103610dde57610dde610dac565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610e1257607f821691505b602082108103610e3257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561066a576000816000526020600020601f850160051c81016020861015610e615750805b601f850160051c820191505b81811015610e8057828155600101610e6d565b505050505050565b81516001600160401b03811115610ea157610ea1610de8565b610eb581610eaf8454610dfe565b84610e38565b602080601f831160018114610eea5760008415610ed25750858301515b600019600386901b1c1916600185901b178555610e80565b600085815260208120601f198616915b82811015610f1957888601518255948401946001909101908401610efa565b5085821015610f375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201610f5957610f59610dac565b5060010190565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600081610faf57610faf610dac565b50600019019056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a2646970667358221220d1b6c12660a02cb12ad18d4681da6b485995730310c5c8cdd409c941e03177e364736f6c63430008180033",
|
|
606
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80637f3c5a62116100c3578063b6318d4f1161007c578063b6318d4f146102b8578063d547741f146102cb578063d9de8ff2146102de578063f68e9553146102e7578063f9cda90b146102fc578063fe853a0b1461030457600080fd5b80637f3c5a62146102715780638456cb591461027a578063861caf2a1461028257806391d1485414610295578063a217fddf146102a8578063b4c6dd1d146102b057600080fd5b806336568abe1161011557806336568abe146101e65780633f4ba83a146101f95780635c36901c146102015780635c975abb14610228578063628389b91461023357806370755bdc1461025e57600080fd5b806301ffc9a714610152578063248a9ca31461017a57806327f0b707146101ab5780632f2ff15d146101c0578063360c61c7146101d3575b600080fd5b610165610160366004610c16565b610327565b60405190151581526020015b60405180910390f35b61019d610188366004610c47565b60009081526020819052604090206001015490565b604051908152602001610171565b6101be6101b9366004610c47565b61035e565b005b6101be6101ce366004610c7c565b61040e565b6101be6101e1366004610ca8565b610439565b6101be6101f4366004610c7c565b610637565b6101be61066f565b61016561020f366004610c47565b6000908152600260208190526040909120015460ff1690565b60015460ff16610165565b600554610246906001600160401b031681565b6040516001600160401b039091168152602001610171565b6101be61026c366004610c47565b610685565b61019d60045481565b6101be61074f565b6101be610290366004610c7c565b610762565b6101656102a3366004610c7c565b6108c4565b61019d600081565b60035461019d565b61019d6102c6366004610c47565b6108ed565b6101be6102d9366004610c7c565b61090e565b61019d60065481565b61019d600080516020610fb883398151915281565b60065461019d565b610317610312366004610c47565b610933565b6040516101719493929190610d2e565b60006001600160e01b03198216637965db0b60e01b148061035857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080516020610fb8833981519152610376816109fc565b61037e610a06565b6004805490839055600580546001600160401b031690600061039f83610dc2565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b600082815260208190526040902060010154610429816109fc565b6104338383610a2c565b50505050565b600080516020610fb8833981519152610451816109fc565b610459610a06565b6000858152600260208190526040909120015461010090046001600160401b0316156104c15760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064015b60405180910390fd5b6040518060800160405280856001600160a01b0316815260200184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528a84526002815293909220845181546001600160a01b0319166001600160a01b039091161781559284015191830191610566915082610e88565b506040820151600290910180546060909301516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff19909316929092171790556003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0186905560068054916105ef83610f47565b9190505550847fbf88c4d70cdfd809463ef38a546d78e3a250a1b04dc817b48fa5961e50e1bff885858560405161062893929190610f60565b60405180910390a25050505050565b6001600160a01b03811633146106605760405163334bd91960e11b815260040160405180910390fd5b61066a8282610abe565b505050565b600061067a816109fc565b610682610b29565b50565b600080516020610fb883398151915261069d816109fc565b6106a5610a06565b6000828152600260208190526040909120015460ff166106f45760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016104b8565b6000828152600260208190526040822001805460ff19169055600680549161071b83610fa0565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b600061075a816109fc565b610682610b7b565b600080516020610fb883398151915261077a816109fc565b610782610a06565b60008381526002602081905260408220015461010090046001600160401b031690036107e15760405162461bcd60e51b815260206004820152600e60248201526d139bdd081c9959da5cdd195c995960921b60448201526064016104b8565b6000838152600260208190526040909120015460ff16156108355760405162461bcd60e51b815260206004820152600e60248201526d416c72656164792061637469766560901b60448201526064016104b8565b60008381526002602081905260408220908101805460ff1916600117905580546001600160a01b0385166001600160a01b0319909116179055600680549161087c83610f47565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600381815481106108fd57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610929816109fc565b6104338383610abe565b600260205260009081526040902080546001820180546001600160a01b03909216929161095f90610dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461098b90610dfe565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050506002909301549192505060ff8116906001600160401b036101009091041684565b6106828133610bb6565b60015460ff1615610a2a5760405163d93c066560e01b815260040160405180910390fd5b565b6000610a3883836108c4565b610ab6576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610a6e3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610358565b506000610358565b6000610aca83836108c4565b15610ab6576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610358565b610b31610bf3565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610b83610a06565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610b5e565b610bc082826108c4565b610bef5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016104b8565b5050565b60015460ff16610a2a57604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610c2857600080fd5b81356001600160e01b031981168114610c4057600080fd5b9392505050565b600060208284031215610c5957600080fd5b5035919050565b80356001600160a01b0381168114610c7757600080fd5b919050565b60008060408385031215610c8f57600080fd5b82359150610c9f60208401610c60565b90509250929050565b60008060008060608587031215610cbe57600080fd5b84359350610cce60208601610c60565b925060408501356001600160401b0380821115610cea57600080fd5b818701915087601f830112610cfe57600080fd5b813581811115610d0d57600080fd5b886020828501011115610d1f57600080fd5b95989497505060200194505050565b60018060a01b03851681526000602060806020840152855180608085015260005b81811015610d6b5787810183015185820160a001528201610d4f565b50600060a0828601015260a0601f19601f830116850101925050508315156040830152610da360608301846001600160401b03169052565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b03808316818103610dde57610dde610dac565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610e1257607f821691505b602082108103610e3257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561066a576000816000526020600020601f850160051c81016020861015610e615750805b601f850160051c820191505b81811015610e8057828155600101610e6d565b505050505050565b81516001600160401b03811115610ea157610ea1610de8565b610eb581610eaf8454610dfe565b84610e38565b602080601f831160018114610eea5760008415610ed25750858301515b600019600386901b1c1916600185901b178555610e80565b600085815260208120601f198616915b82811015610f1957888601518255948401946001909101908401610efa565b5085821015610f375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201610f5957610f59610dac565b5060010190565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600081610faf57610faf610dac565b50600019019056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a2646970667358221220d1b6c12660a02cb12ad18d4681da6b485995730310c5c8cdd409c941e03177e364736f6c63430008180033",
|
|
677
|
+
"bytecode": "0x60806040523480156200001157600080fd5b506040516200163b3803806200163b83398101604081905262000034916200016d565b6001600160a01b0381166200007c5760405162461bcd60e51b815260206004820152600a6024820152692d32b9379030b236b4b760b11b604482015260640160405180910390fd5b62000089600082620000be565b50620000b67fedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c30923882620000be565b50506200019f565b6000828152602081815260408083206001600160a01b038516845290915281205460ff1662000163576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556200011a3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000167565b5060005b92915050565b6000602082840312156200018057600080fd5b81516001600160a01b03811681146200019857600080fd5b9392505050565b61148c80620001af6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806376a7516a116100de578063b4c6dd1d11610097578063d9de8ff211610071578063d9de8ff214610336578063f68e95531461033f578063f9cda90b14610354578063fe853a0b1461035c57600080fd5b8063b4c6dd1d14610308578063b6318d4f14610310578063d547741f1461032357600080fd5b806376a7516a146102b65780637f3c5a62146102c95780638456cb59146102d2578063861caf2a146102da57806391d14854146102ed578063a217fddf1461030057600080fd5b80633f4ba83a116101305780633f4ba83a1461022c5780635c36901c146102345780635c975abb1461025a578063628389b91461026557806364ec38491461029057806370755bdc146102a357600080fd5b806301ffc9a7146101785780632430ecde146101a0578063248a9ca3146101c057806327f0b707146101f15780632f2ff15d1461020657806336568abe14610219575b600080fd5b61018b610186366004610ec2565b610380565b60405190151581526020015b60405180910390f35b6101b36101ae366004610ef3565b6103b7565b6040516101979190610f52565b6101e36101ce366004610ef3565b60009081526020819052604090206001015490565b604051908152602001610197565b6102046101ff366004610ef3565b61045f565b005b610204610214366004610f81565b61050f565b610204610227366004610f81565b61053a565b610204610572565b61018b610242366004610ef3565b60009081526002602052604090206003015460ff1690565b60015460ff1661018b565b600554610278906001600160401b031681565b6040516001600160401b039091168152602001610197565b61020461029e366004610ff5565b610588565b6102046102b1366004610ef3565b610659565b6102046102c4366004611040565b610722565b6101e360045481565b61020461096f565b6102046102e8366004610f81565b610982565b61018b6102fb366004610f81565b610ae2565b6101e3600081565b6003546101e3565b6101e361031e366004610ef3565b610b0b565b610204610331366004610f81565b610b2c565b6101e360065481565b6101e360008051602061143783398151915281565b6006546101e3565b61036f61036a366004610ef3565b610b51565b6040516101979594939291906110c9565b60006001600160e01b03198216637965db0b60e01b14806103b157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002600083815260200190815260200160002060020180546103da90611122565b80601f016020809104026020016040519081016040528092919081815260200182805461040690611122565b80156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b50505050509050919050565b60008051602061143783398151915261047781610ca8565b61047f610cb2565b6004805490839055600580546001600160401b03169060006104a083611172565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b60008281526020819052604090206001015461052a81610ca8565b6105348383610cd8565b50505050565b6001600160a01b03811633146105635760405163334bd91960e11b815260040160405180910390fd5b61056d8282610d6a565b505050565b600061057d81610ca8565b610585610dd5565b50565b6000805160206114378339815191526105a081610ca8565b6105a8610cb2565b60008481526002602052604090206003015460ff166105fb5760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064015b60405180910390fd5b6000848152600260208190526040909120016106188385836111fe565b50837fd3a8f7b6395d038a0abdb9500517f5fa8400f90dd39a038f9819137d20b911bb848460405161064b9291906112e7565b60405180910390a250505050565b60008051602061143783398151915261067181610ca8565b610679610cb2565b60008281526002602052604090206003015460ff166106c75760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016105f2565b6000828152600260205260408120600301805460ff1916905560068054916106ee83611303565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b60008051602061143783398151915261073a81610ca8565b610742610cb2565b60008781526002602052604090206003015461010090046001600160401b0316156107a45760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064016105f2565b6040518060a00160405280876001600160a01b0316815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250604080516020601f8701819004810282018101909252858152918101919086908690819084018382808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528c84526002815293909220845181546001600160a01b0319166001600160a01b03909116178155928401519183019161088491508261131a565b5060408201516002820190610899908261131a565b506060820151600391820180546080909401516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff199094169390931717909155805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018890556006805491610921836113d9565b9190505550867f70d3f6ec100618e4d2ab4fbf047c4daec6b4381e3a2e8633394553447a4e9e58878787878760405161095e9594939291906113f2565b60405180910390a250505050505050565b600061097a81610ca8565b610585610e27565b60008051602061143783398151915261099a81610ca8565b6109a2610cb2565b60008381526002602052604081206003015461010090046001600160401b03169003610a015760405162461bcd60e51b815260206004820152600e60248201526d139bdd081c9959da5cdd195c995960921b60448201526064016105f2565b60008381526002602052604090206003015460ff1615610a545760405162461bcd60e51b815260206004820152600e60248201526d416c72656164792061637469766560901b60448201526064016105f2565b600083815260026020526040812060038101805460ff1916600117905580546001600160a01b0385166001600160a01b03199091161790556006805491610a9a836113d9565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60038181548110610b1b57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610b4781610ca8565b6105348383610d6a565b600260205260009081526040902080546001820180546001600160a01b039092169291610b7d90611122565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990611122565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b505050505090806002018054610c0b90611122565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3790611122565b8015610c845780601f10610c5957610100808354040283529160200191610c84565b820191906000526020600020905b815481529060010190602001808311610c6757829003601f168201915b5050506003909301549192505060ff8116906001600160401b036101009091041685565b6105858133610e62565b60015460ff1615610cd65760405163d93c066560e01b815260040160405180910390fd5b565b6000610ce48383610ae2565b610d62576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610d1a3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103b1565b5060006103b1565b6000610d768383610ae2565b15610d62576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103b1565b610ddd610e9f565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610e2f610cb2565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610e0a565b610e6c8282610ae2565b610e9b5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016105f2565b5050565b60015460ff16610cd657604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610ed457600080fd5b81356001600160e01b031981168114610eec57600080fd5b9392505050565b600060208284031215610f0557600080fd5b5035919050565b6000815180845260005b81811015610f3257602081850181015186830182015201610f16565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610eec6020830184610f0c565b80356001600160a01b0381168114610f7c57600080fd5b919050565b60008060408385031215610f9457600080fd5b82359150610fa460208401610f65565b90509250929050565b60008083601f840112610fbf57600080fd5b5081356001600160401b03811115610fd657600080fd5b602083019150836020828501011115610fee57600080fd5b9250929050565b60008060006040848603121561100a57600080fd5b8335925060208401356001600160401b0381111561102757600080fd5b61103386828701610fad565b9497909650939450505050565b6000806000806000806080878903121561105957600080fd5b8635955061106960208801610f65565b945060408701356001600160401b038082111561108557600080fd5b6110918a838b01610fad565b909650945060608901359150808211156110aa57600080fd5b506110b789828a01610fad565b979a9699509497509295939492505050565b6001600160a01b038616815260a0602082018190526000906110ed90830187610f0c565b82810360408401526110ff8187610f0c565b941515606084015250506001600160401b03919091166080909101529392505050565b600181811c9082168061113657607f821691505b60208210810361115657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b0380831681810361118e5761118e61115c565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b601f82111561056d576000816000526020600020601f850160051c810160208610156111d75750805b601f850160051c820191505b818110156111f6578281556001016111e3565b505050505050565b6001600160401b0383111561121557611215611198565b611229836112238354611122565b836111ae565b6000601f84116001811461125d57600085156112455750838201355b600019600387901b1c1916600186901b1783556112b7565b600083815260209020601f19861690835b8281101561128e578685013582556020948501946001909201910161126e565b50868210156112ab5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006112fb6020830184866112be565b949350505050565b6000816113125761131261115c565b506000190190565b81516001600160401b0381111561133357611333611198565b611347816113418454611122565b846111ae565b602080601f83116001811461137c57600084156113645750858301515b600019600386901b1c1916600185901b1785556111f6565b600085815260208120601f198616915b828110156113ab5788860151825594840194600190910190840161138c565b50858210156113c95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016113eb576113eb61115c565b5060010190565b6001600160a01b038616815260606020820181905260009061141790830186886112be565b828103604084015261142a8185876112be565b9897505050505050505056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a26469706673582212209daa9f8b024112e1205888caca7587e87efbb841d9b96dcf0edfa29ed9fd145164736f6c63430008180033",
|
|
678
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c806376a7516a116100de578063b4c6dd1d11610097578063d9de8ff211610071578063d9de8ff214610336578063f68e95531461033f578063f9cda90b14610354578063fe853a0b1461035c57600080fd5b8063b4c6dd1d14610308578063b6318d4f14610310578063d547741f1461032357600080fd5b806376a7516a146102b65780637f3c5a62146102c95780638456cb59146102d2578063861caf2a146102da57806391d14854146102ed578063a217fddf1461030057600080fd5b80633f4ba83a116101305780633f4ba83a1461022c5780635c36901c146102345780635c975abb1461025a578063628389b91461026557806364ec38491461029057806370755bdc146102a357600080fd5b806301ffc9a7146101785780632430ecde146101a0578063248a9ca3146101c057806327f0b707146101f15780632f2ff15d1461020657806336568abe14610219575b600080fd5b61018b610186366004610ec2565b610380565b60405190151581526020015b60405180910390f35b6101b36101ae366004610ef3565b6103b7565b6040516101979190610f52565b6101e36101ce366004610ef3565b60009081526020819052604090206001015490565b604051908152602001610197565b6102046101ff366004610ef3565b61045f565b005b610204610214366004610f81565b61050f565b610204610227366004610f81565b61053a565b610204610572565b61018b610242366004610ef3565b60009081526002602052604090206003015460ff1690565b60015460ff1661018b565b600554610278906001600160401b031681565b6040516001600160401b039091168152602001610197565b61020461029e366004610ff5565b610588565b6102046102b1366004610ef3565b610659565b6102046102c4366004611040565b610722565b6101e360045481565b61020461096f565b6102046102e8366004610f81565b610982565b61018b6102fb366004610f81565b610ae2565b6101e3600081565b6003546101e3565b6101e361031e366004610ef3565b610b0b565b610204610331366004610f81565b610b2c565b6101e360065481565b6101e360008051602061143783398151915281565b6006546101e3565b61036f61036a366004610ef3565b610b51565b6040516101979594939291906110c9565b60006001600160e01b03198216637965db0b60e01b14806103b157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002600083815260200190815260200160002060020180546103da90611122565b80601f016020809104026020016040519081016040528092919081815260200182805461040690611122565b80156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b50505050509050919050565b60008051602061143783398151915261047781610ca8565b61047f610cb2565b6004805490839055600580546001600160401b03169060006104a083611172565b82546101009290920a6001600160401b03818102199093169183160217909155600554604080518581526020810188905291909216918101919091527fb58f08ce544339505c564baec4d389ed483a12b4539eb72b4d2377070b7e1a58915060600160405180910390a1505050565b60008281526020819052604090206001015461052a81610ca8565b6105348383610cd8565b50505050565b6001600160a01b03811633146105635760405163334bd91960e11b815260040160405180910390fd5b61056d8282610d6a565b505050565b600061057d81610ca8565b610585610dd5565b50565b6000805160206114378339815191526105a081610ca8565b6105a8610cb2565b60008481526002602052604090206003015460ff166105fb5760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064015b60405180910390fd5b6000848152600260208190526040909120016106188385836111fe565b50837fd3a8f7b6395d038a0abdb9500517f5fa8400f90dd39a038f9819137d20b911bb848460405161064b9291906112e7565b60405180910390a250505050565b60008051602061143783398151915261067181610ca8565b610679610cb2565b60008281526002602052604090206003015460ff166106c75760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b60448201526064016105f2565b6000828152600260205260408120600301805460ff1916905560068054916106ee83611303565b909155505060405182907f7031a9e43cfa44363e01b7a85a6ff2d61d38d3f09edebf1fe36272dbd820014c90600090a25050565b60008051602061143783398151915261073a81610ca8565b610742610cb2565b60008781526002602052604090206003015461010090046001600160401b0316156107a45760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064016105f2565b6040518060a00160405280876001600160a01b0316815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250604080516020601f8701819004810282018101909252858152918101919086908690819084018382808284376000920182905250938552505060016020808501829052426001600160401b03166040958601528c84526002815293909220845181546001600160a01b0319166001600160a01b03909116178155928401519183019161088491508261131a565b5060408201516002820190610899908261131a565b506060820151600391820180546080909401516001600160401b03166101000268ffffffffffffffff00199215159290921668ffffffffffffffffff199094169390931717909155805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b018890556006805491610921836113d9565b9190505550867f70d3f6ec100618e4d2ab4fbf047c4daec6b4381e3a2e8633394553447a4e9e58878787878760405161095e9594939291906113f2565b60405180910390a250505050505050565b600061097a81610ca8565b610585610e27565b60008051602061143783398151915261099a81610ca8565b6109a2610cb2565b60008381526002602052604081206003015461010090046001600160401b03169003610a015760405162461bcd60e51b815260206004820152600e60248201526d139bdd081c9959da5cdd195c995960921b60448201526064016105f2565b60008381526002602052604090206003015460ff1615610a545760405162461bcd60e51b815260206004820152600e60248201526d416c72656164792061637469766560901b60448201526064016105f2565b600083815260026020526040812060038101805460ff1916600117905580546001600160a01b0385166001600160a01b03199091161790556006805491610a9a836113d9565b90915550506040516001600160a01b038316815283907fdfdb3810fd311323b8b06432f78fbceaa0f742a47cb8795ff3c08508dfc219a49060200160405180910390a2505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60038181548110610b1b57600080fd5b600091825260209091200154905081565b600082815260208190526040902060010154610b4781610ca8565b6105348383610d6a565b600260205260009081526040902080546001820180546001600160a01b039092169291610b7d90611122565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990611122565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b505050505090806002018054610c0b90611122565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3790611122565b8015610c845780601f10610c5957610100808354040283529160200191610c84565b820191906000526020600020905b815481529060010190602001808311610c6757829003601f168201915b5050506003909301549192505060ff8116906001600160401b036101009091041685565b6105858133610e62565b60015460ff1615610cd65760405163d93c066560e01b815260040160405180910390fd5b565b6000610ce48383610ae2565b610d62576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055610d1a3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016103b1565b5060006103b1565b6000610d768383610ae2565b15610d62576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016103b1565b610ddd610e9f565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610e2f610cb2565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833610e0a565b610e6c8282610ae2565b610e9b5760405163e2517d3f60e01b81526001600160a01b0382166004820152602481018390526044016105f2565b5050565b60015460ff16610cd657604051638dfc202b60e01b815260040160405180910390fd5b600060208284031215610ed457600080fd5b81356001600160e01b031981168114610eec57600080fd5b9392505050565b600060208284031215610f0557600080fd5b5035919050565b6000815180845260005b81811015610f3257602081850181015186830182015201610f16565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610eec6020830184610f0c565b80356001600160a01b0381168114610f7c57600080fd5b919050565b60008060408385031215610f9457600080fd5b82359150610fa460208401610f65565b90509250929050565b60008083601f840112610fbf57600080fd5b5081356001600160401b03811115610fd657600080fd5b602083019150836020828501011115610fee57600080fd5b9250929050565b60008060006040848603121561100a57600080fd5b8335925060208401356001600160401b0381111561102757600080fd5b61103386828701610fad565b9497909650939450505050565b6000806000806000806080878903121561105957600080fd5b8635955061106960208801610f65565b945060408701356001600160401b038082111561108557600080fd5b6110918a838b01610fad565b909650945060608901359150808211156110aa57600080fd5b506110b789828a01610fad565b979a9699509497509295939492505050565b6001600160a01b038616815260a0602082018190526000906110ed90830187610f0c565b82810360408401526110ff8187610f0c565b941515606084015250506001600160401b03919091166080909101529392505050565b600181811c9082168061113657607f821691505b60208210810361115657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b0380831681810361118e5761118e61115c565b6001019392505050565b634e487b7160e01b600052604160045260246000fd5b601f82111561056d576000816000526020600020601f850160051c810160208610156111d75750805b601f850160051c820191505b818110156111f6578281556001016111e3565b505050505050565b6001600160401b0383111561121557611215611198565b611229836112238354611122565b836111ae565b6000601f84116001811461125d57600085156112455750838201355b600019600387901b1c1916600186901b1783556112b7565b600083815260209020601f19861690835b8281101561128e578685013582556020948501946001909201910161126e565b50868210156112ab5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6020815260006112fb6020830184866112be565b949350505050565b6000816113125761131261115c565b506000190190565b81516001600160401b0381111561133357611333611198565b611347816113418454611122565b846111ae565b602080601f83116001811461137c57600084156113645750858301515b600019600386901b1c1916600185901b1785556111f6565b600085815260208120601f198616915b828110156113ab5788860151825594840194600190910190840161138c565b50858210156113c95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016113eb576113eb61115c565b5060010190565b6001600160a01b038616815260606020820181905260009061141790830186886112be565b828103604084015261142a8185876112be565b9897505050505050505056feedcc084d3dcd65a1f7f23c65c46722faca6953d28e43150a467cf43e5c309238a26469706673582212209daa9f8b024112e1205888caca7587e87efbb841d9b96dcf0edfa29ed9fd145164736f6c63430008180033",
|
|
607
679
|
"linkReferences": {},
|
|
608
680
|
"deployedLinkReferences": {}
|
|
609
681
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
// clearproof — ZK-proven compliance without transmitting PII
|
|
3
|
+
// https://clearproof.world | https://docs.clearproof.world
|
|
2
4
|
pragma solidity ^0.8.24;
|
|
3
5
|
|
|
4
6
|
import "@openzeppelin/contracts/access/AccessControl.sol";
|
|
@@ -69,7 +71,7 @@ contract ComplianceRegistry is AccessControl, Pausable {
|
|
|
69
71
|
require(vaspRegistry.isActive(vaspDidHash), "VASP not active");
|
|
70
72
|
|
|
71
73
|
// Sender binding
|
|
72
|
-
(address vaspWallet
|
|
74
|
+
(address vaspWallet,,,, ) = vaspRegistry.vasps(vaspDidHash);
|
|
73
75
|
require(msg.sender == vaspWallet, "Not registered VASP wallet");
|
|
74
76
|
|
|
75
77
|
// C-3: Domain binding (cross-chain replay protection)
|
|
@@ -27,72 +27,72 @@ contract Groth16Verifier {
|
|
|
27
27
|
uint256 constant q = 21888242871839275222246405745257275088696311157297823662689037894645226208583;
|
|
28
28
|
|
|
29
29
|
// Verification Key data
|
|
30
|
-
uint256 constant alphax =
|
|
31
|
-
uint256 constant alphay =
|
|
32
|
-
uint256 constant betax1 =
|
|
33
|
-
uint256 constant betax2 =
|
|
34
|
-
uint256 constant betay1 =
|
|
35
|
-
uint256 constant betay2 =
|
|
30
|
+
uint256 constant alphax = 18684454301819562296747362103013247904909563675066733611848264601238709664346;
|
|
31
|
+
uint256 constant alphay = 13382596269673849011460709490273826982834575881932794785488992240206958268988;
|
|
32
|
+
uint256 constant betax1 = 9369927713959446369253112845140960817273069559889791172429790728904899918096;
|
|
33
|
+
uint256 constant betax2 = 7018936339641547380564548801205962972325910679402088163891495006948592464872;
|
|
34
|
+
uint256 constant betay1 = 18192680457896402009106056585736590829886416492642881064592060259639186262006;
|
|
35
|
+
uint256 constant betay2 = 18772142389951268793765998116630185741982332811051964345375452390107064860773;
|
|
36
36
|
uint256 constant gammax1 = 11559732032986387107991004021392285783925812861821192530917403151452391805634;
|
|
37
37
|
uint256 constant gammax2 = 10857046999023057135944570762232829481370756359578518086990519993285655852781;
|
|
38
38
|
uint256 constant gammay1 = 4082367875863433681332203403145435568316851327593401208105741076214120093531;
|
|
39
39
|
uint256 constant gammay2 = 8495653923123431417604973247489272438418190587263600148770280649306958101930;
|
|
40
|
-
uint256 constant deltax1 =
|
|
41
|
-
uint256 constant deltax2 =
|
|
42
|
-
uint256 constant deltay1 =
|
|
43
|
-
uint256 constant deltay2 =
|
|
40
|
+
uint256 constant deltax1 = 16066285121322798283816661155683648225017439991112020715347694895015493523206;
|
|
41
|
+
uint256 constant deltax2 = 614037217300847490032117582288372304806365997874449473897067122389611050097;
|
|
42
|
+
uint256 constant deltay1 = 999132498792814032884695754087775892189854734043853267260966253796598566326;
|
|
43
|
+
uint256 constant deltay2 = 8766526840950424236933975030317606082570070701224728700739511563570212380686;
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
uint256 constant IC0x =
|
|
47
|
-
uint256 constant IC0y =
|
|
46
|
+
uint256 constant IC0x = 19703754809632249201814027769049360897773771752440156313927961195680977255238;
|
|
47
|
+
uint256 constant IC0y = 1863925490430054976148272770686055683655162519876480200776277689914207928337;
|
|
48
48
|
|
|
49
|
-
uint256 constant IC1x =
|
|
50
|
-
uint256 constant IC1y =
|
|
49
|
+
uint256 constant IC1x = 6842328490232091184800254442267828217282426694586120268639604059623298759838;
|
|
50
|
+
uint256 constant IC1y = 967714464342934108376368520755357809485356696728159664181729268436457657190;
|
|
51
51
|
|
|
52
|
-
uint256 constant IC2x =
|
|
53
|
-
uint256 constant IC2y =
|
|
52
|
+
uint256 constant IC2x = 20168307450615104806507934761145093110988772994737581512365163335324124341082;
|
|
53
|
+
uint256 constant IC2y = 10175921511662100555565831453583846748641455819904993446565619840555873483197;
|
|
54
54
|
|
|
55
|
-
uint256 constant IC3x =
|
|
56
|
-
uint256 constant IC3y =
|
|
55
|
+
uint256 constant IC3x = 13130823847203923185744389743407601594952943279001962854157420583880242661911;
|
|
56
|
+
uint256 constant IC3y = 1717961719253118057145771753432516947365256073230761126917637302458731210680;
|
|
57
57
|
|
|
58
|
-
uint256 constant IC4x =
|
|
59
|
-
uint256 constant IC4y =
|
|
58
|
+
uint256 constant IC4x = 11570200420498329636975473116508042564110840984594598431680781479352690086989;
|
|
59
|
+
uint256 constant IC4y = 2681790313628491490316309945974353922008319929950691351513001124290112440736;
|
|
60
60
|
|
|
61
|
-
uint256 constant IC5x =
|
|
62
|
-
uint256 constant IC5y =
|
|
61
|
+
uint256 constant IC5x = 17383935142461497800455236241660532858882483738548995787211516208205825872633;
|
|
62
|
+
uint256 constant IC5y = 21812547690832652944021035744811596124906251282698352572728088438967242927530;
|
|
63
63
|
|
|
64
|
-
uint256 constant IC6x =
|
|
65
|
-
uint256 constant IC6y =
|
|
64
|
+
uint256 constant IC6x = 17927548420151504692167355438129654718691791355276257368295386474362061086291;
|
|
65
|
+
uint256 constant IC6y = 20321310284767358151473081167596474276348875693336193985919659549761811512857;
|
|
66
66
|
|
|
67
|
-
uint256 constant IC7x =
|
|
68
|
-
uint256 constant IC7y =
|
|
67
|
+
uint256 constant IC7x = 11490640138309946172119907896307159561754460075139288207159881809998896901104;
|
|
68
|
+
uint256 constant IC7y = 21399015425377341114977066020036205236372213642636323424071239423311652240134;
|
|
69
69
|
|
|
70
|
-
uint256 constant IC8x =
|
|
71
|
-
uint256 constant IC8y =
|
|
70
|
+
uint256 constant IC8x = 13073587098352777029611799287598219241090404838333415008565749123384053614197;
|
|
71
|
+
uint256 constant IC8y = 6780096976642213192330292067106932985430455462072442264071195827463047236936;
|
|
72
72
|
|
|
73
|
-
uint256 constant IC9x =
|
|
74
|
-
uint256 constant IC9y =
|
|
73
|
+
uint256 constant IC9x = 10304063069706060097949924002149390132151400007771167907675220468774489442419;
|
|
74
|
+
uint256 constant IC9y = 3848734989942396280575580725247574077840617816983408962229650854147376789056;
|
|
75
75
|
|
|
76
|
-
uint256 constant IC10x =
|
|
77
|
-
uint256 constant IC10y =
|
|
76
|
+
uint256 constant IC10x = 12670767716151712103223751322086902107378299370689672575360531050799429950688;
|
|
77
|
+
uint256 constant IC10y = 3892214401665217432763449110039673837691522297147787147934049711723284107590;
|
|
78
78
|
|
|
79
|
-
uint256 constant IC11x =
|
|
80
|
-
uint256 constant IC11y =
|
|
79
|
+
uint256 constant IC11x = 12052672264941792184464623369009224229428685304257677818833685093473604781859;
|
|
80
|
+
uint256 constant IC11y = 194825330483639781015203119551849820798527497461262547171710476416288887343;
|
|
81
81
|
|
|
82
|
-
uint256 constant IC12x =
|
|
83
|
-
uint256 constant IC12y =
|
|
82
|
+
uint256 constant IC12x = 8474513833967152402487822542522099684202492964316709697478913113017585715777;
|
|
83
|
+
uint256 constant IC12y = 11180594191762522476791053549177803613388260607752128766664277934879987230209;
|
|
84
84
|
|
|
85
|
-
uint256 constant IC13x =
|
|
86
|
-
uint256 constant IC13y =
|
|
85
|
+
uint256 constant IC13x = 2129674974467473223954430982973092343153467817398447047287805202064270480021;
|
|
86
|
+
uint256 constant IC13y = 21694323122275709283006518607681778669855744651418931639024155273779308722027;
|
|
87
87
|
|
|
88
|
-
uint256 constant IC14x =
|
|
89
|
-
uint256 constant IC14y =
|
|
88
|
+
uint256 constant IC14x = 3250568833007067433888350215497425008219853791906085127332832556581794453248;
|
|
89
|
+
uint256 constant IC14y = 6399011481929268902517857078272758443475218531566888876695352617518549414569;
|
|
90
90
|
|
|
91
|
-
uint256 constant IC15x =
|
|
92
|
-
uint256 constant IC15y =
|
|
91
|
+
uint256 constant IC15x = 21361875659190037444465592626338380323701081645088974263958258082733413038127;
|
|
92
|
+
uint256 constant IC15y = 2277204784735610188074535623007303162278324355868808350267617647867247585840;
|
|
93
93
|
|
|
94
|
-
uint256 constant IC16x =
|
|
95
|
-
uint256 constant IC16y =
|
|
94
|
+
uint256 constant IC16x = 3784932913228748653290327846200321674983791114501050843187248759346176565642;
|
|
95
|
+
uint256 constant IC16y = 16161068570005881855813026196520856335621943638222458671868213423896093305442;
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
// Memory data
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
// clearproof — ZK-proven compliance without transmitting PII
|
|
3
|
+
// https://clearproof.world | https://docs.clearproof.world
|
|
4
|
+
pragma solidity ^0.8.24;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @title ISanctionsRootReceiver
|
|
8
|
+
* @notice Interface for contracts that accept sanctions root updates.
|
|
9
|
+
* Implement this to swap transport layers (direct relayer, CCIP,
|
|
10
|
+
* LayerZero) without redeploying the SanctionsOracle.
|
|
11
|
+
*/
|
|
12
|
+
interface ISanctionsRootReceiver {
|
|
13
|
+
function receiveRoot(bytes32 newRoot, uint32 leafCount) external;
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
// clearproof — ZK-proven compliance without transmitting PII
|
|
3
|
+
// https://clearproof.world | https://docs.clearproof.world
|
|
4
|
+
pragma solidity ^0.8.24;
|
|
5
|
+
|
|
6
|
+
import "@openzeppelin/contracts/access/AccessControl.sol";
|
|
7
|
+
import "./SanctionsOracle.sol";
|
|
8
|
+
import "./ISanctionsRootReceiver.sol";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @title SanctionsRootRelay
|
|
12
|
+
* @notice Adapter that receives sanctions root updates from an authorized
|
|
13
|
+
* source (relayer EOA, CCIP receiver, LayerZero endpoint) and
|
|
14
|
+
* forwards them to the SanctionsOracle.
|
|
15
|
+
*
|
|
16
|
+
* This contract holds ORACLE_ROLE on the SanctionsOracle.
|
|
17
|
+
* Transport-layer authorization is managed via RELAYER_ROLE.
|
|
18
|
+
*
|
|
19
|
+
* To upgrade the transport layer:
|
|
20
|
+
* 1. Deploy new relay contract (e.g., SanctionsRootRelayCCIP)
|
|
21
|
+
* 2. Grant ORACLE_ROLE on SanctionsOracle to the new relay
|
|
22
|
+
* 3. Revoke ORACLE_ROLE from the old relay
|
|
23
|
+
* 4. No oracle redeployment needed
|
|
24
|
+
*/
|
|
25
|
+
contract SanctionsRootRelay is ISanctionsRootReceiver, AccessControl {
|
|
26
|
+
bytes32 public constant RELAYER_ROLE = keccak256("RELAYER_ROLE");
|
|
27
|
+
|
|
28
|
+
SanctionsOracle public immutable oracle;
|
|
29
|
+
|
|
30
|
+
event RootRelayed(bytes32 indexed root, uint32 leafCount, address indexed relayer);
|
|
31
|
+
|
|
32
|
+
constructor(address admin, address oracleAddress) {
|
|
33
|
+
require(admin != address(0), "Zero admin");
|
|
34
|
+
require(oracleAddress != address(0), "Zero oracle");
|
|
35
|
+
_grantRole(DEFAULT_ADMIN_ROLE, admin);
|
|
36
|
+
_grantRole(RELAYER_ROLE, admin);
|
|
37
|
+
oracle = SanctionsOracle(oracleAddress);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @notice Receive a root update and forward to the oracle.
|
|
42
|
+
* Called by the relayer EOA (phase 1) or bridge receiver (phase 2+).
|
|
43
|
+
*/
|
|
44
|
+
function receiveRoot(bytes32 newRoot, uint32 leafCount) external onlyRole(RELAYER_ROLE) {
|
|
45
|
+
oracle.updateRoot(newRoot, leafCount);
|
|
46
|
+
emit RootRelayed(newRoot, leafCount, msg.sender);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
// clearproof — ZK-proven compliance without transmitting PII
|
|
3
|
+
// https://clearproof.world | https://docs.clearproof.world
|
|
2
4
|
pragma solidity ^0.8.24;
|
|
3
5
|
|
|
4
6
|
import "@openzeppelin/contracts/access/AccessControl.sol";
|
|
@@ -10,6 +12,7 @@ contract VASPRegistry is AccessControl, Pausable {
|
|
|
10
12
|
struct VASP {
|
|
11
13
|
address wallet;
|
|
12
14
|
string jurisdiction;
|
|
15
|
+
string discoveryEndpoint; // e.g. "https://vasp.example/.well-known/clearproof"
|
|
13
16
|
bool active;
|
|
14
17
|
uint64 registeredAt;
|
|
15
18
|
}
|
|
@@ -20,9 +23,10 @@ contract VASPRegistry is AccessControl, Pausable {
|
|
|
20
23
|
uint64 public issuerRootVersion;
|
|
21
24
|
uint256 public activeVaspCount; // M-6: Track active VASP count
|
|
22
25
|
|
|
23
|
-
event VASPRegistered(bytes32 indexed didHash, address wallet, string jurisdiction);
|
|
26
|
+
event VASPRegistered(bytes32 indexed didHash, address wallet, string jurisdiction, string discoveryEndpoint);
|
|
24
27
|
event VASPRevoked(bytes32 indexed didHash);
|
|
25
28
|
event VASPReactivated(bytes32 indexed didHash, address newWallet); // H-5
|
|
29
|
+
event DiscoveryEndpointUpdated(bytes32 indexed didHash, string endpoint);
|
|
26
30
|
event IssuerRootUpdated(bytes32 oldRoot, bytes32 newRoot, uint64 version);
|
|
27
31
|
|
|
28
32
|
constructor(address admin) {
|
|
@@ -35,13 +39,27 @@ contract VASPRegistry is AccessControl, Pausable {
|
|
|
35
39
|
function registerVASP(
|
|
36
40
|
bytes32 didHash,
|
|
37
41
|
address wallet,
|
|
38
|
-
string calldata jurisdiction
|
|
42
|
+
string calldata jurisdiction,
|
|
43
|
+
string calldata discoveryEndpoint
|
|
39
44
|
) external onlyRole(REGISTRAR_ROLE) whenNotPaused {
|
|
40
45
|
require(vasps[didHash].registeredAt == 0, "Already registered");
|
|
41
|
-
vasps[didHash] = VASP(wallet, jurisdiction, true, uint64(block.timestamp));
|
|
46
|
+
vasps[didHash] = VASP(wallet, jurisdiction, discoveryEndpoint, true, uint64(block.timestamp));
|
|
42
47
|
vaspIds.push(didHash);
|
|
43
48
|
activeVaspCount++; // M-6
|
|
44
|
-
emit VASPRegistered(didHash, wallet, jurisdiction);
|
|
49
|
+
emit VASPRegistered(didHash, wallet, jurisdiction, discoveryEndpoint);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function updateDiscoveryEndpoint(
|
|
53
|
+
bytes32 didHash,
|
|
54
|
+
string calldata newEndpoint
|
|
55
|
+
) external onlyRole(REGISTRAR_ROLE) whenNotPaused {
|
|
56
|
+
require(vasps[didHash].active, "Not active");
|
|
57
|
+
vasps[didHash].discoveryEndpoint = newEndpoint;
|
|
58
|
+
emit DiscoveryEndpointUpdated(didHash, newEndpoint);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function getDiscoveryEndpoint(bytes32 didHash) external view returns (string memory) {
|
|
62
|
+
return vasps[didHash].discoveryEndpoint;
|
|
45
63
|
}
|
|
46
64
|
|
|
47
65
|
// M-8: Added whenNotPaused — revocation requires explicit unpause for safety
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clearproof/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "On-chain Groth16 verifier for clearproof compliance proofs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/clearproof
|
|
13
|
+
"url": "https://github.com/repfigit/clearproof.git",
|
|
14
14
|
"directory": "packages/contracts"
|
|
15
15
|
},
|
|
16
|
+
"homepage": "https://github.com/repfigit/clearproof",
|
|
16
17
|
"keywords": [
|
|
17
18
|
"zk",
|
|
18
19
|
"zero-knowledge",
|
|
@@ -27,7 +28,9 @@
|
|
|
27
28
|
"compile": "hardhat compile",
|
|
28
29
|
"test": "hardhat test",
|
|
29
30
|
"deploy": "hardhat run scripts/deploy.ts",
|
|
30
|
-
"
|
|
31
|
+
"deploy:multi": "hardhat run scripts/deploy-multichain.ts",
|
|
32
|
+
"update-sanctions": "hardhat run scripts/update-sanctions-root.ts",
|
|
33
|
+
"relay-sanctions": "ts-node scripts/relay-sanctions-root.ts"
|
|
31
34
|
},
|
|
32
35
|
"devDependencies": {
|
|
33
36
|
"@nomicfoundation/hardhat-toolbox": "^5.0",
|