Contract 0x0bB9a88920B6B4dd59C87aFB5Ee29D6e1C6C8942

 
 
Txn Hash
Method
Block
From
To
Value
0xc2d50e1d80fd2ed22dd5502ca00994d0685622202238a035cd2e673e0ae65f84Approve157673422022-10-17 10:51:2343 days 20 hrs ago0xa91c1caab42822173b7290af1890b12fa7d13c11 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00047017 10.17349207
0x3952aafce8aa5b2a0ae139756e791bd3e22fda26ba47401570bff4156650fe84Approve157430222022-10-14 1:19:1147 days 6 hrs ago0x86d0dd846db701ec798a05526306bb447c867ce6 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00036242 12.45277532
0x15242326dbcb9b2303a5710e192edc89cd53c39be7f9a3c1e773a11e677273b1Approve157430192022-10-14 1:18:3547 days 6 hrs ago0x86d0dd846db701ec798a05526306bb447c867ce6 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00057551 12.45277532
0xb857facdfae0db9f3fc641ca5bd3444c83538dbbd22c099b2eb452ba84276b0fApprove154831232022-09-06 8:55:3084 days 22 hrs ago0x7178aa4278acdac0677b93113cfc541acc7f130f IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00029676 10.19674039
0x073206f171a7ce222144f0a2e3e6d4d7ce2706602955b4d2eb1aa1137a54eb2cApprove154831202022-09-06 8:54:5984 days 22 hrs ago0x7178aa4278acdac0677b93113cfc541acc7f130f IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00047125 10.19674039
0xa097c8fdab8141e0d53e99666474c4be1be36cbb90433f230f6583a23b4dcc24Approve153055382022-08-09 3:15:37113 days 4 hrs ago0x70028abf1db4dde624f84c718080da67e592dce0 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00044933 15.43887211
0xaa204a01bfac0df07b01e3a77d3cc04f640883bb7af3aae81d117b9b1c19e9f8Approve153055352022-08-09 3:14:57113 days 4 hrs ago0x70028abf1db4dde624f84c718080da67e592dce0 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00071352 15.43887211
0xb549ca163d5ea82924c07a4c923fcf87ffd48ecb06393407e78901d9ede65b86Approve152619592022-08-02 8:20:55119 days 23 hrs agoENS Name siddartha1.eth IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00033092 7.16033366
0x210c69160d5cb0810ab57050c5e236f3020108566163c716d32f372df6b02b24Approve149587762022-06-13 23:53:29169 days 7 hrs ago0xf0bf03895366f562a5d079ebed178ebb0f3c137f IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00098778 33.93992889
0x81eca04bc0a8ae8504c140fa8fd25e2e8e74c03bd2d34282cb8fe76ebb92e83aApprove149587692022-06-13 23:52:40169 days 7 hrs ago0xf0bf03895366f562a5d079ebed178ebb0f3c137f IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00165362 35.78045175
0xf9393d779e23f95e4872cf9bad823b5482b185c53b158ef6ec50923a6e3eb185Approve149537732022-06-13 3:21:24170 days 4 hrs ago0x5027deef07093089020ccc731d6f6b1370d60b8b IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00745473 161.30194384
0xaa6fd343b7df8da5dafbd04362369b2eca9c2b135176d8a5868fd414e3ea758bApprove149397272022-06-10 17:34:19172 days 13 hrs ago0x0e7dff6c716fea935e3508eb06a2e44a4cdb4fe0 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.0014727 50.60138757
0x0a971947e3e9838d0bf3cd52486419238a82df1507a868267e354dd693875b63Approve149397262022-06-10 17:33:33172 days 13 hrs ago0x0e7dff6c716fea935e3508eb06a2e44a4cdb4fe0 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00233859 50.60138757
0xd00fcf9b49a951aed4e693cad34ff30456751e844eec95c2bccc8b3bcc827bc8Approve149396382022-06-10 17:11:34172 days 14 hrs ago0x451047fd0056c602481477adb302f281c66f82ad IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.0018487 63.52060745
0xbd71e3847e11c3eca0e0f5f0bca735c9e233b3643e8e9f4305021b12644bc687Approve149396362022-06-10 17:11:14172 days 14 hrs ago0x451047fd0056c602481477adb302f281c66f82ad IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00293566 63.52060745
0xafe1351ebd7bfd9f473807e739da18a5c90316880b5d5aaac406e995717548c2Approve149118332022-06-05 23:36:12177 days 7 hrs agoENS Name tipwilsooooon.eth IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00145821 50.10354005
0x3708db0c95b6cef7d51ede4b4b02cd20d93076beda257b5f688b5fd7eee8cfe2Approve149118312022-06-05 23:35:18177 days 7 hrs agoENS Name tipwilsooooon.eth IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00231558 50.10354005
0x98df7737abe6c247af0f90d90e7e9697fc7397a099ca63834d7dab3ba0b175b9Approve146093052022-04-18 12:55:47225 days 18 hrs ago0x3b67f5d4edbf45ecdedeb098e1c92a1fb5f9ce31 IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.0013343 28.87108782
0x5ecc9d4e96c490e0b0aa615d2b8c5a9a1f2d99e8f442ec1c21a49e2e5f5e3d0cApprove146027562022-04-17 12:15:58226 days 19 hrs ago0x2404cb0b85066526508a232f388b4f4bdbcd097e IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00048698 18.5054398
0x5c1633e089c4db2d64a1896188a6c2a2f312862636310ac8f0027a5e33383debApprove146027562022-04-17 12:15:58226 days 19 hrs ago0x2404cb0b85066526508a232f388b4f4bdbcd097e IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00064419 13.93885731
0xf2845fed6c6cfa9d8951f1cf2dc81f94bf9a0710a4cd38359cf909a710061406Approve144062392022-03-17 20:49:34257 days 10 hrs ago0xe967ee100afc4ecbd5be39ee2bb1850fdad2298e IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00157134 34
0xa71346b868ff21f29db8a4773623bc918520260f85806a4915b475adfc58d758Approve143740422022-03-12 20:12:56262 days 11 hrs ago0xa468489d3818a64f5ae4cada210ec06352e6745c IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.0005098 17.51682801
0xfcbc92411daade4b6d779a24b3124bb7699b3b25cc31712ed54b45df13f865ecApprove143740392022-03-12 20:12:30262 days 11 hrs ago0xa468489d3818a64f5ae4cada210ec06352e6745c IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00080955 17.51682801
0x6c0f49149af733c3899b623f8f5bcc46953c7e9068a2df8434861d926e3384ebApprove143462632022-03-08 12:41:50266 days 18 hrs ago0x34ec9c1d89ce8afa701d079fd908fca95f49667a IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00079658 27.37019472
0xba427699d9c653e23773c64f2e9c03fc8b888c18ca47aa04f82674b0036ba5c6Approve143462612022-03-08 12:41:34266 days 18 hrs ago0x34ec9c1d89ce8afa701d079fd908fca95f49667a IN  0x0bb9a88920b6b4dd59c87afb5ee29d6e1c6c89420 Ether0.00126494 27.37019472
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TOWERChest

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-05-07
*/

// Sources flattened with hardhat v2.2.1 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/[email protected]

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File @openzeppelin/contracts/GSN/[email protected]

pragma solidity >=0.6.0 <0.8.0;


// File @openzeppelin/contracts/introspection/[email protected]

pragma solidity >=0.6.0 <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 @openzeppelin/contracts/math/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, basic interface
 * @dev See https://eips.ethereum.org/EIPS/eip-20
 * Note: The ERC-165 identifier for this interface is 0x36372b07.
 */
interface IERC20 {
    /**
     * @dev Emitted when tokens are transferred, including zero value transfers.
     * @param _from The account where the transferred tokens are withdrawn from.
     * @param _to The account where the transferred tokens are deposited to.
     * @param _value The amount of tokens being transferred.
     */
    event Transfer(address indexed _from, address indexed _to, uint256 _value);

