Source Code
Overview
HYPE Balance
HYPE Value
$0.00Latest 25 from a total of 1,761 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exec_606Ba Xt | 7787428 | 1 hr ago | IN | 0 HYPE | 0.00004121 | ||||
Exec_606Ba Xt | 7787408 | 1 hr ago | IN | 0 HYPE | 0.00011991 | ||||
Exec_606Ba Xt | 7787392 | 1 hr ago | IN | 0 HYPE | 0.0000861 | ||||
Exec_606Ba Xt | 7787372 | 1 hr ago | IN | 0 HYPE | 0.00008647 | ||||
Exec_606Ba Xt | 7787355 | 1 hr ago | IN | 0 HYPE | 0.00010992 | ||||
Exec_606Ba Xt | 7787338 | 1 hr ago | IN | 0 HYPE | 0.00010762 | ||||
Exec_606Ba Xt | 7787310 | 1 hr ago | IN | 0 HYPE | 0.0000861 | ||||
Exec_606Ba Xt | 7787275 | 1 hr ago | IN | 0 HYPE | 0.00010763 | ||||
Exec_606Ba Xt | 7787257 | 1 hr ago | IN | 0 HYPE | 0.00010811 | ||||
Exec_606Ba Xt | 7787245 | 1 hr ago | IN | 0 HYPE | 0.00021527 | ||||
Exec_606Ba Xt | 7787228 | 1 hr ago | IN | 0 HYPE | 0.00010463 | ||||
Exec_606Ba Xt | 7787195 | 1 hr ago | IN | 0 HYPE | 0.00010045 | ||||
Exec_606Ba Xt | 7787175 | 1 hr ago | IN | 0 HYPE | 0.00010045 | ||||
Exec_606Ba Xt | 7787156 | 1 hr ago | IN | 0 HYPE | 0.00009782 | ||||
Exec_606Ba Xt | 7787145 | 1 hr ago | IN | 0 HYPE | 0.00009836 | ||||
Exec_606Ba Xt | 7787118 | 1 hr ago | IN | 0 HYPE | 0.00009327 | ||||
Exec_606Ba Xt | 7787098 | 1 hr ago | IN | 0 HYPE | 0.00009327 | ||||
Exec_606Ba Xt | 7787077 | 1 hr ago | IN | 0 HYPE | 0.00009327 | ||||
Exec_606Ba Xt | 7787061 | 1 hr ago | IN | 0 HYPE | 0.00010006 | ||||
Exec_606Ba Xt | 7787039 | 1 hr ago | IN | 0 HYPE | 0.00010223 | ||||
Exec_606Ba Xt | 7787020 | 1 hr ago | IN | 0 HYPE | 0.00009327 | ||||
Exec_606Ba Xt | 7786998 | 1 hr ago | IN | 0 HYPE | 0.0000861 | ||||
Exec_606Ba Xt | 7786978 | 1 hr ago | IN | 0 HYPE | 0.00009327 | ||||
Exec_606Ba Xt | 7786959 | 1 hr ago | IN | 0 HYPE | 0.00009327 | ||||
Exec_606Ba Xt | 7786934 | 1 hr ago | IN | 0 HYPE | 0.00021754 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Executor
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.25; import { IExecutor, Placeholder } from "./interfaces/IExecutor.sol"; uint256 constant FALLBACK_CONTEXT_TLOC = 0; contract Executor is IExecutor { address internal immutable OWNER; constructor(address _owner) { OWNER = _owner; } /* EXTERNAL */ /// @notice Executes a batch of calls. function exec_606BaXt(bytes[] memory data) external payable { require(msg.sender == OWNER); _multicall(data); } /// @notice Executes a normal call, requiring its success. /// @param target The target address to call. /// @param value The value of the call. /// @param context The 32-bytes concatenation of: /// - the address expected to call back. Set to address(0) to prevent any callback. /// - the expected callback data index. /// @param callData the calldata of the call. function call_g0oyU7o(address target, uint256 value, bytes32 context, bytes memory callData) public payable { require(msg.sender == address(this)); bytes32 prevContext = _tload(FALLBACK_CONTEXT_TLOC); _tstore(FALLBACK_CONTEXT_TLOC, context); (bool success, bytes memory returnData) = target.call{ value: value }(callData); if (!success) _revert(returnData); _tstore(FALLBACK_CONTEXT_TLOC, prevContext); } /// @notice Executes a normal call, requiring its success. /// @param target The target address to call. /// @param value The value of the call. /// @param context The 32-bytes concatenation of: /// - the address expected to call back. Set to address(0) to prevent any callback. /// - the expected callback data index. /// @param callData the calldata of the call. function callWithPlaceholders4845164670( address target, uint256 value, bytes32 context, bytes memory callData, Placeholder[] calldata placeholders ) external payable { for (uint256 i; i < placeholders.length; ++i) { Placeholder calldata placeholder = placeholders[i]; (bool success, bytes memory resData) = placeholder.to.staticcall(placeholder.data); if (!success) _revert(resData); uint64 offset = placeholder.offset; uint64 length = placeholder.length; uint64 resOffset = placeholder.resOffset; assembly ("memory-safe") { mcopy(add(callData, add(32, offset)), add(resData, add(32, resOffset)), length) } } call_g0oyU7o(target, value, context, callData); } /// @notice Transfers ETH to the recipient. /// @param recipient The recipient of the transfer. Set to address(0) to transfer to the coinbase. /// @param amount The amount to transfer. Automatically minimumed to the current ETH balance. function transfer(address recipient, uint256 amount) external payable { require(msg.sender == address(this)); if (recipient == address(0)) recipient = block.coinbase; amount = _min(amount, address(this).balance); (bool success, bytes memory returnData) = recipient.call{ value: amount }(""); if (!success) _revert(returnData); } receive() external payable { } fallback(bytes calldata) external payable returns (bytes memory returnData) { bytes32 context = _tload(FALLBACK_CONTEXT_TLOC); require(msg.sender == address(uint160(uint256(context)))); uint256 dataIndex = uint256(context >> 160); bytes memory fallbackData; assembly ("memory-safe") { let offset := add(4, calldataload(add(4, mul(32, dataIndex)))) let length := calldataload(offset) fallbackData := mload(0x40) calldatacopy(fallbackData, offset, add(32, length)) mstore(0x40, add(fallbackData, add(32, length))) } bytes[] memory multicallData; (multicallData, returnData) = abi.decode(fallbackData, (bytes[], bytes)); _multicall(multicallData); } /* INTERNAL */ /// @notice Executes a series of calls. function _multicall(bytes[] memory data) internal { for (uint256 i; i < data.length; ++i) { (bool success, bytes memory returnData) = address(this).call(data[i]); if (!success) _revert(returnData); } } /// @dev Bubbles up the revert reason / custom error encoded in `returnData`. /// @dev Assumes `returnData` is the return data of any kind of failing CALL to a contract. function _revert(bytes memory returnData) internal pure { uint256 length = returnData.length; require(length > 0); assembly ("memory-safe") { revert(add(32, returnData), length) } } function _tload(uint256 tloc) internal view returns (bytes32 value) { assembly ("memory-safe") { value := tload(tloc) } } function _tstore(uint256 tloc, bytes32 value) internal { assembly ("memory-safe") { tstore(tloc, value) } } function _min(uint256 x, uint256 y) internal pure returns (uint256 z) { assembly { z := xor(x, mul(xor(x, y), lt(y, x))) } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; struct Placeholder { address to; bytes data; uint64 offset; uint64 length; uint64 resOffset; } interface IExecutor { function exec_606BaXt(bytes[] memory data) external payable; function call_g0oyU7o(address target, uint256 value, bytes32 context, bytes memory callData) external payable; function callWithPlaceholders4845164670( address target, uint256 value, bytes32 context, bytes memory callData, Placeholder[] calldata placeholders ) external payable; function transfer(address recipient, uint256 amount) external payable; }
{ "evmVersion": "cancun", "libraries": {}, "metadata": { "appendCBOR": true, "bytecodeHash": "ipfs", "useLiteralContent": false }, "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "remappings": [ "@solmate/=lib/solmate/src/", "@forge-std/=lib/forge-std/src/", "forge-std/=lib/forge-std/src/", "@ds-test/=lib/forge-std/lib/ds-test/src/", "ds-test/=lib/forge-std/lib/ds-test/src/", "@openzeppelin/=lib/openzeppelin-contracts/", "@ion-protocol/=lib/nucleus-boring-vault/lib/ion-protocol/src/", "@layerzerolabs/=node_modules/@layerzerolabs/", "@executooor/=lib/executooor/contracts/", "@uniswap-core/=lib/v3-core/contracts/", "@uniswap-periphery/=lib/v3-periphery/contracts/", "1inch-v2-contracts/=lib/1inch-v2-contracts/contracts/", "@axelar-network/=node_modules/@axelar-network/", "@balancer-labs/v2-interfaces/=lib/nucleus-boring-vault/lib/ion-protocol/lib/balancer-v2-monorepo/pkg/interfaces/", "@balancer-labs/v2-pool-stable/=lib/nucleus-boring-vault/lib/ion-protocol/lib/balancer-v2-monorepo/pkg/pool-stable/", "@chainlink/=node_modules/@chainlink/", "@chainlink/contracts/=lib/nucleus-boring-vault/lib/ion-protocol/lib/chainlink/contracts/", "@eth-optimism/=node_modules/@eth-optimism/", "@openzeppelin/contracts-upgradeable/=lib/nucleus-boring-vault/lib/ion-protocol/lib/openzeppelin-contracts-upgradeable/contracts/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "@uniswap/v3-core/=lib/nucleus-boring-vault/lib/ion-protocol/lib/v3-core/", "@uniswap/v3-periphery/=lib/nucleus-boring-vault/lib/ion-protocol/lib/v3-periphery/", "balancer-v2-monorepo/=lib/nucleus-boring-vault/lib/ion-protocol/lib/", "chainlink/=lib/nucleus-boring-vault/lib/ion-protocol/lib/chainlink/", "createx/=lib/nucleus-boring-vault/lib/createx/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "executooor/=lib/executooor/contracts/", "forge-safe/=lib/nucleus-boring-vault/lib/ion-protocol/lib/forge-safe/", "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/", "hardhat-deploy/=node_modules/hardhat-deploy/", "ion-protocol/=lib/nucleus-boring-vault/lib/ion-protocol/", "nucleus-boring-vault/=lib/nucleus-boring-vault/", "openzeppelin-contracts-upgradeable/=lib/nucleus-boring-vault/lib/ion-protocol/lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/nucleus-boring-vault/lib/createx/lib/openzeppelin-contracts/contracts/", "pendle-core-v2-public/=lib/nucleus-boring-vault/lib/ion-protocol/lib/pendle-core-v2-public/contracts/", "solady/=lib/nucleus-boring-vault/lib/ion-protocol/lib/solady/", "solarray/=lib/nucleus-boring-vault/lib/ion-protocol/lib/solarray/src/", "solidity-bytes-utils/=node_modules/solidity-bytes-utils/", "solidity-stringutils/=lib/nucleus-boring-vault/lib/ion-protocol/lib/forge-safe/lib/surl/lib/solidity-stringutils/", "solmate/=lib/solmate/src/", "surl/=lib/nucleus-boring-vault/lib/ion-protocol/lib/forge-safe/lib/surl/", "v3-core/=lib/v3-core/", "v3-periphery/=lib/v3-periphery/contracts/" ], "viaIR": true }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes32","name":"context","type":"bytes32"},{"internalType":"bytes","name":"callData","type":"bytes"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint64","name":"offset","type":"uint64"},{"internalType":"uint64","name":"length","type":"uint64"},{"internalType":"uint64","name":"resOffset","type":"uint64"}],"internalType":"struct Placeholder[]","name":"placeholders","type":"tuple[]"}],"name":"callWithPlaceholders4845164670","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes32","name":"context","type":"bytes32"},{"internalType":"bytes","name":"callData","type":"bytes"}],"name":"call_g0oyU7o","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"exec_606BaXt","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a034606657601f61065538819003918201601f19168301916001600160401b03831184841017606a57808492602094604052833981010312606657516001600160a01b03811681036066576080526040516105d6908161007f8239608051816103500152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe604060808152600480361015610117575b3615610115575f5c6001600160a01b03811633036100ec576c1fffffffffffffffffffffffe090609b1c1681013501803590825190602092839181830190843782010183528051810183828483019203126100ec57828201519067ffffffffffffffff918281116100ec5783019481603f870112156100ec57848601519561009f61009a8861049a565b610408565b96828789838152019160051b830101918483116100ec57838101915b8383106100f057505050508301519182116100ec57836100e0926100e694010161051a565b92610564565b81519101f35b5f80fd5b82518781116100ec57899161010a8888859487010161051a565b8152019201916100bb565b005b5f3560e01c80156103ad57806001146102e9578060021461019b5763a9059cbb0361001057503660031901126100ec5761014f6103f2565b806024353033036100ec575f918291829182916001600160a01b03871615610193575b478181109082180218905af16101866104b2565b901561018e57005b610556565b419150610172565b5060a03660031901126100ec576101b06103f2565b60249267ffffffffffffffff926064604481358681116100ec576101d7903690850161045e565b95608494608435948286116100ec57366023870112156100ec5785013598828a116100ec576005993660248260051b890101116100ec57953681900360c21901905f5b888110610231576101158c6044356024358e6104d7565b83818e1b83010135838112156100ec578201848101356001600160a01b03811681036100ec5788820135604219833603018112156100ec5782019086820135918983116100ec578a019082360382136100ec57825f939284938b519283928337810184815203915afa906102a36104b2565b91156102e357908d60a48d846102c86102c08f6001999801610505565b928201610505565b946102d7602094859301610505565b01019201015e0161021a565b50610556565b506020806003193601126100ec57813567ffffffffffffffff928382116100ec57366023830112156100ec5781013560249061032761009a8261049a565b946024602087848152019260051b850101933685116100ec5760248101925b85841061038757877f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100ec5761011590610564565b83358381116100ec5787916103a2839288369187010161045e565b815201930192610346565b5060803660031901126100ec576103c26103f2565b60643567ffffffffffffffff81116100ec57610115926103e49136910161045e565b9060443590602435906104d7565b600435906001600160a01b03821682036100ec57565b6040519190601f01601f1916820167ffffffffffffffff81118382101761042e57604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff811161042e57601f01601f191660200190565b81601f820112156100ec5780359061047861009a83610442565b92828452602083830101116100ec57815f926020809301838601378301015290565b67ffffffffffffffff811161042e5760051b60200190565b3d156104d2573d906104c661009a83610442565b9182523d5f602084013e565b606090565b91923033036100ec575f928392835c95845d602083519301915af16104fa6104b2565b901561018e57505f5d565b3567ffffffffffffffff811681036100ec5790565b81601f820112156100ec5780519061053461009a83610442565b92828452602083830101116100ec57815f9260208093018386015e8301015290565b80519081156100ec57602001fd5b5f5b815181101561059c575f806020808460051b86010151908151910182305af161058d6104b2565b901561018e5750600101610566565b505056fea26469706673582212202f653e6d557f45082aa0760d096395c46fae8163b5c3eb1d2f7bb5d820c95d1264736f6c6343000819003300000000000000000000000091fd026e78d50b64ba2528f1edaa0c31cc8d0049
Deployed Bytecode
0x604060808152600480361015610117575b3615610115575f5c6001600160a01b03811633036100ec576c1fffffffffffffffffffffffe090609b1c1681013501803590825190602092839181830190843782010183528051810183828483019203126100ec57828201519067ffffffffffffffff918281116100ec5783019481603f870112156100ec57848601519561009f61009a8861049a565b610408565b96828789838152019160051b830101918483116100ec57838101915b8383106100f057505050508301519182116100ec57836100e0926100e694010161051a565b92610564565b81519101f35b5f80fd5b82518781116100ec57899161010a8888859487010161051a565b8152019201916100bb565b005b5f3560e01c80156103ad57806001146102e9578060021461019b5763a9059cbb0361001057503660031901126100ec5761014f6103f2565b806024353033036100ec575f918291829182916001600160a01b03871615610193575b478181109082180218905af16101866104b2565b901561018e57005b610556565b419150610172565b5060a03660031901126100ec576101b06103f2565b60249267ffffffffffffffff926064604481358681116100ec576101d7903690850161045e565b95608494608435948286116100ec57366023870112156100ec5785013598828a116100ec576005993660248260051b890101116100ec57953681900360c21901905f5b888110610231576101158c6044356024358e6104d7565b83818e1b83010135838112156100ec578201848101356001600160a01b03811681036100ec5788820135604219833603018112156100ec5782019086820135918983116100ec578a019082360382136100ec57825f939284938b519283928337810184815203915afa906102a36104b2565b91156102e357908d60a48d846102c86102c08f6001999801610505565b928201610505565b946102d7602094859301610505565b01019201015e0161021a565b50610556565b506020806003193601126100ec57813567ffffffffffffffff928382116100ec57366023830112156100ec5781013560249061032761009a8261049a565b946024602087848152019260051b850101933685116100ec5760248101925b85841061038757877f00000000000000000000000091fd026e78d50b64ba2528f1edaa0c31cc8d00496001600160a01b031633036100ec5761011590610564565b83358381116100ec5787916103a2839288369187010161045e565b815201930192610346565b5060803660031901126100ec576103c26103f2565b60643567ffffffffffffffff81116100ec57610115926103e49136910161045e565b9060443590602435906104d7565b600435906001600160a01b03821682036100ec57565b6040519190601f01601f1916820167ffffffffffffffff81118382101761042e57604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff811161042e57601f01601f191660200190565b81601f820112156100ec5780359061047861009a83610442565b92828452602083830101116100ec57815f926020809301838601378301015290565b67ffffffffffffffff811161042e5760051b60200190565b3d156104d2573d906104c661009a83610442565b9182523d5f602084013e565b606090565b91923033036100ec575f928392835c95845d602083519301915af16104fa6104b2565b901561018e57505f5d565b3567ffffffffffffffff811681036100ec5790565b81601f820112156100ec5780519061053461009a83610442565b92828452602083830101116100ec57815f9260208093018386015e8301015290565b80519081156100ec57602001fd5b5f5b815181101561059c575f806020808460051b86010151908151910182305af161058d6104b2565b901561018e5750600101610566565b505056fea26469706673582212202f653e6d557f45082aa0760d096395c46fae8163b5c3eb1d2f7bb5d820c95d1264736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000091fd026e78d50b64ba2528f1edaa0c31cc8d0049
-----Decoded View---------------
Arg [0] : _owner (address): 0x91fd026E78d50b64BA2528f1edaA0c31Cc8D0049
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000091fd026e78d50b64ba2528f1edaa0c31cc8d0049
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.