Contract 0xebb59cebfb63f218db6b5094dc14abf34d56d35d

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x0b8e2ea953143439f8896e113d7c45a4c2ef81ffcc1cea262260c53027c533b894620422021-07-25 9:35:037 mins ago0x888d1cde650786ff43998739db45fb671f4b8afc IN  Xpool: XPO Token0 BNB0.00022083
0xc403a4e975831c1d67eabf0ffe3785212896961327c3b358f45dc7c3b077397394619652021-07-25 9:31:1210 mins ago0x9a5c4cb695761467e0eec52f24f6e76150210d11 IN  Xpool: XPO Token0 BNB0.0005
0xa7e0052a91a00cc751cb5f58b38f41e6cfbf4f2acdcde03634ff3d1385f60edd94588162021-07-25 6:52:462 hrs 49 mins ago0x6134f8632792d9f233f4f3925404fd6963e41506 IN  Xpool: XPO Token0 BNB0.00022215
0xea2937ab3f0ffab3d90421ed99f625bb082f264c34759ea1a27fcf874262131e94566202021-07-25 5:02:584 hrs 39 mins ago0xb37e38613007ed1d98bc78e49452bfb081daa5cc IN  Xpool: XPO Token0 BNB0.00022215
0x27c243c6a98c781929925b96a938b2d60a480f4edfb1d1420a6eab91c4b10baa94547432021-07-25 3:28:276 hrs 13 mins ago0x13c971130a816dfad984ecf6fa8a182e252b3286 IN  Xpool: XPO Token0 BNB0.00022077
0x7589326d2fbbefd997dab1885bddd5f7820bb32af64e65b103b8cfc55197368094537032021-07-25 2:36:267 hrs 5 mins ago0x411a3fab5f57fc32a2dc0edf82acc89e421b4335 IN  Xpool: XPO Token0 BNB0.000072615
0xd501b1b9bbf39c9178670e10520b923be958f17cc03c1afd1ad3992f03aab21e94503272021-07-24 23:47:289 hrs 54 mins ago0xa9ce2249442c1bcb06d302b06868f16d22b5b518 IN  Xpool: XPO Token0 BNB0.00022215
0xab260e7a41b4517fdd3d2ab031893b052b041570a770adc5ea13c1734396de5e94492582021-07-24 22:54:0110 hrs 48 mins ago0xd95d17abb87fd170002adbf6840cc828b5a3758e IN  Xpool: XPO Token0 BNB0.000990085
0xbb43b489dffc0f9254b04af5469226c1191097f100bcfc3b860a4c4ac21c0f5194426302021-07-24 17:21:5616 hrs 20 mins ago0x0bd7683879ca6a4b4070dd1507bc9cd6ed8cdadf IN  Xpool: XPO Token0 BNB0.000072615
0x6f9961c29bb9d5fd5924726c5272583211c409929235ea2262084175c333850b94409352021-07-24 15:54:4517 hrs 47 mins ago0x720d8201d93ffccc7701e2a35f63bc5f5675d140 IN  Xpool: XPO Token0 BNB0.000072615
0x68a2342e42c96608accad85d79c1c4786ab7345c866f6eb1ad953824435f714694408222021-07-24 15:49:0617 hrs 53 mins ago0xd31f386fe592044304dd4993fa7117cac45b534f IN  Xpool: XPO Token0 BNB0.00022215
0xcbc64c1e34cabf76bb0b5be5581e3525b2f992db954df8bdfec68bd2125e58ba94373562021-07-24 12:50:2820 hrs 51 mins ago0x270dc5820011ea78487117d2e20a7e022a1d0edb IN  Xpool: XPO Token0 BNB0.00022077
0xde2a6f2a363cd9c213fc5e5dd32e0a26caff65cc04032ee46ad452d85d5a9c9594371362021-07-24 12:39:2821 hrs 2 mins ago0x0bca0943740e80f440950d98305ebf160208c986 IN  Xpool: XPO Token0 BNB0.000072615
0x323fd95bb70645770ee2d02fd890cf7d5b0d0ad4ba76c5fea6a42598dce01f2294367112021-07-24 12:18:0721 hrs 24 mins ago0x9fb9d502f2f55b2479c0e5dcb7b2bbf7caf18f4a IN  Xpool: XPO Token0 BNB0.000850145
0xbfc4278c74fec4ee1c9745ce1134fae32f1f4894c72ffad12155971277cfd56594336282021-07-24 9:43:4223 hrs 58 mins ago0x85204118f099ab663c1495e94a400a9dbd672e25 IN  Xpool: XPO Token0 BNB0.00022077
0x5b452b59d23dc013bcaa4d61c9be84bdd3da15ad728e3a7ca38f30aa91b979f594336042021-07-24 9:42:3023 hrs 59 mins ago0x7bdddb5d558bc13b81840fc8e6e727578aad2f1d IN  Xpool: XPO Token0 BNB0.000775145
0xf21da7ef4527183ff67a94ccb1fb607e139481b0a8ae98b89b849399fd27de5494334192021-07-24 9:33:151 day 8 mins ago0x326f18dc73803f75f5f117fe05123f9c683ba858 IN  Xpool: XPO Token0 BNB0.00022215
0x6174f7ce5ebdb47f324e5b5b60ab34ecedb3a42e29a5bcbcdb991d374079f00e94313612021-07-24 7:49:251 day 1 hr ago0x90a6706ccf18be599ac89b137d9ae27e7c01a13e IN  Xpool: XPO Token0 BNB0.00022077
0xb72a27930571ed2ba110268857b6d927c4562876664939be9a13a3afe1d5e93a94301872021-07-24 6:48:531 day 2 hrs ago0x2828869900142857cb8981f2e2a834a86fc1627d IN  Xpool: XPO Token0 BNB0.000072615
0x268525fef6d7b29a04ebd620d4711d84ae2e8da370b8cb0a914d66c083ec1a3294301692021-07-24 6:47:501 day 2 hrs ago0x2828869900142857cb8981f2e2a834a86fc1627d IN  Xpool: XPO Token0 BNB0.000072615
0x9a0910abd0297b13a70f6d809894101258dd182a75274b41e07c7eca6e721a9994301332021-07-24 6:45:451 day 2 hrs ago0x2828869900142857cb8981f2e2a834a86fc1627d IN  Xpool: XPO Token0 BNB0.000072615
0xbbf974897bd694299712af9397bf8aead0ad32208854fbd2a1fa2be069d254a194298332021-07-24 6:30:391 day 3 hrs ago0x411a3fab5f57fc32a2dc0edf82acc89e421b4335 IN  Xpool: XPO Token0 BNB0.00022077
0x00fe8eaef10853aeb1b85b0f47a2fb3f1cdda1d848a3d217ffbe0e821193fbbb94291502021-07-24 5:56:251 day 3 hrs ago0xf36febae83757a16634bc0910d09860721ee909f IN  Xpool: XPO Token0 BNB0.00022077
0xc79d0c98367b6efbd1b295fdd34bd12b7f2602812f731835c2e8a6f76141fb9894289172021-07-24 5:44:451 day 3 hrs ago0x96d84fa0b59e96507e65b0fb055ed8ea91fda3c9 IN  Xpool: XPO Token0 BNB0.00022215
0xf2bc447e1e841dbaf31225d742ab120881a9064e8f9842d0a0ab16a9156be03394282862021-07-24 5:13:121 day 4 hrs ago0x9c1f7c1645baef91afd0e37bbd9f7cdb29c12997 IN  Xpool: XPO Token0 BNB0.000072615
[ Download CSV Export 

OVERVIEW

X-pool is an open-source decentralized protocol that enables users to borrow assets from the platform, deploy assets and earn yield with ease.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
XpoolTokenV1

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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

// File contracts/open-zeppelin/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.5;

/*
 * @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 contracts/interfaces/IERC20.sol


pragma solidity 0.7.5;

/**
 * @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 contracts/open-zeppelin/SafeMath.sol

pragma solidity ^0.7.5;

/**
 * @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) {
        // Solidity only automatically asserts when dividing by 0
        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 contracts/open-zeppelin/Address.sol

pragma solidity ^0.7.5;

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


// File contracts/open-zeppelin/ERC20.sol



pragma solidity ^0.7.5;




/**
 * @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 internal _name;
    string internal _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 contracts/interfaces/ITransferHook.sol


pragma solidity 0.7.5;

interface ITransferHook {
    function onTransfer(address from, address to, uint256 amount) external;
}


// File contracts/utils/VersionedInitializable.sol


pragma solidity 0.7.5;

/**
 * @title VersionedInitializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 *
 * @author Aave, inspired by the OpenZeppelin Initializable contract
 */
abstract contract VersionedInitializable {
    /**
   * @dev Indicates that the contract has been initialized.
   */
    uint256 internal lastInitializedRevision = 0;

   /**
   * @dev Modifier to use in the initializer function of a contract.
   */
    modifier initializer() {
        uint256 revision = getRevision();
        require(revision > lastInitializedRevision, "Contract instance has already been initialized");

        lastInitializedRevision = revision;

        _;

    }

    /// @dev returns the revision number of the contract.
    /// Needs to be defined in the inherited class as a constant.
    function getRevision() internal pure virtual returns(uint256);


    // Reserved storage space to allow for layout changes in the future.
    uint256[50] private ______gap;
}


// File contracts/interfaces/IGovernancePowerDelegationToken.sol


pragma solidity 0.7.5;

interface IGovernancePowerDelegationToken {
  
  enum DelegationType {VOTING_POWER, PROPOSITION_POWER}

  /**
   * @dev emitted when a user delegates to another
   * @param delegator the delegator
   * @param delegatee the delegatee
   * @param delegationType the type of delegation (VOTING_POWER, PROPOSITION_POWER)
   **/
  event DelegateChanged(
    address indexed delegator,
    address indexed delegatee,
    DelegationType delegationType
  );

  /**
   * @dev emitted when an action changes the delegated power of a user
   * @param user the user which delegated power has changed
   * @param amount the amount of delegated power for the user
   * @param delegationType the type of delegation (VOTING_POWER, PROPOSITION_POWER)
   **/
  event DelegatedPowerChanged(address indexed user, uint256 amount, DelegationType delegationType);

  /**
   * @dev delegates the specific power to a delegatee
   * @param delegatee the user which delegated power has changed
   * @param delegationType the type of delegation (VOTING_POWER, PROPOSITION_POWER)
   **/
  function delegateByType(address delegatee, DelegationType delegationType) external virtual;
  /**
   * @dev delegates all the powers to a specific user
   * @param delegatee the user to which the power will be delegated
   **/
  function delegate(address delegatee) external virtual;
  /**
   * @dev returns the delegatee of an user
   * @param delegator the address of the delegator
   **/
  function getDelegateeByType(address delegator, DelegationType delegationType)
    external
    virtual
    view
    returns (address);

  /**
   * @dev returns the current delegated power of a user. The current power is the
   * power delegated at the time of the last snapshot
   * @param user the user
   **/
  function getPowerCurrent(address user, DelegationType delegationType)
    external
    virtual
    view
    returns (uint256);

  /**
   * @dev returns the delegated power of a user at a certain block
   * @param user the user
   **/
  function getPowerAtBlock(
    address user,
    uint256 blockNumber,
    DelegationType delegationType
  ) external virtual view returns (uint256);
 
  /**
  * @dev returns the total supply at a certain block number
  **/
  function totalSupplyAt(uint256 blockNumber) external virtual view returns (uint256);
}


// File contracts/token/base/GovernancePowerDelegationERC20.sol


pragma solidity 0.7.5;



/**
 * @notice implementation of the Xpool token contract
 * @author Xpool
 */
abstract contract GovernancePowerDelegationERC20 is ERC20, IGovernancePowerDelegationToken {
  using SafeMath for uint256;
  /// @notice The EIP-712 typehash for the delegation struct used by the contract
  bytes32 public constant DELEGATE_BY_TYPE_TYPEHASH = keccak256(
    'DelegateByType(address delegatee,uint256 type,uint256 nonce,uint256 expiry)'
  );

  bytes32 public constant DELEGATE_TYPEHASH = keccak256(
    'Delegate(address delegatee,uint256 nonce,uint256 expiry)'
  );

  /// @dev snapshot of a value on a specific block, used for votes
  struct Snapshot {
    uint128 blockNumber;
    uint128 value;
  }

  /**
   * @dev delegates one specific power to a delegatee
   * @param delegatee the user which delegated power has changed
   * @param delegationType the type of delegation (VOTING_POWER, PROPOSITION_POWER)
   **/
  function delegateByType(address delegatee, DelegationType delegationType) external override {
    _delegateByType(msg.sender, delegatee, delegationType);
  }

  /**
   * @dev delegates all the powers to a specific user
   * @param delegatee the user to which the power will be delegated
   **/
  function delegate(address delegatee) external override {
    _delegateByType(msg.sender, delegatee, DelegationType.VOTING_POWER);
    _delegateByType(msg.sender, delegatee, DelegationType.PROPOSITION_POWER);
  }

  /**
   * @dev returns the delegatee of an user
   * @param delegator the address of the delegator
   **/
  function getDelegateeByType(address delegator, DelegationType delegationType)
    external
    override
    view
    returns (address)
  {
    (, , mapping(address => address) storage delegates) = _getDelegationDataByType(delegationType);

    return _getDelegatee(delegator, delegates);
  }

  /**
   * @dev returns the current delegated power of a user. The current power is the
   * power delegated at the time of the last snapshot
   * @param user the user
   **/
  function getPowerCurrent(address user, DelegationType delegationType)
    external
    override
    view
    returns (uint256)
  {
    (
      mapping(address => mapping(uint256 => Snapshot)) storage snapshots,
      mapping(address => uint256) storage snapshotsCounts,

    ) = _getDelegationDataByType(delegationType);

    return _searchByBlockNumber(snapshots, snapshotsCounts, user, block.number);
  }

  /**
   * @dev returns the delegated power of a user at a certain block
   * @param user the user
   **/
  function getPowerAtBlock(
    address user,
    uint256 blockNumber,
    DelegationType delegationType
  ) external override view returns (uint256) {
    (
      mapping(address => mapping(uint256 => Snapshot)) storage snapshots,
      mapping(address => uint256) storage snapshotsCounts,

    ) = _getDelegationDataByType(delegationType);

    return _searchByBlockNumber(snapshots, snapshotsCounts, user, blockNumber);
  }

  /**
   * @dev returns the total supply at a certain block number
   * used by the voting strategy contracts to calculate the total votes needed for threshold/quorum
   * In this initial implementation with no XPO minting, simply returns the current supply
   * A snapshots mapping will need to be added in case a mint function is added to the XPO token in the future
   **/
  function totalSupplyAt(uint256 blockNumber) external override view returns (uint256) {
    return super.totalSupply();
  }

  /**
   * @dev delegates the specific power to a delegatee
   * @param delegatee the user which delegated power has changed
   * @param delegationType the type of delegation (VOTING_POWER, PROPOSITION_POWER)
   **/
  function _delegateByType(
    address delegator,
    address delegatee,
    DelegationType delegationType
  ) internal {
    require(delegatee != address(0), 'INVALID_DELEGATEE');

    (, , mapping(address => address) storage delegates) = _getDelegationDataByType(delegationType);

    uint256 delegatorBalance = balanceOf(delegator);

    address previousDelegatee = _getDelegatee(delegator, delegates);

    delegates[delegator] = delegatee;

    _moveDelegatesByType(previousDelegatee, delegatee, delegatorBalance, delegationType);
    emit DelegateChanged(delegator, delegatee, delegationType);
  }

  /**
   * @dev moves delegated power from one user to another
   * @param from the user from which delegated power is moved
   * @param to the user that will receive the delegated power
   * @param amount the amount of delegated power to be moved
   * @param delegationType the type of delegation (VOTING_POWER, PROPOSITION_POWER)
   **/
  function _moveDelegatesByType(
    address from,
    address to,
    uint256 amount,
    DelegationType delegationType
  ) internal {
    if (from == to) {
      return;
    }

    (
      mapping(address => mapping(uint256 => Snapshot)) storage snapshots,
      mapping(address => uint256) storage snapshotsCounts,

    ) = _getDelegationDataByType(delegationType);

    if (from != address(0)) {
      uint256 previous = 0;
      uint256 fromSnapshotsCount = snapshotsCounts[from];

      if (fromSnapshotsCount != 0) {
        previous = snapshots[from][fromSnapshotsCount - 1].value;
      } else {
        previous = balanceOf(from);
      }

      _writeSnapshot(
        snapshots,
        snapshotsCounts,
        from,
        uint128(previous),
        uint128(previous.sub(amount))
      );

      emit DelegatedPowerChanged(from, previous.sub(amount), delegationType);
    }
    if (to != address(0)) {
      uint256 previous = 0;
      uint256 toSnapshotsCount = snapshotsCounts[to];
      if (toSnapshotsCount != 0) {
        previous = snapshots[to][toSnapshotsCount - 1].value;
      } else {
        previous = balanceOf(to);
      }

      _writeSnapshot(
        snapshots,
        snapshotsCounts,
        to,
        uint128(previous),
        uint128(previous.add(amount))
      );

      emit DelegatedPowerChanged(to, previous.add(amount), delegationType);
    }
  }

  /**
   * @dev searches a snapshot by block number. Uses binary search.
   * @param snapshots the snapshots mapping
   * @param snapshotsCounts the number of snapshots
   * @param user the user for which the snapshot is being searched
   * @param blockNumber the block number being searched
   **/
  function _searchByBlockNumber(
    mapping(address => mapping(uint256 => Snapshot)) storage snapshots,
    mapping(address => uint256) storage snapshotsCounts,
    address user,
    uint256 blockNumber
  ) internal view returns (uint256) {
    require(blockNumber <= block.number, 'INVALID_BLOCK_NUMBER');

    uint256 snapshotsCount = snapshotsCounts[user];

    if (snapshotsCount == 0) {
      return balanceOf(user);
    }

    // First check most recent balance
    if (snapshots[user][snapshotsCount - 1].blockNumber <= blockNumber) {
      return snapshots[user][snapshotsCount - 1].value;
    }

    // Next check implicit zero balance
    if (snapshots[user][0].blockNumber > blockNumber) {
      return 0;
    }

    uint256 lower = 0;
    uint256 upper = snapshotsCount - 1;
    while (upper > lower) {
      uint256 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
      Snapshot memory snapshot = snapshots[user][center];
      if (snapshot.blockNumber == blockNumber) {
        return snapshot.value;
      } else if (snapshot.blockNumber < blockNumber) {
        lower = center;
      } else {
        upper = center - 1;
      }
    }
    return snapshots[user][lower].value;
  }

  /**
   * @dev returns the delegation data (snapshot, snapshotsCount, list of delegates) by delegation type
   * NOTE: Ideal implementation would have mapped this in a struct by delegation type. Unfortunately,
   * the XPO token and StakeToken already include a mapping for the snapshots, so we require contracts
   * who inherit from this to provide access to the delegation data by overriding this method.
   * @param delegationType the type of delegation
   **/
  function _getDelegationDataByType(DelegationType delegationType)
    internal
    virtual
    view
    returns (
      mapping(address => mapping(uint256 => Snapshot)) storage, //snapshots
      mapping(address => uint256) storage, //snapshots count
      mapping(address => address) storage //delegatees list
    );

  /**
   * @dev Writes a snapshot for an owner of tokens
   * @param owner The owner of the tokens
   * @param oldValue The value before the operation that is gonna be executed after the snapshot
   * @param newValue The value after the operation
   */
  function _writeSnapshot(
    mapping(address => mapping(uint256 => Snapshot)) storage snapshots,
    mapping(address => uint256) storage snapshotsCounts,
    address owner,
    uint128 oldValue,
    uint128 newValue
  ) internal {
    uint128 currentBlock = uint128(block.number);

    uint256 ownerSnapshotsCount = snapshotsCounts[owner];
    mapping(uint256 => Snapshot) storage snapshotsOwner = snapshots[owner];

    // Doing multiple operations in the same block
    if (
      ownerSnapshotsCount != 0 &&
      snapshotsOwner[ownerSnapshotsCount - 1].blockNumber == currentBlock
    ) {
      snapshotsOwner[ownerSnapshotsCount - 1].value = newValue;
    } else {
      snapshotsOwner[ownerSnapshotsCount] = Snapshot(currentBlock, newValue);
      snapshotsCounts[owner] = ownerSnapshotsCount + 1;
    }
  }

  /**
   * @dev returns the user delegatee. If a user never performed any delegation,
   * his delegated address will be 0x0. In that case we simply return the user itself
   * @param delegator the address of the user for which return the delegatee
   * @param delegates the array of delegates for a particular type of delegation
   **/
  function _getDelegatee(address delegator, mapping(address => address) storage delegates)
    internal
    view
    returns (address)
  {
    address previousDelegatee = delegates[delegator];

    if (previousDelegatee == address(0)) {
      return delegator;
    }

    return previousDelegatee;
  }
}


// File contracts/token/XpoolTokenV1.sol


pragma solidity 0.7.5;





/**
 * @notice implementation of the Xpool token contract
 * @author Xpool
 */
contract XpoolTokenV1 is GovernancePowerDelegationERC20, VersionedInitializable {
  using SafeMath for uint256;

  string internal constant NAME = 'Xpool';
  string internal constant SYMBOL = 'XPO';
  uint8 internal constant DECIMALS = 18;

  uint256 public constant REVISION = 1;

  address public owner = 0x0B29814cf0d28b3F89C58FBEb3667fD1FF797de8;

  /// @dev owner => next valid nonce to submit with permit()
  mapping(address => uint256) public _nonces;

  mapping(address => mapping(uint256 => Snapshot)) public _votingSnapshots;

  mapping(address => uint256) public _votingSnapshotsCounts;

  /// @dev reference to the Xpool governance contract to call (if initialized) on _beforeTokenTransfer
  /// !!! IMPORTANT The Xppol governance is considered a trustable contract, being its responsibility
  /// to control all potential reentrancies by calling back the XpoolToken
  ITransferHook public _xpoolGovernance;

  bytes32 public DOMAIN_SEPARATOR;
  bytes public constant EIP712_REVISION = bytes('1');
  bytes32 internal constant EIP712_DOMAIN = keccak256(
    'EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'
  );
  bytes32 public constant PERMIT_TYPEHASH = keccak256(
    'Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)'
  );

  uint256 internal constant MINTED_AMOUNT = 210000000 ether;

  mapping(address => address) internal _votingDelegates;

  mapping(address => mapping(uint256 => Snapshot)) internal _propositionPowerSnapshots;
  mapping(address => uint256) internal _propositionPowerSnapshotsCounts;

  mapping(address => address) internal _propositionPowerDelegates;

  constructor() public ERC20(NAME, SYMBOL) {}

  /**
   * @dev initializes the contract upon assignment to the InitializableAdminUpgradeabilityProxy
   */
  function initialize(
    ITransferHook xpoolGovernance
  ) external initializer {
    uint256 chainId;

    //solium-disable-next-line
    assembly {
      chainId := chainid()
    }

    DOMAIN_SEPARATOR = keccak256(
      abi.encode(
        EIP712_DOMAIN,
        keccak256(bytes(NAME)),
        keccak256(EIP712_REVISION),
        chainId,
        address(this)
      )
    );
    _name = NAME;
    _symbol = SYMBOL;
    _setupDecimals(DECIMALS);
    _xpoolGovernance = xpoolGovernance;
    _mint(msg.sender, MINTED_AMOUNT);
  }

  /**
   * @dev implements the permit function as for https://github.com/ethereum/EIPs/blob/8a34d644aacf0f9f8f00815307fd7dd5da07655f/EIPS/eip-2612.md
   * @param owner the owner of the funds
   * @param spender the spender
   * @param value the amount
   * @param deadline the deadline timestamp, type(uint256).max for no deadline
   * @param v signature param
   * @param s signature param
   * @param r signature param
   */

  function permit(
    address owner,
    address spender,
    uint256 value,
    uint256 deadline,
    uint8 v,
    bytes32 r,
    bytes32 s
  ) external {
    require(owner != address(0), 'INVALID_OWNER');
    //solium-disable-next-line
    require(block.timestamp <= deadline, 'INVALID_EXPIRATION');
    uint256 currentValidNonce = _nonces[owner];
    bytes32 digest = keccak256(
      abi.encodePacked(
        '\x19\x01',
        DOMAIN_SEPARATOR,
        keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, currentValidNonce, deadline))
      )
    );

    require(owner == ecrecover(digest, v, r, s), 'INVALID_SIGNATURE');
    _nonces[owner] = currentValidNonce.add(1);
    _approve(owner, spender, value);
  }

  /// @notice External function called by the Xpool governance to set or replace sources of assets
  /// @param gov The addresses of the gorvernance
  function setNewGorvernance(ITransferHook gov)
    external
  {
    require(address(msg.sender) == owner, 'INVALID_ACTION');
    _xpoolGovernance = gov;
  }

  /**
   * @dev returns the revision of the implementation contract
   */
  function getRevision() internal override pure returns (uint256) {
    return REVISION;
  }

  /**
   * @dev Writes a snapshot before any operation involving transfer of value: _transfer, _mint and _burn
   * - On _transfer, it writes snapshots for both "from" and "to"
   * - On _mint, only for _to
   * - On _burn, only for _from
   * @param from the from address
   * @param to the to address
   * @param amount the amount to transfer
   */
  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 amount
  ) internal override {
    address votingFromDelegatee = _getDelegatee(from, _votingDelegates);
    address votingToDelegatee = _getDelegatee(to, _votingDelegates);

    _moveDelegatesByType(
      votingFromDelegatee,
      votingToDelegatee,
      amount,
      DelegationType.VOTING_POWER
    );

    address propPowerFromDelegatee = _getDelegatee(from, _propositionPowerDelegates);
    address propPowerToDelegatee = _getDelegatee(to, _propositionPowerDelegates);

    _moveDelegatesByType(
      propPowerFromDelegatee,
      propPowerToDelegatee,
      amount,
      DelegationType.PROPOSITION_POWER
    );

    // caching the xpool governance address to avoid multiple state loads
    ITransferHook xpoolGovernance = _xpoolGovernance;
    if (xpoolGovernance != ITransferHook(0)) {
      xpoolGovernance.onTransfer(from, to, amount);
    }
  }

  function _getDelegationDataByType(DelegationType delegationType)
    internal
    override
    view
    returns (
      mapping(address => mapping(uint256 => Snapshot)) storage, //snapshots
      mapping(address => uint256) storage, //snapshots count
      mapping(address => address) storage //delegatees list
    )
  {
    if (delegationType == DelegationType.VOTING_POWER) {
      return (_votingSnapshots, _votingSnapshotsCounts, _votingDelegates);
    } else {
      return (
        _propositionPowerSnapshots,
        _propositionPowerSnapshotsCounts,
        _propositionPowerDelegates
      );
    }
  }

  /**
   * @dev Delegates power from signatory to `delegatee`
   * @param delegatee The address to delegate votes to
   * @param delegationType the type of delegation (VOTING_POWER, PROPOSITION_POWER)
   * @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 delegateByTypeBySig(
    address delegatee,
    DelegationType delegationType,
    uint256 nonce,
    uint256 expiry,
    uint8 v,
    bytes32 r,
    bytes32 s
  ) public {
    bytes32 structHash = keccak256(
      abi.encode(DELEGATE_BY_TYPE_TYPEHASH, delegatee, uint256(delegationType), nonce, expiry)
    );
    bytes32 digest = keccak256(abi.encodePacked('\x19\x01', DOMAIN_SEPARATOR, structHash));
    address signatory = ecrecover(digest, v, r, s);
    require(signatory != address(0), 'INVALID_SIGNATURE');
    require(nonce == _nonces[signatory]++, 'INVALID_NONCE');
    require(block.timestamp <= expiry, 'INVALID_EXPIRATION');
    _delegateByType(signatory, delegatee, delegationType);
  }

  /**
   * @dev Delegates power 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,
    uint256 nonce,
    uint256 expiry,
    uint8 v,
    bytes32 r,
    bytes32 s
  ) public {
    bytes32 structHash = keccak256(abi.encode(DELEGATE_TYPEHASH, delegatee, nonce, expiry));
    bytes32 digest = keccak256(abi.encodePacked('\x19\x01', DOMAIN_SEPARATOR, structHash));
    address signatory = ecrecover(digest, v, r, s);
    require(signatory != address(0), 'INVALID_SIGNATURE');
    require(nonce == _nonces[signatory]++, 'INVALID_NONCE');
    require(block.timestamp <= expiry, 'INVALID_EXPIRATION');
    _delegateByType(signatory, delegatee, DelegationType.VOTING_POWER);
    _delegateByType(signatory, delegatee, DelegationType.PROPOSITION_POWER);
  }
}

Contract ABI

[{"inputs":[],"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":"delegatee","type":"address"},{"indexed":false,"internalType":"enum IGovernancePowerDelegationToken.DelegationType","name":"delegationType","type":"uint8"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"enum IGovernancePowerDelegationToken.DelegationType","name":"delegationType","type":"uint8"}],"name":"DelegatedPowerChanged","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":"DELEGATE_BY_TYPE_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATE_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":"EIP712_REVISION","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_votingSnapshots","outputs":[{"internalType":"uint128","name":"blockNumber","type":"uint128"},{"internalType":"uint128","name":"value","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_votingSnapshotsCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_xpoolGovernance","outputs":[{"internalType":"contract ITransferHook","name":"","type":"address"}],"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":[],"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":"delegatee","type":"address"},{"internalType":"enum IGovernancePowerDelegationToken.DelegationType","name":"delegationType","type":"uint8"}],"name":"delegateByType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"enum IGovernancePowerDelegationToken.DelegationType","name":"delegationType","type":"uint8"},{"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":"delegateByTypeBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"},{"internalType":"enum IGovernancePowerDelegationToken.DelegationType","name":"delegationType","type":"uint8"}],"name":"getDelegateeByType","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"enum IGovernancePowerDelegationToken.DelegationType","name":"delegationType","type":"uint8"}],"name":"getPowerAtBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"enum IGovernancePowerDelegationToken.DelegationType","name":"delegationType","type":"uint8"}],"name":"getPowerCurrent","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":"contract ITransferHook","name":"xpoolGovernance","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"contract ITransferHook","name":"gov","type":"address"}],"name":"setNewGorvernance","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":"uint256","name":"blockNumber","type":"uint256"}],"name":"totalSupplyAt","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"}]

60806040526000600655603980546001600160a01b031916730b29814cf0d28b3f89c58fbeb3667fd1ff797de81790553480156200003c57600080fd5b5060405180604001604052806005815260200164161c1bdbdb60da1b8152506040518060400160405280600381526020016258504f60e81b81525081600390805190602001906200008f929190620000bb565b508051620000a5906004906020840190620000bb565b50506005805460ff191660121790555062000167565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620000f357600085556200013e565b82601f106200010e57805160ff19168380011785556200013e565b828001600101855582156200013e579182015b828111156200013e57825182559160200191906001019062000121565b506200014c92915062000150565b5090565b5b808211156200014c576000815560010162000151565b6122ab80620001776000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806388f5c2761161011a578063b9844d8d116100ad578063d505accf1161007c578063d505accf14610643578063dc937e1c14610694578063dd62ed3e146106c3578063dde43cba146106f1578063f713d8a8146106f9576101fb565b8063b9844d8d1461057b578063c2ffbb91146105a1578063c3cda520146105d6578063c4d66de81461061d576101fb565b8063a457c2d7116100e9578063a457c2d7146104ec578063a9059cbb14610518578063aa9fbe0214610544578063b2f4201d1461054c576101fb565b806388f5c276146104995780638da5cb5b146104bf57806395d89b41146104c7578063981b24d0146104cf576101fb565b806341cbf54a116101925780636f50458d116101615780636f50458d1461041657806370a0823114610445578063781603761461046b5780637bb73c9714610473576101fb565b806341cbf54a146103675780635b3cc0cf1461036f5780635c19a95c146103ca5780635c7774cd146103f2576101fb565b806330adf81f116101ce57806330adf81f1461030d578063313ce567146103155780633644e51514610333578063395093511461033b576101fb565b806306fdde0314610200578063095ea7b31461027d57806318160ddd146102bd57806323b872dd146102d7575b600080fd5b61020861074a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024257818101518382015260200161022a565b50505050905090810190601f16801561026f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102a96004803603604081101561029357600080fd5b506001600160a01b0381351690602001356107e0565b604080519115158252519081900360200190f35b6102c56107fe565b60408051918252519081900360200190f35b6102a9600480360360608110156102ed57600080fd5b506001600160a01b03813581169160208101359091169060400135610804565b6102c561088b565b61031d6108af565b6040805160ff9092168252519081900360200190f35b6102c56108b8565b6102a96004803603604081101561035157600080fd5b506001600160a01b0381351690602001356108be565b6102c561090c565b61039b6004803603604081101561038557600080fd5b506001600160a01b038135169060200135610930565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b6103f0600480360360208110156103e057600080fd5b50356001600160a01b0316610961565b005b6103fa61097c565b604080516001600160a01b039092168252519081900360200190f35b6103fa6004803603604081101561042c57600080fd5b5080356001600160a01b0316906020013560ff1661098b565b6102c56004803603602081101561045b57600080fd5b50356001600160a01b03166109ad565b6102086109c8565b6102c56004803603602081101561048957600080fd5b50356001600160a01b03166109e5565b6103f0600480360360208110156104af57600080fd5b50356001600160a01b03166109f7565b6103fa610a69565b610208610a78565b6102c5600480360360208110156104e557600080fd5b5035610ad9565b6102a96004803603604081101561050257600080fd5b506001600160a01b038135169060200135610ae3565b6102a96004803603604081101561052e57600080fd5b506001600160a01b038135169060200135610b4b565b6102c5610b5f565b6102c56004803603604081101561056257600080fd5b5080356001600160a01b0316906020013560ff16610b83565b6102c56004803603602081101561059157600080fd5b50356001600160a01b0316610bab565b6102c5600480360360608110156105b757600080fd5b5080356001600160a01b0316906020810135906040013560ff16610bbd565b6103f0600480360360c08110156105ec57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610be6565b6103f06004803603602081101561063357600080fd5b50356001600160a01b0316610e08565b6103f0600480360360e081101561065957600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135610fb6565b6103f0600480360360408110156106aa57600080fd5b5080356001600160a01b0316906020013560ff166111f2565b6102c5600480360360408110156106d957600080fd5b506001600160a01b0381358116916020013516611201565b6102c561122c565b6103f0600480360360e081101561070f57600080fd5b506001600160a01b038135169060ff602082013581169160408101359160608201359160808101359091169060a08101359060c00135611231565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d65780601f106107ab576101008083540402835291602001916107d6565b820191906000526020600020905b8154815290600101906020018083116107b957829003601f168201915b5050505050905090565b60006107f46107ed611464565b8484611468565b5060015b92915050565b60025490565b6000610811848484611554565b6108818461081d611464565b61087c856040518060600160405280602881526020016121b2602891396001600160a01b038a1660009081526001602052604081209061085b611464565b6001600160a01b0316815260208101919091526040016000205491906116af565b611468565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b603e5481565b60006107f46108cb611464565b8461087c85600160006108dc611464565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611746565b7f9a9a49b990ba9bb39f8048c490a40ab25c18f55d208d5fbcf958261a9b48716d81565b603b6020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b61096d338260006117a7565b610979338260016117a7565b50565b603d546001600160a01b031681565b600080610997836118b8565b925050506109a584826118f2565b949350505050565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060018152602001603160f81b81525081565b603c6020526000908152604090205481565b6039546001600160a01b03163314610a47576040805162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa0a1aa24a7a760911b604482015290519081900360640190fd5b603d80546001600160a01b0319166001600160a01b0392909216919091179055565b6039546001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107d65780601f106107ab576101008083540402835291602001916107d6565b60006107f86107fe565b60006107f4610af0611464565b8461087c856040518060600160405280602581526020016122516025913960016000610b1a611464565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906116af565b60006107f4610b58611464565b8484611554565b7f10d8d059343739efce7dad10d09f0806da52b252b3e6a7951920d2d6ec4102e581565b6000806000610b91846118b8565b5091509150610ba28282874361191d565b95945050505050565b603a6020526000908152604090205481565b6000806000610bcb846118b8565b5091509150610bdc8282888861191d565b9695505050505050565b604080517f9a9a49b990ba9bb39f8048c490a40ab25c18f55d208d5fbcf958261a9b48716d6020808301919091526001600160a01b038916828401526060820188905260808083018890528351808403909101815260a083018452805190820120603e5461190160f01b60c085015260c284015260e2808401829052845180850390910181526101028401808652815191840191909120600091829052610122850180875281905260ff891661014286015261016285018890526101828501879052945191949390926001926101a280840193601f198301929081900390910190855afa158015610cdb573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d37576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b604482015290519081900360640190fd5b6001600160a01b0381166000908152603a602052604090208054600181019091558814610d9b576040805162461bcd60e51b815260206004820152600d60248201526c494e56414c49445f4e4f4e434560981b604482015290519081900360640190fd5b86421115610de5576040805162461bcd60e51b815260206004820152601260248201527124a72b20a624a22fa2ac2824a920aa24a7a760711b604482015290519081900360640190fd5b610df1818a60006117a7565b610dfd818a60016117a7565b505050505050505050565b6000610e12611b38565b90506006548111610e545760405162461bcd60e51b815260040180806020018281038252602e8152602001806121da602e913960400191505060405180910390fd5b6006819055604080518082018252600580825264161c1bdbdb60da1b60209283018190528351808501855260018152603160f81b9084015283517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818501527f43b86342ba7637b5c04c0b9e26bbb89decc5f5bdd730c2e0332f0720a9b77c0c818601527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015246608082018190523060a0808401919091528651808403909101815260c0830180885281519190960120603e5561010082019095529282905260e0909201918252610f4b9160039161208e565b506040805180820190915260038082526258504f60e81b6020909201918252610f769160049161208e565b50610f816012611b3d565b603d80546001600160a01b0319166001600160a01b038516179055610fb1336aadb53acfa41aee12000000611b53565b505050565b6001600160a01b038716611001576040805162461bcd60e51b815260206004820152600d60248201526c24a72b20a624a22fa7aba722a960991b604482015290519081900360640190fd5b8342111561104b576040805162461bcd60e51b815260206004820152601260248201527124a72b20a624a22fa2ac2824a920aa24a7a760711b604482015290519081900360640190fd5b6001600160a01b038088166000818152603a6020908152604080832054603e5482517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a0850181905260c08086018b90528251808703909101815260e08601835280519084012061190160f01b6101008701526101028601969096526101228086019690965281518086039096018652610142850180835286519684019690962093909552610162840180825283905260ff88166101828501526101a284018790526101c284018690525191926001926101e28083019392601f198301929081900390910190855afa158015611160573d6000803e3d6000fd5b505050602060405103516001600160a01b0316896001600160a01b0316146111c3576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b604482015290519081900360640190fd5b6111ce826001611746565b6001600160a01b038a166000908152603a6020526040902055610dfd898989611468565b6111fd3383836117a7565b5050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600181565b60007f10d8d059343739efce7dad10d09f0806da52b252b3e6a7951920d2d6ec4102e58888600181111561126157fe5b604080516020808201959095526001600160a01b039093168382015260608301919091526080820189905260a08083018990528151808403909101815260c083018252805190840120603e5461190160f01b60e085015260e2840152610102808401829052825180850390910181526101228401808452815191860191909120600091829052610142850180855281905260ff8a1661016286015261018285018990526101a285018890529251919550919391926001926101c2808301939192601f198301929081900390910190855afa158015611343573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661139f576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b604482015290519081900360640190fd5b6001600160a01b0381166000908152603a602052604090208054600181019091558814611403576040805162461bcd60e51b815260206004820152600d60248201526c494e56414c49445f4e4f4e434560981b604482015290519081900360640190fd5b8642111561144d576040805162461bcd60e51b815260206004820152601260248201527124a72b20a624a22fa2ac2824a920aa24a7a760711b604482015290519081900360640190fd5b611458818b8b6117a7565b50505050505050505050565b3390565b6001600160a01b0383166114ad5760405162461bcd60e51b815260040180806020018281038252602481526020018061222d6024913960400191505060405180910390fd5b6001600160a01b0382166114f25760405162461bcd60e51b815260040180806020018281038252602281526020018061216a6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166115995760405162461bcd60e51b81526004018080602001828103825260258152602001806122086025913960400191505060405180910390fd5b6001600160a01b0382166115de5760405162461bcd60e51b81526004018080602001828103825260238152602001806121476023913960400191505060405180910390fd5b6115e9838383611c43565b6116268160405180606001604052806026815260200161218c602691396001600160a01b03861660009081526020819052604090205491906116af565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546116559082611746565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561173e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117035781810151838201526020016116eb565b50505050905090810190601f1680156117305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156117a0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0382166117f6576040805162461bcd60e51b8152602060048201526011602482015270494e56414c49445f44454c45474154454560781b604482015290519081900360640190fd5b6000611801826118b8565b925050506000611810856109ad565b9050600061181e86846118f2565b6001600160a01b03878116600090815260208690526040902080546001600160a01b031916918816919091179055905061185a81868487611d36565b846001600160a01b0316866001600160a01b03167fe8d51c8e11bd570db1734c8ec775785330e77007feed45c43b608ef33ff914bd86604051808260018111156118a057fe5b815260200191505060405180910390a3505050505050565b60008080808460018111156118c957fe5b14156118df5750603b9150603c9050603f6118eb565b50604091506041905060425b9193909250565b6001600160a01b03808316600090815260208390526040812054909116806117a057839150506107f8565b60004382111561196b576040805162461bcd60e51b815260206004820152601460248201527324a72b20a624a22fa12627a1a5afa72aa6a122a960611b604482015290519081900360640190fd5b6001600160a01b0383166000908152602085905260409020548061199a57611992846109ad565b9150506109a5565b6001600160a01b038416600090815260208781526040808320600019850184529091529020546001600160801b03168310611a0d576001600160a01b038416600090815260208781526040808320600019909401835292905220546001600160801b03600160801b9091041690506109a5565b6001600160a01b0384166000908152602087815260408083208380529091529020546001600160801b0316831015611a495760009150506109a5565b600060001982015b81811115611afb576002828203048103611a6961211a565b506001600160a01b038716600090815260208a815260408083208484528252918290208251808401909352546001600160801b03808216808552600160801b9092041691830191909152871415611ad357602001516001600160801b031694506109a59350505050565b80516001600160801b0316871115611aed57819350611af4565b6001820392505b5050611a51565b506001600160a01b0385166000908152602088815260408083209383529290522054600160801b90046001600160801b0316915050949350505050565b600190565b6005805460ff191660ff92909216919091179055565b6001600160a01b038216611bae576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611bba60008383611c43565b600254611bc79082611746565b6002556001600160a01b038216600090815260208190526040902054611bed9082611746565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000611c5084603f6118f2565b90506000611c5f84603f6118f2565b9050611c6e8282856000611d36565b6000611c7b8660426118f2565b90506000611c8a8660426118f2565b9050611c998282876001611d36565b603d546001600160a01b03168015611d2c57806001600160a01b0316634a3931498989896040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b158015611d1357600080fd5b505af1158015611d27573d6000803e3d6000fd5b505050505b5050505050505050565b826001600160a01b0316846001600160a01b03161415611d5557611f3f565b600080611d61836118b8565b5090925090506001600160a01b03861615611e54576001600160a01b0386166000908152602082905260408120548015611dd2576001600160a01b03881660009081526020858152604080832060001985018452909152902054600160801b90046001600160801b03169150611dde565b611ddb886109ad565b91505b611df484848a85611def818c611f45565b611f87565b6001600160a01b0388167fa0a19463ee116110c9b282012d9b65cc5522dc38a9520340cbaf3142e550127f611e298489611f45565b8760405180838152602001826001811115611e4057fe5b81526020019250505060405180910390a250505b6001600160a01b03851615611f3c576001600160a01b0385166000908152602082905260408120548015611ebf576001600160a01b03871660009081526020858152604080832060001985018452909152902054600160801b90046001600160801b03169150611ecb565b611ec8876109ad565b91505b611edc84848985611def818c611746565b6001600160a01b0387167fa0a19463ee116110c9b282012d9b65cc5522dc38a9520340cbaf3142e550127f611f118489611746565b8760405180838152602001826001811115611f2857fe5b81526020019250505060405180910390a250505b50505b50505050565b60006117a083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506116af565b6001600160a01b03831660009081526020858152604080832054918890529091204391908115801590611fd8575060001982016000908152602082905260409020546001600160801b038481169116145b1561200d576000198201600090815260208290526040902080546001600160801b03808716600160801b029116179055611d2c565b6040805180820182526001600160801b038086168252868116602080840191825260008781528682528581209451855493518516600160801b029085166fffffffffffffffffffffffffffffffff1990941693909317909316919091179092556001600160a01b038916815290899052206001830190555050505050505050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826120c4576000855561210a565b82601f106120dd57805160ff191683800117855561210a565b8280016001018555821561210a579182015b8281111561210a5782518255916020019190600101906120ef565b50612116929150612131565b5090565b604080518082019091526000808252602082015290565b5b80821115612116576000815560010161213256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220435e76546b3be871221394d16f95a0be7bcb91cd6170054f11f78ec77003a01964736f6c63430007050033

Deployed ByteCode Sourcemap

37829:8435:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14130:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16236:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16236:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;15205:100;;;:::i;:::-;;;;;;;;;;;;;;;;16879:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16879:321:0;;;;;;;;;;;;;;;;;:::i;39018:147::-;;;:::i;15057:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38775:31;;;:::i;17609:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17609:218:0;;;;;;;;:::i;27793:123::-;;;:::i;38305:72::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38305:72:0;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;38305:72:0;;;;;;-1:-1:-1;;;;;38305:72:0;;;;;;;;;;;;;;;;28590:214;;;;;;;;;;;;;;;;-1:-1:-1;28590:214:0;-1:-1:-1;;;;;28590:214:0;;:::i;:::-;;38731:37;;;:::i;:::-;;;;-1:-1:-1;;;;;38731:37:0;;;;;;;;;;;;;;28921:300;;;;;;;;;;;;;;;;-1:-1:-1;28921:300:0;;-1:-1:-1;;;;;28921:300:0;;;;;;;;:::i;15368:119::-;;;;;;;;;;;;;;;;-1:-1:-1;15368:119:0;-1:-1:-1;;;;;15368:119:0;;:::i;38811:50::-;;;:::i;38384:57::-;;;;;;;;;;;;;;;;-1:-1:-1;38384:57:0;-1:-1:-1;;;;;38384:57:0;;:::i;41597:160::-;;;;;;;;;;;;;;;;-1:-1:-1;41597:160:0;-1:-1:-1;;;;;41597:160:0;;:::i;38122:65::-;;;:::i;14332:87::-;;;:::i;30766:124::-;;;;;;;;;;;;;;;;-1:-1:-1;30766:124:0;;:::i;18330:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18330:269:0;;;;;;;;:::i;15700:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15700:175:0;;;;;;;;:::i;27636:150::-;;;:::i;29407:419::-;;;;;;;;;;;;;;;;-1:-1:-1;29407:419:0;;-1:-1:-1;;;;;29407:419:0;;;;;;;;:::i;38256:42::-;;;;;;;;;;;;;;;;-1:-1:-1;38256:42:0;-1:-1:-1;;;;;38256:42:0;;:::i;29942:436::-;;;;;;;;;;;;;;;;-1:-1:-1;29942:436:0;;-1:-1:-1;;;;;29942:436:0;;;;;;;;;;;;;:::i;45533:728::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45533:728:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;39691:556::-;;;;;;;;;;;;;;;;-1:-1:-1;39691:556:0;-1:-1:-1;;;;;39691:556:0;;:::i;40692:748::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40692:748:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;28286:159::-;;;;;;;;;;;;;;;;-1:-1:-1;28286:159:0;;-1:-1:-1;;;;;28286:159:0;;;;;;;;:::i;15938:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15938:151:0;;;;;;;;;;:::i;38079:36::-;;;:::i;44396:726::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44396:726:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;14130:83::-;14200:5;14193:12;;;;;;;;-1:-1:-1;;14193:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14167:13;;14193:12;;14200:5;;14193:12;;14200:5;14193:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14130:83;:::o;16236:169::-;16319:4;16336:39;16345:12;:10;:12::i;:::-;16359:7;16368:6;16336:8;:39::i;:::-;-1:-1:-1;16393:4:0;16236:169;;;;;:::o;15205:100::-;15285:12;;15205:100;:::o;16879:321::-;16985:4;17002:36;17012:6;17020:9;17031:6;17002:9;:36::i;:::-;17049:121;17058:6;17066:12;:10;:12::i;:::-;17080:89;17118:6;17080:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17080:19:0;;;;;;:11;:19;;;;;;17100:12;:10;:12::i;:::-;-1:-1:-1;;;;;17080:33:0;;;;;;;;;;;;-1:-1:-1;17080:33:0;;;:89;:37;:89::i;:::-;17049:8;:121::i;:::-;-1:-1:-1;17188:4:0;16879:321;;;;;:::o;39018:147::-;39060:105;39018:147;:::o;15057:83::-;15123:9;;;;15057:83;:::o;38775:31::-;;;;:::o;17609:218::-;17697:4;17714:83;17723:12;:10;:12::i;:::-;17737:7;17746:50;17785:10;17746:11;:25;17758:12;:10;:12::i;:::-;-1:-1:-1;;;;;17746:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17746:25:0;;;:34;;;;;;;;;;;:38;:50::i;27793:123::-;27837:79;27793:123;:::o;38305:72::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38305:72:0;;;;-1:-1:-1;;;38305:72:0;;;;:::o;28590:214::-;28652:67;28668:10;28680:9;28691:27;28652:15;:67::i;:::-;28726:72;28742:10;28754:9;28765:32;28726:15;:72::i;:::-;28590:214;:::o;38731:37::-;;;-1:-1:-1;;;;;38731:37:0;;:::o;28921:300::-;29051:7;29075:45;29124:40;29149:14;29124:24;:40::i;:::-;29070:94;;;;29180:35;29194:9;29205;29180:13;:35::i;:::-;29173:42;28921:300;-1:-1:-1;;;;28921:300:0:o;15368:119::-;-1:-1:-1;;;;;15461:18:0;15434:7;15461:18;;;;;;;;;;;;15368:119::o;38811:50::-;38851:10;;;;;;;;;;;;;-1:-1:-1;;;38851:10:0;;;38811:50;:::o;38384:57::-;;;;;;;;;;;;;:::o;41597:160::-;41698:5;;-1:-1:-1;;;;;41698:5:0;41683:10;41675:28;41667:55;;;;;-1:-1:-1;;;41667:55:0;;;;;;;;;;;;-1:-1:-1;;;41667:55:0;;;;;;;;;;;;;;;41729:16;:22;;-1:-1:-1;;;;;;41729:22:0;-1:-1:-1;;;;;41729:22:0;;;;;;;;;;41597:160::o;38122:65::-;;;-1:-1:-1;;;;;38122:65:0;;:::o;14332:87::-;14404:7;14397:14;;;;;;;;-1:-1:-1;;14397:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14371:13;;14397:14;;14404:7;;14397:14;;14404:7;14397:14;;;;;;;;;;;;;;;;;;;;;;;;30766:124;30842:7;30865:19;:17;:19::i;18330:269::-;18423:4;18440:129;18449:12;:10;:12::i;:::-;18463:7;18472:96;18511:15;18472:96;;;;;;;;;;;;;;;;;:11;:25;18484:12;:10;:12::i;:::-;-1:-1:-1;;;;;18472:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;18472:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15700:175::-;15786:4;15803:42;15813:12;:10;:12::i;:::-;15827:9;15838:6;15803:9;:42::i;27636:150::-;27688:98;27636:150;:::o;29407:419::-;29529:7;29557:66;29632:51;29696:40;29721:14;29696:24;:40::i;:::-;29548:188;;;;;29752:68;29773:9;29784:15;29801:4;29807:12;29752:20;:68::i;:::-;29745:75;29407:419;-1:-1:-1;;;;;29407:419:0:o;38256:42::-;;;;;;;;;;;;;:::o;29942:436::-;30085:7;30110:66;30185:51;30249:40;30274:14;30249:24;:40::i;:::-;30101:188;;;;;30305:67;30326:9;30337:15;30354:4;30360:11;30305:20;:67::i;:::-;30298:74;29942:436;-1:-1:-1;;;;;;29942:436:0:o;45533:728::-;45717:55;;;27837:79;45717:55;;;;;;;;-1:-1:-1;;;;;45717:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45707:66;;;;;;45836:16;;-1:-1:-1;;;45807:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45797:69;;;;;;;;;45686:18;45893:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45707:66;;45797:69;45686:18;;45893:26;;;;;;;-1:-1:-1;;45893:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45893:26:0;;-1:-1:-1;;45893:26:0;;;-1:-1:-1;;;;;;;45934:23:0;;45926:53;;;;;-1:-1:-1;;;45926:53:0;;;;;;;;;;;;-1:-1:-1;;;45926:53:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;46003:18:0;;;;;;:7;:18;;;;;:20;;;;;;;;45994:29;;45986:55;;;;;-1:-1:-1;;;45986:55:0;;;;;;;;;;;;-1:-1:-1;;;45986:55:0;;;;;;;;;;;;;;;46075:6;46056:15;:25;;46048:56;;;;;-1:-1:-1;;;46048:56:0;;;;;;;;;;;;-1:-1:-1;;;46048:56:0;;;;;;;;;;;;;;;46111:66;46127:9;46138;46149:27;46111:15;:66::i;:::-;46184:71;46200:9;46211;46222:32;46184:15;:71::i;:::-;45533:728;;;;;;;;;:::o;39691:556::-;24234:16;24253:13;:11;:13::i;:::-;24234:32;;24296:23;;24285:8;:34;24277:93;;;;-1:-1:-1;;;24277:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24383:23;:34;;;39987:4:::1;::::0;;;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;;;39987:4:0::1;::::0;;::::1;::::0;;;38851:10;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;38851:10:0;;::::1;::::0;39926:155;;38908:105:::1;39926:155:::0;;::::1;::::0;39971:22;39926:155;;;;40004:26;39926:155;;;;39865:9:::1;39926:155:::0;;;;;;40067:4:::1;39926:155:::0;;;;;;;;;;;;;;;;;;;;;;;;39908:180;;;;;::::1;::::0;39889:16:::1;:199:::0;40103:4;;;;;;;;;;;;;;;;;40095:12:::1;::::0;:5:::1;::::0;:12:::1;:::i;:::-;-1:-1:-1::0;40124:6:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;;40124:6:0::1;::::0;;::::1;::::0;;;40114:16:::1;::::0;:7:::1;::::0;:16:::1;:::i;:::-;;40137:24;38070:2;40137:14;:24::i;:::-;40168:16;:34:::0;;-1:-1:-1;;;;;;40168:34:0::1;-1:-1:-1::0;;;;;40168:34:0;::::1;;::::0;;40209:32:::1;40215:10;39214:15;40209:5;:32::i;:::-;24430:1;39691:556:::0;;:::o;40692:748::-;-1:-1:-1;;;;;40868:19:0;;40860:45;;;;;-1:-1:-1;;;40860:45:0;;;;;;;;;;;;-1:-1:-1;;;40860:45:0;;;;;;;;;;;;;;;40971:8;40952:15;:27;;40944:58;;;;;-1:-1:-1;;;40944:58:0;;;;;;;;;;;;-1:-1:-1;;;40944:58:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;41037:14:0;;;41009:25;41037:14;;;:7;:14;;;;;;;;;41141:16;;41178:79;;39060:105;41178:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41168:90;;;;;;-1:-1:-1;;;41093:174:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41075:199;;;;;;;;;41300:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41075:199;;41300:26;;;;;;;41037:14;-1:-1:-1;;41300:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41291:35:0;:5;-1:-1:-1;;;;;41291:35:0;;41283:65;;;;;-1:-1:-1;;;41283:65:0;;;;;;;;;;;;-1:-1:-1;;;41283:65:0;;;;;;;;;;;;;;;41372:24;:17;41394:1;41372:21;:24::i;:::-;-1:-1:-1;;;;;41355:14:0;;;;;;:7;:14;;;;;:41;41403:31;41363:5;41419:7;41428:5;41403:8;:31::i;28286:159::-;28385:54;28401:10;28413:9;28424:14;28385:15;:54::i;:::-;28286:159;;:::o;15938:151::-;-1:-1:-1;;;;;16054:18:0;;;16027:7;16054:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15938:151::o;38079:36::-;38114:1;38079:36;:::o;44396:726::-;44591:18;27688:98;44668:9;44687:14;44679:23;;;;;;;;44630:88;;;;;;;;;;;-1:-1:-1;;;;;44630:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44612:113;;;;;;44788:16;;-1:-1:-1;;;44759:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44749:69;;;;;;;;;-1:-1:-1;44845:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44612:113;;-1:-1:-1;44749:69:0;;-1:-1:-1;;44845:26:0;;;;;;;44630:88;;-1:-1:-1;;44845:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44845:26:0;;-1:-1:-1;;44845:26:0;;;-1:-1:-1;;;;;;;44886:23:0;;44878:53;;;;;-1:-1:-1;;;44878:53:0;;;;;;;;;;;;-1:-1:-1;;;44878:53:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44955:18:0;;;;;;:7;:18;;;;;:20;;;;;;;;44946:29;;44938:55;;;;;-1:-1:-1;;;44938:55:0;;;;;;;;;;;;-1:-1:-1;;;44938:55:0;;;;;;;;;;;;;;;45027:6;45008:15;:25;;45000:56;;;;;-1:-1:-1;;;45000:56:0;;;;;;;;;;;;-1:-1:-1;;;45000:56:0;;;;;;;;;;;;;;;45063:53;45079:9;45090;45101:14;45063:15;:53::i;:::-;44396:726;;;;;;;;;;:::o;716:106::-;804:10;716:106;:::o;21477:346::-;-1:-1:-1;;;;;21579:19:0;;21571:68;;;;-1:-1:-1;;;21571:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21658:21:0;;21650:68;;;;-1:-1:-1;;;21650:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21731:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21783:32;;;;;;;;;;;;;;;;;21477:346;;;:::o;19089:539::-;-1:-1:-1;;;;;19195:20:0;;19187:70;;;;-1:-1:-1;;;19187:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19276:23:0;;19268:71;;;;-1:-1:-1;;;19268:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19352:47;19373:6;19381:9;19392:6;19352:20;:47::i;:::-;19432:71;19454:6;19432:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19432:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;19412:17:0;;;:9;:17;;;;;;;;;;;:91;;;;19537:20;;;;;;;:32;;19562:6;19537:24;:32::i;:::-;-1:-1:-1;;;;;19514:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;19585:35;;;;;;;19514:20;;19585:35;;;;;;;;;;;;;19089:539;;;:::o;5652:192::-;5738:7;5774:12;5766:6;;;;5758:29;;;;-1:-1:-1;;;5758:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5810:5:0;;;5652:192::o;4765:181::-;4823:7;4855:5;;;4879:6;;;;4871:46;;;;;-1:-1:-1;;;4871:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4937:1;4765:181;-1:-1:-1;;;4765:181:0:o;31117:619::-;-1:-1:-1;;;;;31255:23:0;;31247:53;;;;;-1:-1:-1;;;31247:53:0;;;;;;;;;;;;-1:-1:-1;;;31247:53:0;;;;;;;;;;;;;;;31314:45;31363:40;31388:14;31363:24;:40::i;:::-;31309:94;;;;31412:24;31439:20;31449:9;31439;:20::i;:::-;31412:47;;31468:25;31496:35;31510:9;31521;31496:13;:35::i;:::-;-1:-1:-1;;;;;31540:20:0;;;;;;;;;;;;;;:32;;-1:-1:-1;;;;;;31540:32:0;;;;;;;;;;31468:63;-1:-1:-1;31581:84:0;31468:63;31540:32;31632:16;31650:14;31581:20;:84::i;:::-;31704:9;-1:-1:-1;;;;;31677:53:0;31693:9;-1:-1:-1;;;;;31677:53:0;;31715:14;31677:53;;;;;;;;;;;;;;;;;;;;;;;;;;31117:619;;;;;;:::o;43269:631::-;43394:56;;;;43608:14;:45;;;;;;;;;43604:291;;;-1:-1:-1;43672:16:0;;-1:-1:-1;43690:22:0;;-1:-1:-1;43714:16:0;43664:67;;43604:291;-1:-1:-1;43772:26:0;;-1:-1:-1;43809:32:0;;-1:-1:-1;43852:26:0;43604:291;43269:631;;;;;:::o;37346:311::-;-1:-1:-1;;;;;37520:20:0;;;37473:7;37520:20;;;;;;;;;;;37473:7;;37520:20;37553:31;37549:70;;37602:9;37595:16;;;;;33845:1249;34079:7;34118:12;34103:11;:27;;34095:60;;;;;-1:-1:-1;;;34095:60:0;;;;;;;;;;;;-1:-1:-1;;;34095:60:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;34189:21:0;;34164:22;34189:21;;;;;;;;;;;34223:19;34219:64;;34260:15;34270:4;34260:9;:15::i;:::-;34253:22;;;;;34219:64;-1:-1:-1;;;;;34335:15:0;;;;;;;;;;;;;;-1:-1:-1;;34351:18:0;;34335:35;;;;;;;:47;-1:-1:-1;;;;;34335:47:0;:62;-1:-1:-1;34331:133:0;;-1:-1:-1;;;;;34415:15:0;;;;;;;;;;;;;;-1:-1:-1;;34431:18:0;;;34415:35;;;;;;:41;-1:-1:-1;;;;;;;;34415:41:0;;;;;-1:-1:-1;34408:48:0;;34331:133;-1:-1:-1;;;;;34517:15:0;;;;;;;;;;;;;;:18;;;;;;;;:30;-1:-1:-1;;;;;34517:30:0;:44;-1:-1:-1;34513:75:0;;;34579:1;34572:8;;;;;34513:75;34596:13;-1:-1:-1;;34636:18:0;;34661:386;34676:5;34668;:13;34661:386;;;34735:1;34718:13;;;34717:19;34709:27;;34772:24;;:::i;:::-;-1:-1:-1;;;;;;34799:15:0;;;;;;;;;;;;;;:23;;;;;;;;;34772:50;;;;;;;;;-1:-1:-1;;;;;34772:50:0;;;;;;-1:-1:-1;;;34772:50:0;;;;;;;;;;;34835:35;;34831:209;;;34890:14;;;-1:-1:-1;;;;;34883:21:0;;-1:-1:-1;34883:21:0;;-1:-1:-1;;;;34883:21:0;34831:209;34924:20;;-1:-1:-1;;;;;34924:34:0;;-1:-1:-1;34920:120:0;;;34979:6;34971:14;;34920:120;;;35029:1;35020:6;:10;35012:18;;34920:120;34661:386;;;;;-1:-1:-1;;;;;;35060:15:0;;;;;;;;;;;;;;:22;;;;;;;:28;-1:-1:-1;;;35060:28:0;;-1:-1:-1;;;;;35060:28:0;;-1:-1:-1;;33845:1249:0;;;;;;:::o;41840:92::-;38114:1;41840:92;:::o;22155:90::-;22216:9;:21;;-1:-1:-1;;22216:21:0;;;;;;;;;;;;22155:90::o;19909:378::-;-1:-1:-1;;;;;19993:21:0;;19985:65;;;;;-1:-1:-1;;;19985:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20063:49;20092:1;20096:7;20105:6;20063:20;:49::i;:::-;20140:12;;:24;;20157:6;20140:16;:24::i;:::-;20125:12;:39;-1:-1:-1;;;;;20196:18:0;;:9;:18;;;;;;;;;;;:30;;20219:6;20196:22;:30::i;:::-;-1:-1:-1;;;;;20175:18:0;;:9;:18;;;;;;;;;;;:51;;;;20242:37;;;;;;;20175:18;;:9;;20242:37;;;;;;;;;;19909:378;;:::o;42298:965::-;42415:27;42445:37;42459:4;42465:16;42445:13;:37::i;:::-;42415:67;;42489:25;42517:35;42531:2;42535:16;42517:13;:35::i;:::-;42489:63;;42561:132;42590:19;42618:17;42644:6;42659:27;42561:20;:132::i;:::-;42702:30;42735:47;42749:4;42755:26;42735:13;:47::i;:::-;42702:80;;42789:28;42820:45;42834:2;42838:26;42820:13;:45::i;:::-;42789:76;;42874:143;42903:22;42934:20;42963:6;42978:32;42874:20;:143::i;:::-;43133:16;;-1:-1:-1;;;;;43133:16:0;43160:35;;43156:102;;43206:15;-1:-1:-1;;;;;43206:26:0;;43233:4;43239:2;43243:6;43206:44;;;;;;;;;;;;;-1:-1:-1;;;;;43206:44:0;;;;;;-1:-1:-1;;;;;43206:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43156:102;42298:965;;;;;;;;:::o;32088:1445::-;32244:2;-1:-1:-1;;;;;32236:10:0;:4;-1:-1:-1;;;;;32236:10:0;;32232:39;;;32257:7;;32232:39;32288:66;32363:51;32427:40;32452:14;32427:24;:40::i;:::-;-1:-1:-1;32279:188:0;;-1:-1:-1;32279:188:0;-1:-1:-1;;;;;;32480:18:0;;;32476:533;;-1:-1:-1;;;;;32567:21:0;;32509:16;32567:21;;;;;;;;;;;32603:23;;32599:159;;-1:-1:-1;;;;;32650:15:0;;;;;;;;;;;;;;-1:-1:-1;;32666:22:0;;32650:39;;;;;;;:45;-1:-1:-1;;;32650:45:0;;-1:-1:-1;;;;;32650:45:0;;-1:-1:-1;32599:159:0;;;32733:15;32743:4;32733:9;:15::i;:::-;32722:26;;32599:159;32768:152;32793:9;32813:15;32839:4;32862:8;32890:20;32862:8;32903:6;32890:12;:20::i;:::-;32768:14;:152::i;:::-;-1:-1:-1;;;;;32936:65:0;;;32964:20;:8;32977:6;32964:12;:20::i;:::-;32986:14;32936:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32476:533;;;-1:-1:-1;;;;;33019:16:0;;;33015:513;;-1:-1:-1;;;;;33102:19:0;;33046:16;33102:19;;;;;;;;;;;33134:21;;33130:151;;-1:-1:-1;;;;;33179:13:0;;;;;;;;;;;;;;-1:-1:-1;;33193:20:0;;33179:35;;;;;;;:41;-1:-1:-1;;;33179:41:0;;-1:-1:-1;;;;;33179:41:0;;-1:-1:-1;33130:151:0;;;33258:13;33268:2;33258:9;:13::i;:::-;33247:24;;33130:151;33291:150;33316:9;33336:15;33362:2;33383:8;33411:20;33383:8;33424:6;33411:12;:20::i;33291:150::-;-1:-1:-1;;;;;33457:63:0;;;33483:20;:8;33496:6;33483:12;:20::i;:::-;33505:14;33457:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33015:513;;;32088:1445;;;;;;;:::o;5221:136::-;5279:7;5306:43;5310:1;5313;5306:43;;;;;;;;;;;;;;;;;:3;:43::i;36162:835::-;-1:-1:-1;;;;;36487:22:0;;36404:20;36487:22;;;;;;;;;;;;36570:16;;;;;;;36435:12;;36487:22;36659:24;;;;;:102;;-1:-1:-1;;;36709:23:0;;36694:39;;;;;;;;;;;:51;-1:-1:-1;;;;;36694:67:0;;;:51;;:67;36659:102;36647:345;;;-1:-1:-1;;36793:23:0;;36778:39;;;;;;;;;;;:56;;-1:-1:-1;;;;;36778:56:0;;;-1:-1:-1;;;36778:56:0;;;;;;36647:345;;;36895:32;;;;;;;;-1:-1:-1;;;;;36895:32:0;;;;;;;;;;;;;;;-1:-1:-1;36857:35:0;;;;;;;;;:70;;;;;;;;-1:-1:-1;;;36857:70:0;;;;-1:-1:-1;;36857:70:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36936:22:0;;;;;;;;;36857:70;36961:23;;36936:48;;36162:835;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://435e76546b3be871221394d16f95a0be7bcb91cd6170054f11f78ec77003a019
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.