    /**
     * @dev Emitted when a successful call to {IERC20-approve(address,uint256)} is made.
     * @param _owner The account granting an allowance to `_spender`.
     * @param _spender The account being granted an allowance from `_owner`.
     * @param _value The allowance amount being granted.
     */
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    /**
     * @notice Returns the total token supply.
     * @return The total token supply.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @notice Returns the account balance of another account with address `owner`.
     * @param owner The account whose balance will be returned.
     * @return The account balance of another account with address `owner`.
     */
    function balanceOf(address owner) external view returns (uint256);

    /**
     * @notice Transfers `value` amount of tokens to address `to`.
     * @dev Reverts if the message caller's account balance does not have enough tokens to spend.
     * @dev Emits an {IERC20-Transfer} event.
     * @dev Transfers of 0 values are treated as normal transfers and fire the {IERC20-Transfer} event.
     * @param to The account where the transferred tokens will be deposited to.
     * @param value The amount of tokens to transfer.
     * @return True if the transfer succeeds, false otherwise.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @notice Transfers `value` amount of tokens from address `from` to address `to` via the approval mechanism.
     * @dev Reverts if the caller has not been approved by `from` for at least `value`.
     * @dev Reverts if `from` does not have at least `value` of balance.
     * @dev Emits an {IERC20-Transfer} event.
     * @dev Transfers of 0 values are treated as normal transfers and fire the {IERC20-Transfer} event.
     * @param from The account where the transferred tokens will be withdrawn from.
     * @param to The account where the transferred tokens will be deposited to.
     * @param value The amount of tokens to transfer.
     * @return True if the transfer succeeds, false otherwise.
     */
    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    /**
     * Sets `value` as the allowance from the caller to `spender`.
     *  IMPORTANT: Beware that changing an allowance with this method brings the risk
     *  that someone may use both the old and the new allowance by unfortunate
     *  transaction ordering. One possible solution to mitigate this race
     *  condition is to first reduce the spender's allowance to 0 and set the
     *  desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     * @dev Reverts if `spender` is the zero address.
     * @dev Emits the {IERC20-Approval} event.
     * @param spender The account being granted the allowance by the message caller.
     * @param value The allowance amount to grant.
     * @return True if the approval succeeds, false otherwise.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * Returns the amount which `spender` is allowed to spend on behalf of `owner`.
     * @param owner The account that has granted an allowance to `spender`.
     * @param spender The account that was granted an allowance by `owner`.
     * @return The amount which `spender` is allowed to spend on behalf of `owner`.
     */
    function allowance(address owner, address spender) external view returns (uint256);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, optional extension: Detailed
 * See https://eips.ethereum.org/EIPS/eip-20
 * Note: the ERC-165 identifier for this interface is 0xa219a025.
 */
interface IERC20Detailed {
    /**
     * Returns the name of the token. E.g. "My Token".
     * Note: the ERC-165 identifier for this interface is 0x06fdde03.
     * @return The name of the token.
     */
    function name() external view returns (string memory);

    /**
     * Returns the symbol of the token. E.g. "HIX".
     * Note: the ERC-165 identifier for this interface is 0x95d89b41.
     * @return The symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * Returns the number of decimals used to display the balances.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract.
     * Note: the ERC-165 identifier for this interface is 0x313ce567.
     * @return The number of decimals used to display the balances.
     */
    function decimals() external view returns (uint8);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, optional extension: Allowance
 * See https://eips.ethereum.org/EIPS/eip-20
 * Note: the ERC-165 identifier for this interface is 0xd5b86388.
 */
interface IERC20Allowance {
    /**
     * Increases the allowance granted by the sender to `spender` by `value`.
     *  This is an alternative to {approve} that can be used as a mitigation for
     *  problems described in {IERC20-approve}.
     * @dev Reverts if `spender` is the zero address.
     * @dev Reverts if `spender`'s allowance overflows.
     * @dev Emits an {IERC20-Approval} event with an updated allowance for `spender`.
     * @param spender The account whose allowance is being increased by the message caller.
     * @param value The allowance amount increase.
     * @return True if the allowance increase succeeds, false otherwise.
     */
    function increaseAllowance(address spender, uint256 value) external returns (bool);

    /**
     * Decreases the allowance granted by the sender to `spender` by `value`.
     *  This is an alternative to {approve} that can be used as a mitigation for
     *  problems described in {IERC20-approve}.
     * @dev Reverts if `spender` is the zero address.
     * @dev Reverts if `spender` has an allowance with the message caller for less than `value`.
     * @dev Emits an {IERC20-Approval} event with an updated allowance for `spender`.
     * @param spender The account whose allowance is being decreased by the message caller.
     * @param value The allowance amount decrease.
     * @return True if the allowance decrease succeeds, false otherwise.
     */
    function decreaseAllowance(address spender, uint256 value) external returns (bool);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, optional extension: Safe Transfers
 * Note: the ERC-165 identifier for this interface is 0x53f41a97.
 */
interface IERC20SafeTransfers {
    /**
     * Transfers tokens from the caller to `to`. If this address is a contract, then calls `onERC20Received(address,address,uint256,bytes)` on it.
     * @dev Reverts if `to` is the zero address.
     * @dev Reverts if `value` is greater than the sender's balance.
     * @dev Reverts if `to` is a contract which does not implement `onERC20Received(address,address,uint256,bytes)`.
     * @dev Reverts if `to` is a contract and the call to `onERC20Received(address,address,uint256,bytes)` returns a wrong value.
     * @dev Emits an {IERC20-Transfer} event.
     * @param to The address for the tokens to be transferred to.
     * @param amount The amount of tokens to be transferred.
     * @param data Optional additional data with no specified format, to be passed to the receiver contract.
     * @return true.
     */
    function safeTransfer(
        address to,
        uint256 amount,
        bytes calldata data
    ) external returns (bool);

    /**
     * Transfers tokens from `from` to another address, using the allowance mechanism.
     *  If this address is a contract, then calls `onERC20Received(address,address,uint256,bytes)` on it.
     * @dev Reverts if `to` is the zero address.
     * @dev Reverts if `value` is greater than `from`'s balance.
     * @dev Reverts if the sender does not have at least `value` allowance by `from`.
     * @dev Reverts if `to` is a contract which does not implement `onERC20Received(address,address,uint256,bytes)`.
     * @dev Reverts if `to` is a contract and the call to `onERC20Received(address,address,uint256,bytes)` returns a wrong value.
     * @dev Emits an {IERC20-Transfer} event.
     * @param from The address which owns the tokens to be transferred.
     * @param to The address for the tokens to be transferred to.
     * @param amount The amount of tokens to be transferred.
     * @param data Optional additional data with no specified format, to be passed to the receiver contract.
     * @return true.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 amount,
        bytes calldata data
    ) external returns (bool);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, optional extension: Multi Transfers
 * Note: the ERC-165 identifier for this interface is 0xd5b86388.
 */
interface IERC20MultiTransfers {
    /**
     * Moves multiple `amounts` tokens from the caller's account to each of `recipients`.
     * @dev Reverts if `recipients` and `amounts` have different lengths.
     * @dev Reverts if one of `recipients` is the zero address.
     * @dev Reverts if the caller has an insufficient balance.
     * @dev Emits an {IERC20-Transfer} event for each individual transfer.
     * @param recipients the list of recipients to transfer the tokens to.
     * @param amounts the amounts of tokens to transfer to each of `recipients`.
     * @return a boolean value indicating whether the operation succeeded.
     */
    function multiTransfer(address[] calldata recipients, uint256[] calldata amounts) external returns (bool);

