ETH Price: $2,335.00 (+11.21%)
Gas: 0.29 Gwei

Contract

0xC1C2A2Ec3A44FE5CCa6815A0F06e5c394E8F7E4E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Change Operator135439772021-11-03 12:53:381594 days ago1635944018IN
0xC1C2A2Ec...94E8F7E4E
0 ETH0.00816677171.35500896

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TransferProxy

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2021-10-30
*/

//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */

interface IERC721 is IERC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */

    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either {approve} or {setApprovalForAll}.
     */

    function safeTransferFrom(address from, address to, uint256 tokenId) external;
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
    function mintAndTransfer(address from, address to, uint256 itemId, uint256 fee, string memory _tokenURI, bytes memory data)external returns(uint256);

}

interface IERC1155 is IERC165 {

    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).
        The `_operator` argument MUST be msg.sender.
        The `_from` argument MUST be the address of the holder whose balance is decreased.
        The `_to` argument MUST be the address of the recipient whose balance is increased.
        The `_id` argument MUST be the token type being transferred.
        The `_value` argument MUST be the number of tokens the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `_from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `_to` argument MUST be set to `0x0` (i.e. zero address).
    */

    event TransferSingle(address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _value);

    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).
        The `_operator` argument MUST be msg.sender.
        The `_from` argument MUST be the address of the holder whose balance is decreased.
        The `_to` argument MUST be the address of the recipient whose balance is increased.
        The `_ids` argument MUST be the list of tokens being transferred.
        The `_values` argument MUST be the list of number of tokens (matching the list and order of tokens specified in _ids) the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `_from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `_to` argument MUST be set to `0x0` (i.e. zero address).
    */

    event TransferBatch(address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _values);
    
    /**
        @dev MUST emit when approval for a second party/operator address to manage all tokens for an owner address is enabled or disabled (absense of an event assumes disabled).
    */

    event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved);

    /**
        @dev MUST emit when the URI is updated for a token ID.
        URIs are defined in RFC 3986.
        The URI MUST point a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
    */

    event URI(string _value, uint256 indexed _id);

    /**
        @notice Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if balance of holder for token `_id` is lower than the `_value` sent.
        MUST revert on any other error.
        MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
        After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).
        @param _from    Source address
        @param _to      Target address
        @param _id      ID of the token type
        @param _value   Transfer amount
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to`
    */

    function safeTransferFrom(address _from, address _to, uint256 _id, uint256 _value, bytes calldata _data) external;

    /**
        @notice Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if length of `_ids` is not the same as length of `_values`.
        MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient.
        MUST revert on any other error.
        MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
        Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc).
        After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).
        @param _from    Source address
        @param _to      Target address
        @param _ids     IDs of each token type (order and length must match _values array)
        @param _values  Transfer amounts per token type (order and length must match _ids array)
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to`
    */

    function safeBatchTransferFrom(address _from, address _to, uint256[] calldata _ids, uint256[] calldata _values, bytes calldata _data) external;

    function mintAndTransfer(address from, address to, uint256 itemId, uint256 fee, uint256 _supply, string memory _tokenURI, uint256 qty, bytes memory data)external returns(uint256);

}

