Contract 0x372aed0528ea4bc95e1101b2882cb15fca4b226e

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x7a65908a093b21a1824830f81e35d00d5791b6f6ebf65e34c6e0e1e126d29fa182356352021-06-12 14:48:142 days 48 mins ago0xa7ccd8e97d9773f9515444024014c9fa64f2b68e IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000101451
0x25f46bef3096d892b788fa609e8c4fafc780542933aa5fb042eea2f6fa67f24280883942021-06-07 11:42:467 days 3 hrs ago0xbaf823c5d26d7ed777b6bf59ff72f2bde0f51f6d IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180825
0xc9ff181f072f2c2e604ef1d5ec8362fb46888174cf74cdfb9406cec51743158f80881482021-06-07 11:30:287 days 4 hrs ago0xbaf823c5d26d7ed777b6bf59ff72f2bde0f51f6d IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180825
0xd5ae84ebbb5539b6bae7b512a0a6e5289a3679a0bf162bafe54681b9564629b880864802021-06-07 10:07:047 days 5 hrs ago0xd33f61efbd823eecc3fae75d7377bbe2d1e3f1a5 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.00021699
0x8b48aa871d59a1517ec1220797d826ce0d8be1243d870a4b80b283999c96083c80856402021-06-07 9:25:047 days 6 hrs ago0x535efadf3f88d25425d7e17d2092b7abdc1c00c2 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000216846
0xd7b256b4e80108fe4b48e576e8ce10b81e061381258329d96ec6c424495eeda280855962021-06-07 9:22:527 days 6 hrs ago0x535efadf3f88d25425d7e17d2092b7abdc1c00c2 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000166446
0x2ed84b4bc93caa6649f1215ad1ea085e57764eb7d346a8d62bf5f44ee527ac1980851972021-06-07 9:02:557 days 6 hrs ago0x52ef7c85007948b9e46e7da67ef8bb38949c2a5c IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000126846
0xef261f4d5d8aa3be4df609870614240d875412ca8e51bda55fae3b775e4d215179829812021-06-03 19:41:1610 days 19 hrs ago0x0de2e1f5df323d3b24b3caf091b84da10af24ac9 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180765
0xac7887d66d2405cf52243bb8366d02c16fc48fa04ea1da1450ce9e9afed314a179455522021-06-02 12:22:4912 days 3 hrs ago0xcab5dbbeb0949bec1fc24c4882cebf2a8bc3eccd IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180645
0x8243775c66881e1403c86d7e5be60682d54230d311ea4e9fea35724ea12588c478811432021-05-31 6:30:1814 days 9 hrs ago0x61acad5180a73d1a96f4a05ebb1a9b4423ae33b4 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180825
0x4a9ac4de6a32a0abe4d74bdec49808006238413ace530772610e6ae3278b7c4878646812021-05-30 16:44:1014 days 22 hrs ago0xc1df0ec0070caf984a6a3f47b84757aeb7bb4dec IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180705
0x38bc014aef0b3c2e82bb927e00cd24039a008f99846b6eb36467a47603a3d37778646442021-05-30 16:42:1914 days 22 hrs ago0xc1df0ec0070caf984a6a3f47b84757aeb7bb4dec IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000138285
0x46ac12f01245b53cae918aa6784e5c627b8565dbc66ea8021398bc69b09b1b9278644712021-05-30 16:33:4014 days 23 hrs ago0xf34bc69fce878649e2ecbe64e2960f1a62830edc IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180705
0x6f905b8f58ece6d0742dcba88f3e19e96b186844fd41f108eead43009f42418b78315682021-05-29 13:02:2116 days 2 hrs ago0xa7ccd8e97d9773f9515444024014c9fa64f2b68e IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.00022185
0xf1255785d1519d6ec3080c7d4be477503f4ce6588e1489851100e17ea5f61ef078147272021-05-28 22:58:3116 days 16 hrs ago0x9e3313744fd52a304b2e65b3f0adf74145f28869 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180825
0x48f5a2bdfea0d46a9683c778150ad700c06429f5b480b6a2f4bdb321b74d3f6c78036542021-05-28 13:42:0817 days 1 hr ago0xbd5222c291a33fced651d08b212a96dc17b8ccfa IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000105825
0x8a239fd5fd86ab878e2c187c19bfbd45ed51b33dbdcd9cf0cf75d90d04ff799b77959062021-05-28 7:14:3017 days 8 hrs ago0xc7cd08872ec6764b8f9713131ab468e933cfdc7c IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180825
0x03e054fbf90be66c1daeec22bcfa5f1a319a56445cd5a5be86d552500035855a77957622021-05-28 7:07:1817 days 8 hrs ago0x26ef1350d83df3944461abce59e792b398fc508a IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180825
0xcd4697184ed226f3fd221ff8b2b042d1fc7f08f0c8d927d91771d43caca2ea6a77454742021-05-26 12:50:2619 days 2 hrs ago0x511967cbc490febe03435665a951b80d903afeb8 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000266292
0x6f433c62a722fdf7594c0a52c2509285041b2c2fbcf1305c6746105eab82eddf77197482021-05-25 15:19:2920 days 17 mins ago0x1506f20c81d0f9b46a83857e7fffea0c5908548e IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180825
0xe916cc3df3a9c89f0e49effd1ec73005a9ed15990d77ec04c15e9f659155d46877050662021-05-25 3:01:4320 days 12 hrs ago0xb2a5741a365c710267ec91a7da7eabedee1ac552 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000072495
0x6f39683bcec515f780faccfab0b8014b7a3b46b737523d670d0206ca83b66ca877049102021-05-25 2:53:5520 days 12 hrs ago0xb2a5741a365c710267ec91a7da7eabedee1ac552 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000266292
0x5fa0eedb0ca854e8795d0c3372f2a69f6144708e8e513ae297acb48b2fa56fb976779282021-05-24 4:17:3221 days 11 hrs ago0x731f018ac22dd70122b92772e810e9aa8ac822ca IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.00021699
0x103d82cf79b2e6a21bc817d8df97b80892ce8ffd7c34efb1b209a9d1f4698f6a75090572021-05-18 6:37:1927 days 8 hrs ago0x509e4a58aa3885cb4347d7a5a0b87f48ab924852 IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180765
0xa84e55b405e405534b1c770dcfe434c6942346953b156c12dea0436f0c6869d775086182021-05-18 6:13:1827 days 9 hrs ago0xed0d4a4d5de606de59b12a30e3ddb92def7048bb IN  0x372aed0528ea4bc95e1101b2882cb15fca4b226e0 BNB0.000180765
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xd9ebe001D15e45Fd8E4Ef881d4739809334e32b8

