Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 6 from a total of 6 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer Batch | 15120142 | 1343 days ago | IN | 0 ETH | 0.11783442 | ||||
| Transfer Batch | 15119920 | 1343 days ago | IN | 0 ETH | 0.00289037 | ||||
| Transfer Batch | 15031680 | 1357 days ago | IN | 0 ETH | 0.03595567 | ||||
| Transfer Batch | 15031678 | 1357 days ago | IN | 0 ETH | 0.03510528 | ||||
| Transfer Batch | 15031581 | 1357 days ago | IN | 0 ETH | 0.04177005 | ||||
| Transfer Batch | 15028726 | 1358 days ago | IN | 0 ETH | 0.00172342 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Sender
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
contract Sender {
function transferBatch(address token, address[] memory accounts, uint256[] memory tokenIds) public {
require(accounts.length == tokenIds.length, "length error");
for (uint256 i = 0; i < accounts.length; i++) {
IERC721(token).transferFrom(msg.sender, accounts[i], tokenIds[i]);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50610393806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638fd10f7214610030575b600080fd5b61004361003e36600461024e565b610045565b005b80518251146100895760405162461bcd60e51b815260206004820152600c60248201526b3632b733ba341032b93937b960a11b604482015260640160405180910390fd5b60005b825181101561015657836001600160a01b03166323b872dd338584815181106100b7576100b7610320565b60200260200101518585815181106100d1576100d1610320565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561012b57600080fd5b505af115801561013f573d6000803e3d6000fd5b50505050808061014e90610336565b91505061008c565b50505050565b80356001600160a01b038116811461017357600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156101b7576101b7610178565b604052919050565b600067ffffffffffffffff8211156101d9576101d9610178565b5060051b60200190565b600082601f8301126101f457600080fd5b81356020610209610204836101bf565b61018e565b82815260059290921b8401810191818101908684111561022857600080fd5b8286015b84811015610243578035835291830191830161022c565b509695505050505050565b60008060006060848603121561026357600080fd5b61026c8461015c565b925060208085013567ffffffffffffffff8082111561028a57600080fd5b818701915087601f83011261029e57600080fd5b81356102ac610204826101bf565b81815260059190911b8301840190848101908a8311156102cb57600080fd5b938501935b828510156102f0576102e18561015c565b825293850193908501906102d0565b96505050604087013592508083111561030857600080fd5b5050610316868287016101e3565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b60006001820161035657634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220a212f10bd5755dd03be00ac95093278bd223d885b9c9e89385b1bffd9d97982d64736f6c634300080f0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80638fd10f7214610030575b600080fd5b61004361003e36600461024e565b610045565b005b80518251146100895760405162461bcd60e51b815260206004820152600c60248201526b3632b733ba341032b93937b960a11b604482015260640160405180910390fd5b60005b825181101561015657836001600160a01b03166323b872dd338584815181106100b7576100b7610320565b60200260200101518585815181106100d1576100d1610320565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561012b57600080fd5b505af115801561013f573d6000803e3d6000fd5b50505050808061014e90610336565b91505061008c565b50505050565b80356001600160a01b038116811461017357600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156101b7576101b7610178565b604052919050565b600067ffffffffffffffff8211156101d9576101d9610178565b5060051b60200190565b600082601f8301126101f457600080fd5b81356020610209610204836101bf565b61018e565b82815260059290921b8401810191818101908684111561022857600080fd5b8286015b84811015610243578035835291830191830161022c565b509695505050505050565b60008060006060848603121561026357600080fd5b61026c8461015c565b925060208085013567ffffffffffffffff8082111561028a57600080fd5b818701915087601f83011261029e57600080fd5b81356102ac610204826101bf565b81815260059190911b8301840190848101908a8311156102cb57600080fd5b938501935b828510156102f0576102e18561015c565b825293850193908501906102d0565b96505050604087013592508083111561030857600080fd5b5050610316868287016101e3565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b60006001820161035657634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220a212f10bd5755dd03be00ac95093278bd223d885b9c9e89385b1bffd9d97982d64736f6c634300080f0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.