Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newGovernor","type":"address"}],"name":"NewGovernor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint16","name":"tokenId","type":"uint16"}],"name":"NewToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"validatorAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"ValidatorStatusUpdate","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"addToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newGovernor","type":"address"}],"name":"changeGovernor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"getTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"initializationParameters","type":"bytes"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"isValidTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"networkGovernor","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"requireActiveValidator","outputs":[],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"requireGovernor","outputs":[],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_validator","type":"address"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setValidator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"tokenAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenIds","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalTokens","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"upgradeParameters","type":"bytes"}],"name":"upgrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"}],"name":"validateTokenAddress","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"validators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50610927806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063e2c7926811610097578063f39349ef11610066578063f39349ef14610354578063f5f84ed41461035c578063fa52c7d814610382578063fc97a303146103a8576100f5565b8063e2c79268146102b2578063e4c0aaf4146102e7578063ead317621461030d578063ef36521814610333576100f5565b80634623c91d116100d35780634623c91d146102195780634b18bd0f146102475780637e1c0c091461026d578063d48bfca71461028c576100f5565b806310603dad146100fa5780632539464514610137578063439fab91146101a9575b600080fd5b61011b6004803603602081101561011057600080fd5b503561ffff166103ce565b604080516001600160a01b039092168252519081900360200190f35b6101a76004803603602081101561014d57600080fd5b81019060208101813564010000000081111561016857600080fd5b82018360208201111561017a57600080fd5b8035906020019184600183028401116401000000008311171561019c57600080fd5b5090925090506103e9565b005b6101a7600480360360208110156101bf57600080fd5b8101906020810181356401000000008111156101da57600080fd5b8201836020820111156101ec57600080fd5b8035906020019184600183028401116401000000008311171561020e57600080fd5b5090925090506103ed565b6101a76004803603604081101561022f57600080fd5b506001600160a01b0381351690602001351515610426565b6101a76004803603602081101561025d57600080fd5b50356001600160a01b03166104b5565b61027561050d565b6040805161ffff9092168252519081900360200190f35b6101a7600480360360208110156102a257600080fd5b50356001600160a01b031661051e565b6102d3600480360360208110156102c857600080fd5b503561ffff166106bc565b604080519115158252519081900360200190f35b6101a7600480360360208110156102fd57600080fd5b50356001600160a01b03166106d3565b6102756004803603602081101561032357600080fd5b50356001600160a01b031661078a565b61011b6004803603602081101561034957600080fd5b503561ffff16610829565b61011b610848565b6101a76004803603602081101561037257600080fd5b50356001600160a01b0316610857565b6102d36004803603602081101561039857600080fd5b50356001600160a01b03166108a1565b610275600480360360208110156103be57600080fd5b50356001600160a01b03166108b6565b6001602052600090815260409020546001600160a01b031681565b5050565b6000828260208110156103ff57600080fd5b506000805491356001600160a01b03166001600160a01b0319909216919091179055505050565b61042f33610857565b6001600160a01b03821660009081526003602052604090205460ff161515811515146103e9576001600160a01b038216600081815260036020908152604091829020805460ff1916851515908117909155825190815291517f065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d481369281900390910190a25050565b6001600160a01b03811660009081526003602052604090205460ff1661050a576040805162461bcd60e51b8152602060048201526005602482015264677272323160d81b604482015290519081900360640190fd5b50565b600054600160a01b900461ffff1681565b61052733610857565b6001600160a01b03811660009081526002602052604090205461ffff161561057e576040805162461bcd60e51b815260206004820152600560248201526467616e313160d81b604482015290519081900360640190fd5b600054607f600160a01b90910461ffff16106105c9576040805162461bcd60e51b815260206004820152600560248201526433b0b7189960d91b604482015290519081900360640190fd5b6001600160a01b03811661061d576040805162461bcd60e51b8152602060048201526016602482015275616464726573732063616e6e6f74206265207a65726f60501b604482015290519081900360640190fd5b60008054600161ffff600160a01b808404821683018216810261ffff60a01b1990941693909317808555929092049091168083526020918252604080842080546001600160a01b0387166001600160a01b031990911681179091558085526002909352808420805461ffff1916831790555190928392917ffe74dea79bde70d1990ddb655bac45735b14f495ddc508cfab80b7729aa9d6689190a35050565b600054600160a01b900461ffff9081169116111590565b6106dc33610857565b6001600160a01b0381166107215760405162461bcd60e51b81526004018080602001828103825260268152602001806108cd6026913960400191505060405180910390fd5b6000546001600160a01b0382811691161461050a57600080546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f5425363a03f182281120f5919107c49c7a1a623acc1cbc6df468b6f0c11fcf8c9181900360200190a150565b6001600160a01b03811660009081526002602052604081205461ffff16806107e1576040805162461bcd60e51b8152602060048201526005602482015264677673313160d81b604482015290519081900360640190fd5b607f61ffff82161115610823576040805162461bcd60e51b815260206004820152600560248201526433bb39989960d91b604482015290519081900360640190fd5b92915050565b61ffff166000908152600160205260409020546001600160a01b031690565b6000546001600160a01b031681565b6000546001600160a01b0382811691161461050a576040805162461bcd60e51b8152602060048201526005602482015264677272313160d81b604482015290519081900360640190fd5b60036020526000908152604090205460ff1681565b60026020526000908152604090205461ffff168156fe7a65726f206164647265737320697320706173736564206173205f6e6577476f7665726e6f72a265627a7a723158207e515ef5d19c7edde531207d6d9e70b2b889722e7871930e62b85f5280a9333464736f6c63430005100032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063e2c7926811610097578063f39349ef11610066578063f39349ef14610354578063f5f84ed41461035c578063fa52c7d814610382578063fc97a303146103a8576100f5565b8063e2c79268146102b2578063e4c0aaf4146102e7578063ead317621461030d578063ef36521814610333576100f5565b80634623c91d116100d35780634623c91d146102195780634b18bd0f146102475780637e1c0c091461026d578063d48bfca71461028c576100f5565b806310603dad146100fa5780632539464514610137578063439fab91146101a9575b600080fd5b61011b6004803603602081101561011057600080fd5b503561ffff166103ce565b604080516001600160a01b039092168252519081900360200190f35b6101a76004803603602081101561014d57600080fd5b81019060208101813564010000000081111561016857600080fd5b82018360208201111561017a57600080fd5b8035906020019184600183028401116401000000008311171561019c57600080fd5b5090925090506103e9565b005b6101a7600480360360208110156101bf57600080fd5b8101906020810181356401000000008111156101da57600080fd5b8201836020820111156101ec57600080fd5b8035906020019184600183028401116401000000008311171561020e57600080fd5b5090925090506103ed565b6101a76004803603604081101561022f57600080fd5b506001600160a01b0381351690602001351515610426565b6101a76004803603602081101561025d57600080fd5b50356001600160a01b03166104b5565b61027561050d565b6040805161ffff9092168252519081900360200190f35b6101a7600480360360208110156102a257600080fd5b50356001600160a01b031661051e565b6102d3600480360360208110156102c857600080fd5b503561ffff166106bc565b604080519115158252519081900360200190f35b6101a7600480360360208110156102fd57600080fd5b50356001600160a01b03166106d3565b6102756004803603602081101561032357600080fd5b50356001600160a01b031661078a565b61011b6004803603602081101561034957600080fd5b503561ffff16610829565b61011b610848565b6101a76004803603602081101561037257600080fd5b50356001600160a01b0316610857565b6102d36004803603602081101561039857600080fd5b50356001600160a01b03166108a1565b610275600480360360208110156103be57600080fd5b50356001600160a01b03166108b6565b6001602052600090815260409020546001600160a01b031681565b5050565b6000828260208110156103ff57600080fd5b506000805491356001600160a01b03166001600160a01b0319909216919091179055505050565b61042f33610857565b6001600160a01b03821660009081526003602052604090205460ff161515811515146103e9576001600160a01b038216600081815260036020908152604091829020805460ff1916851515908117909155825190815291517f065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d481369281900390910190a25050565b6001600160a01b03811660009081526003602052604090205460ff1661050a576040805162461bcd60e51b8152602060048201526005602482015264677272323160d81b604482015290519081900360640190fd5b50565b600054600160a01b900461ffff1681565b61052733610857565b6001600160a01b03811660009081526002602052604090205461ffff161561057e576040805162461bcd60e51b815260206004820152600560248201526467616e313160d81b604482015290519081900360640190fd5b600054607f600160a01b90910461ffff16106105c9576040805162461bcd60e51b815260206004820152600560248201526433b0b7189960d91b604482015290519081900360640190fd5b6001600160a01b03811661061d576040805162461bcd60e51b8152602060048201526016602482015275616464726573732063616e6e6f74206265207a65726f60501b604482015290519081900360640190fd5b60008054600161ffff600160a01b808404821683018216810261ffff60a01b1990941693909317808555929092049091168083526020918252604080842080546001600160a01b0387166001600160a01b031990911681179091558085526002909352808420805461ffff1916831790555190928392917ffe74dea79bde70d1990ddb655bac45735b14f495ddc508cfab80b7729aa9d6689190a35050565b600054600160a01b900461ffff9081169116111590565b6106dc33610857565b6001600160a01b0381166107215760405162461bcd60e51b81526004018080602001828103825260268152602001806108cd6026913960400191505060405180910390fd5b6000546001600160a01b0382811691161461050a57600080546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f5425363a03f182281120f5919107c49c7a1a623acc1cbc6df468b6f0c11fcf8c9181900360200190a150565b6001600160a01b03811660009081526002602052604081205461ffff16806107e1576040805162461bcd60e51b8152602060048201526005602482015264677673313160d81b604482015290519081900360640190fd5b607f61ffff82161115610823576040805162461bcd60e51b815260206004820152600560248201526433bb39989960d91b604482015290519081900360640190fd5b92915050565b61ffff166000908152600160205260409020546001600160a01b031690565b6000546001600160a01b031681565b6000546001600160a01b0382811691161461050a576040805162461bcd60e51b8152602060048201526005602482015264677272313160d81b604482015290519081900360640190fd5b60036020526000908152604090205460ff1681565b60026020526000908152604090205461ffff168156fe7a65726f206164647265737320697320706173736564206173205f6e6577476f7665726e6f72a265627a7a723158207e515ef5d19c7edde531207d6d9e70b2b889722e7871930e62b85f5280a9333464736f6c63430005100032
🤖 Code Reader
Generate instant answers for your smart contract questions using Al Models. Read more.
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.


