ETH Price: $2,530.16 (-2.54%)

Contract

0x4729E9A76DD4313C84FA1CA49488FCB3e860d3D5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Trade202252992024-07-03 10:10:4790 days ago1720001447IN
0x4729E9A7...3e860d3D5
0 ETH0.00029883.72326474
Trade200737652024-06-12 5:49:35111 days ago1718171375IN
0x4729E9A7...3e860d3D5
0 ETH0.000626546.49796371
Trade199184352024-05-21 12:59:11133 days ago1716296351IN
0x4729E9A7...3e860d3D5
0 ETH0.0017157820.85148357
Trade196777672024-04-17 21:06:47166 days ago1713388007IN
0x4729E9A7...3e860d3D5
0 ETH0.0009779213.97213978
Trade196033142024-04-07 10:46:59177 days ago1712486819IN
0x4729E9A7...3e860d3D5
0 ETH0.0012816110.93573499
Trade195703522024-04-02 20:01:59181 days ago1712088119IN
0x4729E9A7...3e860d3D5
0 ETH0.0039432356.34967087
Trade195535162024-03-31 11:15:23184 days ago1711883723IN
0x4729E9A7...3e860d3D5
0 ETH0.0017594718.3544364
Set Receiver195535102024-03-31 11:14:11184 days ago1711883651IN
0x4729E9A7...3e860d3D5
0 ETH0.0005128517.55884097
Trade194977012024-03-23 13:49:47192 days ago1711201787IN
0x4729E9A7...3e860d3D5
0 ETH0.0015883718.64749395
Trade194606862024-03-18 9:06:59197 days ago1710752819IN
0x4729E9A7...3e860d3D5
0 ETH0.0021580121.66751612
Set Trader194372572024-03-15 2:03:35200 days ago1710468215IN
0x4729E9A7...3e860d3D5
0 ETH0.001125738.48284156
Trade193907652024-03-08 13:31:35207 days ago1709904695IN
0x4729E9A7...3e860d3D5
0 ETH0.0040945257.48873327
Trade193684732024-03-05 10:49:47210 days ago1709635787IN
0x4729E9A7...3e860d3D5
0 ETH0.0047427561.99765085
Trade192977442024-02-24 13:28:35220 days ago1708781315IN
0x4729E9A7...3e860d3D5
0 ETH0.0033066323.93355395
Trade192628332024-02-19 16:01:47224 days ago1708358507IN
0x4729E9A7...3e860d3D5
0 ETH0.0037595451.25278573
Trade192298982024-02-15 0:55:35229 days ago1707958535IN
0x4729E9A7...3e860d3D5
0 ETH0.0013834120.18104453
Trade192073462024-02-11 20:59:35232 days ago1707685175IN
0x4729E9A7...3e860d3D5
0 ETH0.0024966226.6614074
Trade192072692024-02-11 20:43:47232 days ago1707684227IN
0x4729E9A7...3e860d3D5
0 ETH0.0090531627.78876216
Trade191483462024-02-03 14:12:59241 days ago1706969579IN
0x4729E9A7...3e860d3D5
0 ETH0.0015232817.98144529
Trade190430652024-01-19 19:41:35255 days ago1705693295IN
0x4729E9A7...3e860d3D5
0 ETH0.0028965430.24574769
Set Receiver190430622024-01-19 19:40:47255 days ago1705693247IN
0x4729E9A7...3e860d3D5
0 ETH0.0008810630.17749111
Trade190251582024-01-17 7:36:59258 days ago1705477019IN
0x4729E9A7...3e860d3D5
0 ETH0.0032331932.57040597
Trade189803082024-01-11 1:06:23264 days ago1704935183IN
0x4729E9A7...3e860d3D5
0 ETH0.0059584460.73976469
Set Receiver189708232024-01-09 17:14:23265 days ago1704820463IN
0x4729E9A7...3e860d3D5
0 ETH0.0007765126.58558496
Trade189051212023-12-31 11:19:23275 days ago1704021563IN
0x4729E9A7...3e860d3D5
0 ETH0.0015737613.56522551
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Exchange

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, OSL-3.0 license
/**
 *Submitted for verification at Etherscan.io on 2023-12-17
*/

