ETH Price: $3,087.81 (-1.07%)

Contract

0xB340dd62e15BA76434b51B6208ba5E97241d118e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Transfer138632242021-12-23 19:10:441060 days ago1640286644IN
0xB340dd62...7241d118e
0.005 ETH0.00252713120.33991901
Transfer Ownersh...136354762021-11-17 21:50:001096 days ago1637185800IN
0xB340dd62...7241d118e
0 ETH0.00422997147.97892181
Add Free Mintabl...136354752021-11-17 21:49:341096 days ago1637185774IN
0xB340dd62...7241d118e
0 ETH0.00682295134.45564173
0x60806040136354592021-11-17 21:46:311096 days ago1637185591IN
 Create: ITFKPeer
0 ETH0.16960841171.6554015

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146285562022-04-21 13:27:28941 days ago1650547648
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146131702022-04-19 3:22:59944 days ago1650338579
0xB340dd62...7241d118e
0 ETH
146120912022-04-18 23:29:45944 days ago1650324585
0xB340dd62...7241d118e
0 ETH
146120912022-04-18 23:29:45944 days ago1650324585
0xB340dd62...7241d118e
0 ETH
146120912022-04-18 23:29:45944 days ago1650324585
0xB340dd62...7241d118e
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ITFKPeer

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : ITFKPeer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

// Contracts
import "@openzeppelin/contracts/access/Ownable.sol";

// Interfaces
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import "./IImpactTheoryFoundersKey.sol";
import "./IITFKFreeMintable.sol";