    /**
     * Moves multiple `amounts` tokens from an account to each of `recipients`, using the approval mechanism.
     * @dev Reverts if `recipients` and `amounts` have different lengths.
     * @dev Reverts if one of `recipients` is the zero address.
     * @dev Reverts if `from` has an insufficient balance.
     * @dev Reverts if the sender does not have at least the sum of all `amounts` as allowance by `from`.
     * @dev Emits an {IERC20-Transfer} event for each individual transfer.
     * @dev Emits an {IERC20-Approval} event.
     * @param from The address which owns the tokens to be transferred.
     * @param recipients the list of recipients to transfer the tokens to.
     * @param amounts the amounts of tokens to transfer to each of `recipients`.
     * @return a boolean value indicating whether the operation succeeded.
     */
    function multiTransferFrom(
        address from,
        address[] calldata recipients,
        uint256[] calldata amounts
    ) external returns (bool);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, ERC1046 optional extension: Metadata
 * See https://eips.ethereum.org/EIPS/eip-1046
 * Note: the ERC-165 identifier for this interface is 0x3c130d90.
 */
interface IERC20Metadata {
    /**
     * Returns a distinct Uniform Resource Identifier (URI) for the token metadata.
     * @return a distinct Uniform Resource Identifier (URI) for the token metadata.
     */
    function tokenURI() external view returns (string memory);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, ERC2612 optional extension: permit – 712-signed approvals
 * @dev Interface for allowing ERC20 approvals to be made via ECDSA `secp256k1` signatures.
 * See https://eips.ethereum.org/EIPS/eip-2612
 * Note: the ERC-165 identifier for this interface is 0x9d8ff7da.
 */
interface IERC20Permit {
    /**
     * Sets `value` as the allowance of `spender` over the tokens of `owner`, given `owner` account's signed permit.
     * @dev WARNING: The standard ERC-20 race condition for approvals applies to `permit()` as well: https://swcregistry.io/docs/SWC-114
     * @dev Reverts if `owner` is the zero address.
     * @dev Reverts if the current blocktime is > `deadline`.
     * @dev Reverts if `r`, `s`, and `v` is not a valid `secp256k1` signature from `owner`.
     * @dev Emits an {IERC20-Approval} event.
     * @param owner The token owner granting the allowance to `spender`.
     * @param spender The token spender being granted the allowance by `owner`.
     * @param value The token amount of the allowance.
     * @param deadline The deadline from which the permit signature is no longer valid.
     * @param v Permit signature v parameter
     * @param r Permit signature r parameter.
     * @param s Permis signature s parameter.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * Returns the current permit nonce of `owner`.
     * @param owner the address to check the nonce of.
     * @return the current permit nonce of `owner`.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * Returns the EIP-712 encoded hash struct of the domain-specific information for permits.
     *
     * @dev A common ERC-20 permit implementation choice for the `DOMAIN_SEPARATOR` is:
     *
     *  keccak256(
     *      abi.encode(
     *          keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
     *          keccak256(bytes(name)),
     *          keccak256(bytes(version)),
     *          chainId,
     *          address(this)))
     *
     *  where
     *   - `name` (string) is the ERC-20 token name.
     *   - `version` (string) refers to the ERC-20 token contract version.
     *   - `chainId` (uint256) is the chain ID to which the ERC-20 token contract is deployed to.
     *   - `verifyingContract` (address) is the ERC-20 token contract address.
     *
     * @return the EIP-712 encoded hash struct of the domain-specific information for permits.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, Receiver
 * See https://eips.ethereum.org/EIPS/eip-20
 * Note: the ERC-165 identifier for this interface is 0x4fc35859.
 */
interface IERC20Receiver {
    /**
     * Handles the receipt of ERC20 tokens.
     * @param sender The initiator of the transfer.
     * @param from The address which transferred the tokens.
     * @param value The amount of tokens transferred.
     * @param data Optional additional data with no specified format.
     * @return bytes4 `bytes4(keccak256("onERC20Received(address,address,uint256,bytes)"))`
     */
    function onERC20Received(
        address sender,
        address from,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;












/**
 * @dev Implementation of the {IERC20} interface.
 */
contract ERC20 is IERC165, Context, IERC20, IERC20Detailed, IERC20Metadata, IERC20Allowance, IERC20MultiTransfers, IERC20SafeTransfers, IERC20Permit {
    using Address for address;

    // bytes4(keccak256("onERC20Received(address,address,uint256,bytes)"))
    bytes4 internal constant _ERC20_RECEIVED = 0x4fc35859;

    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")
    bytes32 internal constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 public immutable override DOMAIN_SEPARATOR;

    mapping(address => uint256) public override nonces;

    string internal _name;
    string internal _symbol;
    uint8 internal immutable _decimals;
    string internal _tokenURI;

    mapping(address => uint256) internal _balances;
    mapping(address => mapping(address => uint256)) internal _allowances;
    uint256 internal _totalSupply;

    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        string memory version,
        string memory tokenURI
    ) internal {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
        _tokenURI = tokenURI;

        uint256 chainId;
        assembly {
            chainId := chainid()
        }

        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name)),
                keccak256(bytes(version)),
                chainId,
                address(this)
            )
        );
    }

    /////////////////////////////////////////// ERC165 ///////////////////////////////////////

    /// @dev See {IERC165-supportsInterface}.
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return
            interfaceId == type(IERC165).interfaceId ||
            interfaceId == type(IERC20).interfaceId ||
            interfaceId == type(IERC20Detailed).interfaceId ||
            interfaceId == 0x06fdde03 || // bytes4(keccak256("name()"))
            interfaceId == 0x95d89b41 || // bytes4(keccak256("symbol()"))
            interfaceId == 0x313ce567 || // bytes4(keccak256("decimals()"))
            interfaceId == type(IERC20Metadata).interfaceId ||
            interfaceId == type(IERC20Allowance).interfaceId ||
            interfaceId == type(IERC20MultiTransfers).interfaceId ||
            interfaceId == type(IERC20SafeTransfers).interfaceId ||
            interfaceId == type(IERC20Permit).interfaceId;
    }

    /////////////////////////////////////////// ERC20Detailed ///////////////////////////////////////

    /// @dev See {IERC20Detailed-name}.
    function name() public view override returns (string memory) {
        return _name;
    }

    /// @dev See {IERC20Detailed-symbol}.
    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    /// @dev See {IERC20Detailed-decimals}.
    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    /////////////////////////////////////////// ERC20Metadata ///////////////////////////////////////

    /// @dev See {IERC20Metadata-tokenURI}.
    function tokenURI() public view override returns (string memory) {
        return _tokenURI;
    }

    /////////////////////////////////////////// ERC20 ///////////////////////////////////////

    /// @dev See {IERC20-totalSupply}.
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /// @dev See {IERC20-balanceOf}.
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /// @dev See {IERC20-allowance}.
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        if (owner == spender) {
            return type(uint256).max;
        }
        return _allowances[owner][spender];
    }

    /// @dev See {IERC20-approve}.
    function approve(address spender, uint256 value) public virtual override returns (bool) {
        _approve(_msgSender(), spender, value);
        return true;
    }

    /////////////////////////////////////////// ERC20 Allowance ///////////////////////////////////////

    /// @dev See {IERC20Allowance-increaseAllowance}.
    function increaseAllowance(address spender, uint256 addedValue) public virtual override returns (bool) {
        require(spender != address(0), "ERC20: zero address");
        address owner = _msgSender();
        uint256 allowance_ = _allowances[owner][spender];
        uint256 newAllowance = allowance_ + addedValue;
        require(newAllowance >= allowance_, "ERC20: allowance overflow");
        _allowances[owner][spender] = newAllowance;
        emit Approval(owner, spender, newAllowance);
        return true;
    }

    /// @dev See {IERC20Allowance-decreaseAllowance}.
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual override returns (bool) {
        require(spender != address(0), "ERC20: zero address");
        _decreaseAllowance(_msgSender(), spender, subtractedValue);
        return true;
    }

    /// @dev See {IERC20-transfer}.
    function transfer(address to, uint256 value) public virtual override returns (bool) {
        _transfer(_msgSender(), to, value);
        return true;
    }

    /// @dev See {IERC20-transferFrom}.
    function transferFrom(
        address from,
        address to,
        uint256 value
    ) public virtual override returns (bool) {
        _transferFrom(_msgSender(), from, to, value);
        return true;
    }

    /////////////////////////////////////////// ERC20MultiTransfer ///////////////////////////////////////