Contract Name:
Tempest

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-14
*/

// SPDX-License-Identifier: MIT

// ((/*,                                                                    ,*((/,.
// &&@@&&%#/*.                                                        .*(#&&@@@@%. 
// &&@@@@@@@&%(.                                                    ,#%&@@@@@@@@%. 
// &&@@@@@@@@@&&(,                                                ,#&@@@@@@@@@@@%. 
// &&@@@@@@@@@@@&&/.                                            .(&&@@@@@@@@@@@@%. 
// %&@@@@@@@@@@@@@&(,                                          *#&@@@@@@@@@@@@@@%. 
// #&@@@@@@@@@@@@@@&#*                                       .*#@@@@@@@@@@@@@@@&#. 
// #&@@@@@@@@@@@@@@@@#.                                      ,%&@@@@@@@@@@@@@@@&#. 
// #&@@@@@@@@@@@@@@@@%(,                                    ,(&@@@@@@@@@@@@@@@@&#. 
// #&@@@@@@@@@@@@@@@@&&/                                   .(%&@@@@@@@@@@@@@@@@&#. 
// #%@@@@@@@@@@@@@@@@@@(.               ,(/,.              .#&@@@@@@@@@@@@@@@@@&#. 
// (%@@@@@@@@@@@@@@@@@@#*.            ./%&&&/.            .*%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@#*.           *#&@@@@&%*.          .*%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@#/.         ./#@@@@@@@@%(.         ./%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@#/.        ./&@@@@@@@@@@&(*        ,/%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@%/.       ,#&@@@@@@@@@@@@&#,.      ,/%@@@@@@@@@@@@@@@@@@%(. 
// /%@@@@@@@@@@@@@@@@@@#/.      *(&@@@@@@@@@@@@@@&&*      ./%@@@@@@@@@@@@@@@@@&%(. 
// /%@@@@@@@@@@@@@@@@@@#/.     .(&@@@@@@@@@@@@@@@@@#*.    ,/%@@@@@@@@@@@@@@@@@&#/. 
// ,#@@@@@@@@@@@@@@@@@@#/.    ./%@@@@@@@@@@@@@@@@@@&#,    ,/%@@@@@@@@@@@@@@@@@&(,  
//  /%&@@@@@@@@@@@@@@@@#/.    *#&@@@@@@@@@@@@@@@@@@@&*    ,/%@@@@@@@@@@@@@@@@&%*   
//  .*#&@@@@@@@@@@@@@@@#/.    /&&@@@@@@@@@@@@@@@@@@@&/.   ,/%@@@@@@@@@@@@@@@@#*.   
//    ,(&@@@@@@@@@@@@@@#/.    /@@@@@@@@@@@@@@@@@@@@@&(,   ,/%@@@@@@@@@@@@@@%(,     
//     .*(&&@@@@@@@@@@@#/.    /&&@@@@@@@@@@@@@@@@@@@&/,   ,/%@@@@@@@@@@@&%/,       
//        ./%&@@@@@@@@@#/.    *#&@@@@@@@@@@@@@@@@@@@%*    ,/%@@@@@@@@@&%*          
//           ,/#%&&@@@@#/.     ,#&@@@@@@@@@@@@@@@@@#/.    ,/%@@@@&&%(/,            
//               ./#&@@%/.      ,/&@@@@@@@@@@@@@@%(,      ,/%@@%#*.                
//                   .,,,         ,/%&@@@@@@@@&%(*        .,,,.                    
//                                   ,/%&@@@%(*.                                   
//  .,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,**((/*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//                                                                                                                                                                                                                                                                                                            
//                                                                                             

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.6.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/token/ERC20/IERC20.sol

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * 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
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.6.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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.6.2;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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: @openzeppelin/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.6.0;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * 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. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @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-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: @openzeppelin/contracts/access/Ownable.sol

