Contract 0x0f49D26b45D0a9880431D33eAf7CCCb1Ebd67961

Contract Overview

Balance:
0 Ether
Txn Hash
Method
Block
From
To
Value
0xfaeb38d76d0dcf9bb1f109299760c6ece7f39d573f0da8d4c7dd2373d7c11eb90x60606102104038012021-06-09 14:17:58428 days 3 hrs ago0x02139137fdd974181a49268d7b0ae888634e5469 IN  Create: Vyper_contract0 Ether0.‍000215971
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x46a5070f9b61c14fa30751bb655780b90e38d165dacffb07665a2031d8472edd118003652022-01-12 9:27:44211 days 7 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xdd7e8f8047d78bb103fab4bac1259da207da38610 Ether
0x46a5070f9b61c14fa30751bb655780b90e38d165dacffb07665a2031d8472edd118003652022-01-12 9:27:44211 days 7 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xa60100d5e12e9f83c1b04997314cf11685a618ff0 Ether
0x46a5070f9b61c14fa30751bb655780b90e38d165dacffb07665a2031d8472edd118003652022-01-12 9:27:44211 days 7 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x46a5070f9b61c14fa30751bb655780b90e38d165dacffb07665a2031d8472edd118003652022-01-12 9:27:44211 days 7 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x27df7b5e84b3dec41891360d9ac932a11bd41845e59ddf1c5b17a00a1df67b81117994092022-01-12 5:59:17211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xdd7e8f8047d78bb103fab4bac1259da207da38610 Ether
0x27df7b5e84b3dec41891360d9ac932a11bd41845e59ddf1c5b17a00a1df67b81117994092022-01-12 5:59:17211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xa60100d5e12e9f83c1b04997314cf11685a618ff0 Ether
0x27df7b5e84b3dec41891360d9ac932a11bd41845e59ddf1c5b17a00a1df67b81117994092022-01-12 5:59:17211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x27df7b5e84b3dec41891360d9ac932a11bd41845e59ddf1c5b17a00a1df67b81117994092022-01-12 5:59:17211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x664dd5bf3285f4928254bc2d465f11b6b07ed6fa469ffb0b2fdd3c41d5152f99117993932022-01-12 5:56:31211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xdd7e8f8047d78bb103fab4bac1259da207da38610 Ether
0x664dd5bf3285f4928254bc2d465f11b6b07ed6fa469ffb0b2fdd3c41d5152f99117993932022-01-12 5:56:31211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xa60100d5e12e9f83c1b04997314cf11685a618ff0 Ether
0x664dd5bf3285f4928254bc2d465f11b6b07ed6fa469ffb0b2fdd3c41d5152f99117993932022-01-12 5:56:31211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x664dd5bf3285f4928254bc2d465f11b6b07ed6fa469ffb0b2fdd3c41d5152f99117993932022-01-12 5:56:31211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x145f4accf6247dc2f033b5c711dd134b51880e2f840b0e531d5ddcaddbe5eabf117993802022-01-12 5:54:22211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xdd7e8f8047d78bb103fab4bac1259da207da38610 Ether
0x145f4accf6247dc2f033b5c711dd134b51880e2f840b0e531d5ddcaddbe5eabf117993802022-01-12 5:54:22211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xa60100d5e12e9f83c1b04997314cf11685a618ff0 Ether
0x145f4accf6247dc2f033b5c711dd134b51880e2f840b0e531d5ddcaddbe5eabf117993802022-01-12 5:54:22211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x145f4accf6247dc2f033b5c711dd134b51880e2f840b0e531d5ddcaddbe5eabf117993802022-01-12 5:54:22211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0xe17a644d338e14235cf588aa360e51eb4a120fcf27c74a793ecfdb42ede6579b117993772022-01-12 5:52:48211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xdd7e8f8047d78bb103fab4bac1259da207da38610 Ether
0xe17a644d338e14235cf588aa360e51eb4a120fcf27c74a793ecfdb42ede6579b117993772022-01-12 5:52:48211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xa60100d5e12e9f83c1b04997314cf11685a618ff0 Ether
0xe17a644d338e14235cf588aa360e51eb4a120fcf27c74a793ecfdb42ede6579b117993772022-01-12 5:52:48211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0xe17a644d338e14235cf588aa360e51eb4a120fcf27c74a793ecfdb42ede6579b117993772022-01-12 5:52:48211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x0836249fb8c59fab99c6fbe2592de51687e3bdf5f00fd361cddd29e06b1cc17d117993682022-01-12 5:50:19211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xdd7e8f8047d78bb103fab4bac1259da207da38610 Ether
0x0836249fb8c59fab99c6fbe2592de51687e3bdf5f00fd361cddd29e06b1cc17d117993682022-01-12 5:50:19211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xa60100d5e12e9f83c1b04997314cf11685a618ff0 Ether
0x0836249fb8c59fab99c6fbe2592de51687e3bdf5f00fd361cddd29e06b1cc17d117993682022-01-12 5:50:19211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x0836249fb8c59fab99c6fbe2592de51687e3bdf5f00fd361cddd29e06b1cc17d117993682022-01-12 5:50:19211 days 11 hrs ago 0xf72b5bc0a05f15cadb6731e59c7d99c1bfbb2fab 0x0f49d26b45d0a9880431d33eaf7cccb1ebd679610 Ether
0x7320695c36668df66f50f0a3da321304143278f6379dacdaf404553a280432b1117993432022-01-12 5:46:08211 days 11 hrs ago 0x0f49d26b45d0a9880431d33eaf7cccb1ebd67961 0xdd7e8f8047d78bb103fab4bac1259da207da38610 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.12