    /// @dev See {IERC20MultiTransfer-multiTransfer(address[],uint256[])}.
    function multiTransfer(address[] calldata recipients, uint256[] calldata amounts) external virtual override returns (bool) {
        uint256 length = recipients.length;
        require(length == amounts.length, "ERC20: inconsistent arrays");
        address sender = _msgSender();
        for (uint256 i = 0; i != length; ++i) {
            _transfer(sender, recipients[i], amounts[i]);
        }
        return true;
    }

    /// @dev See {IERC20MultiTransfer-multiTransferFrom(address,address[],uint256[])}.
    function multiTransferFrom(
        address from,
        address[] calldata recipients,
        uint256[] calldata values
    ) external virtual override returns (bool) {
        uint256 length = recipients.length;
        require(length == values.length, "ERC20: inconsistent arrays");
        uint256 total;
        for (uint256 i = 0; i != length; ++i) {
            uint256 value = values[i];
            _transfer(from, recipients[i], value);
            total += value; // cannot overflow, else it would mean thann from's balance underflowed first
        }

        _decreaseAllowance(from, _msgSender(), total);

        return true;
    }

    /////////////////////////////////////////// ERC20SafeTransfers ///////////////////////////////////////

    /// @dev See {IERC20Safe-safeTransfer(address,uint256,bytes)}.
    function safeTransfer(
        address to,
        uint256 amount,
        bytes calldata data
    ) external virtual override returns (bool) {
        address sender = _msgSender();
        _transfer(sender, to, amount);
        if (to.isContract()) {
            require(IERC20Receiver(to).onERC20Received(sender, sender, amount, data) == _ERC20_RECEIVED, "ERC20: transfer refused");
        }
        return true;
    }

    /// @dev See {IERC20Safe-safeTransferFrom(address,address,uint256,bytes)}.
    function safeTransferFrom(
        address from,
        address to,
        uint256 amount,
        bytes calldata data
    ) external virtual override returns (bool) {
        address sender = _msgSender();
        _transferFrom(sender, from, to, amount);
        if (to.isContract()) {
            require(IERC20Receiver(to).onERC20Received(sender, from, amount, data) == _ERC20_RECEIVED, "ERC20: transfer refused");
        }
        return true;
    }

    /////////////////////////////////////////// ERC20Permit ///////////////////////////////////////

    /// @dev See {IERC2612-permit(address,address,uint256,uint256,uint8,bytes32,bytes32)}.
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external virtual override {
        require(owner != address(0), "ERC20: zero address owner");
        require(block.timestamp <= deadline, "ERC20: expired permit");
        bytes32 hashStruct = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline));
        bytes32 hash = keccak256(abi.encodePacked("\x19\x01", DOMAIN_SEPARATOR, hashStruct));
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0) && signer == owner, "ERC20: invalid permit");
        _approve(owner, spender, value);
    }

    /////////////////////////////////////////// Internal Functions ///////////////////////////////////////

    function _approve(
        address owner,
        address spender,
        uint256 value
    ) internal {
        require(spender != address(0), "ERC20: zero address");
        _allowances[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    function _decreaseAllowance(
        address owner,
        address spender,
        uint256 subtractedValue
    ) internal {
        if (owner == spender) return;

        uint256 allowance_ = _allowances[owner][spender];
        if (allowance_ != type(uint256).max && subtractedValue != 0) {
            // save gas when allowance is maximal by not reducing it (see https://github.com/ethereum/EIPs/issues/717)
            uint256 newAllowance = allowance_ - subtractedValue;
            require(newAllowance <= allowance_, "ERC20: insufficient allowance");
            _allowances[owner][spender] = newAllowance;
            allowance_ = newAllowance;
        }
        emit Approval(owner, spender, allowance_);
    }

    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual {
        require(to != address(0), "ERC20: zero address");
        uint256 balance = _balances[from];
        require(balance >= value, "ERC20: insufficient balance");
        _balances[from] = balance - value;
        _balances[to] += value;
        emit Transfer(from, to, value);
    }

    function _transferFrom(
        address sender,
        address from,
        address to,
        uint256 value
    ) internal {
        _decreaseAllowance(from, sender, value);
        _transfer(from, to, value);
    }

    function _mint(address to, uint256 value) internal virtual {
        require(to != address(0), "ERC20: zero address");
        uint256 supply = _totalSupply;
        uint256 newSupply = supply + value;
        require(newSupply >= supply, "ERC20: supply overflow");
        _totalSupply = newSupply;
        _balances[to] += value; // balance cannot overflow if supply does not
        emit Transfer(address(0), to, value);
    }

    function _batchMint(address[] memory recipients, uint256[] memory values) internal virtual {
        uint256 length = recipients.length;
        require(length == values.length, "ERC20: inconsistent arrays");
        uint256 supply = _totalSupply;
        for (uint256 i = 0; i != length; ++i) {
            address to = recipients[i];
            require(to != address(0), "ERC20: zero address");
            uint256 value = values[i];
            uint256 newSupply = supply + value;
            require(newSupply >= supply, "ERC20: supply overflow");
            supply = newSupply;
            _balances[to] += value; // balance cannot overflow if supply does not
            emit Transfer(address(0), to, value);
        }
        _totalSupply = supply;
    }

    function _burn(address from, uint256 value) internal virtual {
        uint256 balance = _balances[from];
        require(balance >= value, "ERC20: insufficient balance");
        _balances[from] = balance - value;
        _totalSupply -= value; // will not underflow if balance does not
        emit Transfer(from, address(0), value);
    }

    function _burnFrom(address from, uint256 value) internal virtual {
        _decreaseAllowance(from, _msgSender(), value);
        _burn(from, value);
    }
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;

/**
 * @title ERC20 Token Standard, optional extension: Burnable
 * Note: the ERC-165 identifier for this interface is 0x3b5a0bf8.
 */
interface IERC20Burnable {
    /**
     * Burns `value` tokens from the message sender, decreasing the total supply.
     * @dev Reverts if the sender owns less than `value` tokens.
     * @dev Emits a {IERC20-Transfer} event with `_to` set to the zero address.
     * @param value the amount of tokens to burn.
     * @return a boolean value indicating whether the operation succeeded.
     */
    function burn(uint256 value) external returns (bool);

    /**
     * Burns `value` tokens from `from`, using the allowance mechanism and decreasing the total supply.
     * @dev Reverts if `from` owns less than `value` tokens.
     * @dev Reverts if the message sender is not approved by `from` for at least `value` tokens.
     * @dev Emits a {IERC20-Transfer} event with `_to` set to the zero address.
     * @dev Emits a {IERC20-Approval} event (non-standard).
     * @param from the account to burn the tokens from.
     * @param value the amount of tokens to burn.
     * @return a boolean value indicating whether the operation succeeded.
     */
    function burnFrom(address from, uint256 value) external returns (bool);
}


// File @animoca/ethereum-contracts-erc20_base-5.1.0/contracts/token/ERC20/[email protected]

pragma solidity 0.6.8;


/**
 * @title ERC20 Fungible Token Contract, burnable version.
 */
contract ERC20Burnable is ERC20, IERC20Burnable {
    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        string memory version,
        string memory tokenURI
    ) public ERC20(name, symbol, decimals, version, tokenURI) {}

    /// @dev See {IERC165-supportsInterface}.
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC20Burnable).interfaceId || super.supportsInterface(interfaceId);
    }

    /// @dev See {IERC20Burnable-burn(uint256)}.
    function burn(uint256 amount) public virtual override returns (bool) {
        _burn(_msgSender(), amount);
        return true;
    }

    /// @dev See {IERC20Burnable-burnFrom(address,uint256)}.
    function burnFrom(address from, uint256 value) public virtual override returns (bool) {
        _burnFrom(from, value);
        return true;
    }
}


// File contracts/solc-0.6/token/ERC20/TOWERChest.sol

pragma solidity 0.6.8;


