More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Vyper_contract
Compiler Version
vyper:0.2.12
Contract Source Code (Vyper language format)
# @version 0.2.12 interface BridgeToken: def withdraw(_amount: uint256): nonpayable def balanceOf(_user: address) -> uint256: view owner: public(address) future_owner: public(address) @external def __init__(_owner: address): self.owner = _owner @external def withdraw(_token: address): assert msg.sender == self.owner amount: uint256 = BridgeToken(_token).balanceOf(self) BridgeToken(_token).withdraw(amount) @external def commit_transfer_ownership(_owner: address): assert msg.sender == self.owner self.future_owner = _owner @external def accept_transfer_ownership(): assert msg.sender == self.future_owner self.owner = self.future_owner
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_owner","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_token","type":"address"}],"outputs":[],"gas":9896},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"_owner","type":"address"}],"outputs":[],"gas":37575},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[],"gas":39602},{"stateMutability":"view","type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2478},{"stateMutability":"view","type":"function","name":"future_owner","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2508}]
Contract Creation Code
602061019261014039602061019260c03960c05160a01c1561002057600080fd5b6101405160005561017a56600436101561000d57610148565b600035601c52600051341561002157600080fd5b6351cff8d98114156100c25760043560a01c1561003d57600080fd5b600054331461004b57600080fd5b60206101e060246370a0823161016052306101805261017c6004355afa61007157600080fd5b601f3d1161007e57600080fd5b6000506101e051610140526004353b61009657600080fd5b600060006024632e1a7d4d61016052610140516101805261017c60006004355af16100c057600080fd5b005b636b441a408114156100f45760043560a01c156100de57600080fd5b60005433146100ec57600080fd5b600435600155005b63e5ea47b881141561011657600154331461010e57600080fd5b600154600055005b638da5cb5b81141561012e5760005460005260206000f35b631ec0cdc18114156101465760015460005260206000f35b505b60006000fd5b61002c61017a0361002c60003961002c61017a036000f30000000000000000000000007eeac6cddbd1d0b8af061742d41877d7f707289a
Deployed Bytecode
0x600436101561000d57610148565b600035601c52600051341561002157600080fd5b6351cff8d98114156100c25760043560a01c1561003d57600080fd5b600054331461004b57600080fd5b60206101e060246370a0823161016052306101805261017c6004355afa61007157600080fd5b601f3d1161007e57600080fd5b6000506101e051610140526004353b61009657600080fd5b600060006024632e1a7d4d61016052610140516101805261017c60006004355af16100c057600080fd5b005b636b441a408114156100f45760043560a01c156100de57600080fd5b60005433146100ec57600080fd5b600435600155005b63e5ea47b881141561011657600154331461010e57600080fd5b600154600055005b638da5cb5b81141561012e5760005460005260206000f35b631ec0cdc18114156101465760015460005260206000f35b505b60006000fd
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007eeac6cddbd1d0b8af061742d41877d7f707289a
-----Decoded View---------------
Arg [0] : _owner (address): 0x7EeAC6CDdbd1D0B8aF061742D41877D7F707289a
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007eeac6cddbd1d0b8af061742d41877d7f707289a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
POL | 100.00% | $0.999798 | 10,946.8039 | $10,944.59 |
[ 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.