Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 279 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Execute Multiple... | 20642305 | 37 hrs ago | IN | 0 ETH | 0.0013913 | ||||
Execute Multiple... | 20639983 | 45 hrs ago | IN | 0 ETH | 0.00036455 | ||||
Execute Multiple... | 20634227 | 2 days ago | IN | 0 ETH | 0.00020945 | ||||
Execute Multiple... | 20634065 | 2 days ago | IN | 0 ETH | 0.00063338 | ||||
Execute Multiple... | 20629029 | 3 days ago | IN | 0 ETH | 0.00046539 | ||||
Execute Multiple... | 20626413 | 3 days ago | IN | 0 ETH | 0.00035927 | ||||
Execute Multiple... | 20620217 | 4 days ago | IN | 0 ETH | 0.00027242 | ||||
Execute Multiple... | 20619373 | 4 days ago | IN | 0 ETH | 0.00047203 | ||||
Execute Multiple... | 20612421 | 5 days ago | IN | 0 ETH | 0.00050844 | ||||
Execute Multiple... | 20611139 | 5 days ago | IN | 0 ETH | 0.00074003 | ||||
Execute Multiple... | 20592559 | 8 days ago | IN | 0 ETH | 0.00235027 | ||||
Execute Multiple... | 20576361 | 10 days ago | IN | 0 ETH | 0.0002048 | ||||
Execute Multiple... | 20576351 | 10 days ago | IN | 0 ETH | 0.00085731 | ||||
Execute Multiple... | 20535063 | 16 days ago | IN | 0 ETH | 0.00179505 | ||||
Execute Multiple... | 20528607 | 17 days ago | IN | 0 ETH | 0.00094081 | ||||
Execute Multiple... | 20525847 | 17 days ago | IN | 0 ETH | 0.00048524 | ||||
Execute Multiple... | 20522476 | 18 days ago | IN | 0 ETH | 0.00136077 | ||||
Execute Multiple... | 20514424 | 19 days ago | IN | 0 ETH | 0.00180473 | ||||
Execute Multiple... | 20505892 | 20 days ago | IN | 0 ETH | 0.00086349 | ||||
Execute Multiple... | 20491691 | 22 days ago | IN | 0 ETH | 0.0010542 | ||||
Execute Multiple... | 20489873 | 22 days ago | IN | 0 ETH | 0.00080559 | ||||
Execute Multiple... | 20486432 | 23 days ago | IN | 0 ETH | 0.0010928 | ||||
Execute Multiple... | 20486432 | 23 days ago | IN | 0 ETH | 0.0015317 | ||||
Execute Multiple... | 20477208 | 24 days ago | IN | 0 ETH | 0.00128017 | ||||
Execute Multiple... | 20475870 | 24 days ago | IN | 0 ETH | 0.00048325 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MultiCallSender
Compiler Version
v0.8.19+commit.7dd6d404
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.0; import "./parts/SanderBusiness.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// @title MultiCallSender /// @notice A contract for validating and executing multiple ERC20 token transfers contract MultiCallSender is SanderBusiness, Ownable { /// @notice Validates multiple token transfer requests by checking contract presence and allowances. /// @param tokenAddresses The address of the ERC20 token contract. /// @param recipients An array of addresses to which the tokens are to be sent. /// @param amounts An array of token amounts to be transferred to the corresponding recipients. /// @return results array of Status structures indicating the possibility of each transfer. /// @dev The lengths of the `recipients` and `amounts` arrays must be equal. function validateMultipleSend(address[] memory tokenAddresses, address[] memory recipients, uint256[] memory amounts) external view returns (Status[] memory results) { require(recipients.length == amounts.length, "Incorrect parameters"); return _validateMultipleSend(tokenAddresses, recipients, amounts); } /// @notice Executes multiple token transfers after validating them. /// If a transfer fails, it will be skipped and the process will continue with the next one. /// @param tokenAddresses The address of the ERC20 token contract. /// @param recipients An array of addresses to which the tokens are to be sent. /// @param amounts An array of token amounts to be transferred to the corresponding recipients. /// @return results array of Status structures indicating the result of each transfer attempt. function executeMultipleSend(address[] memory tokenAddresses, address[] memory recipients, uint256[] memory amounts) public onlyOwner returns (Status[] memory results) { require(recipients.length == amounts.length, "Incorrect parameters"); return _executeMultipleSend(tokenAddresses, recipients, amounts); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract SanderLovlevel { using SafeERC20 for IERC20; /// @dev Attempts to transfer tokens from one address to another. /// @notice This function should only be called by this contract. /// It uses the `safeTransferFrom` function from the OpenZeppelin SafeERC20 library /// to move tokens safely, which includes handling tokens that do not throw on failure. /// @param token The IERC20 token interface being transferred. /// @param origin The address of the token holder (sender). /// @param beneficiary The address of the token receiver. /// @param amount The amount of tokens to be transferred. /// /// Requirements: /// - This function can only be called by the current contract instance. /// - The origin address must have already granted the contract an allowance for at least `amount`. function attemptTransfer(IERC20 token, address origin, address beneficiary, uint256 amount) external { require(msg.sender == address(this), "Only the contract can invoke this function."); token.safeTransferFrom(origin, beneficiary, amount); } /// @notice Check if the address is a contract. /// @param addr The address to be checked. /// @return True if the address is a contract, false otherwise. function isContract(address addr) internal view returns (bool) { uint256 codeSize; assembly { codeSize := extcodesize(addr) } return codeSize > 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./SanderLovlevel.sol"; /// @title MultiCallSender /// @notice A contract for validating and executing multiple ERC20 token transfers contract SanderBusiness is SanderLovlevel { /// @notice A structure to hold the status of a transfer to a recipient. struct Status { address recipient; /// @dev The address of the token transfer recipient. bool isCompleted; /// @dev A boolean indicating if the transfer is possible. string reason; /// @dev The reason why a transfer is not possible, if applicable. } /// @notice A structure to the token allowance struct Token { address tokenAddress; // The token contract address. uint256 allowance; // The amount of the token that the contract is allowed to use. } /** * @notice Initializes the allowance for each provided token address. * @param tokenAddresses An array of addresses of ERC20 token contracts. * @param owner The address of the token owner who granted the allowances. * @return results array of Token structs with initialized allowance information for each provided token. */ function _initTokenAllowance( address[] memory tokenAddresses, address owner ) internal view returns (Token[] memory results) { // Initialize temporary storage for unique token addresses. address[] memory uniqueAddresses = new address[](tokenAddresses.length); uint256 uniqueCount = 0; // Identify unique token addresses. for (uint256 i = 0; i < tokenAddresses.length; i++) { bool isUnique = true; for (uint256 j = 0; j < uniqueCount; j++) { if (tokenAddresses[i] == uniqueAddresses[j]) { isUnique = false; break; } } if (isUnique) { uniqueAddresses[uniqueCount] = tokenAddresses[i]; uniqueCount++; } } // Allocate and initialize the results array. results = new Token[](uniqueCount); for (uint256 i = 0; i < uniqueCount; i++) { results[i] = Token({ tokenAddress: uniqueAddresses[i], allowance: IERC20(uniqueAddresses[i]).allowance( owner, address(this) ) }); } } /** * @notice Retrieves the allowance and index for a specific token address within a list of Tokens. * @param tokenAddress The address of the ERC20 token contract. * @param tokens An array of Tokens to search within. * @return allowance The amount of tokens the contract is allowed to spend. * @return index The index of the token within the array. */ function _getTokenAllowance( address tokenAddress, Token[] memory tokens ) internal pure returns (uint256 allowance, uint256 index) { for (index = 0; index < tokens.length; index++) { if (tokens[index].tokenAddress == tokenAddress) { allowance = tokens[index].allowance; return (allowance, index); } } revert("Token not found"); } /// @notice Validates multiple token transfer requests by checking contract presence and allowances. /// @param tokenAddresses The address of the ERC20 token contract. /// @param recipients An array of addresses to which the tokens are to be sent. /// @param amounts An array of token amounts to be transferred to the corresponding recipients. /// @return results array of Status structures indicating the possibility of each transfer. /// @dev The lengths of the `recipients` and `amounts` arrays must be equal. function _validateMultipleSend( address[] memory tokenAddresses, address[] memory recipients, uint256[] memory amounts ) internal view returns (Status[] memory results) { require( tokenAddresses.length == recipients.length && recipients.length == amounts.length, "Incorrect parameters" ); Token[] memory tokens = _initTokenAllowance(tokenAddresses, address(msg.sender)); results = new Status[](recipients.length); for (uint256 i = 0; i < recipients.length; i++) { address tokenAddress = tokenAddresses[i]; (uint256 token_allowance, uint256 token_index) = _getTokenAllowance( tokenAddress, tokens ); if (isContract(recipients[i])) { results[i] = Status({ recipient: recipients[i], isCompleted: false, reason: "contract" }); continue; } if (token_allowance < amounts[i]) { results[i] = Status({ recipient: recipients[i], isCompleted: false, reason: "insufficient" }); continue; } tokens[token_index].allowance -= amounts[i]; results[i] = Status({ recipient: recipients[i], isCompleted: true, reason: "success" }); } return results; } /// @notice Executes multiple token transfers after validating them. /// If a transfer fails, it will be skipped and the process will continue with the next one. /// @param tokenAddresses An array of addresses to which the ERC20 token contracts. /// @param recipients An array of addresses to which the tokens are to be sent. /// @param amounts An array of token amounts to be transferred to the corresponding recipients. /// @return results array of Status structures indicating the result of each transfer attempt. function _executeMultipleSend( address [] memory tokenAddresses, address[] memory recipients, uint256[] memory amounts ) internal returns (Status[] memory results) { results = new Status[](recipients.length); // Initialize the array to hold the results. for (uint256 i = 0; i < recipients.length; i++) { // Attempt the transfer, catching any errors. try this.attemptTransfer( IERC20(tokenAddresses[i]), address(msg.sender), recipients[i], amounts[i] ) { // If the transfer succeeds, update the reason to 'transferred'. results[i] = Status({ recipient: recipients[i], isCompleted: true, reason: "transferred" }); } catch { // If there's an error, update the result entry to reflect that the transfer failed. results[i] = Status({ recipient: recipients[i], isCompleted: false, reason: "failed" }); } } return results; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"origin","type":"address"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"attemptTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"executeMultipleSend","outputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"isCompleted","type":"bool"},{"internalType":"string","name":"reason","type":"string"}],"internalType":"struct SanderBusiness.Status[]","name":"results","type":"tuple[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"validateMultipleSend","outputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"isCompleted","type":"bool"},{"internalType":"string","name":"reason","type":"string"}],"internalType":"struct SanderBusiness.Status[]","name":"results","type":"tuple[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6112818061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80631693074b1461006757806343f4b66a1461007c578063715018a6146100a5578063773b4140146100ad5780638da5cb5b146100c0578063f2fde38b146100db575b600080fd5b61007a610075366004610e49565b6100ee565b005b61008f61008a366004610f79565b610171565b60405161009c91906110a7565b60405180910390f35b61007a6101a7565b61008f6100bb366004610f79565b6101bb565b6000546040516001600160a01b03909116815260200161009c565b61007a6100e9366004611131565b6101f1565b3330146101565760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c792074686520636f6e74726163742063616e20696e766f6b652074686960448201526a3990333ab731ba34b7b71760a91b60648201526084015b60405180910390fd5b61016b6001600160a01b03851684848461026a565b50505050565b606081518351146101945760405162461bcd60e51b815260040161014d90611155565b61019f8484846102c4565b949350505050565b6101af6105d1565b6101b9600061062b565b565b60606101c56105d1565b81518351146101e65760405162461bcd60e51b815260040161014d90611155565b61019f84848461067b565b6101f96105d1565b6001600160a01b03811661025e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161014d565b6102678161062b565b50565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016b9085906108dc565b6060825184511480156102d8575081518351145b6102f45760405162461bcd60e51b815260040161014d90611155565b600061030085336109b6565b9050835167ffffffffffffffff81111561031c5761031c610e9a565b60405190808252806020026020018201604052801561036957816020015b6040805160608082018352600080835260208301529181019190915281526020019060019003908161033a5790505b50915060005b84518110156105c857600086828151811061038c5761038c611183565b602002602001015190506000806103a38386610c56565b915091506103ca8885815181106103bc576103bc611183565b60200260200101513b151590565b156104545760405180606001604052808986815181106103ec576103ec611183565b60200260200101516001600160a01b031681526020016000151581526020016040518060400160405280600881526020016718dbdb9d1c9858dd60c21b81525081525086858151811061044157610441611183565b60200260200101819052505050506105b6565b86848151811061046657610466611183565b60200260200101518210156104eb57604051806060016040528089868151811061049257610492611183565b60200260200101516001600160a01b031681526020016000151581526020016040518060400160405280600c81526020016b1a5b9cdd59999a58da595b9d60a21b81525081525086858151811061044157610441611183565b8684815181106104fd576104fd611183565b602002602001015185828151811061051757610517611183565b602002602001015160200181815161052f91906111af565b91508181525050604051806060016040528089868151811061055357610553611183565b60200260200101516001600160a01b03168152602001600115158152602001604051806040016040528060078152602001667375636365737360c81b8152508152508685815181106105a7576105a7611183565b60200260200101819052505050505b806105c0816111c8565b91505061036f565b50509392505050565b6000546001600160a01b031633146101b95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161014d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060825167ffffffffffffffff81111561069757610697610e9a565b6040519080825280602002602001820160405280156106e457816020015b604080516060808201835260008083526020830152918101919091528152602001906001900390816106b55790505b50905060005b83518110156108d457306001600160a01b0316631693074b86838151811061071457610714611183565b60200260200101513387858151811061072f5761072f611183565b602002602001015187868151811061074957610749611183565b60209081029190910101516040516001600160e01b031960e087901b1681526001600160a01b0394851660048201529284166024840152921660448201526064810191909152608401600060405180830381600087803b1580156107ac57600080fd5b505af19250505080156107bd575060015b6108415760405180606001604052808583815181106107de576107de611183565b60200260200101516001600160a01b031681526020016000151581526020016040518060400160405280600681526020016519985a5b195960d21b81525081525082828151811061083157610831611183565b60200260200101819052506108c2565b604051806060016040528085838151811061085e5761085e611183565b60200260200101516001600160a01b031681526020016001151581526020016040518060400160405280600b81526020016a1d1c985b9cd9995c9c995960aa1b8152508152508282815181106108b6576108b6611183565b60200260200101819052505b806108cc816111c8565b9150506106ea565b509392505050565b6000610931826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d119092919063ffffffff16565b905080516000148061095257508080602001905181019061095291906111e1565b6109b15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161014d565b505050565b60606000835167ffffffffffffffff8111156109d4576109d4610e9a565b6040519080825280602002602001820160405280156109fd578160200160208202803683370190505b5090506000805b8551811015610aec57600160005b83811015610a8057848181518110610a2c57610a2c611183565b60200260200101516001600160a01b0316888481518110610a4f57610a4f611183565b60200260200101516001600160a01b031603610a6e5760009150610a80565b80610a78816111c8565b915050610a12565b508015610ad957868281518110610a9957610a99611183565b6020026020010151848481518110610ab357610ab3611183565b6001600160a01b039092166020928302919091019091015282610ad5816111c8565b9350505b5080610ae4816111c8565b915050610a04565b508067ffffffffffffffff811115610b0657610b06610e9a565b604051908082528060200260200182016040528015610b4b57816020015b6040805180820190915260008082526020820152815260200190600190039081610b245790505b50925060005b81811015610c4d576040518060400160405280848381518110610b7657610b76611183565b60200260200101516001600160a01b03168152602001848381518110610b9e57610b9e611183565b6020908102919091010151604051636eb1769f60e11b81526001600160a01b0389811660048301523060248301529091169063dd62ed3e90604401602060405180830381865afa158015610bf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1a9190611203565b815250848281518110610c2f57610c2f611183565b60200260200101819052508080610c45906111c8565b915050610b51565b50505092915050565b6000805b8251811015610cd057836001600160a01b0316838281518110610c7f57610c7f611183565b6020026020010151600001516001600160a01b031603610cbe57828181518110610cab57610cab611183565b6020026020010151602001519150610d0a565b80610cc8816111c8565b915050610c5a565b60405162461bcd60e51b815260206004820152600f60248201526e151bdad95b881b9bdd08199bdd5b99608a1b604482015260640161014d565b9250929050565b606061019f848460008585600080866001600160a01b03168587604051610d38919061121c565b60006040518083038185875af1925050503d8060008114610d75576040519150601f19603f3d011682016040523d82523d6000602084013e610d7a565b606091505b5091509150610d8b87838387610d96565b979650505050505050565b60608315610e05578251600003610dfe576001600160a01b0385163b610dfe5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161014d565b508161019f565b61019f8383815115610e1a5781518083602001fd5b8060405162461bcd60e51b815260040161014d9190611238565b6001600160a01b038116811461026757600080fd5b60008060008060808587031215610e5f57600080fd5b8435610e6a81610e34565b93506020850135610e7a81610e34565b92506040850135610e8a81610e34565b9396929550929360600135925050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610ed957610ed9610e9a565b604052919050565b600067ffffffffffffffff821115610efb57610efb610e9a565b5060051b60200190565b600082601f830112610f1657600080fd5b81356020610f2b610f2683610ee1565b610eb0565b82815260059290921b84018101918181019086841115610f4a57600080fd5b8286015b84811015610f6e578035610f6181610e34565b8352918301918301610f4e565b509695505050505050565b600080600060608486031215610f8e57600080fd5b833567ffffffffffffffff80821115610fa657600080fd5b610fb287838801610f05565b9450602091508186013581811115610fc957600080fd5b610fd588828901610f05565b945050604086013581811115610fea57600080fd5b86019050601f81018713610ffd57600080fd5b803561100b610f2682610ee1565b81815260059190911b8201830190838101908983111561102a57600080fd5b928401925b828410156110485783358252928401929084019061102f565b80955050505050509250925092565b60005b8381101561107257818101518382015260200161105a565b50506000910152565b60008151808452611093816020860160208601611057565b601f01601f19169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561112357888303603f19018552815180516001600160a01b0316845287810151151588850152860151606087850181905261110f8186018361107b565b9689019694505050908601906001016110ce565b509098975050505050505050565b60006020828403121561114357600080fd5b813561114e81610e34565b9392505050565b602080825260149082015273496e636f727265637420706172616d657465727360601b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156111c2576111c2611199565b92915050565b6000600182016111da576111da611199565b5060010190565b6000602082840312156111f357600080fd5b8151801515811461114e57600080fd5b60006020828403121561121557600080fd5b5051919050565b6000825161122e818460208701611057565b9190910192915050565b60208152600061114e602083018461107b56fea26469706673582212205c7abc7fb092b8a5245e7b4c878aa70b5e5d0eb06852d17cef4e5346cb6dca3b64736f6c63430008130033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c80631693074b1461006757806343f4b66a1461007c578063715018a6146100a5578063773b4140146100ad5780638da5cb5b146100c0578063f2fde38b146100db575b600080fd5b61007a610075366004610e49565b6100ee565b005b61008f61008a366004610f79565b610171565b60405161009c91906110a7565b60405180910390f35b61007a6101a7565b61008f6100bb366004610f79565b6101bb565b6000546040516001600160a01b03909116815260200161009c565b61007a6100e9366004611131565b6101f1565b3330146101565760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c792074686520636f6e74726163742063616e20696e766f6b652074686960448201526a3990333ab731ba34b7b71760a91b60648201526084015b60405180910390fd5b61016b6001600160a01b03851684848461026a565b50505050565b606081518351146101945760405162461bcd60e51b815260040161014d90611155565b61019f8484846102c4565b949350505050565b6101af6105d1565b6101b9600061062b565b565b60606101c56105d1565b81518351146101e65760405162461bcd60e51b815260040161014d90611155565b61019f84848461067b565b6101f96105d1565b6001600160a01b03811661025e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161014d565b6102678161062b565b50565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016b9085906108dc565b6060825184511480156102d8575081518351145b6102f45760405162461bcd60e51b815260040161014d90611155565b600061030085336109b6565b9050835167ffffffffffffffff81111561031c5761031c610e9a565b60405190808252806020026020018201604052801561036957816020015b6040805160608082018352600080835260208301529181019190915281526020019060019003908161033a5790505b50915060005b84518110156105c857600086828151811061038c5761038c611183565b602002602001015190506000806103a38386610c56565b915091506103ca8885815181106103bc576103bc611183565b60200260200101513b151590565b156104545760405180606001604052808986815181106103ec576103ec611183565b60200260200101516001600160a01b031681526020016000151581526020016040518060400160405280600881526020016718dbdb9d1c9858dd60c21b81525081525086858151811061044157610441611183565b60200260200101819052505050506105b6565b86848151811061046657610466611183565b60200260200101518210156104eb57604051806060016040528089868151811061049257610492611183565b60200260200101516001600160a01b031681526020016000151581526020016040518060400160405280600c81526020016b1a5b9cdd59999a58da595b9d60a21b81525081525086858151811061044157610441611183565b8684815181106104fd576104fd611183565b602002602001015185828151811061051757610517611183565b602002602001015160200181815161052f91906111af565b91508181525050604051806060016040528089868151811061055357610553611183565b60200260200101516001600160a01b03168152602001600115158152602001604051806040016040528060078152602001667375636365737360c81b8152508152508685815181106105a7576105a7611183565b60200260200101819052505050505b806105c0816111c8565b91505061036f565b50509392505050565b6000546001600160a01b031633146101b95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161014d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060825167ffffffffffffffff81111561069757610697610e9a565b6040519080825280602002602001820160405280156106e457816020015b604080516060808201835260008083526020830152918101919091528152602001906001900390816106b55790505b50905060005b83518110156108d457306001600160a01b0316631693074b86838151811061071457610714611183565b60200260200101513387858151811061072f5761072f611183565b602002602001015187868151811061074957610749611183565b60209081029190910101516040516001600160e01b031960e087901b1681526001600160a01b0394851660048201529284166024840152921660448201526064810191909152608401600060405180830381600087803b1580156107ac57600080fd5b505af19250505080156107bd575060015b6108415760405180606001604052808583815181106107de576107de611183565b60200260200101516001600160a01b031681526020016000151581526020016040518060400160405280600681526020016519985a5b195960d21b81525081525082828151811061083157610831611183565b60200260200101819052506108c2565b604051806060016040528085838151811061085e5761085e611183565b60200260200101516001600160a01b031681526020016001151581526020016040518060400160405280600b81526020016a1d1c985b9cd9995c9c995960aa1b8152508152508282815181106108b6576108b6611183565b60200260200101819052505b806108cc816111c8565b9150506106ea565b509392505050565b6000610931826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d119092919063ffffffff16565b905080516000148061095257508080602001905181019061095291906111e1565b6109b15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161014d565b505050565b60606000835167ffffffffffffffff8111156109d4576109d4610e9a565b6040519080825280602002602001820160405280156109fd578160200160208202803683370190505b5090506000805b8551811015610aec57600160005b83811015610a8057848181518110610a2c57610a2c611183565b60200260200101516001600160a01b0316888481518110610a4f57610a4f611183565b60200260200101516001600160a01b031603610a6e5760009150610a80565b80610a78816111c8565b915050610a12565b508015610ad957868281518110610a9957610a99611183565b6020026020010151848481518110610ab357610ab3611183565b6001600160a01b039092166020928302919091019091015282610ad5816111c8565b9350505b5080610ae4816111c8565b915050610a04565b508067ffffffffffffffff811115610b0657610b06610e9a565b604051908082528060200260200182016040528015610b4b57816020015b6040805180820190915260008082526020820152815260200190600190039081610b245790505b50925060005b81811015610c4d576040518060400160405280848381518110610b7657610b76611183565b60200260200101516001600160a01b03168152602001848381518110610b9e57610b9e611183565b6020908102919091010151604051636eb1769f60e11b81526001600160a01b0389811660048301523060248301529091169063dd62ed3e90604401602060405180830381865afa158015610bf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1a9190611203565b815250848281518110610c2f57610c2f611183565b60200260200101819052508080610c45906111c8565b915050610b51565b50505092915050565b6000805b8251811015610cd057836001600160a01b0316838281518110610c7f57610c7f611183565b6020026020010151600001516001600160a01b031603610cbe57828181518110610cab57610cab611183565b6020026020010151602001519150610d0a565b80610cc8816111c8565b915050610c5a565b60405162461bcd60e51b815260206004820152600f60248201526e151bdad95b881b9bdd08199bdd5b99608a1b604482015260640161014d565b9250929050565b606061019f848460008585600080866001600160a01b03168587604051610d38919061121c565b60006040518083038185875af1925050503d8060008114610d75576040519150601f19603f3d011682016040523d82523d6000602084013e610d7a565b606091505b5091509150610d8b87838387610d96565b979650505050505050565b60608315610e05578251600003610dfe576001600160a01b0385163b610dfe5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161014d565b508161019f565b61019f8383815115610e1a5781518083602001fd5b8060405162461bcd60e51b815260040161014d9190611238565b6001600160a01b038116811461026757600080fd5b60008060008060808587031215610e5f57600080fd5b8435610e6a81610e34565b93506020850135610e7a81610e34565b92506040850135610e8a81610e34565b9396929550929360600135925050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610ed957610ed9610e9a565b604052919050565b600067ffffffffffffffff821115610efb57610efb610e9a565b5060051b60200190565b600082601f830112610f1657600080fd5b81356020610f2b610f2683610ee1565b610eb0565b82815260059290921b84018101918181019086841115610f4a57600080fd5b8286015b84811015610f6e578035610f6181610e34565b8352918301918301610f4e565b509695505050505050565b600080600060608486031215610f8e57600080fd5b833567ffffffffffffffff80821115610fa657600080fd5b610fb287838801610f05565b9450602091508186013581811115610fc957600080fd5b610fd588828901610f05565b945050604086013581811115610fea57600080fd5b86019050601f81018713610ffd57600080fd5b803561100b610f2682610ee1565b81815260059190911b8201830190838101908983111561102a57600080fd5b928401925b828410156110485783358252928401929084019061102f565b80955050505050509250925092565b60005b8381101561107257818101518382015260200161105a565b50506000910152565b60008151808452611093816020860160208601611057565b601f01601f19169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561112357888303603f19018552815180516001600160a01b0316845287810151151588850152860151606087850181905261110f8186018361107b565b9689019694505050908601906001016110ce565b509098975050505050505050565b60006020828403121561114357600080fd5b813561114e81610e34565b9392505050565b602080825260149082015273496e636f727265637420706172616d657465727360601b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156111c2576111c2611199565b92915050565b6000600182016111da576111da611199565b5060010190565b6000602082840312156111f357600080fd5b8151801515811461114e57600080fd5b60006020828403121561121557600080fd5b5051919050565b6000825161122e818460208701611057565b9190910192915050565b60208152600061114e602083018461107b56fea26469706673582212205c7abc7fb092b8a5245e7b4c878aa70b5e5d0eb06852d17cef4e5346cb6dca3b64736f6c63430008130033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.