Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 33 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Distribute | 19709667 | 678 days ago | IN | 0 ETH | 0.03706482 | ||||
| Distribute | 19182596 | 752 days ago | IN | 0 ETH | 0.17736234 | ||||
| Distribute | 19084374 | 766 days ago | IN | 0 ETH | 0.17055576 | ||||
| Distribute | 18983014 | 780 days ago | IN | 0 ETH | 0.09764584 | ||||
| Distribute | 18888075 | 793 days ago | IN | 0 ETH | 0.08716453 | ||||
| Distribute | 18784069 | 808 days ago | IN | 0 ETH | 0.16440856 | ||||
| Distribute | 18683483 | 822 days ago | IN | 0 ETH | 0.13405698 | ||||
| Distribute | 18585476 | 835 days ago | IN | 0 ETH | 0.21504072 | ||||
| Distribute | 18483674 | 850 days ago | IN | 0 ETH | 0.08768389 | ||||
| Distribute | 18383389 | 864 days ago | IN | 0 ETH | 0.03651899 | ||||
| Distribute | 18282930 | 878 days ago | IN | 0 ETH | 0.02831766 | ||||
| Distribute | 18184784 | 892 days ago | IN | 0 ETH | 0.0719746 | ||||
| Distribute | 18083802 | 906 days ago | IN | 0 ETH | 0.06833686 | ||||
| Distribute | 17983520 | 920 days ago | IN | 0 ETH | 0.07658278 | ||||
| Distribute | 17883281 | 934 days ago | IN | 0 ETH | 0.06908152 | ||||
| Distribute | 17782498 | 948 days ago | IN | 0 ETH | 0.09331547 | ||||
| Distribute | 17689666 | 961 days ago | IN | 0 ETH | 0.08389022 | ||||
| Distribute | 17587632 | 975 days ago | IN | 0 ETH | 0.16252751 | ||||
| Distribute | 17483865 | 990 days ago | IN | 0 ETH | 0.08957195 | ||||
| Distribute | 17384472 | 1004 days ago | IN | 0 ETH | 0.15547597 | ||||
| Distribute | 17284105 | 1018 days ago | IN | 0 ETH | 0.22954174 | ||||
| Distribute | 17185697 | 1032 days ago | IN | 0 ETH | 0.25391776 | ||||
| Distribute | 17086515 | 1046 days ago | IN | 0 ETH | 0.29850596 | ||||
| Distribute | 16989413 | 1060 days ago | IN | 0 ETH | 0.09861605 | ||||
| Distribute | 16918018 | 1070 days ago | IN | 0 ETH | 0.0911846 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Vyper_contract
Compiler Version
vyper:0.3.7
Contract Source Code (Vyper language format)
# @version 0.3.7
"""
@title call_me
@license MIT
@author Long J'hat
@notice
One function call to distribute Fixed Forex rewards.
-- It works, until it doesn't.
"""
from vyper.interfaces import ERC20
interface controller:
def profit(): nonpayable
interface ib_burner:
def update_snx(): nonpayable
def exchange_all(): nonpayable
def distribute(): nonpayable
MSIG: constant(address) = 0x0D5Dc686d0a2ABBfDaFDFb4D0533E886517d4E83
CONTROLLER: immutable(controller)
BURNER: immutable(ib_burner)
@external
def __init__(control: controller, burn: ib_burner):
CONTROLLER = control
BURNER = burn
@external
def distribute(update: bool):
CONTROLLER.profit()
if update:
BURNER.update_snx()
BURNER.exchange_all()
BURNER.distribute()
@payable
@external
def __default__():
pass
@external
def collect_eth():
assert msg.sender == MSIG # !msig
send(msg.sender, self.balance)
@external
def collect_dust(token: ERC20):
assert msg.sender == MSIG # !msig
assert token.transfer(msg.sender, token.balanceOf(self), default_return_value=True)Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"control","type":"address"},{"name":"burn","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"distribute","inputs":[{"name":"update","type":"bool"}],"outputs":[]},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"nonpayable","type":"function","name":"collect_eth","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"collect_dust","inputs":[{"name":"token","type":"address"}],"outputs":[]}]Contract Creation Code
60206102b36000396000518060a01c6102ae5760405260206102d36000396000518060a01c6102ae57606052346102ae5760405161025d5260605161027d5261025d6100506100003961029d610000f36003361161000c57610249565b60003560e01c63c1c9ec84811861011f576024361061024b576004358060011c61024b576040523461024b57602061025d6000396000516366d16cc3606052803b1561024b57600060606004607c6000855af161006e573d600060003e3d6000fd5b50604051156100af57602061027d60003960005163db396f48606052803b1561024b57600060606004607c6000855af16100ad573d600060003e3d6000fd5b505b602061027d6000396000516385cf5a30606052803b1561024b57600060606004607c6000855af16100e5573d600060003e3d6000fd5b50602061027d60003960005163e4fc6b6d606052803b1561024b57600060606004607c6000855af161011c573d600060003e3d6000fd5b50005b63d07af4048118610166576004361061024b573461024b57730d5dc686d0a2abbfdafdfb4d0533e886517d4e83331861024b57600060006000600047336000f11561024b57005b638956c9838118610247576024361061024b576004358060a01c61024b576040523461024b57730d5dc686d0a2abbfdafdfb4d0533e886517d4e83331861024b5760405163a9059cbb60a0523360c0526040516370a0823160605230608052602060606024607c845afa6101df573d600060003e3d6000fd5b60203d1061024b57606090505160e052602060a0604460bc6000855af161020b573d600060003e3d6000fd5b3d61022257803b1561024b5760016101005261023a565b60203d1061024b5760a0518060011c61024b57610100525b6101009050511561024b57005b505b005b600080fda165767970657283000307000b005b600080fd000000000000000000000000a511da90c2f4c557456cd84cd003a1f74c202d8000000000000000000000000035793cc725a97a761f3418ff6fa11c70255969b7
Deployed Bytecode
0x6003361161000c57610249565b60003560e01c63c1c9ec84811861011f576024361061024b576004358060011c61024b576040523461024b57602061025d6000396000516366d16cc3606052803b1561024b57600060606004607c6000855af161006e573d600060003e3d6000fd5b50604051156100af57602061027d60003960005163db396f48606052803b1561024b57600060606004607c6000855af16100ad573d600060003e3d6000fd5b505b602061027d6000396000516385cf5a30606052803b1561024b57600060606004607c6000855af16100e5573d600060003e3d6000fd5b50602061027d60003960005163e4fc6b6d606052803b1561024b57600060606004607c6000855af161011c573d600060003e3d6000fd5b50005b63d07af4048118610166576004361061024b573461024b57730d5dc686d0a2abbfdafdfb4d0533e886517d4e83331861024b57600060006000600047336000f11561024b57005b638956c9838118610247576024361061024b576004358060a01c61024b576040523461024b57730d5dc686d0a2abbfdafdfb4d0533e886517d4e83331861024b5760405163a9059cbb60a0523360c0526040516370a0823160605230608052602060606024607c845afa6101df573d600060003e3d6000fd5b60203d1061024b57606090505160e052602060a0604460bc6000855af161020b573d600060003e3d6000fd5b3d61022257803b1561024b5760016101005261023a565b60203d1061024b5760a0518060011c61024b57610100525b6101009050511561024b57005b505b005b600080fda165767970657283000307000b000000000000000000000000a511da90c2f4c557456cd84cd003a1f74c202d8000000000000000000000000035793cc725a97a761f3418ff6fa11c70255969b7
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000A511dA90c2f4c557456cD84CD003A1F74C202d8000000000000000000000000035793cc725a97a761F3418FF6Fa11c70255969B7
-----Decoded View---------------
Arg [0] : control (address): 0xA511dA90c2f4c557456cD84CD003A1F74C202d80
Arg [1] : burn (address): 0x35793cc725a97a761F3418FF6Fa11c70255969B7
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000A511dA90c2f4c557456cD84CD003A1F74C202d80
Arg [1] : 00000000000000000000000035793cc725a97a761F3418FF6Fa11c70255969B7
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
[ 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.