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 Name:
Registry
Compiler Version
v0.5.11+commit.c082d0b4
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-05-30 */ /** Matic network contracts */ pragma solidity ^0.5.2; interface IGovernance { function update(address target, bytes calldata data) external; } contract Governable { IGovernance public governance; constructor(address _governance) public { governance = IGovernance(_governance); } modifier onlyGovernance() { require( msg.sender == address(governance), "Only governance contract is authorized" ); _; } } contract IWithdrawManager { function createExitQueue(address token) external; function verifyInclusion( bytes calldata data, uint8 offset, bool verifyTxInclusion ) external view returns (uint256 age); function addExitToQueue( address exitor, address childToken, address rootToken, uint256 exitAmountOrTokenId, bytes32 txHash, bool isRegularExit, uint256 priority ) external; function addInput( uint256 exitId, uint256 age, address utxoOwner, address token ) external; function challengeExit( uint256 exitId, uint256 inputId, bytes calldata challengeData, address adjudicatorPredicate ) external; } contract Registry is Governable { // @todo hardcode constants bytes32 private constant WETH_TOKEN = keccak256("wethToken"); bytes32 private constant DEPOSIT_MANAGER = keccak256("depositManager"); bytes32 private constant STAKE_MANAGER = keccak256("stakeManager"); bytes32 private constant VALIDATOR_SHARE = keccak256("validatorShare"); bytes32 private constant WITHDRAW_MANAGER = keccak256("withdrawManager"); bytes32 private constant CHILD_CHAIN = keccak256("childChain"); bytes32 private constant STATE_SENDER = keccak256("stateSender"); bytes32 private constant SLASHING_MANAGER = keccak256("slashingManager"); address public erc20Predicate; address public erc721Predicate; mapping(bytes32 => address) public contractMap; mapping(address => address) public rootToChildToken; mapping(address => address) public childToRootToken; mapping(address => bool) public proofValidatorContracts; mapping(address => bool) public isERC721; enum Type {Invalid, ERC20, ERC721, Custom} struct Predicate { Type _type; } mapping(address => Predicate) public predicates; event TokenMapped(address indexed rootToken, address indexed childToken); event ProofValidatorAdded(address indexed validator, address indexed from); event ProofValidatorRemoved(address indexed validator, address indexed from); event PredicateAdded(address indexed predicate, address indexed from); event PredicateRemoved(address indexed predicate, address indexed from); event ContractMapUpdated(bytes32 indexed key, address indexed previousContract, address indexed newContract); constructor(address _governance) public Governable(_governance) {} function updateContractMap(bytes32 _key, address _address) external onlyGovernance { emit ContractMapUpdated(_key, contractMap[_key], _address); contractMap[_key] = _address; } /** * @dev Map root token to child token * @param _rootToken Token address on the root chain * @param _childToken Token address on the child chain * @param _isERC721 Is the token being mapped ERC721 */ function mapToken( address _rootToken, address _childToken, bool _isERC721 ) external onlyGovernance { require(_rootToken != address(0x0) && _childToken != address(0x0), "INVALID_TOKEN_ADDRESS"); rootToChildToken[_rootToken] = _childToken; childToRootToken[_childToken] = _rootToken; isERC721[_rootToken] = _isERC721; IWithdrawManager(contractMap[WITHDRAW_MANAGER]).createExitQueue(_rootToken); emit TokenMapped(_rootToken, _childToken); } function addErc20Predicate(address predicate) public onlyGovernance { require(predicate != address(0x0), "Can not add null address as predicate"); erc20Predicate = predicate; addPredicate(predicate, Type.ERC20); } function addErc721Predicate(address predicate) public onlyGovernance { erc721Predicate = predicate; addPredicate(predicate, Type.ERC721); } function addPredicate(address predicate, Type _type) public onlyGovernance { require(predicates[predicate]._type == Type.Invalid, "Predicate already added"); predicates[predicate]._type = _type; emit PredicateAdded(predicate, msg.sender); } function removePredicate(address predicate) public onlyGovernance { require(predicates[predicate]._type != Type.Invalid, "Predicate does not exist"); delete predicates[predicate]; emit PredicateRemoved(predicate, msg.sender); } function getValidatorShareAddress() public view returns (address) { return contractMap[VALIDATOR_SHARE]; } function getWethTokenAddress() public view returns (address) { return contractMap[WETH_TOKEN]; } function getDepositManagerAddress() public view returns (address) { return contractMap[DEPOSIT_MANAGER]; } function getStakeManagerAddress() public view returns (address) { return contractMap[STAKE_MANAGER]; } function getSlashingManagerAddress() public view returns (address) { return contractMap[SLASHING_MANAGER]; } function getWithdrawManagerAddress() public view returns (address) { return contractMap[WITHDRAW_MANAGER]; } function getChildChainAndStateSender() public view returns (address, address) { return (contractMap[CHILD_CHAIN], contractMap[STATE_SENDER]); } function isTokenMapped(address _token) public view returns (bool) { return rootToChildToken[_token] != address(0x0); } function isTokenMappedAndIsErc721(address _token) public view returns (bool) { require(isTokenMapped(_token), "TOKEN_NOT_MAPPED"); return isERC721[_token]; } function isTokenMappedAndGetPredicate(address _token) public view returns (address) { if (isTokenMappedAndIsErc721(_token)) { return erc721Predicate; } return erc20Predicate; } function isChildTokenErc721(address childToken) public view returns (bool) { address rootToken = childToRootToken[childToken]; require(rootToken != address(0x0), "Child token is not mapped"); return isERC721[rootToken]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isTokenMappedAndIsErc721","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"predicate","type":"address"}],"name":"removePredicate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getDepositManagerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getValidatorShareAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address","name":"_address","type":"address"}],"name":"updateContractMap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getStakeManagerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"predicate","type":"address"}],"name":"addErc20Predicate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"predicates","outputs":[{"internalType":"enum Registry.Type","name":"_type","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"predicate","type":"address"},{"internalType":"enum Registry.Type","name":"_type","type":"uint8"}],"name":"addPredicate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"contract IGovernance","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isTokenMappedAndGetPredicate","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isTokenMapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getChildChainAndStateSender","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"childToRootToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getWethTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getWithdrawManagerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"erc20Predicate","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"childToken","type":"address"}],"name":"isChildTokenErc721","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proofValidatorContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"erc721Predicate","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"contractMap","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"predicate","type":"address"}],"name":"addErc721Predicate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getSlashingManagerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isERC721","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rootToken","type":"address"},{"internalType":"address","name":"_childToken","type":"address"},{"internalType":"bool","name":"_isERC721","type":"bool"}],"name":"mapToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rootToChildToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rootToken","type":"address"},{"indexed":true,"internalType":"address","name":"childToken","type":"address"}],"name":"TokenMapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"validator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"}],"name":"ProofValidatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"validator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"}],"name":"ProofValidatorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"predicate","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"}],"name":"PredicateAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"predicate","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"}],"name":"PredicateRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"key","type":"bytes32"},{"indexed":true,"internalType":"address","name":"previousContract","type":"address"},{"indexed":true,"internalType":"address","name":"newContract","type":"address"}],"name":"ContractMapUpdated","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610f7c380380610f7c8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610f17806100656000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80636e86b770116100de578063c881560f11610097578063d580b41811610071578063d580b4181461044b578063daa09e5414610453578063e117694b14610479578063ea60c7c4146104b15761018e565b8063c881560f14610400578063cac39a0514610408578063ce261186146104255761018e565b80636e86b770146103765780638b9c94891461039c578063930df82e146103a4578063b6864976146103ac578063bbfe7cd3146103b4578063c4b875d3146103da5761018e565b80632d4e1dc71161014b5780635aa6e675116101255780635aa6e675146102f4578063627942da146102fc5780636416c18314610322578063648b8178146103485761018e565b80632d4e1dc71461025557806337b1d5851461027b5780633af395e5146102c55761018e565b806301f07db51461019357806305f20595146101cd5780630c9effd0146101f55780631c9486ef146102195780632026cfdc14610221578063287be3e41461024d575b600080fd5b6101b9600480360360208110156101a957600080fd5b50356001600160a01b03166104d7565b604080519115158252519081900360200190f35b6101f3600480360360208110156101e357600080fd5b50356001600160a01b0316610549565b005b6101fd610657565b604080516001600160a01b039092168252519081900360200190f35b6101fd610692565b6101f36004803603604081101561023757600080fd5b50803590602001356001600160a01b03166106cd565b6101fd61078b565b6101f36004803603602081101561026b57600080fd5b50356001600160a01b03166107c4565b6102a16004803603602081101561029157600080fd5b50356001600160a01b031661087b565b604051808260038111156102b157fe5b60ff16815260200191505060405180910390f35b6101f3600480360360408110156102db57600080fd5b5080356001600160a01b0316906020013560ff16610890565b6101fd6109c0565b6101fd6004803603602081101561031257600080fd5b50356001600160a01b03166109cf565b6101b96004803603602081101561033857600080fd5b50356001600160a01b0316610a02565b610350610a22565b604080516001600160a01b03938416815291909216602082015281519081900390910190f35b6101fd6004803603602081101561038c57600080fd5b50356001600160a01b0316610a87565b6101fd610aa2565b6101fd610ad8565b6101fd610b14565b6101b9600480360360208110156103ca57600080fd5b50356001600160a01b0316610b23565b6101b9600480360360208110156103f057600080fd5b50356001600160a01b0316610bb3565b6101fd610bc8565b6101fd6004803603602081101561041e57600080fd5b5035610bd7565b6101f36004803603602081101561043b57600080fd5b50356001600160a01b0316610bf2565b6101fd610c61565b6101b96004803603602081101561046957600080fd5b50356001600160a01b0316610c9d565b6101f36004803603606081101561048f57600080fd5b506001600160a01b038135811691602081013590911690604001351515610cb2565b6101fd600480360360208110156104c757600080fd5b50356001600160a01b0316610e7c565b60006104e282610a02565b610526576040805162461bcd60e51b815260206004820152601060248201526f1513d2d15397d393d517d3505414115160821b604482015290519081900360640190fd5b506001600160a01b03811660009081526007602052604090205460ff165b919050565b6000546001600160a01b031633146105925760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b03811660009081526008602052604081205460ff1660038111156105b957fe5b141561060c576040805162461bcd60e51b815260206004820152601860248201527f50726564696361746520646f6573206e6f742065786973740000000000000000604482015290519081900360640190fd5b6001600160a01b038116600081815260086020526040808220805460ff19169055513392917fd8b3c0235cefc5e19393dedb56c1ece6b41447ef932d7c6b34eb150a4b5d5f4991a350565b604080516d3232b837b9b4ba26b0b730b3b2b960911b8152815190819003600e0190206000908152600360205220546001600160a01b031690565b604080516d76616c696461746f72536861726560901b8152815190819003600e0190206000908152600360205220546001600160a01b031690565b6000546001600160a01b031633146107165760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6000828152600360205260408082205490516001600160a01b038085169392169185917fffb8cfd9cecbede837eec100fb8e17560ea22bf018e065366ee5e2ff5e0bd10c9190a460009182526003602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b604080516b39ba30b5b2a6b0b730b3b2b960a11b8152815190819003600c0190206000908152600360205220546001600160a01b031690565b6000546001600160a01b0316331461080d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b0381166108525760405162461bcd60e51b8152600401808060200182810382526025815260200180610ebe6025913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b038316178155610878908290610890565b50565b60086020526000908152604090205460ff1681565b6000546001600160a01b031633146108d95760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b03821660009081526008602052604081205460ff16600381111561090057fe5b14610952576040805162461bcd60e51b815260206004820152601760248201527f50726564696361746520616c7265616479206164646564000000000000000000604482015290519081900360640190fd5b6001600160a01b0382166000908152600860205260409020805482919060ff1916600183600381111561098157fe5b021790555060405133906001600160a01b038416907f0ea727f9bef04eb9a0e0da4d8fbb5b5319ddac03834baded53f84e0dcdddfedf90600090a35050565b6000546001600160a01b031681565b60006109da826104d7565b156109f157506002546001600160a01b0316610544565b50506001546001600160a01b031690565b6001600160a01b0390811660009081526004602052604090205416151590565b604080516931b434b63221b430b4b760b11b8152815190819003600a018120600090815260036020818152848320546a39ba30ba32a9b2b73232b960a91b8552855194859003600b0190942083525291909120546001600160a01b0391821691169091565b6005602052600090815260409020546001600160a01b031681565b60408051683bb2ba342a37b5b2b760b91b815281519081900360090190206000908152600360205220546001600160a01b031690565b604080516e3bb4ba34323930bba6b0b730b3b2b960891b8152815190819003600f0190206000908152600360205220546001600160a01b031690565b6001546001600160a01b031681565b6001600160a01b0380821660009081526005602052604081205490911680610b92576040805162461bcd60e51b815260206004820152601960248201527f4368696c6420746f6b656e206973206e6f74206d617070656400000000000000604482015290519081900360640190fd5b6001600160a01b031660009081526007602052604090205460ff1692915050565b60066020526000908152604090205460ff1681565b6002546001600160a01b031681565b6003602052600090815260409020546001600160a01b031681565b6000546001600160a01b03163314610c3b5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b600280546001600160a01b0319166001600160a01b038316178155610878908290610890565b604080516e39b630b9b434b733a6b0b730b3b2b960891b8152815190819003600f0190206000908152600360205220546001600160a01b031690565b60076020526000908152604090205460ff1681565b6000546001600160a01b03163314610cfb5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b03831615801590610d1b57506001600160a01b03821615155b610d64576040805162461bcd60e51b8152602060048201526015602482015274494e56414c49445f544f4b454e5f4144445245535360581b604482015290519081900360640190fd5b6001600160a01b0380841660008181526004602081815260408084208054878a166001600160a01b031991821681179092559085526005835281852080549091168617905584845260078252808420805488151560ff1990911617905580516e3bb4ba34323930bba6b0b730b3b2b960891b8152815190819003600f0181208552600390925280842054639145e6df60e01b8352928201949094529251931692639145e6df92602480820193929182900301818387803b158015610e2757600080fd5b505af1158015610e3b573d6000803e3d6000fd5b50506040516001600160a01b038086169350861691507f85920d35e6c72f6b2affffa04298b0cecfeba86e4a9f407df661f1cb8ab5e61790600090a3505050565b6004602052600090815260409020546001600160a01b03168156fe4f6e6c7920676f7665726e616e636520636f6e747261637420697320617574686f72697a656443616e206e6f7420616464206e756c6c206164647265737320617320707265646963617465a265627a7a7231582000f618d9caf42a09671ec1e25147a79c6aa6349ee68dc28538bf591cf547bbe264736f6c634300050b00320000000000000000000000006e7a5820bad6ceba8ef5ea69c0c92ebbdac9ce48
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80636e86b770116100de578063c881560f11610097578063d580b41811610071578063d580b4181461044b578063daa09e5414610453578063e117694b14610479578063ea60c7c4146104b15761018e565b8063c881560f14610400578063cac39a0514610408578063ce261186146104255761018e565b80636e86b770146103765780638b9c94891461039c578063930df82e146103a4578063b6864976146103ac578063bbfe7cd3146103b4578063c4b875d3146103da5761018e565b80632d4e1dc71161014b5780635aa6e675116101255780635aa6e675146102f4578063627942da146102fc5780636416c18314610322578063648b8178146103485761018e565b80632d4e1dc71461025557806337b1d5851461027b5780633af395e5146102c55761018e565b806301f07db51461019357806305f20595146101cd5780630c9effd0146101f55780631c9486ef146102195780632026cfdc14610221578063287be3e41461024d575b600080fd5b6101b9600480360360208110156101a957600080fd5b50356001600160a01b03166104d7565b604080519115158252519081900360200190f35b6101f3600480360360208110156101e357600080fd5b50356001600160a01b0316610549565b005b6101fd610657565b604080516001600160a01b039092168252519081900360200190f35b6101fd610692565b6101f36004803603604081101561023757600080fd5b50803590602001356001600160a01b03166106cd565b6101fd61078b565b6101f36004803603602081101561026b57600080fd5b50356001600160a01b03166107c4565b6102a16004803603602081101561029157600080fd5b50356001600160a01b031661087b565b604051808260038111156102b157fe5b60ff16815260200191505060405180910390f35b6101f3600480360360408110156102db57600080fd5b5080356001600160a01b0316906020013560ff16610890565b6101fd6109c0565b6101fd6004803603602081101561031257600080fd5b50356001600160a01b03166109cf565b6101b96004803603602081101561033857600080fd5b50356001600160a01b0316610a02565b610350610a22565b604080516001600160a01b03938416815291909216602082015281519081900390910190f35b6101fd6004803603602081101561038c57600080fd5b50356001600160a01b0316610a87565b6101fd610aa2565b6101fd610ad8565b6101fd610b14565b6101b9600480360360208110156103ca57600080fd5b50356001600160a01b0316610b23565b6101b9600480360360208110156103f057600080fd5b50356001600160a01b0316610bb3565b6101fd610bc8565b6101fd6004803603602081101561041e57600080fd5b5035610bd7565b6101f36004803603602081101561043b57600080fd5b50356001600160a01b0316610bf2565b6101fd610c61565b6101b96004803603602081101561046957600080fd5b50356001600160a01b0316610c9d565b6101f36004803603606081101561048f57600080fd5b506001600160a01b038135811691602081013590911690604001351515610cb2565b6101fd600480360360208110156104c757600080fd5b50356001600160a01b0316610e7c565b60006104e282610a02565b610526576040805162461bcd60e51b815260206004820152601060248201526f1513d2d15397d393d517d3505414115160821b604482015290519081900360640190fd5b506001600160a01b03811660009081526007602052604090205460ff165b919050565b6000546001600160a01b031633146105925760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b03811660009081526008602052604081205460ff1660038111156105b957fe5b141561060c576040805162461bcd60e51b815260206004820152601860248201527f50726564696361746520646f6573206e6f742065786973740000000000000000604482015290519081900360640190fd5b6001600160a01b038116600081815260086020526040808220805460ff19169055513392917fd8b3c0235cefc5e19393dedb56c1ece6b41447ef932d7c6b34eb150a4b5d5f4991a350565b604080516d3232b837b9b4ba26b0b730b3b2b960911b8152815190819003600e0190206000908152600360205220546001600160a01b031690565b604080516d76616c696461746f72536861726560901b8152815190819003600e0190206000908152600360205220546001600160a01b031690565b6000546001600160a01b031633146107165760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6000828152600360205260408082205490516001600160a01b038085169392169185917fffb8cfd9cecbede837eec100fb8e17560ea22bf018e065366ee5e2ff5e0bd10c9190a460009182526003602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b604080516b39ba30b5b2a6b0b730b3b2b960a11b8152815190819003600c0190206000908152600360205220546001600160a01b031690565b6000546001600160a01b0316331461080d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b0381166108525760405162461bcd60e51b8152600401808060200182810382526025815260200180610ebe6025913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b038316178155610878908290610890565b50565b60086020526000908152604090205460ff1681565b6000546001600160a01b031633146108d95760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b03821660009081526008602052604081205460ff16600381111561090057fe5b14610952576040805162461bcd60e51b815260206004820152601760248201527f50726564696361746520616c7265616479206164646564000000000000000000604482015290519081900360640190fd5b6001600160a01b0382166000908152600860205260409020805482919060ff1916600183600381111561098157fe5b021790555060405133906001600160a01b038416907f0ea727f9bef04eb9a0e0da4d8fbb5b5319ddac03834baded53f84e0dcdddfedf90600090a35050565b6000546001600160a01b031681565b60006109da826104d7565b156109f157506002546001600160a01b0316610544565b50506001546001600160a01b031690565b6001600160a01b0390811660009081526004602052604090205416151590565b604080516931b434b63221b430b4b760b11b8152815190819003600a018120600090815260036020818152848320546a39ba30ba32a9b2b73232b960a91b8552855194859003600b0190942083525291909120546001600160a01b0391821691169091565b6005602052600090815260409020546001600160a01b031681565b60408051683bb2ba342a37b5b2b760b91b815281519081900360090190206000908152600360205220546001600160a01b031690565b604080516e3bb4ba34323930bba6b0b730b3b2b960891b8152815190819003600f0190206000908152600360205220546001600160a01b031690565b6001546001600160a01b031681565b6001600160a01b0380821660009081526005602052604081205490911680610b92576040805162461bcd60e51b815260206004820152601960248201527f4368696c6420746f6b656e206973206e6f74206d617070656400000000000000604482015290519081900360640190fd5b6001600160a01b031660009081526007602052604090205460ff1692915050565b60066020526000908152604090205460ff1681565b6002546001600160a01b031681565b6003602052600090815260409020546001600160a01b031681565b6000546001600160a01b03163314610c3b5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b600280546001600160a01b0319166001600160a01b038316178155610878908290610890565b604080516e39b630b9b434b733a6b0b730b3b2b960891b8152815190819003600f0190206000908152600360205220546001600160a01b031690565b60076020526000908152604090205460ff1681565b6000546001600160a01b03163314610cfb5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e986026913960400191505060405180910390fd5b6001600160a01b03831615801590610d1b57506001600160a01b03821615155b610d64576040805162461bcd60e51b8152602060048201526015602482015274494e56414c49445f544f4b454e5f4144445245535360581b604482015290519081900360640190fd5b6001600160a01b0380841660008181526004602081815260408084208054878a166001600160a01b031991821681179092559085526005835281852080549091168617905584845260078252808420805488151560ff1990911617905580516e3bb4ba34323930bba6b0b730b3b2b960891b8152815190819003600f0181208552600390925280842054639145e6df60e01b8352928201949094529251931692639145e6df92602480820193929182900301818387803b158015610e2757600080fd5b505af1158015610e3b573d6000803e3d6000fd5b50506040516001600160a01b038086169350861691507f85920d35e6c72f6b2affffa04298b0cecfeba86e4a9f407df661f1cb8ab5e61790600090a3505050565b6004602052600090815260409020546001600160a01b03168156fe4f6e6c7920676f7665726e616e636520636f6e747261637420697320617574686f72697a656443616e206e6f7420616464206e756c6c206164647265737320617320707265646963617465a265627a7a7231582000f618d9caf42a09671ec1e25147a79c6aa6349ee68dc28538bf591cf547bbe264736f6c634300050b0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006e7a5820bad6ceba8ef5ea69c0c92ebbdac9ce48
-----Decoded View---------------
Arg [0] : _governance (address): 0x6e7a5820baD6cebA8Ef5ea69c0C92EbbDAc9CE48
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006e7a5820bad6ceba8ef5ea69c0c92ebbdac9ce48
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.