interface IERC20 {
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract TransferProxy {

    event operatorChanged(address indexed from, address indexed to);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


    address public owner;
    address public operator;

    constructor() {
        owner = msg.sender;
    }

    /**
     * @dev Throws if called by any account other than the owner.
    */    

    modifier onlyOwner() {
        require(owner == msg.sender, "Ownable: caller is not the owner");
        _;
    }

    modifier onlyOperator() {
        require(operator == msg.sender, "OperatorRole: caller does not have the Operator role");
        _;
    }

        /** change the OperatorRole from contract creator address to trade contractaddress
            @param _operator :trade address 
        */

    function changeOperator(address _operator) public onlyOwner returns(bool) {
        require(_operator != address(0), "Operator: new operator is the zero address");
        operator = _operator;
        emit operatorChanged(address(0),operator);
        return true;
    }

        /** change the Ownership from current owner to newOwner address
        @param newOwner : newOwner address */

    function ownerTransfership(address newOwner) public onlyOwner returns(bool){
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        owner = newOwner;
        emit OwnershipTransferred(owner, newOwner);
        return true;
    }

    function erc721safeTransferFrom(IERC721 token, address from, address to, uint256 tokenId) external onlyOperator {
        token.safeTransferFrom(from, to, tokenId);
    }
    
    function erc721mintAndTransfer(IERC721 token, address from, address to, uint256 tokenId, uint256 fee, string memory tokenURI, bytes calldata data) external onlyOperator {
        token.mintAndTransfer(from, to, tokenId, fee, tokenURI,data);
    }

    function erc1155safeTransferFrom(IERC1155 token, address from, address to, uint256 tokenId, uint256 value, bytes calldata data) external onlyOperator {
        token.safeTransferFrom(from, to, tokenId, value, data);
    }

    function erc1155mintAndTransfer(IERC1155 token, address from, address to, uint256 tokenId, uint256 fee , uint256 supply, string memory tokenURI, uint256 qty, bytes calldata data) external onlyOperator {
        token.mintAndTransfer(from, to, tokenId, fee, supply, tokenURI, qty,data);
    }

    function erc20safeTransferFrom(IERC20 token, address from, address to, uint256 value) external onlyOperator {
        require(token.transferFrom(from, to, value), "failure while transferring");
    }    
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"operatorChanged","type":"event"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"changeOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC1155","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"erc1155mintAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC1155","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"erc1155safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"erc20safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"erc721mintAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"erc721safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"ownerTransfership","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b03191633179055610d14806100326000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063776062c311610066578063776062c3146101135780638da5cb5b146101265780639c1c2ee914610139578063e870a3201461014c578063f709b9061461015f57600080fd5b806306394c9b14610098578063570ca735146100c05780636fdc202f146100eb57806374451110146100fe575b600080fd5b6100ab6100a6366004610827565b610172565b60405190151581526020015b60405180910390f35b6001546100d3906001600160a01b031681565b6040516001600160a01b0390911681526020016100b7565b6100ab6100f9366004610827565b61028d565b61011161010c366004610a0f565b61039d565b005b6101116101213660046109bf565b61045c565b6000546100d3906001600160a01b031681565b61011161014736600461086a565b610562565b61011161015a3660046108f7565b6105fd565b61011161016d3660046109bf565b6106b4565b600080546001600160a01b031633146101d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03821661023b5760405162461bcd60e51b815260206004820152602a60248201527f4f70657261746f723a206e6577206f70657261746f7220697320746865207a65604482015269726f206164647265737360b01b60648201526084016101c9565b600180546001600160a01b0319166001600160a01b0384169081179091556040516000907f1a377613c0f1788c756a416e15f930cf9e84c3a5e808fa2f00b5a18a91a7b864908290a35060015b919050565b600080546001600160a01b031633146102e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101c9565b6001600160a01b03821661034d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101c9565b600080546001600160a01b0319166001600160a01b0384169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3506001919050565b6001546001600160a01b031633146103c75760405162461bcd60e51b81526004016101c990610c5c565b60405163066e575d60e41b81526001600160a01b038916906366e575d0906103ff908a908a908a908a908a908a908a90600401610b94565b602060405180830381600087803b15801561041957600080fd5b505af115801561042d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104519190610ac1565b505050505050505050565b6001546001600160a01b031633146104865760405162461bcd60e51b81526004016101c990610c5c565b6040516323b872dd60e01b81526001600160a01b0384811660048301528381166024830152604482018390528516906323b872dd90606401602060405180830381600087803b1580156104d857600080fd5b505af11580156104ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610510919061084a565b61055c5760405162461bcd60e51b815260206004820152601a60248201527f6661696c757265207768696c65207472616e7366657272696e6700000000000060448201526064016101c9565b50505050565b6001546001600160a01b0316331461058c5760405162461bcd60e51b81526004016101c990610c5c565b604051637921219560e11b81526001600160a01b0388169063f242432a906105c290899089908990899089908990600401610b4d565b600060405180830381600087803b1580156105dc57600080fd5b505af11580156105f0573d6000803e3d6000fd5b5050505050505050505050565b6001546001600160a01b031633146106275760405162461bcd60e51b81526004016101c990610c5c565b60405162ba2e2760e31b81526001600160a01b038b16906305d1713890610662908c908c908c908c908c908c908c908c908c90600401610bef565b602060405180830381600087803b15801561067c57600080fd5b505af1158015610690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f09190610ac1565b6001546001600160a01b031633146106de5760405162461bcd60e51b81526004016101c990610c5c565b604051632142170760e11b81526001600160a01b0384811660048301528381166024830152604482018390528516906342842e0e90606401600060405180830381600087803b15801561073057600080fd5b505af1158015610744573d6000803e3d6000fd5b5050505050505050565b803561028881610cc6565b60008083601f84011261076a578081fd5b50813567ffffffffffffffff811115610781578182fd5b60208301915083602082850101111561079957600080fd5b9250929050565b600082601f8301126107b0578081fd5b813567ffffffffffffffff808211156107cb576107cb610cb0565b604051601f8301601f19908116603f011681019082821181831017156107f3576107f3610cb0565b8160405283815286602085880101111561080b578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215610838578081fd5b813561084381610cc6565b9392505050565b60006020828403121561085b578081fd5b81518015158114610843578182fd5b600080600080600080600060c0888a031215610884578283fd5b873561088f81610cc6565b9650602088013561089f81610cc6565b955060408801356108af81610cc6565b9450606088013593506080880135925060a088013567ffffffffffffffff8111156108d8578283fd5b6108e48a828b01610759565b989b979a50959850939692959293505050565b6000806000806000806000806000806101208b8d031215610916578283fd5b8a3561092181610cc6565b995060208b013561093181610cc6565b985061093f60408c0161074e565b975060608b0135965060808b0135955060a08b0135945060c08b013567ffffffffffffffff80821115610970578485fd5b61097c8e838f016107a0565b955060e08d013594506101008d0135915080821115610999578384fd5b506109a68d828e01610759565b915080935050809150509295989b9194979a5092959850565b600080600080608085870312156109d4578384fd5b84356109df81610cc6565b935060208501356109ef81610cc6565b925060408501356109ff81610cc6565b9396929550929360600135925050565b60008060008060008060008060e0898b031215610a2a578384fd5b8835610a3581610cc6565b97506020890135610a4581610cc6565b96506040890135610a5581610cc6565b9550606089013594506080890135935060a089013567ffffffffffffffff80821115610a7f578485fd5b610a8b8c838d016107a0565b945060c08b0135915080821115610aa0578384fd5b50610aad8b828c01610759565b999c989b5096995094979396929594505050565b600060208284031215610ad2578081fd5b5051919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008151808452815b81811015610b2757602081850181015186830182015201610b0b565b81811115610b385782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a060808201819052600090610b889083018486610ad9565b98975050505050505050565b6001600160a01b03888116825287166020820152604081018690526060810185905260c060808201819052600090610bce90830186610b02565b82810360a0840152610be1818587610ad9565b9a9950505050505050505050565b6001600160a01b038a811682528916602082015260408101889052606081018790526080810186905261010060a08201819052600090610c3183820188610b02565b90508560c084015282810360e0840152610c4c818587610ad9565b9c9b505050505050505050505050565b60208082526034908201527f4f70657261746f72526f6c653a2063616c6c657220646f6573206e6f74206861604082015273766520746865204f70657261746f7220726f6c6560601b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cdb57600080fd5b5056fea2646970667358221220381997a51897c242b965a0911fbe9367cf6f66be5c66b6f3169e4ca0657d6aa264736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063776062c311610066578063776062c3146101135780638da5cb5b146101265780639c1c2ee914610139578063e870a3201461014c578063f709b9061461015f57600080fd5b806306394c9b14610098578063570ca735146100c05780636fdc202f146100eb57806374451110146100fe575b600080fd5b6100ab6100a6366004610827565b610172565b60405190151581526020015b60405180910390f35b6001546100d3906001600160a01b031681565b6040516001600160a01b0390911681526020016100b7565b6100ab6100f9366004610827565b61028d565b61011161010c366004610a0f565b61039d565b005b6101116101213660046109bf565b61045c565b6000546100d3906001600160a01b031681565b61011161014736600461086a565b610562565b61011161015a3660046108f7565b6105fd565b61011161016d3660046109bf565b6106b4565b600080546001600160a01b031633146101d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03821661023b5760405162461bcd60e51b815260206004820152602a60248201527f4f70657261746f723a206e6577206f70657261746f7220697320746865207a65604482015269726f206164647265737360b01b60648201526084016101c9565b600180546001600160a01b0319166001600160a01b0384169081179091556040516000907f1a377613c0f1788c756a416e15f930cf9e84c3a5e808fa2f00b5a18a91a7b864908290a35060015b919050565b600080546001600160a01b031633146102e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101c9565b6001600160a01b03821661034d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101c9565b600080546001600160a01b0319166001600160a01b0384169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3506001919050565b6001546001600160a01b031633146103c75760405162461bcd60e51b81526004016101c990610c5c565b60405163066e575d60e41b81526001600160a01b038916906366e575d0906103ff908a908a908a908a908a908a908a90600401610b94565b602060405180830381600087803b15801561041957600080fd5b505af115801561042d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104519190610ac1565b505050505050505050565b6001546001600160a01b031633146104865760405162461bcd60e51b81526004016101c990610c5c565b6040516323b872dd60e01b81526001600160a01b0384811660048301528381166024830152604482018390528516906323b872dd90606401602060405180830381600087803b1580156104d857600080fd5b505af11580156104ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610510919061084a565b61055c5760405162461bcd60e51b815260206004820152601a60248201527f6661696c757265207768696c65207472616e7366657272696e6700000000000060448201526064016101c9565b50505050565b6001546001600160a01b0316331461058c5760405162461bcd60e51b81526004016101c990610c5c565b604051637921219560e11b81526001600160a01b0388169063f242432a906105c290899089908990899089908990600401610b4d565b600060405180830381600087803b1580156105dc57600080fd5b505af11580156105f0573d6000803e3d6000fd5b5050505050505050505050565b6001546001600160a01b031633146106275760405162461bcd60e51b81526004016101c990610c5c565b60405162ba2e2760e31b81526001600160a01b038b16906305d1713890610662908c908c908c908c908c908c908c908c908c90600401610bef565b602060405180830381600087803b15801561067c57600080fd5b505af1158015610690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f09190610ac1565b6001546001600160a01b031633146106de5760405162461bcd60e51b81526004016101c990610c5c565b604051632142170760e11b81526001600160a01b0384811660048301528381166024830152604482018390528516906342842e0e90606401600060405180830381600087803b15801561073057600080fd5b505af1158015610744573d6000803e3d6000fd5b5050505050505050565b803561028881610cc6565b60008083601f84011261076a578081fd5b50813567ffffffffffffffff811115610781578182fd5b60208301915083602082850101111561079957600080fd5b9250929050565b600082601f8301126107b0578081fd5b813567ffffffffffffffff808211156107cb576107cb610cb0565b604051601f8301601f19908116603f011681019082821181831017156107f3576107f3610cb0565b8160405283815286602085880101111561080b578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215610838578081fd5b813561084381610cc6565b9392505050565b60006020828403121561085b578081fd5b81518015158114610843578182fd5b600080600080600080600060c0888a031215610884578283fd5b873561088f81610cc6565b9650602088013561089f81610cc6565b955060408801356108af81610cc6565b9450606088013593506080880135925060a088013567ffffffffffffffff8111156108d8578283fd5b6108e48a828b01610759565b989b979a50959850939692959293505050565b6000806000806000806000806000806101208b8d031215610916578283fd5b8a3561092181610cc6565b995060208b013561093181610cc6565b985061093f60408c0161074e565b975060608b0135965060808b0135955060a08b0135945060c08b013567ffffffffffffffff80821115610970578485fd5b61097c8e838f016107a0565b955060e08d013594506101008d0135915080821115610999578384fd5b506109a68d828e01610759565b915080935050809150509295989b9194979a5092959850565b600080600080608085870312156109d4578384fd5b84356109df81610cc6565b935060208501356109ef81610cc6565b925060408501356109ff81610cc6565b9396929550929360600135925050565b60008060008060008060008060e0898b031215610a2a578384fd5b8835610a3581610cc6565b97506020890135610a4581610cc6565b96506040890135610a5581610cc6565b9550606089013594506080890135935060a089013567ffffffffffffffff80821115610a7f578485fd5b610a8b8c838d016107a0565b945060c08b0135915080821115610aa0578384fd5b50610aad8b828c01610759565b999c989b5096995094979396929594505050565b600060208284031215610ad2578081fd5b5051919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008151808452815b81811015610b2757602081850181015186830182015201610b0b565b81811115610b385782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a060808201819052600090610b889083018486610ad9565b98975050505050505050565b6001600160a01b03888116825287166020820152604081018690526060810185905260c060808201819052600090610bce90830186610b02565b82810360a0840152610be1818587610ad9565b9a9950505050505050505050565b6001600160a01b038a811682528916602082015260408101889052606081018790526080810186905261010060a08201819052600090610c3183820188610b02565b90508560c084015282810360e0840152610c4c818587610ad9565b9c9b505050505050505050505050565b60208082526034908201527f4f70657261746f72526f6c653a2063616c6c657220646f6573206e6f74206861604082015273766520746865204f70657261746f7220726f6c6560601b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cdb57600080fd5b5056fea2646970667358221220381997a51897c242b965a0911fbe9367cf6f66be5c66b6f3169e4ca0657d6aa264736f6c63430008040033

Deployed Bytecode Sourcemap

8135:2693:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8965:276;;;;;;:::i;:::-;;:::i;:::-;;;10616:14:1;;10609:22;10591:41;;10579:2;10564:18;8965:276:0;;;;;;;;8358:23;;;;;-1:-1:-1;;;;;8358:23:0;;;;;;-1:-1:-1;;;;;7759:32:1;;;7741:51;;7729:2;7714:18;8358:23:0;7696:102:1;9371:269:0;;;;;;:::i;:::-;;:::i;9832:248::-;;;;;;:::i;:::-;;:::i;:::-;;10620:201;;;;;;:::i;:::-;;:::i;8331:20::-;;;;;-1:-1:-1;;;;;8331:20:0;;;10088:223;;;;;;:::i;:::-;;:::i;10319:293::-;;;;;;:::i;:::-;;:::i;9648:172::-;;;;;;:::i;:::-;;:::i;8965:276::-;9033:4;8579:5;;-1:-1:-1;;;;;8579:5:0;8588:10;8579:19;8571:64;;;;-1:-1:-1;;;8571:64:0;;11673:2:1;8571:64:0;;;11655:21:1;;;11692:18;;;11685:30;11751:34;11731:18;;;11724:62;11803:18;;8571:64:0;;;;;;;;;-1:-1:-1;;;;;9058:23:0;::::1;9050:78;;;::::0;-1:-1:-1;;;9050:78:0;;12034:2:1;9050:78:0::1;::::0;::::1;12016:21:1::0;12073:2;12053:18;;;12046:30;12112:34;12092:18;;;12085:62;-1:-1:-1;;;12163:18:1;;;12156:40;12213:19;;9050:78:0::1;12006:232:1::0;9050:78:0::1;9139:8;:20:::0;;-1:-1:-1;;;;;;9139:20:0::1;-1:-1:-1::0;;;;;9139:20:0;::::1;::::0;;::::1;::::0;;;9175:36:::1;::::0;-1:-1:-1;;9175:36:0::1;::::0;-1:-1:-1;;9175:36:0::1;-1:-1:-1::0;9229:4:0::1;8646:1;8965:276:::0;;;:::o;9371:269::-;9441:4;8579:5;;-1:-1:-1;;;;;8579:5:0;8588:10;8579:19;8571:64;;;;-1:-1:-1;;;8571:64:0;;11673:2:1;8571:64:0;;;11655:21:1;;;11692:18;;;11685:30;11751:34;11731:18;;;11724:62;11803:18;;8571:64:0;11645:182:1;8571:64:0;-1:-1:-1;;;;;9465:22:0;::::1;9457:73;;;::::0;-1:-1:-1;;;9457:73:0;;10845:2:1;9457:73:0::1;::::0;::::1;10827:21:1::0;10884:2;10864:18;;;10857:30;10923:34;10903:18;;;10896:62;-1:-1:-1;;;10974:18:1;;;10967:36;11020:19;;9457:73:0::1;10817:228:1::0;9457:73:0::1;9541:5;:16:::0;;-1:-1:-1;;;;;;9541:16:0::1;-1:-1:-1::0;;;;;9541:16:0;::::1;::::0;;::::1;::::0;;9573:37:::1;::::0;9541:16;;;;9573:37:::1;::::0;9541:5;9573:37:::1;-1:-1:-1::0;9628:4:0::1;9371:269:::0;;;:::o;9832:248::-;8706:8;;-1:-1:-1;;;;;8706:8:0;8718:10;8706:22;8698:87;;;;-1:-1:-1;;;8698:87:0;;;;;;;:::i;:::-;10012:60:::1;::::0;-1:-1:-1;;;10012:60:0;;-1:-1:-1;;;;;10012:21:0;::::1;::::0;::::1;::::0;:60:::1;::::0;10034:4;;10040:2;;10044:7;;10053:3;;10058:8;;10067:4;;;;10012:60:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9832:248:::0;;;;;;;;:::o;10620:201::-;8706:8;;-1:-1:-1;;;;;8706:8:0;8718:10;8706:22;8698:87;;;;-1:-1:-1;;;8698:87:0;;;;;;;:::i;:::-;10747:35:::1;::::0;-1:-1:-1;;;10747:35:0;;-1:-1:-1;;;;;8061:15:1;;;10747:35:0::1;::::0;::::1;8043:34:1::0;8113:15;;;8093:18;;;8086:43;8145:18;;;8138:34;;;10747:18:0;::::1;::::0;::::1;::::0;7978::1;;10747:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10739:74;;;::::0;-1:-1:-1;;;10739:74:0;;12445:2:1;10739:74:0::1;::::0;::::1;12427:21:1::0;12484:2;12464:18;;;12457:30;12523:28;12503:18;;;12496:56;12569:18;;10739:74:0::1;12417:176:1::0;10739:74:0::1;10620:201:::0;;;;:::o;10088:223::-;8706:8;;-1:-1:-1;;;;;8706:8:0;8718:10;8706:22;8698:87;;;;-1:-1:-1;;;8698:87:0;;;;;;;:::i;:::-;10249:54:::1;::::0;-1:-1:-1;;;10249:54:0;;-1:-1:-1;;;;;10249:22:0;::::1;::::0;::::1;::::0;:54:::1;::::0;10272:4;;10278:2;;10282:7;;10291:5;;10298:4;;;;10249:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10088:223:::0;;;;;;;:::o;10319:293::-;8706:8;;-1:-1:-1;;;;;8706:8:0;8718:10;8706:22;8698:87;;;;-1:-1:-1;;;8698:87:0;;;;;;;:::i;:::-;10531:73:::1;::::0;-1:-1:-1;;;10531:73:0;;-1:-1:-1;;;;;10531:21:0;::::1;::::0;::::1;::::0;:73:::1;::::0;10553:4;;10559:2;;10563:7;;10572:3;;10577:6;;10585:8;;10595:3;;10599:4;;;;10531:73:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;9648:172::-:0;8706:8;;-1:-1:-1;;;;;8706:8:0;8718:10;8706:22;8698:87;;;;-1:-1:-1;;;8698:87:0;;;;;;;:::i;:::-;9771:41:::1;::::0;-1:-1:-1;;;9771:41:0;;-1:-1:-1;;;;;8061:15:1;;;9771:41:0::1;::::0;::::1;8043:34:1::0;8113:15;;;8093:18;;;8086:43;8145:18;;;8138:34;;;9771:22:0;::::1;::::0;::::1;::::0;7978:18:1;;9771:41:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9648:172:::0;;;;:::o;14:134:1:-;82:20;;111:31;82:20;111:31;:::i;153:371::-;204:8;214:6;268:3;261:4;253:6;249:17;245:27;235:2;;291:6;283;276:22;235:2;-1:-1:-1;319:20:1;;362:18;351:30;;348:2;;;401:8;391;384:26;348:2;445:4;437:6;433:17;421:29;;497:3;490:4;481:6;473;469:19;465:30;462:39;459:2;;;514:1;511;504:12;459:2;225:299;;;;;:::o;529:739::-;572:5;625:3;618:4;610:6;606:17;602:27;592:2;;647:5;640;633:20;592:2;687:6;674:20;713:18;750:2;746;743:10;740:2;;;756:18;;:::i;:::-;831:2;825:9;799:2;885:13;;-1:-1:-1;;881:22:1;;;905:2;877:31;873:40;861:53;;;929:18;;;949:22;;;926:46;923:2;;;975:18;;:::i;:::-;1015:10;1011:2;1004:22;1050:2;1042:6;1035:18;1096:3;1089:4;1084:2;1076:6;1072:15;1068:26;1065:35;1062:2;;;1117:5;1110;1103:20;1062:2;1185;1178:4;1170:6;1166:17;1159:4;1151:6;1147:17;1134:54;1208:15;;;1225:4;1204:26;1197:41;;;;-1:-1:-1;1212:6:1;582:686;-1:-1:-1;;;582:686:1:o;1273:257::-;1332:6;1385:2;1373:9;1364:7;1360:23;1356:32;1353:2;;;1406:6;1398;1391:22;1353:2;1450:9;1437:23;1469:31;1494:5;1469:31;:::i;:::-;1519:5;1343:187;-1:-1:-1;;;1343:187:1:o;1535:297::-;1602:6;1655:2;1643:9;1634:7;1630:23;1626:32;1623:2;;;1676:6;1668;1661:22;1623:2;1713:9;1707:16;1766:5;1759:13;1752:21;1745:5;1742:32;1732:2;;1793:6;1785;1778:22;1837:1001;1968:6;1976;1984;1992;2000;2008;2016;2069:3;2057:9;2048:7;2044:23;2040:33;2037:2;;;2091:6;2083;2076:22;2037:2;2135:9;2122:23;2154:31;2179:5;2154:31;:::i;:::-;2204:5;-1:-1:-1;2261:2:1;2246:18;;2233:32;2274:33;2233:32;2274:33;:::i;:::-;2326:7;-1:-1:-1;2385:2:1;2370:18;;2357:32;2398:33;2357:32;2398:33;:::i;:::-;2450:7;-1:-1:-1;2504:2:1;2489:18;;2476:32;;-1:-1:-1;2555:3:1;2540:19;;2527:33;;-1:-1:-1;2611:3:1;2596:19;;2583:33;2639:18;2628:30;;2625:2;;;2676:6;2668;2661:22;2625:2;2720:58;2770:7;2761:6;2750:9;2746:22;2720:58;:::i;:::-;2027:811;;;;-1:-1:-1;2027:811:1;;-1:-1:-1;2027:811:1;;;;2694:84;;-1:-1:-1;;;2027:811:1:o;2843:1304::-;3011:6;3019;3027;3035;3043;3051;3059;3067;3075;3083;3136:3;3124:9;3115:7;3111:23;3107:33;3104:2;;;3158:6;3150;3143:22;3104:2;3202:9;3189:23;3221:31;3246:5;3221:31;:::i;:::-;3271:5;-1:-1:-1;3328:2:1;3313:18;;3300:32;3341:33;3300:32;3341:33;:::i;:::-;3393:7;-1:-1:-1;3419:38:1;3453:2;3438:18;;3419:38;:::i;:::-;3409:48;;3504:2;3493:9;3489:18;3476:32;3466:42;;3555:3;3544:9;3540:19;3527:33;3517:43;;3607:3;3596:9;3592:19;3579:33;3569:43;;3663:3;3652:9;3648:19;3635:33;3687:18;3728:2;3720:6;3717:14;3714:2;;;3749:6;3741;3734:22;3714:2;3777:50;3819:7;3810:6;3799:9;3795:22;3777:50;:::i;:::-;3767:60;;3874:3;3863:9;3859:19;3846:33;3836:43;;3932:3;3921:9;3917:19;3904:33;3888:49;;3962:2;3952:8;3949:16;3946:2;;;3983:6;3975;3968:22;3946:2;;4027:60;4079:7;4068:8;4057:9;4053:24;4027:60;:::i;:::-;4001:86;;4106:8;4096:18;;;4133:8;4123:18;;;3094:1053;;;;;;;;;;;;;:::o;4152:622::-;4252:6;4260;4268;4276;4329:3;4317:9;4308:7;4304:23;4300:33;4297:2;;;4351:6;4343;4336:22;4297:2;4395:9;4382:23;4414:31;4439:5;4414:31;:::i;:::-;4464:5;-1:-1:-1;4521:2:1;4506:18;;4493:32;4534:33;4493:32;4534:33;:::i;:::-;4586:7;-1:-1:-1;4645:2:1;4630:18;;4617:32;4658:33;4617:32;4658:33;:::i;:::-;4287:487;;;;-1:-1:-1;4710:7:1;;4764:2;4749:18;4736:32;;-1:-1:-1;;4287:487:1:o;5406:1231::-;5554:6;5562;5570;5578;5586;5594;5602;5610;5663:3;5651:9;5642:7;5638:23;5634:33;5631:2;;;5685:6;5677;5670:22;5631:2;5729:9;5716:23;5748:31;5773:5;5748:31;:::i;:::-;5798:5;-1:-1:-1;5855:2:1;5840:18;;5827:32;5868:33;5827:32;5868:33;:::i;:::-;5920:7;-1:-1:-1;5979:2:1;5964:18;;5951:32;5992:33;5951:32;5992:33;:::i;:::-;6044:7;-1:-1:-1;6098:2:1;6083:18;;6070:32;;-1:-1:-1;6149:3:1;6134:19;;6121:33;;-1:-1:-1;6205:3:1;6190:19;;6177:33;6229:18;6259:14;;;6256:2;;;6291:6;6283;6276:22;6256:2;6319:50;6361:7;6352:6;6341:9;6337:22;6319:50;:::i;:::-;6309:60;;6422:3;6411:9;6407:19;6394:33;6378:49;;6452:2;6442:8;6439:16;6436:2;;;6473:6;6465;6458:22;6436:2;;6517:60;6569:7;6558:8;6547:9;6543:24;6517:60;:::i;:::-;5621:1016;;;;-1:-1:-1;5621:1016:1;;-1:-1:-1;5621:1016:1;;;;;;6596:8;-1:-1:-1;;;5621:1016:1:o;6642:194::-;6712:6;6765:2;6753:9;6744:7;6740:23;6736:32;6733:2;;;6786:6;6778;6771:22;6733:2;-1:-1:-1;6814:16:1;;6723:113;-1:-1:-1;6723:113:1:o;6841:268::-;6929:6;6924:3;6917:19;6981:6;6974:5;6967:4;6962:3;6958:14;6945:43;-1:-1:-1;6899:3:1;7008:16;;;7026:4;7004:27;;;6997:40;;;;7091:2;7070:15;;;-1:-1:-1;;7066:29:1;7057:39;;;7053:50;;6907:202::o;7114:476::-;7156:3;7194:5;7188:12;7221:6;7216:3;7209:19;7246:3;7258:162;7272:6;7269:1;7266:13;7258:162;;;7334:4;7390:13;;;7386:22;;7380:29;7362:11;;;7358:20;;7351:59;7287:12;7258:162;;;7438:6;7435:1;7432:13;7429:2;;;7504:3;7497:4;7488:6;7483:3;7479:16;7475:27;7468:40;7429:2;-1:-1:-1;7572:2:1;7551:15;-1:-1:-1;;7547:29:1;7538:39;;;;7579:4;7534:50;;7164:426;-1:-1:-1;;7164:426:1:o;8183:587::-;-1:-1:-1;;;;;8490:15:1;;;8472:34;;8542:15;;8537:2;8522:18;;8515:43;8589:2;8574:18;;8567:34;;;8632:2;8617:18;;8610:34;;;8452:3;8675;8660:19;;8653:32;;;8415:4;;8702:62;;8744:19;;8736:6;8728;8702:62;:::i;:::-;8694:70;8424:346;-1:-1:-1;;;;;;;;8424:346:1:o;8775:751::-;-1:-1:-1;;;;;9130:15:1;;;9112:34;;9182:15;;9177:2;9162:18;;9155:43;9229:2;9214:18;;9207:34;;;9272:2;9257:18;;9250:34;;;9321:3;9315;9300:19;;9293:32;;;9055:4;;9348:46;;9374:19;;9366:6;9348:46;:::i;:::-;9443:9;9435:6;9431:22;9425:3;9414:9;9410:19;9403:51;9471:49;9513:6;9505;9497;9471:49;:::i;:::-;9463:57;9064:462;-1:-1:-1;;;;;;;;;;9064:462:1:o;9531:915::-;-1:-1:-1;;;;;9964:15:1;;;9946:34;;10016:15;;10011:2;9996:18;;9989:43;10063:2;10048:18;;10041:34;;;10106:2;10091:18;;10084:34;;;10149:3;10134:19;;10127:35;;;9896:3;9926;10178:19;;10171:31;;;9867:4;;10225:45;10251:18;;;10243:6;10225:45;:::i;:::-;10211:59;;10307:6;10301:3;10290:9;10286:19;10279:35;10363:9;10355:6;10351:22;10345:3;10334:9;10330:19;10323:51;10391:49;10433:6;10425;10417;10391:49;:::i;:::-;10383:57;9876:570;-1:-1:-1;;;;;;;;;;;;9876:570:1:o;11050:416::-;11252:2;11234:21;;;11291:2;11271:18;;;11264:30;11330:34;11325:2;11310:18;;11303:62;-1:-1:-1;;;11396:2:1;11381:18;;11374:50;11456:3;11441:19;;11224:242::o;12598:127::-;12659:10;12654:3;12650:20;12647:1;12640:31;12690:4;12687:1;12680:15;12714:4;12711:1;12704:15;12730:131;-1:-1:-1;;;;;12805:31:1;;12795:42;;12785:2;;12851:1;12848;12841:12;12785:2;12775:86;:::o

Swarm Source

ipfs://381997a51897c242b965a0911fbe9367cf6f66be5c66b6f3169e4ca0657d6aa2

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.