Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60606102 | 12926655 | 1067 days ago | IN | Create: Vyper_contract | 0 ETH | 0.00863928 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
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 # @author skozin <[email protected]> # @licence MIT from vyper.interfaces import ERC20 interface ShuttleAsset: def burn(amount: uint256, terra_address: bytes32): nonpayable beth_token: public(address) beth_token_vault: public(address) ust_wrapper_token: public(address) @external def __init__(beth_token: address, beth_token_vault: address, ust_wrapper_token: address): self.beth_token = beth_token self.beth_token_vault = beth_token_vault self.ust_wrapper_token = ust_wrapper_token @external def forward_beth(terra_address: bytes32, amount: uint256, extra_data: Bytes[1024]): beth_vault: address = self.beth_token_vault ERC20(self.beth_token).approve(beth_vault, amount) ShuttleAsset(beth_vault).burn(amount, terra_address) @external def forward_ust(terra_address: bytes32, amount: uint256, extra_data: Bytes[1024]): ShuttleAsset(self.ust_wrapper_token).burn(amount, terra_address) @external @view def adjust_amount(amount: uint256, _decimals: uint256) -> uint256: return amount
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"beth_token","type":"address"},{"name":"beth_token_vault","type":"address"},{"name":"ust_wrapper_token","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"forward_beth","inputs":[{"name":"terra_address","type":"bytes32"},{"name":"amount","type":"uint256"},{"name":"extra_data","type":"bytes"}],"outputs":[],"gas":12146},{"stateMutability":"nonpayable","type":"function","name":"forward_ust","inputs":[{"name":"terra_address","type":"bytes32"},{"name":"amount","type":"uint256"},{"name":"extra_data","type":"bytes"}],"outputs":[],"gas":9783},{"stateMutability":"view","type":"function","name":"adjust_amount","inputs":[{"name":"amount","type":"uint256"},{"name":"_decimals","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":351},{"stateMutability":"view","type":"function","name":"beth_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2478},{"stateMutability":"view","type":"function","name":"beth_token_vault","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2508},{"stateMutability":"view","type":"function","name":"ust_wrapper_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2538}]
Contract Creation Code
606061023a61014039602061023a60c03960c05160a01c1561002057600080fd5b6020602061023a0160c03960c05160a01c1561003b57600080fd5b6020604061023a0160c03960c05160a01c1561005657600080fd5b61014051600055610160516001556101805160025561022256600436101561000d576101ac565b600035601c52600051341561002157600080fd5b63f217dfa78114156100dd576104206044356004016101403761040060443560040135111561004f57600080fd5b600154610580526020610640604463095ea7b36105a052610580516105c0526024356105e0526105bc60006000545af161008857600080fd5b601f3d1161009557600080fd5b60005061064050610580513b6100aa57600080fd5b60006000604463bcf64e056105a0526024356105c0526004356105e0526105bc6000610580515af16100db57600080fd5b005b6370a1ee1f81141561014a576104206044356004016101403761040060443560040135111561010b57600080fd5b6002543b61011857600080fd5b60006000604463bcf64e05610580526024356105a0526004356105c05261059c60006002545af161014857600080fd5b005b63d775b5f28114156101625760043560005260206000f35b636efe832b81141561017a5760005460005260206000f35b6376b145728114156101925760015460005260206000f35b639e3b9fd58114156101aa5760025460005260206000f35b505b60006000fd5b61007061022203610070600039610070610222036000f3000000000000000000000000707f9118e33a9b8998bea41dd0d46f38bb963fc8000000000000000000000000f9dcf31ee6eb94ab732a43c2fba1dc6179c98965000000000000000000000000a47c8bf37f92abed4a126bda807a7b7498661acd
Deployed Bytecode
0x600436101561000d576101ac565b600035601c52600051341561002157600080fd5b63f217dfa78114156100dd576104206044356004016101403761040060443560040135111561004f57600080fd5b600154610580526020610640604463095ea7b36105a052610580516105c0526024356105e0526105bc60006000545af161008857600080fd5b601f3d1161009557600080fd5b60005061064050610580513b6100aa57600080fd5b60006000604463bcf64e056105a0526024356105c0526004356105e0526105bc6000610580515af16100db57600080fd5b005b6370a1ee1f81141561014a576104206044356004016101403761040060443560040135111561010b57600080fd5b6002543b61011857600080fd5b60006000604463bcf64e05610580526024356105a0526004356105c05261059c60006002545af161014857600080fd5b005b63d775b5f28114156101625760043560005260206000f35b636efe832b81141561017a5760005460005260206000f35b6376b145728114156101925760015460005260206000f35b639e3b9fd58114156101aa5760025460005260206000f35b505b60006000fd
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000707f9118e33a9b8998bea41dd0d46f38bb963fc8000000000000000000000000f9dcf31ee6eb94ab732a43c2fba1dc6179c98965000000000000000000000000a47c8bf37f92abed4a126bda807a7b7498661acd
-----Decoded View---------------
Arg [0] : beth_token (address): 0x707F9118e33A9B8998beA41dd0d46f38bb963FC8
Arg [1] : beth_token_vault (address): 0xF9dcf31EE6EB94AB732A43c2FbA1dC6179c98965
Arg [2] : ust_wrapper_token (address): 0xa47c8bf37f92aBed4A126BDA807A7b7498661acD
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000707f9118e33a9b8998bea41dd0d46f38bb963fc8
Arg [1] : 000000000000000000000000f9dcf31ee6eb94ab732a43c2fba1dc6179c98965
Arg [2] : 000000000000000000000000a47c8bf37f92abed4a126bda807a7b7498661acd
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.