/**
 * @title TOWERChest
 * A burnable ERC-20 token contract for Crazy Defense Heroes (CDH). TOWER Chests are tokens that can be burned to obtain CDH NFTs.
 * @dev TWR.BRNZ for Bronze chests.
 * @dev TWR.SLVR for Silver chests.
 * @dev TWR.GOLD for Gold chests.
 */
contract TOWERChest is ERC20Burnable, Ownable {
    /**
     * Constructor.
     * @param name Name of the token.
     * @param symbol Symbol of the token.
     * @param decimals Number of decimals the token uses.
     * @param version Signing domain version used for IERC2612 permit signatures.
     * @param tokenURI The URI for the token metadata.
     * @param holder Account to mint the initial total supply to.
     * @param totalSupply Total supply amount to mint to the message caller.
     */
    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        string memory version,
        string memory tokenURI,
        address holder,
        uint256 totalSupply
    ) public ERC20Burnable(name, symbol, decimals, version, tokenURI) {
        _mint(holder, totalSupply);
    }

    /**
     * Updates the token metadata URI.
     * @dev Reverts if the sender is not the contract owner.
     * @param tokenURI_ the new token metdata URI.
     */
    function updateTokenURI(string calldata tokenURI_) external {
        require(_msgSender() == owner(), "TOWERChest: not the owner");
        _tokenURI = tokenURI_;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"string","name":"version","type":"string"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint256","name":"totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"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"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"multiTransferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenURI_","type":"string"}],"name":"updateTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b50604051620024c1380380620024c1833981810160405260e08110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604081815260208301519201805192949193919284640100000000821115620001c157600080fd5b908301906020820185811115620001d757600080fd5b8251640100000000811182820188101715620001f257600080fd5b82525081516020918201929091019080838360005b838110156200022157818101518382015260200162000207565b50505050905090810190601f1680156200024f5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200027357600080fd5b9083019060208201858111156200028957600080fd5b8251640100000000811182820188101715620002a457600080fd5b82525081516020918201929091019080838360005b83811015620002d3578181015183820152602001620002b9565b50505050905090810190601f168015620003015780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291908051906020019092919050505086868686868484848484846001908051906020019062000341929190620005c8565b50835162000357906002906020870190620005c8565b507fff0000000000000000000000000000000000000000000000000000000000000060f884901b1660a052805162000397906003906020840190620005c8565b5060405146908060526200246f82396052019050604051809103902086805190602001208480519060200120833060405160200180868152602001858152602001848152602001838152602001826001600160a01b03166001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012060808181525050505050505050505050505060006200043d620004ad60201b60201c565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620004a082826001600160e01b03620004b216565b505050505050506200066a565b335b90565b6001600160a01b0382166200050e576040805162461bcd60e51b815260206004820152601360248201527f45524332303a207a65726f206164647265737300000000000000000000000000604482015290519081900360640190fd5b600654818101818110156200056a576040805162461bcd60e51b815260206004820152601660248201527f45524332303a20737570706c79206f766572666c6f7700000000000000000000604482015290519081900360640190fd5b60068190556001600160a01b0384166000818152600460209081526040808320805488019055805187815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200060b57805160ff19168380011785556200063b565b828001600101855582156200063b579182015b828111156200063b5782518255916020019190600101906200061e565b50620006499291506200064d565b5090565b620004af91905b8082111562000649576000815560010162000654565b60805160a05160f81c611dd962000696600039806109fb525080610a1f52806112285250611dd96000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c806379cc6790116100ee578063a9059cbb11610097578063d505accf11610071578063d505accf146106f8578063dd62ed3e14610749578063eb79554914610777578063f2fde38b146107fc576101ae565b8063a9059cbb1461056a578063b88d4fde14610596578063cb31b6cd14610626576101ae565b806395d89b41116100c857806395d89b41146104c657806398cd6153146104ce578063a457c2d71461053e576101ae565b806379cc6790146104505780637ecebe001461047c5780638da5cb5b146104a2576101ae565b8063313ce5671161015b5780633c130d90116101355780633c130d90146103fb57806342966c681461040357806370a0823114610420578063715018a614610446576101ae565b8063313ce567146103a95780633644e515146103c757806339509351146103cf576101ae565b806318160ddd1161018c57806318160ddd146102975780631e89d545146102b157806323b872dd14610373576101ae565b806301ffc9a7146101b357806306fdde03146101ee578063095ea7b31461026b575b600080fd5b6101da600480360360208110156101c957600080fd5b50356001600160e01b031916610822565b604080519115158252519081900360200190f35b6101f6610866565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610230578181015183820152602001610218565b50505050905090810190601f16801561025d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101da6004803603604081101561028157600080fd5b506001600160a01b0381351690602001356108fc565b61029f610919565b60408051918252519081900360200190f35b6101da600480360360408110156102c757600080fd5b8101906020810181356401000000008111156102e257600080fd5b8201836020820111156102f457600080fd5b8035906020019184602083028401116401000000008311171561031657600080fd5b91939092909160208101903564010000000081111561033457600080fd5b82018360208201111561034657600080fd5b8035906020019184602083028401116401000000008311171561036857600080fd5b50909250905061091f565b6101da6004803603606081101561038957600080fd5b506001600160a01b038135811691602081013590911690604001356109da565b6103b16109f9565b6040805160ff9092168252519081900360200190f35b61029f610a1d565b6101da600480360360408110156103e557600080fd5b506001600160a01b038135169060200135610a41565b6101f6610b92565b6101da6004803603602081101561041957600080fd5b5035610bf3565b61029f6004803603602081101561043657600080fd5b50356001600160a01b0316610c0e565b61044e610c29565b005b6101da6004803603604081101561046657600080fd5b506001600160a01b038135169060200135610cff565b61029f6004803603602081101561049257600080fd5b50356001600160a01b0316610d0b565b6104aa610d1d565b604080516001600160a01b039092168252519081900360200190f35b6101f6610d2c565b61044e600480360360208110156104e457600080fd5b8101906020810181356401000000008111156104ff57600080fd5b82018360208201111561051157600080fd5b8035906020019184600183028401116401000000008311171561053357600080fd5b509092509050610d8a565b6101da6004803603604081101561055457600080fd5b506001600160a01b038135169060200135610e0f565b6101da6004803603604081101561058057600080fd5b506001600160a01b038135169060200135610e7e565b6101da600480360360808110156105ac57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156105e757600080fd5b8201836020820111156105f957600080fd5b8035906020019184600183028401116401000000008311171561061b57600080fd5b509092509050610e92565b6101da6004803603606081101561063c57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561066757600080fd5b82018360208201111561067957600080fd5b8035906020019184602083028401116401000000008311171561069b57600080fd5b9193909290916020810190356401000000008111156106b957600080fd5b8201836020820111156106cb57600080fd5b803590602001918460208302840111640100000000831117156106ed57600080fd5b509092509050611009565b61044e600480360360e081101561070e57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356110c8565b61029f6004803603604081101561075f57600080fd5b506001600160a01b038135811691602001351661136a565b6101da6004803603606081101561078d57600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156107bd57600080fd5b8201836020820111156107cf57600080fd5b803590602001918460018302840111640100000000831117156107f157600080fd5b5090925090506113bb565b61044e6004803603602081101561081257600080fd5b50356001600160a01b0316611530565b60006001600160e01b031982167f3b5a0bf800000000000000000000000000000000000000000000000000000000148061086057506108608261165d565b92915050565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b505050505090505b90565b6000610910610909611896565b848461189a565b50600192915050565b60065490565b600083828114610976576040805162461bcd60e51b815260206004820152601a60248201527f45524332303a20696e636f6e73697374656e7420617272617973000000000000604482015290519081900360640190fd5b6000610980611896565b905060005b8281146109cc576109c48289898481811061099c57fe5b905060200201356001600160a01b03168888858181106109b857fe5b90506020020135611957565b600101610985565b506001979650505050505050565b60006109ef6109e7611896565b858585611a8b565b5060019392505050565b7f000000000000000000000000000000000000000000000000000000000000000090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160a01b038316610a9e576040805162461bcd60e51b815260206004820152601360248201527f45524332303a207a65726f206164647265737300000000000000000000000000604482015290519081900360640190fd5b6000610aa8611896565b6001600160a01b0380821660009081526005602090815260408083209389168352929052205490915083810181811015610b29576040805162461bcd60e51b815260206004820152601960248201527f45524332303a20616c6c6f77616e6365206f766572666c6f7700000000000000604482015290519081900360640190fd5b6001600160a01b038084166000818152600560209081526040808320948b1680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600195945050505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108f15780601f106108c6576101008083540402835291602001916108f1565b6000610c06610c00611896565b83611aa7565b506001919050565b6001600160a01b031660009081526004602052604090205490565b610c31611896565b6001600160a01b0316610c42610d1d565b6001600160a01b031614610c9d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60006109108383611b78565b60006020819052908152604090205481565b6007546001600160a01b031690565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156108f15780601f106108c6576101008083540402835291602001916108f1565b610d92610d1d565b6001600160a01b0316610da3611896565b6001600160a01b031614610dfe576040805162461bcd60e51b815260206004820152601960248201527f544f57455243686573743a206e6f7420746865206f776e657200000000000000604482015290519081900360640190fd5b610e0a60038383611cc7565b505050565b60006001600160a01b038316610e6c576040805162461bcd60e51b815260206004820152601360248201527f45524332303a207a65726f206164647265737300000000000000000000000000604482015290519081900360640190fd5b610910610e77611896565b8484611b92565b6000610910610e8b611896565b8484611957565b600080610e9d611896565b9050610eab81888888611a8b565b610ebd866001600160a01b0316611cc1565b15610ffc576040517f4fc35859000000000000000000000000000000000000000000000000000000008082526001600160a01b03838116600484019081528a8216602485015260448401899052608060648501908152608485018890529293918a1692634fc358599286928d928c928c928c92909160a401848480828437600081840152601f19601f8201169050808301925050509650505050505050602060405180830381600087803b158015610f7457600080fd5b505af1158015610f88573d6000803e3d6000fd5b505050506040513d6020811015610f9e57600080fd5b50516001600160e01b03191614610ffc576040805162461bcd60e51b815260206004820152601760248201527f45524332303a207472616e736665722072656675736564000000000000000000604482015290519081900360640190fd5b5060019695505050505050565b600083828114611060576040805162461bcd60e51b815260206004820152601a60248201527f45524332303a20696e636f6e73697374656e7420617272617973000000000000604482015290519081900360640190fd5b6000805b8281146110b557600086868381811061107957fe5b9050602002013590506110a88a8a8a8581811061109257fe5b905060200201356001600160a01b031683611957565b9190910190600101611064565b506109cc886110c2611896565b83611b92565b6001600160a01b038716611123576040805162461bcd60e51b815260206004820152601960248201527f45524332303a207a65726f2061646472657373206f776e657200000000000000604482015290519081900360640190fd5b83421115611178576040805162461bcd60e51b815260206004820152601560248201527f45524332303a2065787069726564207065726d69740000000000000000000000604482015290519081900360640190fd5b6001600160a01b038088166000818152602081815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601527f000000000000000000000000000000000000000000000000000000000000000061010286015261012280860182905282518087039091018152610142860180845281519185019190912090859052610162860180845281905260ff8a166101828701526101a286018990526101c2860188905291519095919491926101e2808401939192601f1981019281900390910190855afa1580156112cc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906113025750896001600160a01b0316816001600160a01b0316145b611353576040805162461bcd60e51b815260206004820152601560248201527f45524332303a20696e76616c6964207065726d69740000000000000000000000604482015290519081900360640190fd5b61135e8a8a8a61189a565b50505050505050505050565b6000816001600160a01b0316836001600160a01b0316141561138f5750600019610860565b506001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6000806113c6611896565b90506113d3818787611957565b6113e5866001600160a01b0316611cc1565b15611524576040517f4fc35859000000000000000000000000000000000000000000000000000000008082526001600160a01b0383811660048401818152602485019190915260448401899052608060648501908152608485018890529293918a1692634fc3585992869283928c928c928c92909160a401848480828437600081840152601f19601f8201169050808301925050509650505050505050602060405180830381600087803b15801561149c57600080fd5b505af11580156114b0573d6000803e3d6000fd5b505050506040513d60208110156114c657600080fd5b50516001600160e01b03191614611524576040805162461bcd60e51b815260206004820152601760248201527f45524332303a207472616e736665722072656675736564000000000000000000604482015290519081900360640190fd5b50600195945050505050565b611538611896565b6001600160a01b0316611549610d1d565b6001600160a01b0316146115a4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166115e95760405162461bcd60e51b8152600401808060200182810382526026815260200180611d7e6026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60006001600160e01b031982167f01ffc9a70000000000000000000000000000000000000000000000000000000014806116c057506001600160e01b031982167f36372b0700000000000000000000000000000000000000000000000000000000145b806116f457506001600160e01b031982167fa219a02500000000000000000000000000000000000000000000000000000000145b8061172857507f06fdde03000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b8061175c57507f95d89b41000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b8061179057507f313ce567000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806117c457506001600160e01b031982167f3c130d9000000000000000000000000000000000000000000000000000000000145b806117f857506001600160e01b031982167f9d07518600000000000000000000000000000000000000000000000000000000145b8061182c57506001600160e01b031982167fd5b8638800000000000000000000000000000000000000000000000000000000145b8061186057506001600160e01b031982167f53f41a9700000000000000000000000000000000000000000000000000000000145b806108605750506001600160e01b0319167f9d8ff7da000000000000000000000000000000000000000000000000000000001490565b3390565b6001600160a01b0382166118f5576040805162461bcd60e51b815260206004820152601360248201527f45524332303a207a65726f206164647265737300000000000000000000000000604482015290519081900360640190fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0382166119b2576040805162461bcd60e51b815260206004820152601360248201527f45524332303a207a65726f206164647265737300000000000000000000000000604482015290519081900360640190fd5b6001600160a01b03831660009081526004602052604090205481811015611a20576040805162461bcd60e51b815260206004820152601b60248201527f45524332303a20696e73756666696369656e742062616c616e63650000000000604482015290519081900360640190fd5b6001600160a01b0380851660008181526004602090815260408083208787039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505050565b611a96838583611b92565b611aa1838383611957565b50505050565b6001600160a01b03821660009081526004602052604090205481811015611b15576040805162461bcd60e51b815260206004820152601b60248201527f45524332303a20696e73756666696369656e742062616c616e63650000000000604482015290519081900360640190fd5b6001600160a01b03831660008181526004602090815260408083208686039055600680548790039055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b611b84826110c2611896565b611b8e8282611aa7565b5050565b816001600160a01b0316836001600160a01b03161415611bb157610e0a565b6001600160a01b038084166000908152600560209081526040808320938616835292905220546000198114801590611be857508115155b15611c705781810381811115611c45576040805162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015290519081900360640190fd5b6001600160a01b03808616600090815260056020908152604080832093881683529290522081905590505b826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a350505050565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611d26578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555611d53565b82800160010185558215611d53579182015b82811115611d53578235825591602001919060010190611d38565b50611d5f929150611d63565b5090565b6108f991905b80821115611d5f5760008155600101611d6956fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a264697066735822122018243b3c949babba113da7c87b053c857382feced213b67bc1c169328424db9264736f6c63430006080033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742900000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000861c2f7a406ccb81b49501f5559d9f77b0bd3b9a0000000000000000000000000000000000000000000000bdbc41e0348b300000000000000000000000000000000000000000000000000000000000000000001242726f6e7a6520544f574552204368657374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085457522e42524e5a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f6173736574732e6372617a79646566656e73656865726f65732e636f6d2f6f70656e7365612f6d657461646174612f62726f6e7a655f63686573745f6d657461646174612e6a736f6e000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000861c2f7a406ccb81b49501f5559d9f77b0bd3b9a0000000000000000000000000000000000000000000000bdbc41e0348b300000000000000000000000000000000000000000000000000000000000000000001242726f6e7a6520544f574552204368657374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085457522e42524e5a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f6173736574732e6372617a79646566656e73656865726f65732e636f6d2f6f70656e7365612f6d657461646174612f62726f6e7a655f63686573745f6d657461646174612e6a736f6e000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Bronze TOWER Chest
