Overview
APE Balance
0 APE
APE Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 9,670 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Liquidate | 4877467 | 2 mins ago | IN | 0 APE | 0.00099849 | ||||
Liquidate | 4877465 | 2 mins ago | IN | 0 APE | 0.00570554 | ||||
Liquidate | 4877463 | 2 mins ago | IN | 0 APE | 0.00579548 | ||||
Liquidate | 4877339 | 3 mins ago | IN | 0 APE | 0.00570531 | ||||
Liquidate | 4877335 | 3 mins ago | IN | 0 APE | 0.00570737 | ||||
Liquidate | 4877334 | 3 mins ago | IN | 0 APE | 0.00570412 | ||||
Liquidate | 4877330 | 3 mins ago | IN | 0 APE | 0.00579563 | ||||
Liquidate | 4876954 | 8 mins ago | IN | 0 APE | 0.00570854 | ||||
Liquidate | 4876952 | 8 mins ago | IN | 0 APE | 0.00592734 | ||||
Liquidate | 4876860 | 10 mins ago | IN | 0 APE | 0.00579556 | ||||
Liquidate | 4876805 | 10 mins ago | IN | 0 APE | 0.00579556 | ||||
Liquidate | 4876755 | 11 mins ago | IN | 0 APE | 0.00099849 | ||||
Liquidate | 4876750 | 11 mins ago | IN | 0 APE | 0.00579518 | ||||
Liquidate | 4876601 | 13 mins ago | IN | 0 APE | 0.00570669 | ||||
Liquidate | 4876600 | 13 mins ago | IN | 0 APE | 0.00579395 | ||||
Liquidate | 4876500 | 14 mins ago | IN | 0 APE | 0.00579586 | ||||
Liquidate | 4876399 | 15 mins ago | IN | 0 APE | 0.00570623 | ||||
Liquidate | 4876396 | 15 mins ago | IN | 0 APE | 0.00570409 | ||||
Liquidate | 4876394 | 15 mins ago | IN | 0 APE | 0.00570618 | ||||
Liquidate | 4876393 | 15 mins ago | IN | 0 APE | 0.00579647 | ||||
Liquidate | 4876351 | 16 mins ago | IN | 0 APE | 0.00579533 | ||||
Liquidate | 4876333 | 16 mins ago | IN | 0 APE | 0.00570671 | ||||
Liquidate | 4876331 | 16 mins ago | IN | 0 APE | 0.00570694 | ||||
Liquidate | 4876330 | 16 mins ago | IN | 0 APE | 0.005709 | ||||
Liquidate | 4876327 | 16 mins ago | IN | 0 APE | 0.00570486 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Liquidator
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; interface ITopTrader { function liquidate(uint256 tournamentId, address[] calldata users, bytes[] calldata priceUpdate) external; function owner() external view returns (address); } contract Liquidator { error FailedToWithdraw(); ITopTrader public immutable TOP_TRADER; constructor(address _topTrader) { TOP_TRADER = ITopTrader(_topTrader); } receive() external payable {} function liquidate(uint256 tournamentId, address[] calldata users, bytes[] calldata priceUpdate) external { TOP_TRADER.liquidate(tournamentId, users, priceUpdate); } function withdraw() external { (bool success,) = payable(TOP_TRADER.owner()).call{value: address(this).balance}(""); if (!success) revert FailedToWithdraw(); } }
{ "remappings": [ "forge-std/=lib/forge-std/src/", "solady/=lib/solady/src/", "pyth/=lib/pyth-sdk-solidity/", "NFTMIrror/=lib/NFTMIrror/src/", "pyth-sdk-solidity/=lib/pyth-sdk-solidity/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_topTrader","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedToWithdraw","type":"error"},{"inputs":[],"name":"TOP_TRADER","outputs":[{"internalType":"contract ITopTrader","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tournamentId","type":"uint256"},{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"bytes[]","name":"priceUpdate","type":"bytes[]"}],"name":"liquidate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a034607557601f6104d838819003918201601f19168301916001600160401b03831184841017607a57808492602094604052833981010312607557516001600160a01b0381169081900360755760805260405161044790816100918239608051818181609d0152818161024a015261029d0152f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe608080604052600436101561001d575b50361561001b57600080fd5b005b60009081803560e01c9182633ccfd60b14610279575050806353b97dde14610234576354343c550361000f57346102315760603660031901126102315760243567ffffffffffffffff81116101e65761007a9036906004016103a3565b9060443567ffffffffffffffff811161022f5761009b9036906004016103a3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692833b1561022b57939085926040519586936354343c5560e01b855280606486016004356004880152606060248801525260848501919086905b8082106101ee57505050600319848203016044850152828152602081019260208160051b83010193838793601e1982360301905b848610610173575050505050505092818381819603925af18015610166576101585780f35b610161916103d9565b388180f35b50604051903d90823e3d90fd5b92959850929590939650601f198282030185528735838112156101ea5784018b60208235920167ffffffffffffffff83116101e65782360381136101e65782845260019360209384938493829085850137838284010152601f80199101160101990195019601928a9795928a9792610133565b5080fd5b8b80fd5b93965093945092919083356001600160a01b038116919082900361022757602081600193829352019401920191889592889594926100ff565b8980fd5b8580fd5b835b80fd5b50346102315780600319360112610231576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b81903461038d578160031936011261038d57638da5cb5b60e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156103985782918291610350575b508190819047906001600160a01b03165af13d1561034b573d67ffffffffffffffff81116103375760405190610316601f8201601f1916602001836103d9565b81528260203d92013e5b156103285780f35b632684a07960e01b8152600490fd5b634e487b7160e01b83526041600452602483fd5b610320565b9150506020813d602011610390575b8161036c602093836103d9565b8101031261038d57516001600160a01b038116810361038d578190816102d6565b50fd5b3d915061035f565b6040513d84823e3d90fd5b9181601f840112156103d45782359167ffffffffffffffff83116103d4576020808501948460051b0101116103d457565b600080fd5b90601f8019910116810190811067ffffffffffffffff8211176103fb57604052565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b349a90a3b485ce7fa6c32ca25be3c55602421fe2efb7d630016021cf543b4b664736f6c634300081c003300000000000000000000000055e0007700c92c095078000b0000b1000000804e
Deployed Bytecode
0x608080604052600436101561001d575b50361561001b57600080fd5b005b60009081803560e01c9182633ccfd60b14610279575050806353b97dde14610234576354343c550361000f57346102315760603660031901126102315760243567ffffffffffffffff81116101e65761007a9036906004016103a3565b9060443567ffffffffffffffff811161022f5761009b9036906004016103a3565b7f00000000000000000000000055e0007700c92c095078000b0000b1000000804e6001600160a01b031692833b1561022b57939085926040519586936354343c5560e01b855280606486016004356004880152606060248801525260848501919086905b8082106101ee57505050600319848203016044850152828152602081019260208160051b83010193838793601e1982360301905b848610610173575050505050505092818381819603925af18015610166576101585780f35b610161916103d9565b388180f35b50604051903d90823e3d90fd5b92959850929590939650601f198282030185528735838112156101ea5784018b60208235920167ffffffffffffffff83116101e65782360381136101e65782845260019360209384938493829085850137838284010152601f80199101160101990195019601928a9795928a9792610133565b5080fd5b8b80fd5b93965093945092919083356001600160a01b038116919082900361022757602081600193829352019401920191889592889594926100ff565b8980fd5b8580fd5b835b80fd5b50346102315780600319360112610231576040517f00000000000000000000000055e0007700c92c095078000b0000b1000000804e6001600160a01b03168152602090f35b81903461038d578160031936011261038d57638da5cb5b60e01b81526020816004817f00000000000000000000000055e0007700c92c095078000b0000b1000000804e6001600160a01b03165afa80156103985782918291610350575b508190819047906001600160a01b03165af13d1561034b573d67ffffffffffffffff81116103375760405190610316601f8201601f1916602001836103d9565b81528260203d92013e5b156103285780f35b632684a07960e01b8152600490fd5b634e487b7160e01b83526041600452602483fd5b610320565b9150506020813d602011610390575b8161036c602093836103d9565b8101031261038d57516001600160a01b038116810361038d578190816102d6565b50fd5b3d915061035f565b6040513d84823e3d90fd5b9181601f840112156103d45782359167ffffffffffffffff83116103d4576020808501948460051b0101116103d457565b600080fd5b90601f8019910116810190811067ffffffffffffffff8211176103fb57604052565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b349a90a3b485ce7fa6c32ca25be3c55602421fe2efb7d630016021cf543b4b664736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000055e0007700c92c095078000b0000b1000000804e
-----Decoded View---------------
Arg [0] : _topTrader (address): 0x55E0007700c92c095078000b0000B1000000804E
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000055e0007700c92c095078000b0000b1000000804e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.