Source Code
Latest 25 from a total of 887 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Multi Send | 25275458 | 64 days ago | IN | 0 ETH | 0.00000006 | ||||
| Multi Send | 22286331 | 117 days ago | IN | 0 ETH | 0.0000063 | ||||
| Multi Send | 21792372 | 124 days ago | IN | 0 ETH | 0.00000336 | ||||
| Multi Send | 21780125 | 125 days ago | IN | 0 ETH | 0.00000044 | ||||
| Multi Send | 21334944 | 132 days ago | IN | 0 ETH | 0.00001977 | ||||
| Multi Send | 21020026 | 136 days ago | IN | 0 ETH | 0.0000034 | ||||
| Multi Send | 20489611 | 145 days ago | IN | 0 ETH | 0.00000358 | ||||
| Multi Send | 20030599 | 154 days ago | IN | 0 ETH | 0.00000487 | ||||
| Multi Send | 19967828 | 155 days ago | IN | 0 ETH | 0.00001247 | ||||
| Multi Send | 19016164 | 166 days ago | IN | 0 ETH | 0.00000002 | ||||
| Multi Send | 18754891 | 169 days ago | IN | 0 ETH | 0.00000786 | ||||
| Multi Send | 18678689 | 170 days ago | IN | 0 ETH | 0.00000566 | ||||
| Multi Send | 17101930 | 199 days ago | IN | 0 ETH | 0.00000049 | ||||
| Multi Send | 16944014 | 206 days ago | IN | 0 ETH | 0.00000155 | ||||
| Multi Send | 16889154 | 208 days ago | IN | 0 ETH | 0.00000103 | ||||
| Multi Send | 16887645 | 208 days ago | IN | 0 ETH | 0.00000214 | ||||
| Multi Send | 16403397 | 228 days ago | IN | 0 ETH | 0.00002904 | ||||
| Multi Send | 16335342 | 230 days ago | IN | 0 ETH | 0.00000857 | ||||
| Multi Send | 16243165 | 234 days ago | IN | 0 ETH | 0.00001647 | ||||
| Multi Send | 16134509 | 239 days ago | IN | 0 ETH | 0.00016715 | ||||
| Multi Send | 14375950 | 298 days ago | IN | 0 ETH | 0.00001106 | ||||
| Multi Send | 14366581 | 299 days ago | IN | 0 ETH | 0.00000988 | ||||
| Multi Send | 14366489 | 299 days ago | IN | 0 ETH | 0.0000207 | ||||
| Multi Send | 13981209 | 320 days ago | IN | 0 ETH | 0.00003377 | ||||
| Multi Send | 13831314 | 327 days ago | IN | 0 ETH | 0.00014891 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 185 | 839 days ago | Contract Creation | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MultiSendCallOnly
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: LGPL-3.0-only pragma solidity >=0.7.0 <0.9.0; /// @title Multi Send Call Only - Allows to batch multiple transactions into one, but only calls /// @author Stefan George - <[email protected]> /// @author Richard Meissner - <[email protected]> /// @notice The guard logic is not required here as this contract doesn't support nested delegate calls contract MultiSendCallOnly { /// @dev Sends multiple transactions and reverts all if one fails. /// @param transactions Encoded transactions. Each transaction is encoded as a packed bytes of /// operation has to be uint8(0) in this version (=> 1 byte), /// to as a address (=> 20 bytes), /// value as a uint256 (=> 32 bytes), /// data length as a uint256 (=> 32 bytes), /// data as bytes. /// see abi.encodePacked for more information on packed encoding /// @notice The code is for most part the same as the normal MultiSend (to keep compatibility), /// but reverts if a transaction tries to use a delegatecall. /// @notice This method is payable as delegatecalls keep the msg.value from the previous call /// If the calling method (e.g. execTransaction) received ETH this would revert otherwise function multiSend(bytes memory transactions) public payable { // solhint-disable-next-line no-inline-assembly assembly { let length := mload(transactions) let i := 0x20 for { // Pre block is not used in "while mode" } lt(i, length) { // Post block is not used in "while mode" } { // First byte of the data is the operation. // We shift by 248 bits (256 - 8 [operation byte]) it right since mload will always load 32 bytes (a word). // This will also zero out unused data. let operation := shr(0xf8, mload(add(transactions, i))) // We offset the load address by 1 byte (operation byte) // We shift it right by 96 bits (256 - 160 [20 address bytes]) to right-align the data and zero out unused data. let to := shr(0x60, mload(add(transactions, add(i, 0x01)))) // We offset the load address by 21 byte (operation byte + 20 address bytes) let value := mload(add(transactions, add(i, 0x15))) // We offset the load address by 53 byte (operation byte + 20 address bytes + 32 value bytes) let dataLength := mload(add(transactions, add(i, 0x35))) // We offset the load address by 85 byte (operation byte + 20 address bytes + 32 value bytes + 32 data length bytes) let data := add(transactions, add(i, 0x55)) let success := 0 switch operation case 0 { success := call(gas(), to, value, data, dataLength, 0, 0) } // This version does not allow delegatecalls case 1 { revert(0, 0) } if eq(success, 0) { revert(0, 0) } // Next entry starts at 85 byte + data length i := add(i, add(0x55, dataLength)) } } } }
{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"bytes","name":"transactions","type":"bytes"}],"name":"multiSend","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5061019a806100206000396000f3fe60806040526004361061001e5760003560e01c80638d80ff0a14610023575b600080fd5b6100dc6004803603602081101561003957600080fd5b810190808035906020019064010000000081111561005657600080fd5b82018360208201111561006857600080fd5b8035906020019184600183028401116401000000008311171561008a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506100de565b005b805160205b8181101561015f578083015160f81c6001820184015160601c60158301850151603584018601516055850187016000856000811461012857600181146101385761013d565b6000808585888a5af1915061013d565b600080fd5b50600081141561014c57600080fd5b82605501870196505050505050506100e3565b50505056fea264697066735822122035246402746c96964495cae5b36461fd44dfb89f8e6cf6f6b8d60c0aa89f414864736f6c63430007060033
Deployed Bytecode
0x60806040526004361061001e5760003560e01c80638d80ff0a14610023575b600080fd5b6100dc6004803603602081101561003957600080fd5b810190808035906020019064010000000081111561005657600080fd5b82018360208201111561006857600080fd5b8035906020019184600183028401116401000000008311171561008a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506100de565b005b805160205b8181101561015f578083015160f81c6001820184015160601c60158301850151603584018601516055850187016000856000811461012857600181146101385761013d565b6000808585888a5af1915061013d565b600080fd5b50600081141561014c57600080fd5b82605501870196505050505050506100e3565b50505056fea264697066735822122035246402746c96964495cae5b36461fd44dfb89f8e6cf6f6b8d60c0aa89f414864736f6c63430007060033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.