Arg [1] : symbol (string): TWR.BRNZ
Arg [2] : decimals (uint8): 18
Arg [3] : version (string): 1
Arg [4] : tokenURI (string): https://assets.crazydefenseheroes.com/opensea/metadata/bronze_chest_metadata.json
Arg [5] : holder (address): 0x861C2F7a406CCb81B49501f5559D9F77b0bd3b9A
Arg [6] : totalSupply (uint256): 3500000000000000000000

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [5] : 000000000000000000000000861c2f7a406ccb81b49501f5559d9f77b0bd3b9a
Arg [6] : 0000000000000000000000000000000000000000000000bdbc41e0348b300000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [8] : 42726f6e7a6520544f5745522043686573740000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [10] : 5457522e42524e5a000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 3100000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [14] : 68747470733a2f2f6173736574732e6372617a79646566656e73656865726f65
Arg [15] : 732e636f6d2f6f70656e7365612f6d657461646174612f62726f6e7a655f6368
Arg [16] : 6573745f6d657461646174612e6a736f6e000000000000000000000000000000


Deployed ByteCode Sourcemap

52926:1205:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;52926:1205:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;51941:204:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51941:204:0;-1:-1:-1;;;;;;51941:204:0;;:::i;:::-;;;;;;;;;;;;;;;;;;39862:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;39862:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41238:167;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;41238:167:0;;;;;;;;:::i;40649:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;43111:431;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;43111:431:0;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;43111:431:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;43111:431:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;43111:431:0;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;43111:431:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;43111:431:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;43111:431:0;;-1:-1:-1;43111:431:0;-1:-1:-1;43111:431:0;:::i;42696:221::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;42696:221:0;;;;;;;;;;;;;;;;;:::i;40154:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37553:50;;;:::i;41575:534::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;41575:534:0;;;;;;;;:::i;40404:100::-;;;:::i;52203:137::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;52203:137:0;;:::i;40795:119::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;40795:119:0;-1:-1:-1;;;;;40795:119:0;;:::i;2857:148::-;;;:::i;:::-;;52410:149;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;52410:149:0;;;;;;;;:::i;37612:50::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;37612:50:0;-1:-1:-1;;;;;37612:50:0;;:::i;2206:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2206:87:0;;;;;;;;;;;;;;40005:96;;;:::i;53956:172::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;53956:172:0;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;53956:172:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;53956:172:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;53956:172:0;;-1:-1:-1;53956:172:0;-1:-1:-1;53956:172:0;:::i;42172:271::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;42172:271:0;;;;;;;;:::i;42488:159::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;42488:159:0;;;;;;;;:::i;45010:468::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;45010:468:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;45010:468:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;45010:468:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;45010:468:0;;-1:-1:-1;45010:468:0;-1:-1:-1;45010:468:0;:::i;43638:665::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;43638:665:0;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;43638:665:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;43638:665:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;43638:665:0;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;43638:665:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;43638:665:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;43638:665:0;;-1:-1:-1;43638:665:0;-1:-1:-1;43638:665:0;:::i;45681:749::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;;45681:749:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;40960:234::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;40960:234:0;;;;;;;;;;:::i;44489:433::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;44489:433:0;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;44489:433:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;44489:433:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;44489:433:0;;-1:-1:-1;44489:433:0;-1:-1:-1;44489:433:0;:::i;3160:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;3160:244:0;-1:-1:-1;;;;;3160:244:0;;:::i;51941:204::-;52026:4;-1:-1:-1;;;;;;52050:47:0;;52065:32;52050:47;;:87;;;52101:36;52125:11;52101:23;:36::i;:::-;52043:94;51941:204;-1:-1:-1;;51941:204:0:o;39862:92::-;39941:5;39934:12;;;;;;;;-1:-1:-1;;39934:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39908:13;;39934:12;;39941:5;;39934:12;;39941:5;39934:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39862:92;;:::o;41238:167::-;41320:4;41337:38;41346:12;:10;:12::i;:::-;41360:7;41369:5;41337:8;:38::i;:::-;-1:-1:-1;41393:4:0;41238:167;;;;:::o;40649:100::-;40729:12;;40649:100;:::o;43111:431::-;43228:4;43262:10;43298:24;;;43290:63;;;;;-1:-1:-1;;;43290:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43364:14;43381:12;:10;:12::i;:::-;43364:29;-1:-1:-1;43409:9:0;43404:109;43429:6;43424:1;:11;43404:109;;43457:44;43467:6;43475:10;;43486:1;43475:13;;;;;;;;;;;;;-1:-1:-1;;;;;43475:13:0;43490:7;;43498:1;43490:10;;;;;;;;;;;;;43457:9;:44::i;:::-;43437:3;;43404:109;;;-1:-1:-1;43530:4:0;;43111:431;-1:-1:-1;;;;;;;43111:431:0:o;42696:221::-;42826:4;42843:44;42857:12;:10;:12::i;:::-;42871:4;42877:2;42881:5;42843:13;:44::i;:::-;-1:-1:-1;42905:4:0;42696:221;;;;;:::o;40154:92::-;40229:9;40154:92;:::o;37553:50::-;;;:::o;41575:534::-;41672:4;-1:-1:-1;;;;;41697:21:0;;41689:53;;;;;-1:-1:-1;;;41689:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41753:13;41769:12;:10;:12::i;:::-;-1:-1:-1;;;;;41813:18:0;;;41792;41813;;;:11;:18;;;;;;;;:27;;;;;;;;;;41753:28;;-1:-1:-1;41874:23:0;;;41916:26;;;;41908:64;;;;;-1:-1:-1;;;41908:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41983:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:42;;;42041:38;;;;;;;;;;;;;;;;;-1:-1:-1;42097:4:0;;41575:534;-1:-1:-1;;;;;41575:534:0:o;40404:100::-;40487:9;40480:16;;;;;;;;-1:-1:-1;;40480:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40454:13;;40480:16;;40487:9;;40480:16;;40487:9;40480:16;;;;;;;;;;;;;;;;;;;;;;;;52203:137;52266:4;52283:27;52289:12;:10;:12::i;:::-;52303:6;52283:5;:27::i;:::-;-1:-1:-1;52328:4:0;52203:137;;;:::o;40795:119::-;-1:-1:-1;;;;;40888:18:0;40861:7;40888:18;;;:9;:18;;;;;;;40795:119::o;2857:148::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:6:::1;::::0;2927:40:::1;::::0;2964:1:::1;::::0;-1:-1:-1;;;;;2948:6:0::1;::::0;2927:40:::1;::::0;2964:1;;2927:40:::1;2978:6;:19:::0;;;::::1;::::0;;2857:148::o;52410:149::-;52490:4;52507:22;52517:4;52523:5;52507:9;:22::i;37612:50::-;;;;;;;;;;;;;;:::o;2206:87::-;2279:6;;-1:-1:-1;;;;;2279:6:0;2206:87;:::o;40005:96::-;40086:7;40079:14;;;;;;;-1:-1:-1;;40079:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40053:13;;40079:14;;40086:7;;40079:14;;40086:7;40079:14;;;;;;;;;;;;;;;;;;;;;;;;53956:172;54051:7;:5;:7::i;:::-;-1:-1:-1;;;;;54035:23:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;54035:23:0;;54027:61;;;;;-1:-1:-1;;;54027:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54099:21;:9;54111;;54099:21;:::i;:::-;;53956:172;;:::o;42172:271::-;42274:4;-1:-1:-1;;;;;42299:21:0;;42291:53;;;;;-1:-1:-1;;;42291:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42355:58;42374:12;:10;:12::i;:::-;42388:7;42397:15;42355:18;:58::i;42488:159::-;42566:4;42583:34;42593:12;:10;:12::i;:::-;42607:2;42611:5;42583:9;:34::i;45010:468::-;45177:4;45194:14;45211:12;:10;:12::i;:::-;45194:29;;45234:39;45248:6;45256:4;45262:2;45266:6;45234:13;:39::i;:::-;45288:15;:2;-1:-1:-1;;;;;45288:13:0;;:15::i;:::-;45284:165;;;45328:62;;45394:15;45328:62;;;-1:-1:-1;;;;;45328:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45394:15;;45328:34;;;;37258:10;;45363:6;;45371:4;;45377:6;;45385:4;;;;45328:62;;;;45385:4;;;;45328:62;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;45328:62:0;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;45328:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45328:62:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;45328:62:0;-1:-1:-1;;;;;;45328:81:0;;45320:117;;;;;-1:-1:-1;;;45320:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45466:4:0;;45010:468;-1:-1:-1;;;;;;45010:468:0:o;43638:665::-;43806:4;43840:10;43876:23;;;43868:62;;;;;-1:-1:-1;;;43868:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43941:13;;43965:249;43990:6;43985:1;:11;43965:249;;44018:13;44034:6;;44041:1;44034:9;;;;;;;;;;;;;44018:25;;44058:37;44068:4;44074:10;;44085:1;44074:13;;;;;;;;;;;;;-1:-1:-1;;;;;44074:13:0;44089:5;44058:9;:37::i;:::-;44110:14;;;;;43998:3;;43965:249;;;;44226:45;44245:4;44251:12;:10;:12::i;:::-;44265:5;44226:18;:45::i;45681:749::-;-1:-1:-1;;;;;45908:19:0;;45900:57;;;;;-1:-1:-1;;;45900:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;45995:8;45976:15;:27;;45968:61;;;;;-1:-1:-1;;;45968:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46122:13:0;;;46040:18;46122:13;;;;;;;;;;;:15;;;;;;;;;46071:77;;37425:66;46071:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;46071:77:0;;;;;46061:88;;;;;;46185:58;;;;;46214:16;46185:58;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;46185:58:0;;;;;;46175:69;;;;;;;;;46272:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46061:88;;46175:69;;46122:15;;46272:24;;;;;46122:13;;-1:-1:-1;;46272:24:0;;;;;;;;;;46122:15;46272:24;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;46272:24:0;;-1:-1:-1;;46272:24:0;;;-1:-1:-1;;;;;;;46315:20:0;;;;;;:39;;;46349:5;-1:-1:-1;;;;;46339:15:0;:6;-1:-1:-1;;;;;46339:15:0;;46315:39;46307:73;;;;;-1:-1:-1;;;46307:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46391:31;46400:5;46407:7;46416:5;46391:8;:31::i;:::-;45681:749;;;;;;;;;;:::o;40960:234::-;41049:7;41082;-1:-1:-1;;;;;41073:16:0;:5;-1:-1:-1;;;;;41073:16:0;;41069:73;;;-1:-1:-1;;;41106:24:0;;41069:73;-1:-1:-1;;;;;;41159:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;40960:234::o;44489:433::-;44629:4;44646:14;44663:12;:10;:12::i;:::-;44646:29;;44686;44696:6;44704:2;44708:6;44686:9;:29::i;:::-;44730:15;:2;-1:-1:-1;;;;;44730:13:0;;:15::i;:::-;44726:167;;;44770:64;;44838:15;44770:64;;;-1:-1:-1;;;;;44770:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44838:15;;44770:34;;;;37258:10;;44805:6;;;;44821;;44829:4;;;;44770:64;;;;44829:4;;;;44770:64;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;44770:64:0;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;44770:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44770:64:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;44770:64:0;-1:-1:-1;;;;;;44770:83:0;;44762:119;;;;;-1:-1:-1;;;44762:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44910:4:0;;44489:433;-1:-1:-1;;;;;44489:433:0:o;3160:244::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3249:22:0;::::1;3241:73;;;;-1:-1:-1::0;;;3241:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3351:6;::::0;3330:38:::1;::::0;-1:-1:-1;;;;;3330:38:0;;::::1;::::0;3351:6:::1;::::0;3330:38:::1;::::0;3351:6:::1;::::0;3330:38:::1;3379:6;:17:::0;;;::::1;-1:-1:-1::0;;;;;3379:17:0;;;::::1;::::0;;;::::1;::::0;;3160:244::o;38863:845::-;38948:4;-1:-1:-1;;;;;;38985:40:0;;39000:25;38985:40;;:96;;-1:-1:-1;;;;;;;39042:39:0;;39057:24;39042:39;38985:96;:160;;;-1:-1:-1;;;;;;;39098:47:0;;39113:32;39098:47;38985:160;:202;;;-1:-1:-1;39162:25:0;-1:-1:-1;;;;;;39162:25:0;;;38985:202;:275;;;-1:-1:-1;39235:25:0;-1:-1:-1;;;;;;39235:25:0;;;38985:275;:350;;;-1:-1:-1;39310:25:0;-1:-1:-1;;;;;;39310:25:0;;;38985:350;:449;;;-1:-1:-1;;;;;;;39387:47:0;;39402:32;39387:47;38985:449;:514;;;-1:-1:-1;;;;;;;39451:48:0;;39466:33;39451:48;38985:514;:584;;;-1:-1:-1;;;;;;;39516:53:0;;39531:38;39516:53;38985:584;:653;;;-1:-1:-1;;;;;;;39586:52:0;;39601:37;39586:52;38985:653;:715;;;-1:-1:-1;;;;;;;;39655:45:0;39670:30;39655:45;;38863:845::o;737:106::-;825:10;737:106;:::o;46548:273::-;-1:-1:-1;;;;;46675:21:0;;46667:53;;;;;-1:-1:-1;;;46667:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46731:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:35;;;46782:31;;;;;;;;;;;;;;;;;46548:273;;;:::o;47574:407::-;-1:-1:-1;;;;;47704:16:0;;47696:48;;;;;-1:-1:-1;;;47696:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47773:15:0;;47755;47773;;;:9;:15;;;;;;47807:16;;;;47799:56;;;;;-1:-1:-1;;;47799:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47866:15:0;;;;;;;:9;:15;;;;;;;;47884;;;47866:33;;47910:13;;;;;;;;;;:22;;;;;;47948:25;;;;;;;47910:13;;47948:25;;;;;;;;;;;47574:407;;;;:::o;47989:227::-;48132:39;48151:4;48157:6;48165:5;48132:18;:39::i;:::-;48182:26;48192:4;48198:2;48202:5;48182:9;:26::i;:::-;47989:227;;;;:::o;49455:347::-;-1:-1:-1;;;;;49545:15:0;;49527;49545;;;:9;:15;;;;;;49579:16;;;;49571:56;;;;;-1:-1:-1;;;49571:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49638:15:0;;;;;;:9;:15;;;;;;;;49656;;;49638:33;;49682:12;:21;;;;;;;49761:33;;;;;;;49638:15;;;49761:33;;;;;;;;;;;49455:347;;;:::o;49810:158::-;49886:45;49905:4;49911:12;:10;:12::i;49886:45::-;49942:18;49948:4;49954:5;49942;:18::i;:::-;49810:158;;:::o;46829:737::-;46981:7;-1:-1:-1;;;;;46972:16:0;:5;-1:-1:-1;;;;;46972:16:0;;46968:29;;;46990:7;;46968:29;-1:-1:-1;;;;;47030:18:0;;;47009;47030;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;47072:31:0;;;;;:55;;-1:-1:-1;47107:20:0;;;47072:55;47068:439;;;47287:28;;;47338:26;;;;47330:68;;;;;-1:-1:-1;;;47330:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47413:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:42;;;47443:12;-1:-1:-1;47068:439:0;47538:7;-1:-1:-1;;;;;47522:36:0;47531:5;-1:-1:-1;;;;;47522:36:0;;47547:10;47522:36;;;;;;;;;;;;;;;;;;46829:737;;;;:::o;12607:422::-;12974:20;13013:8;;;12607:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://18243b3c949babba113da7c87b053c857382feced213b67bc1c169328424db92
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.