Optimization Enabled:
N/A

Other Settings:
MIT license

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 ABI

[{"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}]

606061023a61014039602061023a60c03960c05160a01c1561002057600080fd5b6020602061023a0160c03960c05160a01c1561003b57600080fd5b6020604061023a0160c03960c05160a01c1561005657600080fd5b61014051600055610160516001556101805160025561022256600436101561000d576101ac565b600035601c52600051341561002157600080fd5b63f217dfa78114156100dd576104206044356004016101403761040060443560040135111561004f57600080fd5b600154610580526020610640604463095ea7b36105a052610580516105c0526024356105e0526105bc60006000545af161008857600080fd5b601f3d1161009557600080fd5b60005061064050610580513b6100aa57600080fd5b60006000604463bcf64e056105a0526024356105c0526004356105e0526105bc6000610580515af16100db57600080fd5b005b6370a1ee1f81141561014a576104206044356004016101403761040060443560040135111561010b57600080fd5b6002543b61011857600080fd5b60006000604463bcf64e05610580526024356105a0526004356105c05261059c60006002545af161014857600080fd5b005b63d775b5f28114156101625760043560005260206000f35b636efe832b81141561017a5760005460005260206000f35b6376b145728114156101925760015460005260206000f35b639e3b9fd58114156101aa5760025460005260206000f35b505b60006000fd5b61007061022203610070600039610070610222036000f3000000000000000000000000a60100d5e12e9f83c1b04997314cf11685a618ff000000000000000000000000dd7e8f8047d78bb103fab4bac1259da207da38610000000000000000000000006ca13a4ab78dd7d657226b155873a04db929a3a4

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a60100d5e12e9f83c1b04997314cf11685a618ff000000000000000000000000dd7e8f8047d78bb103fab4bac1259da207da38610000000000000000000000006ca13a4ab78dd7d657226b155873a04db929a3a4

-----Decoded View---------------
Arg [0] : beth_token (address): 0xa60100d5e12e9f83c1b04997314cf11685a618ff
Arg [1] : beth_token_vault (address): 0xdd7e8f8047d78bb103fab4bac1259da207da3861
Arg [2] : ust_wrapper_token (address): 0x6ca13a4ab78dd7d657226b155873a04db929a3a4

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a60100d5e12e9f83c1b04997314cf11685a618ff
Arg [1] : 000000000000000000000000dd7e8f8047d78bb103fab4bac1259da207da3861
Arg [2] : 0000000000000000000000006ca13a4ab78dd7d657226b155873a04db929a3a4


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
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.