Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
| Transaction Hash |
Method
|
Block
|
From
|
To
|
Amount
|
||||
|---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
| Parent Transaction Hash | Block | From | To | Amount | ||
|---|---|---|---|---|---|---|
| 47456385 | 14 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Source Code (Solidity Standard Json-Input format)
Contract ABI
API[{"inputs":[{"internalType":"contract IAuthorityFactory","name":"authorityFactory","type":"address"},{"internalType":"contract IApplicationFactory","name":"applicationFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"components":[{"internalType":"address","name":"guardian","type":"address"},{"internalType":"uint8","name":"log2LeavesPerAccount","type":"uint8"},{"internalType":"uint8","name":"log2MaxNumOfAccounts","type":"uint8"},{"internalType":"uint64","name":"accountsDriveStartIndex","type":"uint64"},{"internalType":"contract IWithdrawalOutputBuilder","name":"withdrawalOutputBuilder","type":"address"}],"internalType":"struct WithdrawalConfig","name":"withdrawalConfig","type":"tuple"}],"name":"InvalidWithdrawalConfig","type":"error"},{"inputs":[],"name":"ZeroEpochLength","type":"error"},{"inputs":[{"internalType":"address","name":"authorityOwner","type":"address"},{"internalType":"uint256","name":"epochLength","type":"uint256"},{"internalType":"uint256","name":"claimStagingPeriod","type":"uint256"},{"internalType":"bytes32","name":"templateHash","type":"bytes32"},{"internalType":"contract IInputBox","name":"inputBox","type":"address"},{"components":[{"internalType":"address","name":"guardian","type":"address"},{"internalType":"uint8","name":"log2LeavesPerAccount","type":"uint8"},{"internalType":"uint8","name":"log2MaxNumOfAccounts","type":"uint8"},{"internalType":"uint64","name":"accountsDriveStartIndex","type":"uint64"},{"internalType":"contract IWithdrawalOutputBuilder","name":"withdrawalOutputBuilder","type":"address"}],"internalType":"struct WithdrawalConfig","name":"withdrawalConfig","type":"tuple"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"calculateAddresses","outputs":[{"internalType":"address","name":"application","type":"address"},{"internalType":"address","name":"authority","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"authorityOwner","type":"address"},{"internalType":"uint256","name":"epochLength","type":"uint256"},{"internalType":"uint256","name":"claimStagingPeriod","type":"uint256"},{"internalType":"bytes32","name":"templateHash","type":"bytes32"},{"internalType":"contract IInputBox","name":"inputBox","type":"address"},{"components":[{"internalType":"address","name":"guardian","type":"address"},{"internalType":"uint8","name":"log2LeavesPerAccount","type":"uint8"},{"internalType":"uint8","name":"log2MaxNumOfAccounts","type":"uint8"},{"internalType":"uint64","name":"accountsDriveStartIndex","type":"uint64"},{"internalType":"contract IWithdrawalOutputBuilder","name":"withdrawalOutputBuilder","type":"address"}],"internalType":"struct WithdrawalConfig","name":"withdrawalConfig","type":"tuple"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"deployContracts","outputs":[{"internalType":"contract IApplication","name":"application","type":"address"},{"internalType":"contract IAuthority","name":"authority","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getApplicationFactory","outputs":[{"internalType":"contract IApplicationFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAuthorityFactory","outputs":[{"internalType":"contract IAuthorityFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint64","name":"major","type":"uint64"},{"internalType":"uint64","name":"minor","type":"uint64"},{"internalType":"uint64","name":"patch","type":"uint64"},{"internalType":"string","name":"preRelease","type":"string"},{"internalType":"string","name":"buildMetadata","type":"string"}],"stateMutability":"pure","type":"function"}]Contract Creation Code
60c0346100a657601f61072a38819003918201601f19168301916001600160401b038311848410176100aa5780849260409485528339810103126100a6578051906001600160a01b03821682036100a65760200151906001600160a01b03821682036100a65760805260a05260405161066b90816100bf823960805181818160e9015281816102ec0152610427015260a05181818160660152818161017301526103700152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040526004361015610011575f80fd5b5f5f3560e01c806354fd4d501461045657806375689f8314610412578063888d684314610298578063a71fe0b1146100985763e63d50ff14610051575f80fd5b346100955780600319360112610095576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b80fd5b3461020a5760206100a8366104fc565b6040516375855f0d60e01b81526001600160a01b0390971660048801526024870195909552604486019390935260648501849052909484806084810103815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af19384156101ff575f94610250575b5060405162c5b41b60e71b81526001600160a01b03948516600482018190523060248301526044820196909652931660648401526101639060848401906105b7565b610124820152602081610144815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af19081156101ff575f9161020e575b506001600160a01b0316803b1561020a576040516338a80c5360e11b8152915f8360048183865af19283156101ff576040936101ef575b5082519182526020820152f35b5f6101f991610554565b5f6101e2565b6040513d5f823e3d90fd5b5f80fd5b90506020813d602011610248575b8161022960209383610554565b8101031261020a57516001600160a01b038116810361020a57826101ab565b3d915061021c565b9093506020813d602011610290575b8161026c60209383610554565b8101031261020a5751906001600160a01b038216820361020a579092610163610121565b3d915061025f565b3461020a5760206102a8366104fc565b60405163e771e61b60e01b81526001600160a01b039788166004820152602481019690965260448601949094526064850184905291959094929392839060849082907f0000000000000000000000000000000000000000000000000000000000000000165afa80156101ff57610361925f916103f3575b50604051632cca802960e21b81526001600160a01b039182166004820181905230602483015260448201979097529416606485015292939260848501906105b7565b610124830152602082610144817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156101ff576040925f926103c2575b5082516001600160a01b0390921682526020820152f35b6103e591925060203d6020116103ec575b6103dd8183610554565b81019061058a565b90836103ab565b503d6103d3565b61040c915060203d6020116103ec576103dd8183610554565b8661031f565b3461020a575f36600319011261020a576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461020a575f36600319011261020a576104c6604051610477604082610554565b60078152660c2d8e0d0c25c760cb1b60208201526104d460405161049c602082610554565b5f8152604051938493600385525f60208601525f604086015260a0606086015260a08501906104d8565b9083820360808501526104d8565b0390f35b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9061016060031983011261020a576004356001600160a01b038116810361020a57916024359160443591606435916084356001600160a01b038116810361020a5760a0909260a319011261020a5760a4906101443590565b90601f8019910116810190811067ffffffffffffffff82111761057657604052565b634e487b7160e01b5f52604160045260245ffd5b9081602091031261020a57516001600160a01b038116810361020a5790565b359060ff8216820361020a57565b80356001600160a01b038116810361020a576001600160a01b0316825260ff6105e2602083016105a9565b16602083015260ff6105f6604083016105a9565b16604083015260608101359067ffffffffffffffff821680920361020a57608091606084015201359060018060a01b03821680920361020a576080015256fea26469706673582212202acb98baffd93e417593d427ae3668291d3f16499ba56d63055faa3f03a1ce7264736f6c634300081e00330000000000000000000000003aac3f91668b0aca3bf1f082e0dd87215883ea090000000000000000000000005fc16cd1d7847ef3224a4ec16f4de3f8ef71c659
Deployed Bytecode
0x60806040526004361015610011575f80fd5b5f5f3560e01c806354fd4d501461045657806375689f8314610412578063888d684314610298578063a71fe0b1146100985763e63d50ff14610051575f80fd5b346100955780600319360112610095576040517f0000000000000000000000005fc16cd1d7847ef3224a4ec16f4de3f8ef71c6596001600160a01b03168152602090f35b80fd5b3461020a5760206100a8366104fc565b6040516375855f0d60e01b81526001600160a01b0390971660048801526024870195909552604486019390935260648501849052909484806084810103815f7f0000000000000000000000003aac3f91668b0aca3bf1f082e0dd87215883ea096001600160a01b03165af19384156101ff575f94610250575b5060405162c5b41b60e71b81526001600160a01b03948516600482018190523060248301526044820196909652931660648401526101639060848401906105b7565b610124820152602081610144815f7f0000000000000000000000005fc16cd1d7847ef3224a4ec16f4de3f8ef71c6596001600160a01b03165af19081156101ff575f9161020e575b506001600160a01b0316803b1561020a576040516338a80c5360e11b8152915f8360048183865af19283156101ff576040936101ef575b5082519182526020820152f35b5f6101f991610554565b5f6101e2565b6040513d5f823e3d90fd5b5f80fd5b90506020813d602011610248575b8161022960209383610554565b8101031261020a57516001600160a01b038116810361020a57826101ab565b3d915061021c565b9093506020813d602011610290575b8161026c60209383610554565b8101031261020a5751906001600160a01b038216820361020a579092610163610121565b3d915061025f565b3461020a5760206102a8366104fc565b60405163e771e61b60e01b81526001600160a01b039788166004820152602481019690965260448601949094526064850184905291959094929392839060849082907f0000000000000000000000003aac3f91668b0aca3bf1f082e0dd87215883ea09165afa80156101ff57610361925f916103f3575b50604051632cca802960e21b81526001600160a01b039182166004820181905230602483015260448201979097529416606485015292939260848501906105b7565b610124830152602082610144817f0000000000000000000000005fc16cd1d7847ef3224a4ec16f4de3f8ef71c6596001600160a01b03165afa9081156101ff576040925f926103c2575b5082516001600160a01b0390921682526020820152f35b6103e591925060203d6020116103ec575b6103dd8183610554565b81019061058a565b90836103ab565b503d6103d3565b61040c915060203d6020116103ec576103dd8183610554565b8661031f565b3461020a575f36600319011261020a576040517f0000000000000000000000003aac3f91668b0aca3bf1f082e0dd87215883ea096001600160a01b03168152602090f35b3461020a575f36600319011261020a576104c6604051610477604082610554565b60078152660c2d8e0d0c25c760cb1b60208201526104d460405161049c602082610554565b5f8152604051938493600385525f60208601525f604086015260a0606086015260a08501906104d8565b9083820360808501526104d8565b0390f35b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9061016060031983011261020a576004356001600160a01b038116810361020a57916024359160443591606435916084356001600160a01b038116810361020a5760a0909260a319011261020a5760a4906101443590565b90601f8019910116810190811067ffffffffffffffff82111761057657604052565b634e487b7160e01b5f52604160045260245ffd5b9081602091031261020a57516001600160a01b038116810361020a5790565b359060ff8216820361020a57565b80356001600160a01b038116810361020a576001600160a01b0316825260ff6105e2602083016105a9565b16602083015260ff6105f6604083016105a9565b16604083015260608101359067ffffffffffffffff821680920361020a57608091606084015201359060018060a01b03821680920361020a576080015256fea26469706673582212202acb98baffd93e417593d427ae3668291d3f16499ba56d63055faa3f03a1ce7264736f6c634300081e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003aac3f91668b0aca3bf1f082e0dd87215883ea090000000000000000000000005fc16cd1d7847ef3224a4ec16f4de3f8ef71c659
-----Decoded View---------------
Arg [0] : authorityFactory (address): 0x3aac3F91668b0aCa3Bf1F082E0dd87215883ea09
Arg [1] : applicationFactory (address): 0x5fC16cd1D7847ef3224a4ec16f4dE3f8Ef71c659
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003aac3f91668b0aca3bf1f082e0dd87215883ea09
Arg [1] : 0000000000000000000000005fc16cd1d7847ef3224a4ec16f4de3f8ef71c659
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.

