Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
MultipleVersionRollupVerifier
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity =0.8.24; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IRollupVerifier} from "../../libraries/verifier/IRollupVerifier.sol"; import {IZkEvmVerifier} from "../../libraries/verifier/IZkEvmVerifier.sol"; /// @title MultipleVersionRollupVerifier /// @notice Verifies aggregate zk proofs using the appropriate verifier. contract MultipleVersionRollupVerifier is IRollupVerifier, Ownable { /********** * Events * **********/ /// @notice Emitted when the address of verifier is updated. /// @param version The version of the verifier. /// @param startBatchIndex The start batch index when the verifier will be used. /// @param verifier The address of new verifier. event UpdateVerifier(uint256 version, uint256 startBatchIndex, address verifier); /********** * Errors * **********/ /// @dev Thrown when the given address is `address(0)`. error ErrorZeroAddress(); /// @dev Thrown when the given start batch index is smaller than `latestVerifier.startBatchIndex`. error ErrorStartBatchIndexTooSmall(); /*********** * Structs * ***********/ struct Verifier { // The start batch index for the verifier. uint64 startBatchIndex; // The address of zkevm verifier. address verifier; } /************* * Variables * *************/ /// @notice Mapping from verifier version to the list of legacy zkevm verifiers. /// The verifiers are sorted by batchIndex in increasing order. mapping(uint256 => Verifier[]) public legacyVerifiers; /// @notice Mapping from verifier version to the latest used zkevm verifier. mapping(uint256 => Verifier) public latestVerifier; /*************** * Constructor * ***************/ constructor(uint256[] memory _versions, address[] memory _verifiers) { for (uint256 i = 0; i < _versions.length; i++) { if (_verifiers[i] == address(0)) revert ErrorZeroAddress(); latestVerifier[_versions[i]].verifier = _verifiers[i]; emit UpdateVerifier(_versions[i], 0, _verifiers[i]); } } /************************* * Public View Functions * *************************/ /// @notice Return the number of legacy verifiers. /// @param _version The version of legacy verifiers. /// @return The number of legacy verifiers. function legacyVerifiersLength(uint256 _version) external view returns (uint256) { return legacyVerifiers[_version].length; } /// @notice Compute the verifier should be used for specific batch. /// @param _version The version of verifier to query. /// @param _batchIndex The batch index to query. /// @return The address of verifier. function getVerifier(uint256 _version, uint256 _batchIndex) public view returns (address) { // Normally, we will use the latest verifier. Verifier memory _verifier = latestVerifier[_version]; if (_verifier.startBatchIndex > _batchIndex) { uint256 _length = legacyVerifiers[_version].length; // In most case, only last few verifier will be used by `ScrollChain`. // So, we use linear search instead of binary search. unchecked { for (uint256 i = _length; i > 0; --i) { _verifier = legacyVerifiers[_version][i - 1]; if (_verifier.startBatchIndex <= _batchIndex) break; } } } return _verifier.verifier; } /***************************** * Public Mutating Functions * *****************************/ /// @inheritdoc IRollupVerifier function verifyAggregateProof( uint256 _batchIndex, bytes calldata _aggrProof, bytes32 _publicInputHash ) external view override { address _verifier = getVerifier(0, _batchIndex); IZkEvmVerifier(_verifier).verify(_aggrProof, _publicInputHash); } /// @inheritdoc IRollupVerifier function verifyAggregateProof( uint256 _version, uint256 _batchIndex, bytes calldata _aggrProof, bytes32 _publicInputHash ) external view override { address _verifier = getVerifier(_version, _batchIndex); IZkEvmVerifier(_verifier).verify(_aggrProof, _publicInputHash); } /************************ * Restricted Functions * ************************/ /// @notice Update the address of zkevm verifier. /// @param _version The version of the verifier. /// @param _startBatchIndex The start batch index when the verifier will be used. /// @param _verifier The address of new verifier. function updateVerifier( uint256 _version, uint64 _startBatchIndex, address _verifier ) external onlyOwner { // We are using version to decide the verifier to use and also this function is // controlled by 7 days TimeLock. It is hard to predict `lastFinalizedBatchIndex` after 7 days. // So we decide to remove this check to make verifier updating more easier. // if (_startBatchIndex <= IScrollChain(scrollChain).lastFinalizedBatchIndex()) // revert ErrorStartBatchIndexFinalized(); Verifier memory _latestVerifier = latestVerifier[_version]; if (_startBatchIndex < _latestVerifier.startBatchIndex) revert ErrorStartBatchIndexTooSmall(); if (_verifier == address(0)) revert ErrorZeroAddress(); if (_latestVerifier.startBatchIndex < _startBatchIndex) { // don't push when it is the first update of the version. if (_latestVerifier.verifier != address(0)) { legacyVerifiers[_version].push(_latestVerifier); } _latestVerifier.startBatchIndex = _startBatchIndex; } _latestVerifier.verifier = _verifier; latestVerifier[_version] = _latestVerifier; emit UpdateVerifier(_version, _startBatchIndex, _verifier); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; /// @title IRollupVerifier /// @notice The interface for rollup verifier. interface IRollupVerifier { /// @notice Verify aggregate zk proof. /// @param batchIndex The batch index to verify. /// @param aggrProof The aggregated proof. /// @param publicInputHash The public input hash. function verifyAggregateProof( uint256 batchIndex, bytes calldata aggrProof, bytes32 publicInputHash ) external view; /// @notice Verify aggregate zk proof. /// @param version The version of verifier to use. /// @param batchIndex The batch index to verify. /// @param aggrProof The aggregated proof. /// @param publicInputHash The public input hash. function verifyAggregateProof( uint256 version, uint256 batchIndex, bytes calldata aggrProof, bytes32 publicInputHash ) external view; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; interface IZkEvmVerifier { /// @notice Verify aggregate zk proof. /// @param aggrProof The aggregated proof. /// @param publicInputHash The public input hash. function verify(bytes calldata aggrProof, bytes32 publicInputHash) external view; }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "cancun", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256[]","name":"_versions","type":"uint256[]"},{"internalType":"address[]","name":"_verifiers","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ErrorStartBatchIndexTooSmall","type":"error"},{"inputs":[],"name":"ErrorZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startBatchIndex","type":"uint256"},{"indexed":false,"internalType":"address","name":"verifier","type":"address"}],"name":"UpdateVerifier","type":"event"},{"inputs":[{"internalType":"uint256","name":"_version","type":"uint256"},{"internalType":"uint256","name":"_batchIndex","type":"uint256"}],"name":"getVerifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"latestVerifier","outputs":[{"internalType":"uint64","name":"startBatchIndex","type":"uint64"},{"internalType":"address","name":"verifier","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"legacyVerifiers","outputs":[{"internalType":"uint64","name":"startBatchIndex","type":"uint64"},{"internalType":"address","name":"verifier","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_version","type":"uint256"}],"name":"legacyVerifiersLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_version","type":"uint256"},{"internalType":"uint64","name":"_startBatchIndex","type":"uint64"},{"internalType":"address","name":"_verifier","type":"address"}],"name":"updateVerifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_version","type":"uint256"},{"internalType":"uint256","name":"_batchIndex","type":"uint256"},{"internalType":"bytes","name":"_aggrProof","type":"bytes"},{"internalType":"bytes32","name":"_publicInputHash","type":"bytes32"}],"name":"verifyAggregateProof","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_batchIndex","type":"uint256"},{"internalType":"bytes","name":"_aggrProof","type":"bytes"},{"internalType":"bytes32","name":"_publicInputHash","type":"bytes32"}],"name":"verifyAggregateProof","outputs":[],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060405162000cb138038062000cb18339810160408190526200003391620002ed565b6200003e33620001a9565b5f5b8251811015620001a0575f6001600160a01b0316828281518110620000695762000069620003ae565b60200260200101516001600160a01b031603620000995760405163a7f9319d60e01b815260040160405180910390fd5b818181518110620000ae57620000ae620003ae565b602002602001015160025f858481518110620000ce57620000ce620003ae565b602002602001015181526020019081526020015f205f0160086101000a8154816001600160a01b0302191690836001600160a01b031602179055507f7a98750a395b9ee50a2644ffda039e31f1d5d06de45510275f972bb20b229b308382815181106200013f576200013f620003ae565b60200260200101515f8484815181106200015d576200015d620003ae565b60200260200101516040516200018f9392919092835260208301919091526001600160a01b0316604082015260600190565b60405180910390a160010162000040565b505050620003c2565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715620002375762000237620001f8565b604052919050565b5f6001600160401b038211156200025a576200025a620001f8565b5060051b60200190565b5f82601f83011262000274575f80fd5b815160206200028d62000287836200023f565b6200020c565b8083825260208201915060208460051b870101935086841115620002af575f80fd5b602086015b84811015620002e25780516001600160a01b0381168114620002d4575f80fd5b8352918301918301620002b4565b509695505050505050565b5f8060408385031215620002ff575f80fd5b82516001600160401b038082111562000316575f80fd5b818501915085601f8301126200032a575f80fd5b815160206200033d62000287836200023f565b82815260059290921b840181019181810190898411156200035c575f80fd5b948201945b838610156200037c5785518252948201949082019062000361565b9188015191965090935050508082111562000395575f80fd5b50620003a48582860162000264565b9150509250929050565b634e487b7160e01b5f52603260045260245ffd5b6108e180620003d05f395ff3fe608060405234801561000f575f80fd5b506004361061009b575f3560e01c806395512306116100635780639551230614610129578063bd98b2b01461013c578063c7065b6a14610176578063cc780aa1146101b0578063f2fde38b146101c3575f80fd5b806328aee03f1461009f5780632c09a848146100cf5780635027ad2e146100e4578063715018a6146101115780638da5cb5b14610119575b5f80fd5b6100b26100ad3660046106c1565b6101d6565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e26100dd366004610725565b6102af565b005b6101036100f236600461077a565b5f9081526001602052604090205490565b6040519081526020016100c6565b6100e2610321565b5f546001600160a01b03166100b2565b6100e26101373660046107ac565b610334565b61014f61014a3660046106c1565b6104e5565b604080516001600160401b0390931683526001600160a01b039091166020830152016100c6565b61014f61018436600461077a565b60026020525f90815260409020546001600160401b03811690600160401b90046001600160a01b031682565b6100e26101be3660046107f2565b61052a565b6100e26101d1366004610840565b61059b565b5f8281526002602090815260408083208151808301909252546001600160401b038116808352600160401b9091046001600160a01b031692820192909252908310156102a4575f84815260016020526040902054805b80156102a1575f86815260016020526040902080545f19830190811061025457610254610860565b5f918252602091829020604080518082019091529101546001600160401b038116808352600160401b9091046001600160a01b03169282019290925293508510156102a1575f190161022c565b50505b602001519392505050565b5f6102ba86866101d6565b604051636b40634160e01b81529091506001600160a01b03821690636b406341906102ed90879087908790600401610874565b5f6040518083038186803b158015610303575f80fd5b505afa158015610315573d5f803e3d5ffd5b50505050505050505050565b610329610619565b6103325f610672565b565b61033c610619565b5f838152600260209081526040918290208251808401909352546001600160401b03808216808552600160401b9092046001600160a01b031692840192909252908416101561039e57604051632c3631c160e21b815260040160405180910390fd5b6001600160a01b0382166103c55760405163a7f9319d60e01b815260040160405180910390fd5b80516001600160401b03808516911610156104515760208101516001600160a01b031615610444575f848152600160208181526040832080549283018155835291829020835191018054928401516001600160a01b0316600160401b026001600160e01b03199093166001600160401b03909216919091179190911790555b6001600160401b03831681525b6001600160a01b0382811660208381018281525f88815260028352604090819020865181549351909616600160401b026001600160e01b03199093166001600160401b0396871617929092179091558051888152938716918401919091528201527f7a98750a395b9ee50a2644ffda039e31f1d5d06de45510275f972bb20b229b309060600160405180910390a150505050565b6001602052815f5260405f2081815481106104fe575f80fd5b5f918252602090912001546001600160401b0381169250600160401b90046001600160a01b0316905082565b5f6105355f866101d6565b604051636b40634160e01b81529091506001600160a01b03821690636b4063419061056890879087908790600401610874565b5f6040518083038186803b15801561057e575f80fd5b505afa158015610590573d5f803e3d5ffd5b505050505050505050565b6105a3610619565b6001600160a01b03811661060d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61061681610672565b50565b5f546001600160a01b031633146103325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610604565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f80604083850312156106d2575f80fd5b50508035926020909101359150565b5f8083601f8401126106f1575f80fd5b5081356001600160401b03811115610707575f80fd5b60208301915083602082850101111561071e575f80fd5b9250929050565b5f805f805f60808688031215610739575f80fd5b853594506020860135935060408601356001600160401b0381111561075c575f80fd5b610768888289016106e1565b96999598509660600135949350505050565b5f6020828403121561078a575f80fd5b5035919050565b80356001600160a01b03811681146107a7575f80fd5b919050565b5f805f606084860312156107be575f80fd5b8335925060208401356001600160401b03811681146107db575f80fd5b91506107e960408501610791565b90509250925092565b5f805f8060608587031215610805575f80fd5b8435935060208501356001600160401b03811115610821575f80fd5b61082d878288016106e1565b9598909750949560400135949350505050565b5f60208284031215610850575f80fd5b61085982610791565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b60408152826040820152828460608301375f606084830101525f6060601f19601f860116830101905082602083015294935050505056fea26469706673582212205f7c1380bbdfca74363c8683648784e336909537d499d889229f3ceb0e5f578c64736f6c63430008180033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000585dfad7bf4099e011d185e266907a8ab60dad2d0000000000000000000000004b289e4a5331bafbc6ccb2f10c39b8edcecdb247
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061009b575f3560e01c806395512306116100635780639551230614610129578063bd98b2b01461013c578063c7065b6a14610176578063cc780aa1146101b0578063f2fde38b146101c3575f80fd5b806328aee03f1461009f5780632c09a848146100cf5780635027ad2e146100e4578063715018a6146101115780638da5cb5b14610119575b5f80fd5b6100b26100ad3660046106c1565b6101d6565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e26100dd366004610725565b6102af565b005b6101036100f236600461077a565b5f9081526001602052604090205490565b6040519081526020016100c6565b6100e2610321565b5f546001600160a01b03166100b2565b6100e26101373660046107ac565b610334565b61014f61014a3660046106c1565b6104e5565b604080516001600160401b0390931683526001600160a01b039091166020830152016100c6565b61014f61018436600461077a565b60026020525f90815260409020546001600160401b03811690600160401b90046001600160a01b031682565b6100e26101be3660046107f2565b61052a565b6100e26101d1366004610840565b61059b565b5f8281526002602090815260408083208151808301909252546001600160401b038116808352600160401b9091046001600160a01b031692820192909252908310156102a4575f84815260016020526040902054805b80156102a1575f86815260016020526040902080545f19830190811061025457610254610860565b5f918252602091829020604080518082019091529101546001600160401b038116808352600160401b9091046001600160a01b03169282019290925293508510156102a1575f190161022c565b50505b602001519392505050565b5f6102ba86866101d6565b604051636b40634160e01b81529091506001600160a01b03821690636b406341906102ed90879087908790600401610874565b5f6040518083038186803b158015610303575f80fd5b505afa158015610315573d5f803e3d5ffd5b50505050505050505050565b610329610619565b6103325f610672565b565b61033c610619565b5f838152600260209081526040918290208251808401909352546001600160401b03808216808552600160401b9092046001600160a01b031692840192909252908416101561039e57604051632c3631c160e21b815260040160405180910390fd5b6001600160a01b0382166103c55760405163a7f9319d60e01b815260040160405180910390fd5b80516001600160401b03808516911610156104515760208101516001600160a01b031615610444575f848152600160208181526040832080549283018155835291829020835191018054928401516001600160a01b0316600160401b026001600160e01b03199093166001600160401b03909216919091179190911790555b6001600160401b03831681525b6001600160a01b0382811660208381018281525f88815260028352604090819020865181549351909616600160401b026001600160e01b03199093166001600160401b0396871617929092179091558051888152938716918401919091528201527f7a98750a395b9ee50a2644ffda039e31f1d5d06de45510275f972bb20b229b309060600160405180910390a150505050565b6001602052815f5260405f2081815481106104fe575f80fd5b5f918252602090912001546001600160401b0381169250600160401b90046001600160a01b0316905082565b5f6105355f866101d6565b604051636b40634160e01b81529091506001600160a01b03821690636b4063419061056890879087908790600401610874565b5f6040518083038186803b15801561057e575f80fd5b505afa158015610590573d5f803e3d5ffd5b505050505050505050565b6105a3610619565b6001600160a01b03811661060d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61061681610672565b50565b5f546001600160a01b031633146103325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610604565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f80604083850312156106d2575f80fd5b50508035926020909101359150565b5f8083601f8401126106f1575f80fd5b5081356001600160401b03811115610707575f80fd5b60208301915083602082850101111561071e575f80fd5b9250929050565b5f805f805f60808688031215610739575f80fd5b853594506020860135935060408601356001600160401b0381111561075c575f80fd5b610768888289016106e1565b96999598509660600135949350505050565b5f6020828403121561078a575f80fd5b5035919050565b80356001600160a01b03811681146107a7575f80fd5b919050565b5f805f606084860312156107be575f80fd5b8335925060208401356001600160401b03811681146107db575f80fd5b91506107e960408501610791565b90509250925092565b5f805f8060608587031215610805575f80fd5b8435935060208501356001600160401b03811115610821575f80fd5b61082d878288016106e1565b9598909750949560400135949350505050565b5f60208284031215610850575f80fd5b61085982610791565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b60408152826040820152828460608301375f606084830101525f6060601f19601f860116830101905082602083015294935050505056fea26469706673582212205f7c1380bbdfca74363c8683648784e336909537d499d889229f3ceb0e5f578c64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000585dfad7bf4099e011d185e266907a8ab60dad2d0000000000000000000000004b289e4a5331bafbc6ccb2f10c39b8edcecdb247
-----Decoded View---------------
Arg [0] : _versions (uint256[]): 0,1
Arg [1] : _verifiers (address[]): 0x585DfaD7bF4099E011D185E266907A8ab60DAD2D,0x4b289E4A5331bAFBc6cCb2F10C39B8EDceCDb247
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 000000000000000000000000585dfad7bf4099e011d185e266907a8ab60dad2d
Arg [7] : 0000000000000000000000004b289e4a5331bafbc6ccb2f10c39b8edcecdb247
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 25 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.