//SPDX-License-Identifier: UNLICENSED

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.9/contracts/utils/introspection/IERC165.sol


// 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);
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.9/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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);
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.9/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (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;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.9/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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);
    }
}

// File: contracts/Exchange.sol


pragma solidity ^0.8.20;



contract Exchange is Ownable {
    address public receiverAddress;
    address public traderAddress;
   
   constructor (address _receiverAddress, address _traderAddress) {
    receiverAddress = _receiverAddress;
    traderAddress = _traderAddress;
   }

    modifier onlyOwnerAndTrader() {
        require(msg.sender == owner() || msg.sender == traderAddress, "Only owner or the trader can access this function");
        _;
    }

    function trade (uint[] memory _tokenIds, address _fromAddress, address _collectionAddress) external onlyOwnerAndTrader {
        uint lengthOf = _tokenIds.length; 
        require(lengthOf != 0 && lengthOf <= 5, "Token Ids should be 0 > ids > 5");
        for (uint8 i; i < lengthOf; i++){
            IERC721(_collectionAddress).transferFrom(_fromAddress, receiverAddress, _tokenIds[i]);
        }
    }

    function setReceiver (address _newReceiverAddress) external onlyOwner {
            receiverAddress = _newReceiverAddress;
    }

    function setTrader (address _newTraderAddress) external onlyOwner {
            traderAddress = _newTraderAddress;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_receiverAddress","type":"address"},{"internalType":"address","name":"_traderAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiverAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newReceiverAddress","type":"address"}],"name":"setReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTraderAddress","type":"address"}],"name":"setTrader","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address","name":"_fromAddress","type":"address"},{"internalType":"address","name":"_collectionAddress","type":"address"}],"name":"trade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"traderAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801562000010575f80fd5b5060405162000e3f38038062000e3f83398181016040528101906200003691906200020b565b620000566200004a620000de60201b60201c565b620000e560201b60201c565b8160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000250565b5f33905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620001d582620001aa565b9050919050565b620001e781620001c9565b8114620001f2575f80fd5b50565b5f815190506200020581620001dc565b92915050565b5f8060408385031215620002245762000223620001a6565b5b5f6200023385828601620001f5565b92505060206200024685828601620001f5565b9150509250929050565b610be1806200025e5f395ff3fe608060405234801561000f575f80fd5b5060043610610086575f3560e01c8063718da7ee11610059578063718da7ee146100ec5780638da5cb5b14610108578063a6bc18f914610126578063f2fde38b1461014257610086565b806316fed3e21461008a57806325411473146100a8578063366f87c7146100c6578063715018a6146100e2575b5f80fd5b61009261015e565b60405161009f919061066f565b60405180910390f35b6100b0610183565b6040516100bd919061066f565b60405180910390f35b6100e060048036038101906100db9190610846565b6101a8565b005b6100ea610398565b005b610106600480360381019061010191906108b2565b6103ab565b005b6101106103f6565b60405161011d919061066f565b60405180910390f35b610140600480360381019061013b91906108b2565b61041d565b005b61015c600480360381019061015791906108b2565b610468565b005b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6101b06103f6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610235575060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026b9061095d565b60405180910390fd5b5f835190505f811415801561028a575060058111155b6102c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c0906109c5565b60405180910390fd5b5f5b818160ff161015610391578273ffffffffffffffffffffffffffffffffffffffff166323b872dd8560015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16888560ff168151811061032b5761032a6109e3565b5b60200260200101516040518463ffffffff1660e01b815260040161035193929190610a1f565b5f604051808303815f87803b158015610368575f80fd5b505af115801561037a573d5f803e3d5ffd5b50505050808061038990610a8d565b9150506102cb565b5050505050565b6103a06104ea565b6103a95f610568565b565b6103b36104ea565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104256104ea565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6104706104ea565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036104de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d590610b25565b60405180910390fd5b6104e781610568565b50565b6104f2610629565b73ffffffffffffffffffffffffffffffffffffffff166105106103f6565b73ffffffffffffffffffffffffffffffffffffffff1614610566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055d90610b8d565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61065982610630565b9050919050565b6106698161064f565b82525050565b5f6020820190506106825f830184610660565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6106e38261069d565b810181811067ffffffffffffffff82111715610702576107016106ad565b5b80604052505050565b5f610714610688565b905061072082826106da565b919050565b5f67ffffffffffffffff82111561073f5761073e6106ad565b5b602082029050602081019050919050565b5f80fd5b5f819050919050565b61076681610754565b8114610770575f80fd5b50565b5f813590506107818161075d565b92915050565b5f61079961079484610725565b61070b565b905080838252602082019050602084028301858111156107bc576107bb610750565b5b835b818110156107e557806107d18882610773565b8452602084019350506020810190506107be565b5050509392505050565b5f82601f83011261080357610802610699565b5b8135610813848260208601610787565b91505092915050565b6108258161064f565b811461082f575f80fd5b50565b5f813590506108408161081c565b92915050565b5f805f6060848603121561085d5761085c610691565b5b5f84013567ffffffffffffffff81111561087a57610879610695565b5b610886868287016107ef565b935050602061089786828701610832565b92505060406108a886828701610832565b9150509250925092565b5f602082840312156108c7576108c6610691565b5b5f6108d484828501610832565b91505092915050565b5f82825260208201905092915050565b7f4f6e6c79206f776e6572206f7220746865207472616465722063616e206163635f8201527f65737320746869732066756e6374696f6e000000000000000000000000000000602082015250565b5f6109476031836108dd565b9150610952826108ed565b604082019050919050565b5f6020820190508181035f8301526109748161093b565b9050919050565b7f546f6b656e204964732073686f756c642062652030203e20696473203e2035005f82015250565b5f6109af601f836108dd565b91506109ba8261097b565b602082019050919050565b5f6020820190508181035f8301526109dc816109a3565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b610a1981610754565b82525050565b5f606082019050610a325f830186610660565b610a3f6020830185610660565b610a4c6040830184610a10565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f60ff82169050919050565b5f610a9782610a81565b915060ff8203610aaa57610aa9610a54565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f610b0f6026836108dd565b9150610b1a82610ab5565b604082019050919050565b5f6020820190508181035f830152610b3c81610b03565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f610b776020836108dd565b9150610b8282610b43565b602082019050919050565b5f6020820190508181035f830152610ba481610b6b565b905091905056fea2646970667358221220895ff0271e16d0832d7c1f2ff83ec218f0d17f8dd74265df28780bec38e9e67164736f6c63430008160033000000000000000000000000eec878ff2a7a40bd7bb70e7c139b1035ca19b28800000000000000000000000044ea2721cac2ae666be1e40e698c6825ddc37ad9

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610086575f3560e01c8063718da7ee11610059578063718da7ee146100ec5780638da5cb5b14610108578063a6bc18f914610126578063f2fde38b1461014257610086565b806316fed3e21461008a57806325411473146100a8578063366f87c7146100c6578063715018a6146100e2575b5f80fd5b61009261015e565b60405161009f919061066f565b60405180910390f35b6100b0610183565b6040516100bd919061066f565b60405180910390f35b6100e060048036038101906100db9190610846565b6101a8565b005b6100ea610398565b005b610106600480360381019061010191906108b2565b6103ab565b005b6101106103f6565b60405161011d919061066f565b60405180910390f35b610140600480360381019061013b91906108b2565b61041d565b005b61015c600480360381019061015791906108b2565b610468565b005b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6101b06103f6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610235575060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026b9061095d565b60405180910390fd5b5f835190505f811415801561028a575060058111155b6102c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c0906109c5565b60405180910390fd5b5f5b818160ff161015610391578273ffffffffffffffffffffffffffffffffffffffff166323b872dd8560015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16888560ff168151811061032b5761032a6109e3565b5b60200260200101516040518463ffffffff1660e01b815260040161035193929190610a1f565b5f604051808303815f87803b158015610368575f80fd5b505af115801561037a573d5f803e3d5ffd5b50505050808061038990610a8d565b9150506102cb565b5050505050565b6103a06104ea565b6103a95f610568565b565b6103b36104ea565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104256104ea565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6104706104ea565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036104de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d590610b25565b60405180910390fd5b6104e781610568565b50565b6104f2610629565b73ffffffffffffffffffffffffffffffffffffffff166105106103f6565b73ffffffffffffffffffffffffffffffffffffffff1614610566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055d90610b8d565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61065982610630565b9050919050565b6106698161064f565b82525050565b5f6020820190506106825f830184610660565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6106e38261069d565b810181811067ffffffffffffffff82111715610702576107016106ad565b5b80604052505050565b5f610714610688565b905061072082826106da565b919050565b5f67ffffffffffffffff82111561073f5761073e6106ad565b5b602082029050602081019050919050565b5f80fd5b5f819050919050565b61076681610754565b8114610770575f80fd5b50565b5f813590506107818161075d565b92915050565b5f61079961079484610725565b61070b565b905080838252602082019050602084028301858111156107bc576107bb610750565b5b835b818110156107e557806107d18882610773565b8452602084019350506020810190506107be565b5050509392505050565b5f82601f83011261080357610802610699565b5b8135610813848260208601610787565b91505092915050565b6108258161064f565b811461082f575f80fd5b50565b5f813590506108408161081c565b92915050565b5f805f6060848603121561085d5761085c610691565b5b5f84013567ffffffffffffffff81111561087a57610879610695565b5b610886868287016107ef565b935050602061089786828701610832565b92505060406108a886828701610832565b9150509250925092565b5f602082840312156108c7576108c6610691565b5b5f6108d484828501610832565b91505092915050565b5f82825260208201905092915050565b7f4f6e6c79206f776e6572206f7220746865207472616465722063616e206163635f8201527f65737320746869732066756e6374696f6e000000000000000000000000000000602082015250565b5f6109476031836108dd565b9150610952826108ed565b604082019050919050565b5f6020820190508181035f8301526109748161093b565b9050919050565b7f546f6b656e204964732073686f756c642062652030203e20696473203e2035005f82015250565b5f6109af601f836108dd565b91506109ba8261097b565b602082019050919050565b5f6020820190508181035f8301526109dc816109a3565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b610a1981610754565b82525050565b5f606082019050610a325f830186610660565b610a3f6020830185610660565b610a4c6040830184610a10565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f60ff82169050919050565b5f610a9782610a81565b915060ff8203610aaa57610aa9610a54565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f610b0f6026836108dd565b9150610b1a82610ab5565b604082019050919050565b5f6020820190508181035f830152610b3c81610b03565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f610b776020836108dd565b9150610b8282610b43565b602082019050919050565b5f6020820190508181035f830152610ba481610b6b565b905091905056fea2646970667358221220895ff0271e16d0832d7c1f2ff83ec218f0d17f8dd74265df28780bec38e9e67164736f6c63430008160033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000eec878ff2a7a40bd7bb70e7c139b1035ca19b28800000000000000000000000044ea2721cac2ae666be1e40e698c6825ddc37ad9

-----Decoded View---------------
Arg [0] : _receiverAddress (address): 0xeEc878FF2a7A40bD7BB70E7C139B1035CA19b288
Arg [1] : _traderAddress (address): 0x44eA2721cAC2ae666be1e40e698c6825dDC37ad9

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000eec878ff2a7a40bd7bb70e7c139b1035ca19b288
Arg [1] : 00000000000000000000000044ea2721cac2ae666be1e40e698c6825ddc37ad9


Deployed Bytecode Sourcemap

9841:1132:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9877:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9914:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10292:410;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;8955:103;;;:::i;:::-;;10710:130;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;8314:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10848:122;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;9213:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;9877:30;;;;;;;;;;;;;:::o;9914:28::-;;;;;;;;;;;;;:::o;10292:410::-;10172:7;:5;:7::i;:::-;10158:21;;:10;:21;;;:52;;;;10197:13;;;;;;;;;;;10183:27;;:10;:27;;;10158:52;10150:114;;;;;;;;;;;;:::i;:::-;;;;;;;;;10422:13:::1;10438:9;:16;10422:32;;10486:1;10474:8;:13;;:30;;;;;10503:1;10491:8;:13;;10474:30;10466:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;10556:7;10551:144;10569:8;10565:1;:12;;;10551:144;;;10606:18;10598:40;;;10639:12;10653:15;;;;;;;;;;;10670:9;10680:1;10670:12;;;;;;;;;;:::i;:::-;;;;;;;;10598:85;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10579:3;;;;;:::i;:::-;;;;10551:144;;;;10411:291;10292:410:::0;;;:::o;8955:103::-;8200:13;:11;:13::i;:::-;9020:30:::1;9047:1;9020:18;:30::i;:::-;8955:103::o:0;10710:130::-;8200:13;:11;:13::i;:::-;10813:19:::1;10795:15;;:37;;;;;;;;;;;;;;;;;;10710:130:::0;:::o;8314:87::-;8360:7;8387:6;;;;;;;;;;;8380:13;;8314:87;:::o;10848:122::-;8200:13;:11;:13::i;:::-;10945:17:::1;10929:13;;:33;;;;;;;;;;;;;;;;;;10848:122:::0;:::o;9213:201::-;8200:13;:11;:13::i;:::-;9322:1:::1;9302:22;;:8;:22;;::::0;9294:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;9378:28;9397:8;9378:18;:28::i;:::-;9213:201:::0;:::o;8479:132::-;8554:12;:10;:12::i;:::-;8543:23;;:7;:5;:7::i;:::-;:23;;;8535:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;8479:132::o;9574:191::-;9648:16;9667:6;;;;;;;;;;;9648:25;;9693:8;9684:6;;:17;;;;;;;;;;;;;;;;;;9748:8;9717:40;;9738:8;9717:40;;;;;;;;;;;;9637:128;9574:191;:::o;6806:98::-;6859:7;6886:10;6879:17;;6806:98;:::o;7:126:1:-;44:7;84:42;77:5;73:54;62:65;;7:126;;;:::o;139:96::-;176:7;205:24;223:5;205:24;:::i;:::-;194:35;;139:96;;;:::o;241:118::-;328:24;346:5;328:24;:::i;:::-;323:3;316:37;241:118;;:::o;365:222::-;458:4;496:2;485:9;481:18;473:26;;509:71;577:1;566:9;562:17;553:6;509:71;:::i;:::-;365:222;;;;:::o;593:75::-;626:6;659:2;653:9;643:19;;593:75;:::o;674:117::-;783:1;780;773:12;797:117;906:1;903;896:12;920:117;1029:1;1026;1019:12;1043:102;1084:6;1135:2;1131:7;1126:2;1119:5;1115:14;1111:28;1101:38;;1043:102;;;:::o;1151:180::-;1199:77;1196:1;1189:88;1296:4;1293:1;1286:15;1320:4;1317:1;1310:15;1337:281;1420:27;1442:4;1420:27;:::i;:::-;1412:6;1408:40;1550:6;1538:10;1535:22;1514:18;1502:10;1499:34;1496:62;1493:88;;;1561:18;;:::i;:::-;1493:88;1601:10;1597:2;1590:22;1380:238;1337:281;;:::o;1624:129::-;1658:6;1685:20;;:::i;:::-;1675:30;;1714:33;1742:4;1734:6;1714:33;:::i;:::-;1624:129;;;:::o;1759:311::-;1836:4;1926:18;1918:6;1915:30;1912:56;;;1948:18;;:::i;:::-;1912:56;1998:4;1990:6;1986:17;1978:25;;2058:4;2052;2048:15;2040:23;;1759:311;;;:::o;2076:117::-;2185:1;2182;2175:12;2199:77;2236:7;2265:5;2254:16;;2199:77;;;:::o;2282:122::-;2355:24;2373:5;2355:24;:::i;:::-;2348:5;2345:35;2335:63;;2394:1;2391;2384:12;2335:63;2282:122;:::o;2410:139::-;2456:5;2494:6;2481:20;2472:29;;2510:33;2537:5;2510:33;:::i;:::-;2410:139;;;;:::o;2572:710::-;2668:5;2693:81;2709:64;2766:6;2709:64;:::i;:::-;2693:81;:::i;:::-;2684:90;;2794:5;2823:6;2816:5;2809:21;2857:4;2850:5;2846:16;2839:23;;2910:4;2902:6;2898:17;2890:6;2886:30;2939:3;2931:6;2928:15;2925:122;;;2958:79;;:::i;:::-;2925:122;3073:6;3056:220;3090:6;3085:3;3082:15;3056:220;;;3165:3;3194:37;3227:3;3215:10;3194:37;:::i;:::-;3189:3;3182:50;3261:4;3256:3;3252:14;3245:21;;3132:144;3116:4;3111:3;3107:14;3100:21;;3056:220;;;3060:21;2674:608;;2572:710;;;;;:::o;3305:370::-;3376:5;3425:3;3418:4;3410:6;3406:17;3402:27;3392:122;;3433:79;;:::i;:::-;3392:122;3550:6;3537:20;3575:94;3665:3;3657:6;3650:4;3642:6;3638:17;3575:94;:::i;:::-;3566:103;;3382:293;3305:370;;;;:::o;3681:122::-;3754:24;3772:5;3754:24;:::i;:::-;3747:5;3744:35;3734:63;;3793:1;3790;3783:12;3734:63;3681:122;:::o;3809:139::-;3855:5;3893:6;3880:20;3871:29;;3909:33;3936:5;3909:33;:::i;:::-;3809:139;;;;:::o;3954:829::-;4056:6;4064;4072;4121:2;4109:9;4100:7;4096:23;4092:32;4089:119;;;4127:79;;:::i;:::-;4089:119;4275:1;4264:9;4260:17;4247:31;4305:18;4297:6;4294:30;4291:117;;;4327:79;;:::i;:::-;4291:117;4432:78;4502:7;4493:6;4482:9;4478:22;4432:78;:::i;:::-;4422:88;;4218:302;4559:2;4585:53;4630:7;4621:6;4610:9;4606:22;4585:53;:::i;:::-;4575:63;;4530:118;4687:2;4713:53;4758:7;4749:6;4738:9;4734:22;4713:53;:::i;:::-;4703:63;;4658:118;3954:829;;;;;:::o;4789:329::-;4848:6;4897:2;4885:9;4876:7;4872:23;4868:32;4865:119;;;4903:79;;:::i;:::-;4865:119;5023:1;5048:53;5093:7;5084:6;5073:9;5069:22;5048:53;:::i;:::-;5038:63;;4994:117;4789:329;;;;:::o;5124:169::-;5208:11;5242:6;5237:3;5230:19;5282:4;5277:3;5273:14;5258:29;;5124:169;;;;:::o;5299:236::-;5439:34;5435:1;5427:6;5423:14;5416:58;5508:19;5503:2;5495:6;5491:15;5484:44;5299:236;:::o;5541:366::-;5683:3;5704:67;5768:2;5763:3;5704:67;:::i;:::-;5697:74;;5780:93;5869:3;5780:93;:::i;:::-;5898:2;5893:3;5889:12;5882:19;;5541:366;;;:::o;5913:419::-;6079:4;6117:2;6106:9;6102:18;6094:26;;6166:9;6160:4;6156:20;6152:1;6141:9;6137:17;6130:47;6194:131;6320:4;6194:131;:::i;:::-;6186:139;;5913:419;;;:::o;6338:181::-;6478:33;6474:1;6466:6;6462:14;6455:57;6338:181;:::o;6525:366::-;6667:3;6688:67;6752:2;6747:3;6688:67;:::i;:::-;6681:74;;6764:93;6853:3;6764:93;:::i;:::-;6882:2;6877:3;6873:12;6866:19;;6525:366;;;:::o;6897:419::-;7063:4;7101:2;7090:9;7086:18;7078:26;;7150:9;7144:4;7140:20;7136:1;7125:9;7121:17;7114:47;7178:131;7304:4;7178:131;:::i;:::-;7170:139;;6897:419;;;:::o;7322:180::-;7370:77;7367:1;7360:88;7467:4;7464:1;7457:15;7491:4;7488:1;7481:15;7508:118;7595:24;7613:5;7595:24;:::i;:::-;7590:3;7583:37;7508:118;;:::o;7632:442::-;7781:4;7819:2;7808:9;7804:18;7796:26;;7832:71;7900:1;7889:9;7885:17;7876:6;7832:71;:::i;:::-;7913:72;7981:2;7970:9;7966:18;7957:6;7913:72;:::i;:::-;7995;8063:2;8052:9;8048:18;8039:6;7995:72;:::i;:::-;7632:442;;;;;;:::o;8080:180::-;8128:77;8125:1;8118:88;8225:4;8222:1;8215:15;8249:4;8246:1;8239:15;8266:86;8301:7;8341:4;8334:5;8330:16;8319:27;;8266:86;;;:::o;8358:167::-;8395:3;8418:22;8434:5;8418:22;:::i;:::-;8409:31;;8462:4;8455:5;8452:15;8449:41;;8470:18;;:::i;:::-;8449:41;8517:1;8510:5;8506:13;8499:20;;8358:167;;;:::o;8531:225::-;8671:34;8667:1;8659:6;8655:14;8648:58;8740:8;8735:2;8727:6;8723:15;8716:33;8531:225;:::o;8762:366::-;8904:3;8925:67;8989:2;8984:3;8925:67;:::i;:::-;8918:74;;9001:93;9090:3;9001:93;:::i;:::-;9119:2;9114:3;9110:12;9103:19;;8762:366;;;:::o;9134:419::-;9300:4;9338:2;9327:9;9323:18;9315:26;;9387:9;9381:4;9377:20;9373:1;9362:9;9358:17;9351:47;9415:131;9541:4;9415:131;:::i;:::-;9407:139;;9134:419;;;:::o;9559:182::-;9699:34;9695:1;9687:6;9683:14;9676:58;9559:182;:::o;9747:366::-;9889:3;9910:67;9974:2;9969:3;9910:67;:::i;:::-;9903:74;;9986:93;10075:3;9986:93;:::i;:::-;10104:2;10099:3;10095:12;10088:19;;9747:366;;;:::o;10119:419::-;10285:4;10323:2;10312:9;10308:18;10300:26;;10372:9;10366:4;10362:20;10358:1;10347:9;10343:17;10336:47;10400:131;10526:4;10400:131;:::i;:::-;10392:139;;10119:419;;;:::o

Swarm Source

ipfs://895ff0271e16d0832d7c1f2ff83ec218f0d17f8dd74265df28780bec38e9e671

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.