Contract 0x3895064FD74a86542206C4c39eb1bf14BB9aF9a6 1
Contract Overview
Balance:
0 ETH
ETH Value:
$0.00
My Name Tag:
Not Available
Txn Hash | Method |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0x0ba3a75679e3d28a220bbb853f38ac527445779cde76e997f2d0d8b94055428f | 0x60206101 | 12022760 | 684 days 4 hrs ago | 0x745748bcfd8f9c2de519a71d789be8a63dd7d66c | IN | Create: Vyper_contract | 0 ETH | 0.001060330236 ETH |
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Contract Source Code Verified (Exact Match)
Contract Name:
Vyper_contract
Compiler Version
vyper:0.3.1
Contract Source Code (Vyper language format)
# @version 0.3.1 """ @title Minimal veOracle + veBoost Wrapper """ from vyper.interfaces import ERC20 interface veBoost: def adjusted_balance_of(_user: address) -> uint256: view VE_ORACLE: constant(address) = 0x12F407340697Ae0b177546E535b91A5be021fBF9 VE_BOOST: immutable(address) @external def __init__(_ve_boost: address): VE_BOOST = _ve_boost @view @external def balanceOf(_user: address) -> uint256: """ @notice Get the adjusted veCRV balance of a user """ return veBoost(VE_BOOST).adjusted_balance_of(_user) @view @external def totalSupply() -> uint256: """ @notice Get the totalSupply of veCRV """ return ERC20(VE_ORACLE).totalSupply() @view @external def ve_boost() -> address: return VE_BOOST @view @external def ve_oracle() -> address: return VE_ORACLE
[{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_ve_boost","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"_user","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"ve_boost","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"ve_oracle","inputs":[],"outputs":[{"name":"","type":"address"}]}]
Contract Creation Code
60206101806080396080518060a01c61017b5760e05260e0516101005261015356600436101561000d57610127565b60046000601c376000513461012d576370a082318118610084576004358060a01c61012d5760e05263bbf7408a6101005260e051610120526020610100602461011c6020602038036080396080515afa61006c573d600060003e3d6000fd5b601f3d111561012d5761010051610140526020610140f35b6318160ddd81186100dc576318160ddd60e052602060e0600460fc7312f407340697ae0b177546e535b91a5be021fbf95afa6100c5573d600060003e3d6000fd5b601f3d111561012d5760e051610120526020610120f35b6348798bd681186100fc5760206020380360803960805160e052602060e0f35b63215fe84e8118610125577312f407340697ae0b177546e535b91a5be021fbf960e052602060e0f35b505b60006000fd5b600080fd5b6100216101530361002161012039610021610153036101005181610120015280602001610120f35b600080fd00000000000000000000000028987563f563d2abcb6d74cdf37bdfb5f566ea79
Deployed Bytecode
0x600436101561000d57610127565b60046000601c376000513461012d576370a082318118610084576004358060a01c61012d5760e05263bbf7408a6101005260e051610120526020610100602461011c6020602038036080396080515afa61006c573d600060003e3d6000fd5b601f3d111561012d5761010051610140526020610140f35b6318160ddd81186100dc576318160ddd60e052602060e0600460fc7312f407340697ae0b177546e535b91a5be021fbf95afa6100c5573d600060003e3d6000fd5b601f3d111561012d5760e051610120526020610120f35b6348798bd681186100fc5760206020380360803960805160e052602060e0f35b63215fe84e8118610125577312f407340697ae0b177546e535b91a5be021fbf960e052602060e0f35b505b60006000fd5b600080fd00000000000000000000000028987563f563d2abcb6d74cdf37bdfb5f566ea79
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000028987563f563d2abcb6d74cdf37bdfb5f566ea79
-----Decoded View---------------
Arg [0] : _ve_boost (address): 0x28987563F563d2abcB6d74cdF37BDFB5F566Ea79
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000028987563f563d2abcb6d74cdf37bdfb5f566ea79
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.