pragma solidity ^0.6.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.
 */
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 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: contracts/WardenToken.sol

pragma solidity 0.6.12;



// WardenToken with Governance.
contract WardenToken is ERC20('WardenSwap Token', 'Warden'), Ownable {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    /**
    * @dev Returns the bep token owner.
    */
    function getOwner() external view returns (address) {
        return owner();
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

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

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    constructor() public {
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes(name())),
                keccak256(bytes('1')),
                getChainId(),
                address(this)
            )
        );
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "WAD::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "WAD::delegateBySig: invalid nonce");
        require(now <= expiry, "WAD::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "WAD::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying WADs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "WAD::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'WAD::permit: signature expired');
        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, 'WAD::permit: invalid signature');
        _approve(owner, spender, value);
    }
}

// File: contracts/Tempest.sol

pragma solidity 0.6.12;




// Tempest with Governance.
contract Tempest is ERC20('Tempest', 'TST'), Ownable {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    function burn(address _from ,uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        _moveDelegates(_delegates[_from], address(0), _amount);
    }

    /**
    * @dev Returns the bep token owner.
    */
    function getOwner() external view returns (address) {
        return owner();
    }

    // The WAD TOKEN!
    WardenToken public warden;


    constructor(
        WardenToken _warden
    ) public {
        warden = _warden;

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

    // Safe warden transfer function, just in case if rounding error causes pool to not have enough WADs.
    function safeWardenTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 wardenBal = warden.balanceOf(address(this));
        if (_amount > wardenBal) {
            warden.transfer(_to, wardenBal);
        } else {
            warden.transfer(_to, _amount);
        }
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

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

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "WAD::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "WAD::delegateBySig: invalid nonce");
        require(now <= expiry, "WAD::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "WAD::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying WADs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "WAD::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'WAD::permit: signature expired');
        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, 'WAD::permit: invalid signature');
        _approve(owner, spender, value);
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract WardenToken","name":"_warden","type":"address"}],"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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","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":"amount","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":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","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":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"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":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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"}],"name":"safeWardenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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":[],"name":"warden","outputs":[{"internalType":"contract WardenToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162002eb338038062002eb3833981810160405260208110156200003757600080fd5b5051604080518082018252600781526615195b5c195cdd60ca1b602082810191825283518085019094526003808552621514d560ea1b9185019190915282519293926200008592906200028c565b5080516200009b9060049060208401906200028c565b50506005805460ff19166012179055506000620000b7620001ea565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b0319166001600160a01b0383161790557f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f62000153620001ee565b80516020918201206040805180820190915260018152603160f81b9201919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66200019f62000288565b6040805160208082019690965280820194909452606084019290925260808301523060a0808401919091528151808403909101815260c090920190528051910120600a555062000328565b3390565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156200027e5780601f1062000252576101008083540402835291602001916200027e565b820191906000526020600020905b8154815290600101906020018083116200026057829003601f168201915b5050505050905090565b4690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002cf57805160ff1916838001178555620002ff565b82800160010185558215620002ff579182015b82811115620002ff578251825591602001919060010190620002e2565b506200030d92915062000311565b5090565b5b808211156200030d576000815560010162000312565b612b7b80620003386000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80637ecebe001161010f578063b5bf1a39116100a2578063dd62ed3e11610071578063dd62ed3e14610731578063e7a324dc1461076c578063f1127ed814610774578063f2fde38b146107d3576101f0565b8063b5bf1a391461063e578063c3cda52014610646578063d505accf1461069a578063d78b23f8146106f8576101f0565b80639dc29fac116100de5780639dc29fac14610560578063a457c2d714610599578063a9059cbb146105d2578063b4b5ea571461060b576101f0565b80637ecebe0014610515578063893d20e8146105485780638da5cb5b1461055057806395d89b4114610558576101f0565b806339509351116101875780636fcfff45116101565780636fcfff451461045557806370a08231146104a1578063715018a6146104d4578063782d6fe1146104dc576101f0565b8063395093511461035257806340c10f191461038b578063587cde1e146103c65780635c19a95c14610422576101f0565b806323b872dd116101c357806323b872dd146102e157806330adf81f14610324578063313ce5671461032c5780633644e5151461034a576101f0565b806306fdde03146101f5578063095ea7b31461027257806318160ddd146102bf57806320606b70146102d9575b600080fd5b6101fd610806565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ab6004803603604081101561028857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108ba565b604080519115158252519081900360200190f35b6102c76108d8565b60408051918252519081900360200190f35b6102c76108de565b6102ab600480360360608110156102f757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610902565b6102c76109a3565b6103346109c7565b6040805160ff9092168252519081900360200190f35b6102c76109d0565b6102ab6004803603604081101561036857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356109d6565b6103c4600480360360408110156103a157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610a31565b005b6103f9600480360360208110156103dc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b07565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103c46004803603602081101561043857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b32565b6104886004803603602081101561046b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b3f565b6040805163ffffffff9092168252519081900360200190f35b6102c7600480360360208110156104b757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b57565b6103c4610b7f565b6102c7600480360360408110156104f257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c89565b6102c76004803603602081101561052b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610f53565b6103f9610f65565b6103f9610f74565b6101fd610f95565b6103c46004803603604081101561057657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611014565b6102ab600480360360408110156105af57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356110e7565b6102ab600480360360408110156105e857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561115c565b6102c76004803603602081101561062157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611170565b6103f961120c565b6103c4600480360360c081101561065c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060ff6060820135169060808101359060a00135611228565b6103c4600480360360e08110156106b057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611567565b6103c46004803603604081101561070e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611833565b6102c76004803603604081101561074757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611acc565b6102c7611b04565b6107b36004803603604081101561078a57600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff16906020013563ffffffff16611b28565b6040805163ffffffff909316835260208301919091528051918290030190f35b6103c4600480360360208110156107e957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611b55565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b05780601f10610885576101008083540402835291602001916108b0565b820191906000526020600020905b81548152906001019060200180831161089357829003601f168201915b5050505050905090565b60006108ce6108c7611cef565b8484611cf3565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600061090f848484611e3a565b6109998461091b611cef565b61099485604051806060016040528060288152602001612a5c6028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090610966611cef565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061200a565b611cf3565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b600a5481565b60006108ce6109e3611cef565b8461099485600160006109f4611cef565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c1681529252902054906120bb565b610a39611cef565b600554610100900473ffffffffffffffffffffffffffffffffffffffff908116911614610ac757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610ad1828261212f565b73ffffffffffffffffffffffffffffffffffffffff808316600090815260076020526040812054610b03921683612260565b5050565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600760205260409020541690565b610b3c3382612441565b50565b60096020526000908152604090205463ffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610b87611cef565b600554610100900473ffffffffffffffffffffffffffffffffffffffff908116911614610c1557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600554604051600091610100900473ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b6000438210610ce3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806129c66026913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205463ffffffff1680610d1e5760009150506108d2565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860181168552925290912054168310610de35773ffffffffffffffffffffffffffffffffffffffff841660009081526008602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9490940163ffffffff168352929052206001015490506108d2565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832083805290915290205463ffffffff16831015610e2b5760009150506108d2565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8163ffffffff168163ffffffff161115610f0f57600282820363ffffffff16048103610e7b612900565b5073ffffffffffffffffffffffffffffffffffffffff8716600090815260086020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610eea576020015194506108d29350505050565b805163ffffffff16871115610f0157819350610f08565b6001820392505b5050610e51565b5073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b600b6020526000908152604090205481565b6000610f6f610f74565b905090565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b05780601f10610885576101008083540402835291602001916108b0565b61101c611cef565b600554610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146110aa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6110b48282612508565b73ffffffffffffffffffffffffffffffffffffffff808316600090815260076020526040812054610b0392169083612260565b60006108ce6110f4611cef565b8461099485604051806060016040528060258152602001612b21602591396001600061111e611cef565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061200a565b60006108ce611169611cef565b8484611e3a565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604081205463ffffffff16806111a8576000611205565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86011684529091529020600101545b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866611253610806565b80519060200120611262612652565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c084015273ffffffffffffffffffffffffffffffffffffffff8b1660e084015261010083018a90526101208084018a905282518085039091018152610140840183528051908501207f19010000000000000000000000000000000000000000000000000000000000006101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a905261022286018990529351929650909492939092600192610242808401937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08301929081900390910190855afa1580156113db573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116611472576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612a376025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600b6020526040902080546001810190915589146114f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061293b6021913960400191505060405180910390fd5b87421115611550576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129ec6025913960400191505060405180910390fd5b61155a818b612441565b505050505b505050505050565b428410156115d657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5741443a3a7065726d69743a207369676e617475726520657870697265640000604482015290519081900360640190fd5b600a5473ffffffffffffffffffffffffffffffffffffffff8089166000818152600b602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611737573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116158015906117b257508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61181d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5741443a3a7065726d69743a20696e76616c6964207369676e61747572650000604482015290519081900360640190fd5b611828898989611cf3565b505050505050505050565b61183b611cef565b600554610100900473ffffffffffffffffffffffffffffffffffffffff9081169116146118c957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561193a57600080fd5b505afa15801561194e573d6000803e3d6000fd5b505050506040513d602081101561196457600080fd5b5051905080821115611a1e57600654604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156119ec57600080fd5b505af1158015611a00573d6000803e3d6000fd5b505050506040513d6020811015611a1657600080fd5b50611ac79050565b600654604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a9a57600080fd5b505af1158015611aae573d6000803e3d6000fd5b505050506040513d6020811015611ac457600080fd5b50505b505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611b5d611cef565b600554610100900473ffffffffffffffffffffffffffffffffffffffff908116911614611beb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611c57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061297e6026913960400191505060405180910390fd5b60055460405173ffffffffffffffffffffffffffffffffffffffff80841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612aca6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611dcb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806129a46022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612aa56025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611f12576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806129186023913960400191505060405180910390fd5b611f1d838383611ac7565b611f6781604051806060016040528060268152602001612a116026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919061200a565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054611fa390826120bb565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612078578181015183820152602001612060565b50505050905090810190601f1680156120a55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561120557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82166121b157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6121bd60008383611ac7565b6002546121ca90826120bb565b60025573ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020546121fd90826120bb565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561229c5750600081115b15611ac75773ffffffffffffffffffffffffffffffffffffffff8316156123735773ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604081205463ffffffff1690816122f6576000612353565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b905060006123618285612656565b905061236f86848484612698565b5050505b73ffffffffffffffffffffffffffffffffffffffff821615611ac75773ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604081205463ffffffff1690816123c8576000612425565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b9050600061243382856120bb565b905061155f85848484612698565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600760205260408120549091169061247584610b57565b73ffffffffffffffffffffffffffffffffffffffff85811660008181526007602052604080822080547fffffffffffffffffffffffff000000000000000000000000000000000000000016898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4612502828483612260565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216612574576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612a846021913960400191505060405180910390fd5b61258082600083611ac7565b6125ca8160405180606001604052806022815260200161295c6022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919061200a565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020556002546125fd9082612656565b60025560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b4690565b600061120583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061200a565b60006126bc43604051806060016040528060338152602001612aee60339139612888565b905060008463ffffffff16118015612730575073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8901811685529252909120548282169116145b156127985773ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89011684529091529020600101829055612831565b60408051808201825263ffffffff8084168252602080830186815273ffffffffffffffffffffffffffffffffffffffff8a166000818152600884528681208b861682528452868120955186549086167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000918216178755925160019687015590815260099092529390208054928801909116919092161790555b6040805184815260208101849052815173ffffffffffffffffffffffffffffffffffffffff8816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008164010000000084106128f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152835160248401528351909283926044909101919085019080838360008315612078578181015183820152602001612060565b509192915050565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735741443a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735741443a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65645741443a3a64656c656761746542795369673a207369676e6174757265206578706972656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655741443a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735741443a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f5bcd3e54a485f514db9365f077702a3a710b43c94a39813bf4795a561517c1564736f6c634300060c00330000000000000000000000004c29e5a399d12593ef488b8d00ac2859abf63c03

Deployed ByteCode Sourcemap

42210:11118:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20485:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22591:169;;;;;;;;;;;;;;;;-1:-1:-1;22591:169:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;21560:100;;;:::i;:::-;;;;;;;;;;;;;;;;44800:122;;;:::i;23234:321::-;;;;;;;;;;;;;;;;-1:-1:-1;23234:321:0;;;;;;;;;;;;;;;;;;:::i;45285:108::-;;;:::i;21412:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45142:31;;;:::i;23964:218::-;;;;;;;;;;;;;;;;-1:-1:-1;23964:218:0;;;;;;;;;:::i;42368:162::-;;;;;;;;;;;;;;;;-1:-1:-1;42368:162:0;;;;;;;;;:::i;:::-;;46043:149;;;;;;;;;;;;;;;;-1:-1:-1;46043:149:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46336:104;;;;;;;;;;;;;;;;-1:-1:-1;46336:104:0;;;;:::i;44678:49::-;;;;;;;;;;;;;;;;-1:-1:-1;44678:49:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21723:119;;;;;;;;;;;;;;;;-1:-1:-1;21723:119:0;;;;:::i;31034:148::-;;;:::i;48936:1252::-;;;;;;;;;;;;;;;;-1:-1:-1;48936:1252:0;;;;;;;;;:::i;45474:39::-;;;;;;;;;;;;;;;;-1:-1:-1;45474:39:0;;;;:::i;42772:85::-;;;:::i;30392:79::-;;;:::i;20687:87::-;;;:::i;42538:168::-;;;;;;;;;;;;;;;;-1:-1:-1;42538:168:0;;;;;;;;;:::i;24685:269::-;;;;;;;;;;;;;;;;-1:-1:-1;24685:269:0;;;;;;;;;:::i;22055:175::-;;;;;;;;;;;;;;;;-1:-1:-1;22055:175:0;;;;;;;;;:::i;48250:255::-;;;;;;;;;;;;;;;;-1:-1:-1;48250:255:0;;;;:::i;42888:25::-;;;:::i;46874:1175::-;;;;;;;;;;;;;;;;-1:-1:-1;46874:1175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;52637:688::-;;;;;;;;;;;;;;;;-1:-1:-1;52637:688:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;43482:300::-;;;;;;;;;;;;;;;;-1:-1:-1;43482:300:0;;;;;;;;;:::i;22293:151::-;;;;;;;;;;;;;;;;-1:-1:-1;22293:151:0;;;;;;;;;;;:::i;45016:117::-;;;:::i;44539:70::-;;;;;;;;;;;;;;;;-1:-1:-1;44539:70:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;31337:244;;;;;;;;;;;;;;;;-1:-1:-1;31337:244:0;;;;:::i;20485:83::-;20555:5;20548:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20522:13;;20548:12;;20555:5;;20548:12;;20555:5;20548:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20485:83;:::o;22591:169::-;22674:4;22691:39;22700:12;:10;:12::i;:::-;22714:7;22723:6;22691:8;:39::i;:::-;-1:-1:-1;22748:4:0;22591:169;;;;;:::o;21560:100::-;21640:12;;21560:100;:::o;44800:122::-;44842:80;44800:122;:::o;23234:321::-;23340:4;23357:36;23367:6;23375:9;23386:6;23357:9;:36::i;:::-;23404:121;23413:6;23421:12;:10;:12::i;:::-;23435:89;23473:6;23435:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;23455:12;:10;:12::i;:::-;23435:33;;;;;;;;;;;;;-1:-1:-1;23435:33:0;;;:89;:37;:89::i;:::-;23404:8;:121::i;:::-;-1:-1:-1;23543:4:0;23234:321;;;;;:::o;45285:108::-;45327:66;45285:108;:::o;21412:83::-;21478:9;;;;21412:83;:::o;45142:31::-;;;;:::o;23964:218::-;24052:4;24069:83;24078:12;:10;:12::i;:::-;24092:7;24101:50;24140:10;24101:11;:25;24113:12;:10;:12::i;:::-;24101:25;;;;;;;;;;;;;;;;;;-1:-1:-1;24101:25:0;;;:34;;;;;;;;;;;:38;:50::i;42368:162::-;30614:12;:10;:12::i;:::-;30604:6;;;;;:22;:6;;;:22;;;30596:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42440:19:::1;42446:3;42451:7;42440:5;:19::i;:::-;42497:15;::::0;;::::1;42493:1;42497:15:::0;;;:10:::1;:15;::::0;;;;;42470:52:::1;::::0;42497:15:::1;42514:7:::0;42470:14:::1;:52::i;:::-;42368:162:::0;;:::o;46043:149::-;46163:21;;;;46131:7;46163:21;;;:10;:21;;;;;;;;46043:149::o;46336:104::-;46400:32;46410:10;46422:9;46400;:32::i;:::-;46336:104;:::o;44678:49::-;;;;;;;;;;;;;;;:::o;21723:119::-;21816:18;;21789:7;21816:18;;;;;;;;;;;;21723:119::o;31034:148::-;30614:12;:10;:12::i;:::-;30604:6;;;;;:22;:6;;;:22;;;30596:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31125:6:::1;::::0;31104:40:::1;::::0;31141:1:::1;::::0;31125:6:::1;::::0;::::1;31104:40;31125:6;::::0;31104:40:::1;::::0;31141:1;;31104:40:::1;31155:6;:19:::0;;;::::1;::::0;;31034:148::o;48936:1252::-;49044:7;49091:12;49077:11;:26;49069:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49181:23;;;49159:19;49181:23;;;:14;:23;;;;;;;;49219:17;49215:58;;49260:1;49253:8;;;;;49215:58;49333:20;;;;;;;:11;:20;;;;;;;;:38;49354:16;;;49333:38;;;;;;;;;:48;;:63;-1:-1:-1;49329:147:0;;49420:20;;;;;;;:11;:20;;;;;;;;49441:16;;;;;49420:38;;;;;;;;49456:1;49420:44;;;-1:-1:-1;49413:51:0;;49329:147;49537:20;;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;49533:88:0;;;49608:1;49601:8;;;;;49533:88;49633:12;49675:16;;;49702:428;49717:5;49709:13;;:5;:13;;;49702:428;;;49781:1;49764:13;;;49763:19;;;49755:27;;49824:20;;:::i;:::-;-1:-1:-1;49847:20:0;;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;49824:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49894:27;;49890:229;;;49949:8;;;;-1:-1:-1;49942:15:0;;-1:-1:-1;;;;49942:15:0;49890:229;49983:12;;:26;;;-1:-1:-1;49979:140:0;;;50038:6;50030:14;;49979:140;;;50102:1;50093:6;:10;50085:18;;49979:140;49702:428;;;;;-1:-1:-1;50147:20:0;;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;48936:1252:0;;;;:::o;45474:39::-;;;;;;;;;;;;;:::o;42772:85::-;42815:7;42842;:5;:7::i;:::-;42835:14;;42772:85;:::o;30392:79::-;30457:6;;;;;;;;30392:79::o;20687:87::-;20759:7;20752:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20726:13;;20752:14;;20759:7;;20752:14;;20759:7;20752:14;;;;;;;;;;;;;;;;;;;;;;;;42538:168;30614:12;:10;:12::i;:::-;30604:6;;;;;:22;:6;;;:22;;;30596:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42612:21:::1;42618:5;42625:7;42612:5;:21::i;:::-;42659:17;::::0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;;42644:54:::1;::::0;42659:17:::1;::::0;42690:7;42644:14:::1;:54::i;24685:269::-:0;24778:4;24795:129;24804:12;:10;:12::i;:::-;24818:7;24827:96;24866:15;24827:96;;;;;;;;;;;;;;;;;:11;:25;24839:12;:10;:12::i;:::-;24827:25;;;;;;;;;;;;;;;;;;-1:-1:-1;24827:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;22055:175::-;22141:4;22158:42;22168:12;:10;:12::i;:::-;22182:9;22193:6;22158:9;:42::i;48250:255::-;48389:23;;;48342:7;48389:23;;;:14;:23;;;;;;;;48430:16;:67;;48496:1;48430:67;;;48449:20;;;;;;;:11;:20;;;;;;;;:38;48470:16;;;48449:38;;;;;;;;48485:1;48449:44;;48430:67;48423:74;48250:255;-1:-1:-1;;;48250:255:0:o;42888:25::-;;;;;;:::o;46874:1175::-;47067:23;44842:80;47196:6;:4;:6::i;:::-;47180:24;;;;;;47223:12;:10;:12::i;:::-;47117:165;;;;;;;;;;;;;;;;;;;;;;;;;47262:4;47117:165;;;;;;;;;;;;;;;;;;;;;;;47093:200;;;;;;45062:71;47351:140;;;;47117:165;47351:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47327:175;;;;;;47556:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47532:158;;;;;;;;;-1:-1:-1;47723:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47093:200;;-1:-1:-1;47327:175:0;;47532:158;;-1:-1:-1;;47723:26:0;;;;;;;-1:-1:-1;47723:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47723:26:0;;;;;;-1:-1:-1;;47768:23:0;;;47760:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47861:17;;;;;;;:6;:17;;;;;:19;;;;;;;;47852:28;;47844:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47944:6;47937:3;:13;;47929:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48010:31;48020:9;48031;48010;:31::i;:::-;48003:38;;;;46874:1175;;;;;;;:::o;52637:688::-;52783:15;52771:8;:27;;52763:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52949:16;;53045:13;;;;52844:14;53045:13;;;:6;:13;;;;;;;;:15;;;;;;;;;52994:77;;45327:66;52994:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52984:88;;;;;;52885:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52861:237;;;;;;;;;53136:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52844:14;;53045:15;53136:26;;;;;-1:-1:-1;53136:26:0;;;;;;;;;;53045:15;53136:26;;;;;;;;;;;;;;;-1:-1:-1;;53136:26:0;;;;;;-1:-1:-1;;53181:30:0;;;;;;;:59;;;53235:5;53215:25;;:16;:25;;;53181:59;53173:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53286:31;53295:5;53302:7;53311:5;53286:8;:31::i;:::-;52637:688;;;;;;;;;:::o;43482:300::-;30614:12;:10;:12::i;:::-;30604:6;;;;;:22;:6;;;:22;;;30596:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43588:6:::1;::::0;:31:::1;::::0;;;;;43613:4:::1;43588:31;::::0;::::1;::::0;;;43568:17:::1;::::0;43588:6:::1;;::::0;:16:::1;::::0;:31;;;;;::::1;::::0;;;;;;;;:6;:31;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43588:31:0;;-1:-1:-1;43634:19:0;;::::1;43630:145;;;43670:6;::::0;:31:::1;::::0;;;;;:6:::1;:31:::0;;::::1;;::::0;::::1;::::0;;;;;;;;;:6;;;::::1;::::0;:15:::1;::::0;:31;;;;;::::1;::::0;;;;;;;;:6:::1;::::0;:31;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43630:145:0::1;::::0;-1:-1:-1;43630:145:0::1;;43734:6;::::0;:29:::1;::::0;;;;;:6:::1;:29:::0;;::::1;;::::0;::::1;::::0;;;;;;;;;:6;;;::::1;::::0;:15:::1;::::0;:29;;;;;::::1;::::0;;;;;;;;:6:::1;::::0;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;43630:145:0::1;30674:1;43482:300:::0;;:::o;22293:151::-;22409:18;;;;22382:7;22409:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;22293:151::o;45016:117::-;45062:71;45016:117;:::o;44539:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31337:244::-;30614:12;:10;:12::i;:::-;30604:6;;;;;:22;:6;;;:22;;;30596:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31426:22:::1;::::0;::::1;31418:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31528:6;::::0;31507:38:::1;::::0;::::1;::::0;;::::1;::::0;31528:6:::1;::::0;::::1;;::::0;31507:38:::1;::::0;;;::::1;31556:6;:17:::0;;::::1;::::0;;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;31337:244::o;3525:106::-;3613:10;3525:106;:::o;27832:346::-;27934:19;;;27926:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28013:21;;;28005:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28086:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;28138:32;;;;;;;;;;;;;;;;;27832:346;;;:::o;25444:539::-;25550:20;;;25542:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25631:23;;;25623:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25707:47;25728:6;25736:9;25747:6;25707:20;:47::i;:::-;25787:71;25809:6;25787:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;25767:17;;;;:9;:17;;;;;;;;;;;:91;;;;25892:20;;;;;;;:32;;25917:6;25892:24;:32::i;:::-;25869:20;;;;:9;:20;;;;;;;;;;;;:55;;;;25940:35;;;;;;;25869:20;;25940:35;;;;;;;;;;;;;25444:539;;;:::o;8502:192::-;8588:7;8624:12;8616:6;;;;8608:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8660:5:0;;;8502:192::o;7599:181::-;7657:7;7689:5;;;7713:6;;;;7705:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26264:378;26348:21;;;26340:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26418:49;26447:1;26451:7;26460:6;26418:20;:49::i;:::-;26495:12;;:24;;26512:6;26495:16;:24::i;:::-;26480:12;:39;26551:18;;;:9;:18;;;;;;;;;;;:30;;26574:6;26551:22;:30::i;:::-;26530:18;;;:9;:18;;;;;;;;;;;:51;;;;26597:37;;;;;;;26530:18;;:9;;26597:37;;;;;;;;;;26264:378;;:::o;50641:947::-;50747:6;50737:16;;:6;:16;;;;:30;;;;;50766:1;50757:6;:10;50737:30;50733:848;;;50788:20;;;;50784:385;;50896:22;;;50877:16;50896:22;;;:14;:22;;;;;;;;;50957:13;:60;;51016:1;50957:60;;;50973:19;;;;;;;:11;:19;;;;;;;;:34;50993:13;;;50973:34;;;;;;;;51005:1;50973:40;;50957:60;50937:80;-1:-1:-1;51036:17:0;51056:21;50937:80;51070:6;51056:13;:21::i;:::-;51036:41;;51096:57;51113:6;51121:9;51132;51143;51096:16;:57::i;:::-;50784:385;;;;51189:20;;;;51185:385;;51297:22;;;51278:16;51297:22;;;:14;:22;;;;;;;;;51358:13;:60;;51417:1;51358:60;;;51374:19;;;;;;;:11;:19;;;;;;;;:34;51394:13;;;51374:34;;;;;;;;51406:1;51374:40;;51358:60;51338:80;-1:-1:-1;51437:17:0;51457:21;51338:80;51471:6;51457:13;:21::i;:::-;51437:41;;51497:57;51514:6;51522:9;51533;51544;51497:16;:57::i;50196:437::-;50313:21;;;;50287:23;50313:21;;;:10;:21;;;;;;;;;;50372:20;50324:9;50372;:20::i;:::-;50447:21;;;;;;;;:10;:21;;;;;;:33;;;;;;;;;;;;;50498:54;;50345:47;;-1:-1:-1;50447:33:0;50498:54;;;;;;50447:21;50498:54;50565:60;50580:15;50597:9;50608:16;50565:14;:60::i;:::-;50196:437;;;;:::o;26974:418::-;27058:21;;;27050:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27130:49;27151:7;27168:1;27172:6;27130:20;:49::i;:::-;27213:68;27236:6;27213:68;;;;;;;;;;;;;;;;;:18;;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;27192:18;;;:9;:18;;;;;;;;;;:89;27307:12;;:24;;27324:6;27307:16;:24::i;:::-;27292:12;:39;27347:37;;;;;;;;27373:1;;27347:37;;;;;;;;;;;;;26974:418;;:::o;52476:153::-;52586:9;52476:153;:::o;8063:136::-;8121:7;8148:43;8152:1;8155;8148:43;;;;;;;;;;;;;;;;;:3;:43::i;51596:703::-;51775:18;51796:75;51803:12;51796:75;;;;;;;;;;;;;;;;;:6;:75::i;:::-;51775:96;;51903:1;51888:12;:16;;;:85;;;;-1:-1:-1;51908:22:0;;;;;;;:11;:22;;;;;;;;:65;51931:16;;;51908:40;;;;;;;;;:50;:65;;;:50;;:65;51888:85;51884:339;;;51990:22;;;;;;;:11;:22;;;;;;;;:40;52013:16;;;51990:40;;;;;;;;52028:1;51990:46;:57;;;51884:339;;;52119:33;;;;;;;;;;;;;;;;;;;;;52080:22;;;-1:-1:-1;52080:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;;;;;;;;;;;;;;;52167:25;;;:14;:25;;;;;;:44;;52195:16;;;52167:44;;;;;;;;;;51884:339;52240:51;;;;;;;;;;;;;;;;;;;;;;;;;;51596:703;;;;;:::o;52307:161::-;52382:6;52420:12;52413:5;52409:9;;52401:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52458:1:0;;52307:161;-1:-1:-1;;52307:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://f5bcd3e54a485f514db9365f077702a3a710b43c94a39813bf4795a561517c15
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.