contract ITFKPeer is Ownable {
    IImpactTheoryFoundersKey private itfk;

    mapping(address => bool) private _approvedContracts;
    mapping(uint256 => uint8) private _fkFreeMintUsage;
    mapping(uint256 => mapping(uint8 => address))
        private _fkFreeMintUsageContract;

    // Constructor
    constructor(address _itfkContractAddress) {
        itfk = IImpactTheoryFoundersKey(_itfkContractAddress);
    }

    function addFreeMintableContracts(address[] memory _contracts)
        external
        onlyOwner
    {
        for (uint256 i = 0; i < _contracts.length; i++) {
            require(
                IERC165(_contracts[i]).supportsInterface(
                    type(IITFKFreeMintable).interfaceId
                ),
                "Contract is not ITFKFreeMintable"
            );

            _approvedContracts[_contracts[i]] = true;
        }
    }

    function getFreeMintsRemaining(uint256 _tokenId)
        public
        view
        returns (uint8)
    {
        (uint256 tierId, ) = itfk.tokenTier(_tokenId);
        if (tierId == 1)
            // Legendary
            return
                _fkFreeMintUsage[_tokenId] > 3
                    ? 0
                    : 3 - _fkFreeMintUsage[_tokenId];
        if (tierId == 2)
            // Heroic
            return _fkFreeMintUsage[_tokenId] == 0 ? 1 : 0;
        return 0;
    }

    function updateFreeMintAllocation(uint256 _tokenId) public {
        require(_approvedContracts[msg.sender], "Not a free mintable contract");
        (uint256 tierId, ) = itfk.tokenTier(_tokenId);

        require(
            tierId == 1 || tierId == 2,
            "Only Legendary & Heroic can free mint"
        );

        if (tierId == 1)
            require(
                _fkFreeMintUsage[_tokenId] < 3,
                "All Legendary free mints used"
            );
        if (tierId == 2)
            require(_fkFreeMintUsage[_tokenId] < 1, "Heroic free mint used");

        uint8 newUsedFreeMint = _fkFreeMintUsage[_tokenId] + 1;
        _fkFreeMintUsageContract[_tokenId][newUsedFreeMint] = msg.sender;
        _fkFreeMintUsage[_tokenId] = newUsedFreeMint;
    }

    function getFreeMintContracts(uint256 _tokenId)
        external
        view
        returns (address[] memory contracts)
    {
        uint8 usageCount = _fkFreeMintUsage[_tokenId];
        address[] memory _contracts = new address[](usageCount);

        for (uint8 i; i < usageCount; i++) {
            _contracts[i] = _fkFreeMintUsageContract[_tokenId][i + 1];
        }

        return _contracts;
    }

    function getFoundersKeysByTierIds(address _wallet, uint8 _includeTier)
        external
        view
        returns (uint256[] memory fks)
    {
        // _includeTier = 3 bit field
        // 100 = relentless
        // 010 = heroic
        // 001 = legendary
        uint256 balance = itfk.balanceOf(_wallet);
        uint256[] memory fkMapping = new uint256[](balance);
        uint256 fkCount;

        for (uint256 i; i < balance; i++) {
            uint256 tokenId = itfk.tokenOfOwnerByIndex(_wallet, i);

            (uint256 tierId, ) = itfk.tokenTier(tokenId);
            uint8 bitFieldTierId = tierId > 0 ? uint8(1 << (tierId - 1)) : 0;
            if (_includeTier & bitFieldTierId != 0) {
                fkMapping[fkCount] = tokenId;
                fkCount++;
            }
        }

        uint256[] memory _fks = new uint256[](fkCount);
        for (uint256 i; i < fkCount; i++) {
            _fks[i] = fkMapping[i];
        }

        return _fks;
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : IERC165.sol
// SPDX-License-Identifier: MIT

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 4 of 8 : IImpactTheoryFoundersKey.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

interface IImpactTheoryFoundersKey is IERC721Enumerable {
    struct Tier {
        uint256 id;
        string name;
    }

    function tokenTier(uint256)
        external
        view
        returns (uint256 tierId, string memory tierName);
}

File 5 of 8 : IITFKFreeMintable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IITFKFreeMintable is IERC165 {
    function fkMint(
        uint256[] memory _fkPresaleTokenIds,
        uint256[] memory _fkFreeMintTokenIds,
        uint32 _amount,
        string memory _nonce,
        bytes memory _signature
    ) external;
}

File 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 8 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 8 of 8 : IERC721.sol
// SPDX-License-Identifier: MIT

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`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_itfkContractAddress","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":[{"internalType":"address[]","name":"_contracts","type":"address[]"}],"name":"addFreeMintableContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint8","name":"_includeTier","type":"uint8"}],"name":"getFoundersKeysByTierIds","outputs":[{"internalType":"uint256[]","name":"fks","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getFreeMintContracts","outputs":[{"internalType":"address[]","name":"contracts","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getFreeMintsRemaining","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"updateFreeMintAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516110ef3803806110ef83398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100db565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100be578081fd5b81516001600160a01b03811681146100d4578182fd5b9392505050565b611005806100ea6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100f4578063c036a15a1461010f578063f2fde38b1461012f578063fccb18371461014257600080fd5b8063134c4b1c1461008d578063230a696c146100a2578063571727f2146100cc578063715018a6146100ec575b600080fd5b6100a061009b366004610d36565b610155565b005b6100b56100b0366004610d36565b6103dc565b60405160ff90911681526020015b60405180910390f35b6100df6100da366004610c2c565b6104e7565b6040516100c39190610e6b565b6100a0610828565b6000546040516001600160a01b0390911681526020016100c3565b61012261011d366004610d36565b61085e565b6040516100c39190610e1e565b6100a061013d366004610c12565b610971565b6100a0610150366004610c67565b610a0c565b3360009081526002602052604090205460ff166101b95760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420612066726565206d696e7461626c6520636f6e74726163740000000060448201526064015b60405180910390fd5b60015460405163649e705f60e01b8152600481018390526000916001600160a01b03169063649e705f9060240160006040518083038186803b1580156101fe57600080fd5b505afa158015610212573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261023a9190810190610d66565b509050806001148061024c5750806002145b6102a65760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79204c6567656e646172792026204865726f69632063616e2066726565604482015264081b5a5b9d60da1b60648201526084016101b0565b80600114156103115760008281526003602081905260409091205460ff16106103115760405162461bcd60e51b815260206004820152601d60248201527f416c6c204c6567656e646172792066726565206d696e7473207573656400000060448201526064016101b0565b806002141561037557600082815260036020526040902054600160ff909116106103755760405162461bcd60e51b815260206004820152601560248201527412195c9bda58c8199c9959481b5a5b9d081d5cd959605a1b60448201526064016101b0565b6000828152600360205260408120546103929060ff166001610f09565b600084815260046020908152604080832060ff90941680845293825280832080546001600160a01b031916331790559582526003905293909320805460ff19169093179092555050565b60015460405163649e705f60e01b81526004810183905260009182916001600160a01b039091169063649e705f9060240160006040518083038186803b15801561042557600080fd5b505afa158015610439573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104619190810190610d66565b50905080600114156104b75760008381526003602081905260409091205460ff16116104ad576000838152600360208190526040909120546104a89160ff90911690610f45565b6104b0565b60005b9392505050565b80600214156104ad5760008381526003602052604090205460ff16156104de5760006104b0565b60019392505050565b6001546040516370a0823160e01b81526001600160a01b0384811660048301526060926000929116906370a082319060240160206040518083038186803b15801561053157600080fd5b505afa158015610545573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105699190610d4e565b905060008167ffffffffffffffff81111561059457634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156105bd578160200160208202803683370190505b5090506000805b8381101561075757600154604051632f745c5960e01b81526001600160a01b038981166004830152602482018490526000921690632f745c599060440160206040518083038186803b15801561061957600080fd5b505afa15801561062d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106519190610d4e565b60015460405163649e705f60e01b8152600481018390529192506000916001600160a01b039091169063649e705f9060240160006040518083038186803b15801561069b57600080fd5b505afa1580156106af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106d79190810190610d66565b50905060008082116106ea5760006106fa565b6106f5600183610f2e565b6001901b5b905060ff8982161615610741578286868151811061072857634e487b7160e01b600052603260045260246000fd5b60209081029190910101528461073d81610f68565b9550505b505050808061074f90610f68565b9150506105c4565b5060008167ffffffffffffffff81111561078157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156107aa578160200160208202803683370190505b50905060005b8281101561081d578381815181106107d857634e487b7160e01b600052603260045260246000fd5b602002602001015182828151811061080057634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061081581610f68565b9150506107b0565b509695505050505050565b6000546001600160a01b031633146108525760405162461bcd60e51b81526004016101b090610ea3565b61085c6000610ba6565b565b60008181526003602052604081205460609160ff909116908167ffffffffffffffff81111561089d57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108c6578160200160208202803683370190505b50905060005b8260ff168160ff161015610969576000858152600460205260408120906108f4836001610f09565b60ff1660ff16815260200190815260200160002060009054906101000a90046001600160a01b0316828260ff168151811061093f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101528061096181610f83565b9150506108cc565b509392505050565b6000546001600160a01b0316331461099b5760405162461bcd60e51b81526004016101b090610ea3565b6001600160a01b038116610a005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101b0565b610a0981610ba6565b50565b6000546001600160a01b03163314610a365760405162461bcd60e51b81526004016101b090610ea3565b60005b8151811015610ba257818181518110610a6257634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516301ffc9a760e01b81526356db4e1560e01b60048201526001600160a01b03909116906301ffc9a79060240160206040518083038186803b158015610ab457600080fd5b505afa158015610ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aec9190610d16565b610b385760405162461bcd60e51b815260206004820181905260248201527f436f6e7472616374206973206e6f74204954464b467265654d696e7461626c6560448201526064016101b0565b600160026000848481518110610b5e57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610b9a81610f68565b915050610a39565b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610c0d57600080fd5b919050565b600060208284031215610c23578081fd5b6104b082610bf6565b60008060408385031215610c3e578081fd5b610c4783610bf6565b9150602083013560ff81168114610c5c578182fd5b809150509250929050565b60006020808385031215610c79578182fd5b823567ffffffffffffffff80821115610c90578384fd5b818501915085601f830112610ca3578384fd5b813581811115610cb557610cb5610fb9565b8060051b9150610cc6848301610ed8565b8181528481019084860184860187018a1015610ce0578788fd5b8795505b83861015610d0957610cf581610bf6565b835260019590950194918601918601610ce4565b5098975050505050505050565b600060208284031215610d27578081fd5b815180151581146104b0578182fd5b600060208284031215610d47578081fd5b5035919050565b600060208284031215610d5f578081fd5b5051919050565b60008060408385031215610d78578182fd5b8251915060208084015167ffffffffffffffff80821115610d97578384fd5b818601915086601f830112610daa578384fd5b815181811115610dbc57610dbc610fb9565b610dce601f8201601f19168501610ed8565b91508082528784828501011115610de3578485fd5b845b81811015610e00578381018501518382018601528401610de5565b81811115610e1057858583850101525b509497909650945050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e5f5783516001600160a01b031683529284019291840191600101610e3a565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e5f57835183529284019291840191600101610e87565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715610f0157610f01610fb9565b604052919050565b600060ff821660ff84168060ff03821115610f2657610f26610fa3565b019392505050565b600082821015610f4057610f40610fa3565b500390565b600060ff821660ff841680821015610f5f57610f5f610fa3565b90039392505050565b6000600019821415610f7c57610f7c610fa3565b5060010190565b600060ff821660ff811415610f9a57610f9a610fa3565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205de809db3f63655b187946cad204d5029554eeb5eef9de169a78e9c4840c8bd164736f6c63430008040033000000000000000000000000e6ef513f7429d92cb54ebd4c14026aeb90849a78

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100f4578063c036a15a1461010f578063f2fde38b1461012f578063fccb18371461014257600080fd5b8063134c4b1c1461008d578063230a696c146100a2578063571727f2146100cc578063715018a6146100ec575b600080fd5b6100a061009b366004610d36565b610155565b005b6100b56100b0366004610d36565b6103dc565b60405160ff90911681526020015b60405180910390f35b6100df6100da366004610c2c565b6104e7565b6040516100c39190610e6b565b6100a0610828565b6000546040516001600160a01b0390911681526020016100c3565b61012261011d366004610d36565b61085e565b6040516100c39190610e1e565b6100a061013d366004610c12565b610971565b6100a0610150366004610c67565b610a0c565b3360009081526002602052604090205460ff166101b95760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420612066726565206d696e7461626c6520636f6e74726163740000000060448201526064015b60405180910390fd5b60015460405163649e705f60e01b8152600481018390526000916001600160a01b03169063649e705f9060240160006040518083038186803b1580156101fe57600080fd5b505afa158015610212573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261023a9190810190610d66565b509050806001148061024c5750806002145b6102a65760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79204c6567656e646172792026204865726f69632063616e2066726565604482015264081b5a5b9d60da1b60648201526084016101b0565b80600114156103115760008281526003602081905260409091205460ff16106103115760405162461bcd60e51b815260206004820152601d60248201527f416c6c204c6567656e646172792066726565206d696e7473207573656400000060448201526064016101b0565b806002141561037557600082815260036020526040902054600160ff909116106103755760405162461bcd60e51b815260206004820152601560248201527412195c9bda58c8199c9959481b5a5b9d081d5cd959605a1b60448201526064016101b0565b6000828152600360205260408120546103929060ff166001610f09565b600084815260046020908152604080832060ff90941680845293825280832080546001600160a01b031916331790559582526003905293909320805460ff19169093179092555050565b60015460405163649e705f60e01b81526004810183905260009182916001600160a01b039091169063649e705f9060240160006040518083038186803b15801561042557600080fd5b505afa158015610439573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104619190810190610d66565b50905080600114156104b75760008381526003602081905260409091205460ff16116104ad576000838152600360208190526040909120546104a89160ff90911690610f45565b6104b0565b60005b9392505050565b80600214156104ad5760008381526003602052604090205460ff16156104de5760006104b0565b60019392505050565b6001546040516370a0823160e01b81526001600160a01b0384811660048301526060926000929116906370a082319060240160206040518083038186803b15801561053157600080fd5b505afa158015610545573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105699190610d4e565b905060008167ffffffffffffffff81111561059457634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156105bd578160200160208202803683370190505b5090506000805b8381101561075757600154604051632f745c5960e01b81526001600160a01b038981166004830152602482018490526000921690632f745c599060440160206040518083038186803b15801561061957600080fd5b505afa15801561062d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106519190610d4e565b60015460405163649e705f60e01b8152600481018390529192506000916001600160a01b039091169063649e705f9060240160006040518083038186803b15801561069b57600080fd5b505afa1580156106af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106d79190810190610d66565b50905060008082116106ea5760006106fa565b6106f5600183610f2e565b6001901b5b905060ff8982161615610741578286868151811061072857634e487b7160e01b600052603260045260246000fd5b60209081029190910101528461073d81610f68565b9550505b505050808061074f90610f68565b9150506105c4565b5060008167ffffffffffffffff81111561078157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156107aa578160200160208202803683370190505b50905060005b8281101561081d578381815181106107d857634e487b7160e01b600052603260045260246000fd5b602002602001015182828151811061080057634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061081581610f68565b9150506107b0565b509695505050505050565b6000546001600160a01b031633146108525760405162461bcd60e51b81526004016101b090610ea3565b61085c6000610ba6565b565b60008181526003602052604081205460609160ff909116908167ffffffffffffffff81111561089d57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108c6578160200160208202803683370190505b50905060005b8260ff168160ff161015610969576000858152600460205260408120906108f4836001610f09565b60ff1660ff16815260200190815260200160002060009054906101000a90046001600160a01b0316828260ff168151811061093f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101528061096181610f83565b9150506108cc565b509392505050565b6000546001600160a01b0316331461099b5760405162461bcd60e51b81526004016101b090610ea3565b6001600160a01b038116610a005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101b0565b610a0981610ba6565b50565b6000546001600160a01b03163314610a365760405162461bcd60e51b81526004016101b090610ea3565b60005b8151811015610ba257818181518110610a6257634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516301ffc9a760e01b81526356db4e1560e01b60048201526001600160a01b03909116906301ffc9a79060240160206040518083038186803b158015610ab457600080fd5b505afa158015610ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aec9190610d16565b610b385760405162461bcd60e51b815260206004820181905260248201527f436f6e7472616374206973206e6f74204954464b467265654d696e7461626c6560448201526064016101b0565b600160026000848481518110610b5e57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610b9a81610f68565b915050610a39565b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610c0d57600080fd5b919050565b600060208284031215610c23578081fd5b6104b082610bf6565b60008060408385031215610c3e578081fd5b610c4783610bf6565b9150602083013560ff81168114610c5c578182fd5b809150509250929050565b60006020808385031215610c79578182fd5b823567ffffffffffffffff80821115610c90578384fd5b818501915085601f830112610ca3578384fd5b813581811115610cb557610cb5610fb9565b8060051b9150610cc6848301610ed8565b8181528481019084860184860187018a1015610ce0578788fd5b8795505b83861015610d0957610cf581610bf6565b835260019590950194918601918601610ce4565b5098975050505050505050565b600060208284031215610d27578081fd5b815180151581146104b0578182fd5b600060208284031215610d47578081fd5b5035919050565b600060208284031215610d5f578081fd5b5051919050565b60008060408385031215610d78578182fd5b8251915060208084015167ffffffffffffffff80821115610d97578384fd5b818601915086601f830112610daa578384fd5b815181811115610dbc57610dbc610fb9565b610dce601f8201601f19168501610ed8565b91508082528784828501011115610de3578485fd5b845b81811015610e00578381018501518382018601528401610de5565b81811115610e1057858583850101525b509497909650945050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e5f5783516001600160a01b031683529284019291840191600101610e3a565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e5f57835183529284019291840191600101610e87565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715610f0157610f01610fb9565b604052919050565b600060ff821660ff84168060ff03821115610f2657610f26610fa3565b019392505050565b600082821015610f4057610f40610fa3565b500390565b600060ff821660ff841680821015610f5f57610f5f610fa3565b90039392505050565b6000600019821415610f7c57610f7c610fa3565b5060010190565b600060ff821660ff811415610f9a57610f9a610fa3565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205de809db3f63655b187946cad204d5029554eeb5eef9de169a78e9c4840c8bd164736f6c63430008040033

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

000000000000000000000000e6ef513f7429d92cb54ebd4c14026aeb90849a78

-----Decoded View---------------
Arg [0] : _itfkContractAddress (address): 0xE6eF513F7429D92cb54eBD4C14026aEb90849A78

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e6ef513f7429d92cb54ebd4c14026aeb90849a78


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.