ETH Price: $2,072.99 (+4.10%)

Contract

0x1fDa8EEe35EaA3e7925F0E1dB467E81f4dCcb0Ac
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Bond178027942023-07-30 2:13:11974 days ago1690683191IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0026605521.63051339
Unbond178027832023-07-30 2:10:59974 days ago1690683059IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0025468219.67387299
Bond116274612021-01-10 13:47:401905 days ago1610286460IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.005298852
Unbond116274542021-01-10 13:46:201905 days ago1610286380IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0054341551
Bond116221122021-01-09 18:12:451905 days ago1610215965IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.007002666
Unbond115906042021-01-04 21:58:451910 days ago1609797525IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0087479182.1
Withdraw115846352021-01-03 23:58:481911 days ago1609718328IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.01594509245
Unbond115817792021-01-03 13:26:191912 days ago1609680379IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.00381589106
Unbond115817782021-01-03 13:26:171912 days ago1609680377IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0082924100
Claim115796932021-01-03 5:53:571912 days ago1609653237IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0046822371.00000145
Provide115796312021-01-03 5:41:321912 days ago1609652492IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.02069412104
Withdraw115781712021-01-03 0:01:031912 days ago1609632063IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.003260650.1
Claim115781692021-01-03 0:00:551912 days ago1609632055IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0033039450.1
Claim115779412021-01-02 23:15:191912 days ago1609629319IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0042795484
Withdraw115779402021-01-02 23:14:441912 days ago1609629284IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0054668884
Withdraw115774632021-01-02 21:26:081912 days ago1609622768IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0035795155
Claim115772612021-01-02 20:45:491912 days ago1609620349IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0055395484
Claim115751242021-01-02 12:55:421913 days ago1609592142IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.00575701113.00000145
Claim115745912021-01-02 10:58:521913 days ago1609585132IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0035611354
Withdraw115745912021-01-02 10:58:521913 days ago1609585132IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0035144254
Bond115744142021-01-02 10:15:341913 days ago1609582534IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0036104435.43122
Unbond115744092021-01-02 10:14:041913 days ago1609582444IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0037752635.43122
Bond115725402021-01-02 3:29:391913 days ago1609558179IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0046628138.5
Deposit115725302021-01-02 3:27:571913 days ago1609558077IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0028136242
Withdraw115710712021-01-01 22:09:431913 days ago1609538983IN
0x1fDa8EEe...f4dCcb0Ac
0 ETH0.0029286945
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
-115111312020-12-23 17:17:571922 days ago1608743877  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
Pool

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license
/**
 *Submitted for verification at Etherscan.io on 2020-12-23
*/

// Dependency file: @openzeppelin/contracts/math/SafeMath.sol

// pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol

// pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
}


// Dependency file: contracts/external/Require.sol

/*
    Copyright 2019 dYdX Trading Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.7;

/**
 * @title Require
 * @author dYdX
 *
 * Stringifies parameters to pretty-print revert messages. Costs more gas than regular require()
 */
library Require {

    // ============ Constants ============

    uint256 constant ASCII_ZERO = 48; // '0'
    uint256 constant ASCII_RELATIVE_ZERO = 87; // 'a' - 10
    uint256 constant ASCII_LOWER_EX = 120; // 'x'
    bytes2 constant COLON = 0x3a20; // ': '
    bytes2 constant COMMA = 0x2c20; // ', '
    bytes2 constant LPAREN = 0x203c; // ' <'
    byte constant RPAREN = 0x3e; // '>'
    uint256 constant FOUR_BIT_MASK = 0xf;

    // ============ Library Functions ============

    function that(
        bool must,
        bytes32 file,
        bytes32 reason
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason)
                    )
                )
            );
        }
    }

    function that(
        bool must,
        bytes32 file,
        bytes32 reason,
        uint256 payloadA
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason),
                        LPAREN,
                        stringify(payloadA),
                        RPAREN
                    )
                )
            );
        }
    }

    function that(
        bool must,
        bytes32 file,
        bytes32 reason,
        uint256 payloadA,
        uint256 payloadB
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason),
                        LPAREN,
                        stringify(payloadA),
                        COMMA,
                        stringify(payloadB),
                        RPAREN
                    )
                )
            );
        }
    }

    function that(
        bool must,
        bytes32 file,
        bytes32 reason,
        address payloadA
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason),
                        LPAREN,
                        stringify(payloadA),
                        RPAREN
                    )
                )
            );
        }
    }

    function that(
        bool must,
        bytes32 file,
        bytes32 reason,
        address payloadA,
        uint256 payloadB
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason),
                        LPAREN,
                        stringify(payloadA),
                        COMMA,
                        stringify(payloadB),
                        RPAREN
                    )
                )
            );
        }
    }

    function that(
        bool must,
        bytes32 file,
        bytes32 reason,
        address payloadA,
        uint256 payloadB,
        uint256 payloadC
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason),
                        LPAREN,
                        stringify(payloadA),
                        COMMA,
                        stringify(payloadB),
                        COMMA,
                        stringify(payloadC),
                        RPAREN
                    )
                )
            );
        }
    }

    function that(
        bool must,
        bytes32 file,
        bytes32 reason,
        bytes32 payloadA
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason),
                        LPAREN,
                        stringify(payloadA),
                        RPAREN
                    )
                )
            );
        }
    }

    function that(
        bool must,
        bytes32 file,
        bytes32 reason,
        bytes32 payloadA,
        uint256 payloadB,
        uint256 payloadC
    )
    internal
    pure
    {
        if (!must) {
            revert(
                string(
                    abi.encodePacked(
                        stringifyTruncated(file),
                        COLON,
                        stringifyTruncated(reason),
                        LPAREN,
                        stringify(payloadA),
                        COMMA,
                        stringify(payloadB),
                        COMMA,
                        stringify(payloadC),
                        RPAREN
                    )
                )
            );
        }
    }

    // ============ Private Functions ============

    function stringifyTruncated(
        bytes32 input
    )
    private
    pure
    returns (bytes memory)
    {
        // put the input bytes into the result
        bytes memory result = abi.encodePacked(input);

        // determine the length of the input by finding the location of the last non-zero byte
        for (uint256 i = 32; i > 0; ) {
            // reverse-for-loops with unsigned integer
            /* solium-disable-next-line security/no-modify-for-iter-var */
            i--;

            // find the last non-zero byte in order to determine the length
            if (result[i] != 0) {
                uint256 length = i + 1;

                /* solium-disable-next-line security/no-inline-assembly */
                assembly {
                    mstore(result, length) // r.length = length;
                }

                return result;
            }
        }

        // all bytes are zero
        return new bytes(0);
    }

    function stringify(
        uint256 input
    )
    private
    pure
    returns (bytes memory)
    {
        if (input == 0) {
            return "0";
        }

        // get the final string length
        uint256 j = input;
        uint256 length;
        while (j != 0) {
            length++;
            j /= 10;
        }

        // allocate the string
        bytes memory bstr = new bytes(length);

        // populate the string starting with the least-significant character
        j = input;
        for (uint256 i = length; i > 0; ) {
            // reverse-for-loops with unsigned integer
            /* solium-disable-next-line security/no-modify-for-iter-var */
            i--;

            // take last decimal digit
            bstr[i] = byte(uint8(ASCII_ZERO + (j % 10)));

            // remove the last decimal digit
            j /= 10;
        }

        return bstr;
    }

    function stringify(
        address input
    )
    private
    pure
    returns (bytes memory)
    {
        uint256 z = uint256(input);

        // addresses are "0x" followed by 20 bytes of data which take up 2 characters each
        bytes memory result = new bytes(42);

        // populate the result with "0x"
        result[0] = byte(uint8(ASCII_ZERO));
        result[1] = byte(uint8(ASCII_LOWER_EX));

        // for each byte (starting from the lowest byte), populate the result with two characters
        for (uint256 i = 0; i < 20; i++) {
            // each byte takes two characters
            uint256 shift = i * 2;

            // populate the least-significant character
            result[41 - shift] = char(z & FOUR_BIT_MASK);
            z = z >> 4;

            // populate the most-significant character
            result[40 - shift] = char(z & FOUR_BIT_MASK);
            z = z >> 4;
        }

        return result;
    }

    function stringify(
        bytes32 input
    )
    private
    pure
    returns (bytes memory)
    {
        uint256 z = uint256(input);

        // bytes32 are "0x" followed by 32 bytes of data which take up 2 characters each
        bytes memory result = new bytes(66);

        // populate the result with "0x"
        result[0] = byte(uint8(ASCII_ZERO));
        result[1] = byte(uint8(ASCII_LOWER_EX));

        // for each byte (starting from the lowest byte), populate the result with two characters
        for (uint256 i = 0; i < 32; i++) {
            // each byte takes two characters
            uint256 shift = i * 2;

            // populate the least-significant character
            result[65 - shift] = char(z & FOUR_BIT_MASK);
            z = z >> 4;

            // populate the most-significant character
            result[64 - shift] = char(z & FOUR_BIT_MASK);
            z = z >> 4;
        }

        return result;
    }

    function char(
        uint256 input
    )
    private
    pure
    returns (byte)
    {
        // return ASCII digit (0-9)
        if (input < 10) {
            return byte(uint8(input + ASCII_ZERO));
        }

        // return ASCII letter (a-f)
        return byte(uint8(input + ASCII_RELATIVE_ZERO));
    }
}

// Dependency file: contracts/external/Decimal.sol

/*
    Copyright 2019 dYdX Trading Inc.
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.7;


// import { SafeMath } from "@openzeppelin/contracts/math/SafeMath.sol";

/**
 * @title Decimal
 * @author dYdX
 *
 * Library that defines a fixed-point number with 18 decimal places.
 */
library Decimal {
    using SafeMath for uint256;

    // ============ Constants ============

    uint256 constant BASE = 10**18;

    // ============ Structs ============


    struct D256 {
        uint256 value;
    }

    // ============ Static Functions ============

    function zero()
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: 0 });
    }

    function one()
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: BASE });
    }

    function from(
        uint256 a
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: a.mul(BASE) });
    }

    function ratio(
        uint256 a,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(a, BASE, b) });
    }

    // ============ Self Functions ============

    function add(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.add(b.mul(BASE)) });
    }

    function sub(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.mul(BASE)) });
    }

    function sub(
        D256 memory self,
        uint256 b,
        string memory reason
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.mul(BASE), reason) });
    }

    function mul(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.mul(b) });
    }

    function div(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.div(b) });
    }

    function pow(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        if (b == 0) {
            return from(1);
        }

        D256 memory temp = D256({ value: self.value });
        for (uint256 i = 1; i < b; i++) {
            temp = mul(temp, self);
        }

        return temp;
    }

    function add(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.add(b.value) });
    }

    function sub(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.value) });
    }

    function sub(
        D256 memory self,
        D256 memory b,
        string memory reason
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.value, reason) });
    }

    function mul(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(self.value, b.value, BASE) });
    }

    function div(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(self.value, BASE, b.value) });
    }

    function equals(D256 memory self, D256 memory b) internal pure returns (bool) {
        return self.value == b.value;
    }

    function greaterThan(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) == 2;
    }

    function lessThan(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) == 0;
    }

    function greaterThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) > 0;
    }

    function lessThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) < 2;
    }

    function isZero(D256 memory self) internal pure returns (bool) {
        return self.value == 0;
    }

    function asUint256(D256 memory self) internal pure returns (uint256) {
        return self.value.div(BASE);
    }

    // ============ Core Methods ============

    function getPartial(
        uint256 target,
        uint256 numerator,
        uint256 denominator
    )
    private
    pure
    returns (uint256)
    {
        return target.mul(numerator).div(denominator);
    }

    function compareTo(
        D256 memory a,
        D256 memory b
    )
    private
    pure
    returns (uint256)
    {
        if (a.value == b.value) {
            return 1;
        }
        return a.value > b.value ? 2 : 0;
    }
}


// Dependency file: contracts/Constants.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;


// import "contracts/external/Decimal.sol";

library Constants {
    /* Chain */
    uint256 private constant CHAIN_ID = 1; // Mainnet

    /* Bootstrapping */
    uint256 private constant BOOTSTRAPPING_PERIOD = 300; // 300 epochs
    uint256 private constant BOOTSTRAPPING_PRICE = 137e16; // 1.37 USDC (targeting 3.7% inflation)

    /* Oracle */
    address private constant USDC = address(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);
    uint256 private constant ORACLE_RESERVE_MINIMUM = 5e9; // 5,000 USDC

    /* Bonding */
    uint256 private constant INITIAL_STAKE_MULTIPLE = 1e6; // 100 RSD -> 100M RSDS

    /* Epoch */
    struct EpochStrategy {
        uint256 offset;
        uint256 start;
        uint256 period;
    }

    uint256 private constant EPOCH_OFFSET = 0;
    uint256 private constant EPOCH_START = 1608969600;
    uint256 private constant EPOCH_PERIOD = 3600;

    /* Governance */
    uint256 private constant GOVERNANCE_PERIOD = 72; // 72
    uint256 private constant GOVERNANCE_QUORUM = 33e16; // 33%
    uint256 private constant GOVERNANCE_SUPER_MAJORITY = 66e16; // 66%
    uint256 private constant GOVERNANCE_EMERGENCY_DELAY = 12; // 12 epochs

    /* DAO */
    uint256 private constant ADVANCE_INCENTIVE = 25e18; // 25 RSD for reward
    uint256 private constant DAO_EXIT_LOCKUP_EPOCHS = 72; // 72 epochs fluid

    /* Pool */
    uint256 private constant POOL_EXIT_LOCKUP_EPOCHS = 24; // 24 epochs fluid

    /* Market */
    uint256 private constant COUPON_EXPIRATION = 720; // 720 epochs
    uint256 private constant DEBT_RATIO_CAP = 35e16; // 35%
    uint256 private constant INITIAL_COUPON_REDEMPTION_PENALTY = 50e16; // 50%
    uint256 private constant COUPON_REDEMPTION_PENALTY_DECAY = 3600; // 1 hour

    /* Regulator */
    uint256 private constant SUPPLY_CHANGE_DIVISOR = 24e18; // 24
    uint256 private constant SUPPLY_CHANGE_LIMIT = 10e16; // 10%
    uint256 private constant ORACLE_POOL_RATIO = 40; // 40%

    /**
     * Getters
     */
    function getUsdcAddress() internal pure returns (address) {
        return USDC;
    }

    function getOracleReserveMinimum() internal pure returns (uint256) {
        return ORACLE_RESERVE_MINIMUM;
    }

    function getEpochStrategy() internal pure returns (EpochStrategy memory) {
        return EpochStrategy({
            offset: EPOCH_OFFSET,
            start: EPOCH_START,
            period: EPOCH_PERIOD
        });
    }

    function getInitialStakeMultiple() internal pure returns (uint256) {
        return INITIAL_STAKE_MULTIPLE;
    }

    function getBootstrappingPeriod() internal pure returns (uint256) {
        return BOOTSTRAPPING_PERIOD;
    }

    function getBootstrappingPrice() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: BOOTSTRAPPING_PRICE});
    }

    function getGovernancePeriod() internal pure returns (uint256) {
        return GOVERNANCE_PERIOD;
    }

    function getGovernanceQuorum() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: GOVERNANCE_QUORUM});
    }

    function getGovernanceSuperMajority() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: GOVERNANCE_SUPER_MAJORITY});
    }

    function getGovernanceEmergencyDelay() internal pure returns (uint256) {
        return GOVERNANCE_EMERGENCY_DELAY;
    }

    function getAdvanceIncentive() internal pure returns (uint256) {
        return ADVANCE_INCENTIVE;
    }

    function getDAOExitLockupEpochs() internal pure returns (uint256) {
        return DAO_EXIT_LOCKUP_EPOCHS;
    }

    function getPoolExitLockupEpochs() internal pure returns (uint256) {
        return POOL_EXIT_LOCKUP_EPOCHS;
    }

    function getCouponExpiration() internal pure returns (uint256) {
        return COUPON_EXPIRATION;
    }

    function getDebtRatioCap() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: DEBT_RATIO_CAP});
    }
    
    function getInitialCouponRedemptionPenalty() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: INITIAL_COUPON_REDEMPTION_PENALTY});
    }

    function getCouponRedemptionPenaltyDecay() internal pure returns (uint256) {
        return COUPON_REDEMPTION_PENALTY_DECAY;
    }

    function getSupplyChangeLimit() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: SUPPLY_CHANGE_LIMIT});
    }

    function getSupplyChangeDivisor() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: SUPPLY_CHANGE_DIVISOR});
    }

    function getOraclePoolRatio() internal pure returns (uint256) {
        return ORACLE_POOL_RATIO;
    }

    function getChainId() internal pure returns (uint256) {
        return CHAIN_ID;
    }
}


// Dependency file: contracts/token/IDollar.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;


// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract IDollar is IERC20 {
    function burn(uint256 amount) public;
    function burnFrom(address account, uint256 amount) public;
    function mint(address account, uint256 amount) public returns (bool);
}


// Dependency file: contracts/oracle/IDAO.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;

contract IDAO {
    function epoch() external view returns (uint256);
}

// Dependency file: contracts/oracle/IUSDC.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;

contract IUSDC {
    function isBlacklisted(address _account) external view returns (bool);
}

// Dependency file: contracts/oracle/PoolState.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;


// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "contracts/token/IDollar.sol";
// import "contracts/oracle/IDAO.sol";
// import "contracts/oracle/IUSDC.sol";

contract PoolAccount {
    enum Status {
        Frozen,
        Fluid,
        Locked
    }

    struct State {
        uint256 staged;
        uint256 claimable;
        uint256 bonded;
        uint256 phantom;
        uint256 fluidUntil;
    }
}

contract PoolStorage {
    struct Provider {
        IDAO dao;
        IDollar dollar;
        IERC20 univ2;
    }
    
    struct Balance {
        uint256 staged;
        uint256 claimable;
        uint256 bonded;
        uint256 phantom;
    }

    struct State {
        Balance balance;
        Provider provider;

        bool paused;

        mapping(address => PoolAccount.State) accounts;
    }
}

contract PoolState {
    PoolStorage.State _state;
}


// Dependency file: contracts/oracle/PoolGetters.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;


// import "@openzeppelin/contracts/math/SafeMath.sol";
// import "contracts/oracle/PoolState.sol";
// import "contracts/Constants.sol";

contract PoolGetters is PoolState {
    using SafeMath for uint256;

    /**
     * Global
     */

    function usdc() public view returns (address) {
        return Constants.getUsdcAddress();
    }

    function dao() public view returns (IDAO) {
        return _state.provider.dao;
    }

    function dollar() public view returns (IDollar) {
        return _state.provider.dollar;
    }

    function univ2() public view returns (IERC20) {
        return _state.provider.univ2;
    }

    function totalBonded() public view returns (uint256) {
        return _state.balance.bonded;
    }

    function totalStaged() public view returns (uint256) {
        return _state.balance.staged;
    }

    function totalClaimable() public view returns (uint256) {
        return _state.balance.claimable;
    }

    function totalPhantom() public view returns (uint256) {
        return _state.balance.phantom;
    }

    function totalRewarded() public view returns (uint256) {
        return dollar().balanceOf(address(this)).sub(totalClaimable());
    }

    function paused() public view returns (bool) {
        return _state.paused;
    }

    /**
     * Account
     */

    function balanceOfStaged(address account) public view returns (uint256) {
        return _state.accounts[account].staged;
    }

    function balanceOfClaimable(address account) public view returns (uint256) {
        return _state.accounts[account].claimable;
    }

    function balanceOfBonded(address account) public view returns (uint256) {
        return _state.accounts[account].bonded;
    }

    function balanceOfPhantom(address account) public view returns (uint256) {
        return _state.accounts[account].phantom;
    }

    function balanceOfRewarded(address account) public view returns (uint256) {
        uint256 totalBonded = totalBonded();
        if (totalBonded == 0) {
            return 0;
        }

        uint256 totalRewardedWithPhantom = totalRewarded().add(totalPhantom());
        uint256 balanceOfRewardedWithPhantom = totalRewardedWithPhantom
            .mul(balanceOfBonded(account))
            .div(totalBonded);

        uint256 balanceOfPhantom = balanceOfPhantom(account);
        if (balanceOfRewardedWithPhantom > balanceOfPhantom) {
            return balanceOfRewardedWithPhantom.sub(balanceOfPhantom);
        }
        return 0;
    }

    function statusOf(address account) public view returns (PoolAccount.Status) {
        return epoch() >= _state.accounts[account].fluidUntil ?
            PoolAccount.Status.Frozen :
            PoolAccount.Status.Fluid;
    }

    /**
     * Epoch
     */

    function epoch() internal view returns (uint256) {
        return dao().epoch();
    }
}


// Dependency file: contracts/oracle/PoolSetters.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;


// import "@openzeppelin/contracts/math/SafeMath.sol";
// import "contracts/oracle/PoolState.sol";
// import "contracts/oracle/PoolGetters.sol";

contract PoolSetters is PoolState, PoolGetters {
    using SafeMath for uint256;

    /**
     * Global
     */

    function pause() internal {
        _state.paused = true;
    }

    /**
     * Account
     */

    function incrementBalanceOfBonded(address account, uint256 amount) internal {
        _state.accounts[account].bonded = _state.accounts[account].bonded.add(amount);
        _state.balance.bonded = _state.balance.bonded.add(amount);
    }

    function decrementBalanceOfBonded(address account, uint256 amount, string memory reason) internal {
        _state.accounts[account].bonded = _state.accounts[account].bonded.sub(amount, reason);
        _state.balance.bonded = _state.balance.bonded.sub(amount, reason);
    }

    function incrementBalanceOfStaged(address account, uint256 amount) internal {
        _state.accounts[account].staged = _state.accounts[account].staged.add(amount);
        _state.balance.staged = _state.balance.staged.add(amount);
    }

    function decrementBalanceOfStaged(address account, uint256 amount, string memory reason) internal {
        _state.accounts[account].staged = _state.accounts[account].staged.sub(amount, reason);
        _state.balance.staged = _state.balance.staged.sub(amount, reason);
    }

    function incrementBalanceOfClaimable(address account, uint256 amount) internal {
        _state.accounts[account].claimable = _state.accounts[account].claimable.add(amount);
        _state.balance.claimable = _state.balance.claimable.add(amount);
    }

    function decrementBalanceOfClaimable(address account, uint256 amount, string memory reason) internal {
        _state.accounts[account].claimable = _state.accounts[account].claimable.sub(amount, reason);
        _state.balance.claimable = _state.balance.claimable.sub(amount, reason);
    }

    function incrementBalanceOfPhantom(address account, uint256 amount) internal {
        _state.accounts[account].phantom = _state.accounts[account].phantom.add(amount);
        _state.balance.phantom = _state.balance.phantom.add(amount);
    }

    function decrementBalanceOfPhantom(address account, uint256 amount, string memory reason) internal {
        _state.accounts[account].phantom = _state.accounts[account].phantom.sub(amount, reason);
        _state.balance.phantom = _state.balance.phantom.sub(amount, reason);
    }

    function unfreeze(address account) internal {
        _state.accounts[account].fluidUntil = epoch().add(Constants.getPoolExitLockupEpochs());
    }
}


// Dependency file: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol

// pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}


// Dependency file: contracts/external/UniswapV2Library.sol

// pragma solidity >=0.5.0;

// import "@openzeppelin/contracts/math/SafeMath.sol";
// import '/home/pmtoan/workspace/dsd-project/zsd/node_modules/@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';

library UniswapV2Library {
    using SafeMath for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
            ))));
    }

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }
}

// Dependency file: contracts/oracle/Liquidity.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

// pragma solidity ^0.5.17;


// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import '/home/pmtoan/workspace/dsd-project/zsd/node_modules/@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
// import 'contracts/external/UniswapV2Library.sol';
// import "contracts/Constants.sol";
// import "contracts/oracle/PoolGetters.sol";

contract Liquidity is PoolGetters {
    address private constant UNISWAP_FACTORY = address(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f);

    function addLiquidity(uint256 dollarAmount) internal returns (uint256, uint256) {
        (address dollar, address usdc) = (address(dollar()), usdc());
        (uint reserveA, uint reserveB) = getReserves(dollar, usdc);

        uint256 usdcAmount = (reserveA == 0 && reserveB == 0) ?
             dollarAmount :
             UniswapV2Library.quote(dollarAmount, reserveA, reserveB);

        address pair = address(univ2());
        IERC20(dollar).transfer(pair, dollarAmount);
        IERC20(usdc).transferFrom(msg.sender, pair, usdcAmount);
        return (usdcAmount, IUniswapV2Pair(pair).mint(address(this)));
    }

    // overridable for testing
    function getReserves(address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = UniswapV2Library.sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(UniswapV2Library.pairFor(UNISWAP_FACTORY, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }
}


// Root file: contracts/oracle/Pool.sol

/*
    Copyright 2020 Rapid Set Dollar Devs

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

pragma solidity ^0.5.17;
pragma experimental ABIEncoderV2;

// import "@openzeppelin/contracts/math/SafeMath.sol";
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "contracts/external/Require.sol";
// import "contracts/Constants.sol";
// import "contracts/oracle/PoolSetters.sol";
// import "contracts/oracle/Liquidity.sol";

contract Pool is PoolSetters, Liquidity {
    using SafeMath for uint256;

    constructor(address dollar, address univ2) public {
        _state.provider.dao = IDAO(msg.sender);
        _state.provider.dollar = IDollar(dollar);
        _state.provider.univ2 = IERC20(univ2);
    }

    bytes32 private constant FILE = "Pool";

    event Deposit(address indexed account, uint256 value);
    event Withdraw(address indexed account, uint256 value);
    event Claim(address indexed account, uint256 value);
    event Bond(address indexed account, uint256 start, uint256 value);
    event Unbond(address indexed account, uint256 start, uint256 value, uint256 newClaimable);
    event Provide(address indexed account, uint256 value, uint256 lessUsdc, uint256 newUniv2);

    function deposit(uint256 value) external onlyFrozen(msg.sender) notPaused {
        univ2().transferFrom(msg.sender, address(this), value);
        incrementBalanceOfStaged(msg.sender, value);

        balanceCheck();

        emit Deposit(msg.sender, value);
    }

    function withdraw(uint256 value) external onlyFrozen(msg.sender) {
        univ2().transfer(msg.sender, value);
        decrementBalanceOfStaged(msg.sender, value, "Pool: insufficient staged balance");

        balanceCheck();

        emit Withdraw(msg.sender, value);
    }

    function claim(uint256 value) external onlyFrozen(msg.sender) {
        dollar().transfer(msg.sender, value);
        decrementBalanceOfClaimable(msg.sender, value, "Pool: insufficient claimable balance");

        balanceCheck();

        emit Claim(msg.sender, value);
    }

    function bond(uint256 value) external notPaused {
        unfreeze(msg.sender);

        uint256 totalRewardedWithPhantom = totalRewarded().add(totalPhantom());
        uint256 newPhantom = totalBonded() == 0 ?
            totalRewarded() == 0 ? Constants.getInitialStakeMultiple().mul(value) : 0 :
            totalRewardedWithPhantom.mul(value).div(totalBonded());

        incrementBalanceOfBonded(msg.sender, value);
        incrementBalanceOfPhantom(msg.sender, newPhantom);
        decrementBalanceOfStaged(msg.sender, value, "Pool: insufficient staged balance");

        balanceCheck();

        emit Bond(msg.sender, epoch().add(1), value);
    }

    function unbond(uint256 value) external {
        unfreeze(msg.sender);

        uint256 balanceOfBonded = balanceOfBonded(msg.sender);
        Require.that(
            balanceOfBonded > 0,
            FILE,
            "insufficient bonded balance"
        );

        uint256 newClaimable = balanceOfRewarded(msg.sender).mul(value).div(balanceOfBonded);
        uint256 lessPhantom = balanceOfPhantom(msg.sender).mul(value).div(balanceOfBonded);

        incrementBalanceOfStaged(msg.sender, value);
        incrementBalanceOfClaimable(msg.sender, newClaimable);
        decrementBalanceOfBonded(msg.sender, value, "Pool: insufficient bonded balance");
        decrementBalanceOfPhantom(msg.sender, lessPhantom, "Pool: insufficient phantom balance");

        balanceCheck();

        emit Unbond(msg.sender, epoch().add(1), value, newClaimable);
    }

    function provide(uint256 value) external onlyFrozen(msg.sender) notPaused {
        Require.that(
            totalBonded() > 0,
            FILE,
            "insufficient total bonded"
        );

        Require.that(
            totalRewarded() > 0,
            FILE,
            "insufficient total rewarded"
        );

        Require.that(
            balanceOfRewarded(msg.sender) >= value,
            FILE,
            "insufficient rewarded balance"
        );

        (uint256 lessUsdc, uint256 newUniv2) = addLiquidity(value);

        uint256 totalRewardedWithPhantom = totalRewarded().add(totalPhantom()).add(value);
        uint256 newPhantomFromBonded = totalRewardedWithPhantom.mul(newUniv2).div(totalBonded());

        incrementBalanceOfBonded(msg.sender, newUniv2);
        incrementBalanceOfPhantom(msg.sender, value.add(newPhantomFromBonded));


        balanceCheck();

        emit Provide(msg.sender, value, lessUsdc, newUniv2);
    }

    function emergencyWithdraw(address token, uint256 value) external onlyDao {
        IERC20(token).transfer(address(dao()), value);
    }

    function emergencyPause() external onlyDao {
        pause();
    }

    function balanceCheck() private {
        Require.that(
            univ2().balanceOf(address(this)) >= totalStaged().add(totalBonded()),
            FILE,
            "Inconsistent UNI-V2 balances"
        );
    }

    modifier onlyFrozen(address account) {
        Require.that(
            statusOf(account) == PoolAccount.Status.Frozen,
            FILE,
            "Not frozen"
        );

        _;
    }

    modifier onlyDao() {
        Require.that(
            msg.sender == address(dao()),
            FILE,
            "Not dao"
        );

        _;
    }

    modifier notPaused() {
        Require.that(
            !paused(),
            FILE,
            "Paused"
        );

        _;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"dollar","type":"address"},{"internalType":"address","name":"univ2","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Bond","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lessUsdc","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newUniv2","type":"uint256"}],"name":"Provide","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newClaimable","type":"uint256"}],"name":"Unbond","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Withdraw","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfBonded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfPhantom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfRewarded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfStaged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"bond","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dao","outputs":[{"internalType":"contract IDAO","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dollar","outputs":[{"internalType":"contract IDollar","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"emergencyPause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"provide","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"statusOf","outputs":[{"internalType":"enum PoolAccount.Status","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBonded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalPhantom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRewarded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalStaged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"unbond","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"univ2","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620020d8380380620020d8833981016040819052620000349162000084565b600480546001600160a01b03199081163317909155600580546001600160a01b0394851690831617905560068054929093169116179055620000ef565b80516200007e81620000d5565b92915050565b600080604083850312156200009857600080fd5b6000620000a6858562000071565b9250506020620000b98582860162000071565b9150509250929050565b60006001600160a01b0382166200007e565b620000e081620000c3565b8114620000ec57600080fd5b50565b611fd980620000ff6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80635c975abb116100c35780639940686e1161007c5780639940686e146102a7578063aed29d07146102ba578063b6b55f25146102c2578063c0d7a94f146102d5578063cf023779146102e8578063e0cf7285146102f057610158565b80635c975abb146102315780637298d36e14610246578063825ad6071461024e57806386cf9f141461026157806395ccea671461027457806397a5d5b51461028757610158565b80633e413bee116101155780633e413bee146101e75780634162169f146101fc57806344d96e95146102115780634838ed191461021957806351858e271461022157806351adeb571461022957610158565b80631667eb171461015d57806327de9e321461018657806329f32ed41461019b5780632e1a7d4d146101ae5780632e2ebe06146101c1578063379607f5146101d4575b600080fd5b61017061016b366004611871565b6102f8565b60405161017d9190611dcc565b60405180910390f35b61019961019436600461193c565b61031a565b005b6101706101a9366004611871565b610463565b6101996101bc36600461193c565b610481565b6101996101cf36600461193c565b6105b0565b6101996101e236600461193c565b610755565b6101ef61084c565b60405161017d9190611cd2565b61020461085b565b60405161017d9190611d3f565b61017061086a565b610170610870565b610199610876565b6102046108b7565b6102396108c6565b60405161017d9190611d31565b6102046108cf565b61017061025c366004611871565b6108de565b61017061026f366004611871565b6108fc565b610199610282366004611897565b610917565b61029a610295366004611871565b6109ae565b60405161017d9190611d4d565b6101996102b536600461193c565b6109e8565b610170610ad6565b6101996102d036600461193c565b610b72565b6101706102e3366004611871565b610c5d565b610170610ce5565b610170610ceb565b6001600160a01b0381166000908152600860205260409020600101545b919050565b61032333610cf1565b600061032e336108de565b90506103656000821163141bdbdb60e21b7f696e73756666696369656e7420626f6e6465642062616c616e63650000000000610d23565b6000610390826103848561037833610c5d565b9063ffffffff610d8116565b9063ffffffff610dc216565b905060006103a5836103848661037833610463565b90506103b13385610e04565b6103bb3383610e61565b6103de3385604051806060016040528060218152602001611f7660219139610ec6565b6104013382604051806060016040528060228152602001611f3360229139610f2e565b610409610f96565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae7512610444600161043861105f565b9063ffffffff6110d916565b868560405161045593929190611de8565b60405180910390a250505050565b6001600160a01b031660009081526008602052604090206003015490565b336104b860005b610491836109ae565b600281111561049c57fe5b1463141bdbdb60e21b692737ba10333937bd32b760b11b610d23565b6104c06108cf565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b81526004016104ed929190611d08565b602060405180830381600087803b15801561050757600080fd5b505af115801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061053f91908101906118d1565b506105633383604051806060016040528060218152602001611f55602191396110fe565b61056b610f96565b336001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516105a49190611dcc565b60405180910390a25050565b336105bb6000610488565b6105de6105c66108c6565b1563141bdbdb60e21b6514185d5cd95960d21b610d23565b61061a60006105eb61086a565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c20626f6e64656400000000000000610d23565b6106566000610627610ad6565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c2072657761726465640000000000610d23565b6106938261066333610c5d565b101563141bdbdb60e21b7f696e73756666696369656e742072657761726465642062616c616e6365000000610d23565b60008061069f8461115e565b9150915060006106bc856104386106b4610ceb565b610438610ad6565b905060006106db6106cb61086a565b610384848663ffffffff610d8116565b90506106e73384611351565b610700336106fb888463ffffffff6110d916565b6113b6565b610708610f96565b336001600160a01b03167fbe9d8078818a53534ce225882a00e0c6f709b5296c8a08c3a1f23f9ffd44838087868660405161074593929190611de8565b60405180910390a2505050505050565b336107606000610488565b6107686108b7565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b8152600401610795929190611d08565b602060405180830381600087803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107e791908101906118d1565b5061080b3383604051806060016040528060248152602001611f0f6024913961141b565b610813610f96565b336001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4836040516105a49190611dcc565b6000610856611483565b905090565b6004546001600160a01b031690565b60025490565b60015490565b6108ad61088161085b565b6001600160a01b0316336001600160a01b03161463141bdbdb60e21b664e6f742064616f60c81b610d23565b6108b561149b565b565b6005546001600160a01b031690565b60075460ff1690565b6006546001600160a01b031690565b6001600160a01b031660009081526008602052604090206002015490565b6001600160a01b031660009081526008602052604090205490565b61092261088161085b565b816001600160a01b031663a9059cbb61093961085b565b836040518363ffffffff1660e01b8152600401610957929190611d23565b602060405180830381600087803b15801561097157600080fd5b505af1158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109a991908101906118d1565b505050565b6001600160a01b0381166000908152600860205260408120600401546109d261105f565b10156109df5760016109e2565b60005b92915050565b6109f36105c66108c6565b6109fc33610cf1565b6000610a096106b4610ceb565b90506000610a1561086a565b15610a2a57610a256106cb61086a565b610a4a565b610a32610ad6565b15610a3e576000610a4a565b610a4a836103786114aa565b9050610a563384611351565b610a6033826113b6565b610a833384604051806060016040528060218152602001611f55602191396110fe565b610a8b610f96565b337f3ae9ad26d7d47616d306d7757b947fe7b0f9a7c61a5f0dc784b0ddb6c7c40b5a610aba600161043861105f565b85604051610ac9929190611dda565b60405180910390a2505050565b6000610856610ae3610870565b610aeb6108b7565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610b169190611cd2565b60206040518083038186803b158015610b2e57600080fd5b505afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b66919081019061195a565b9063ffffffff6114b116565b33610b7d6000610488565b610b886105c66108c6565b610b906108cf565b6001600160a01b03166323b872dd3330856040518463ffffffff1660e01b8152600401610bbf93929190611ce0565b602060405180830381600087803b158015610bd957600080fd5b505af1158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610c1191908101906118d1565b50610c1c3383610e04565b610c24610f96565b336001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040516105a49190611dcc565b600080610c6861086a565b905080610c79576000915050610315565b6000610c866106b4610ceb565b90506000610ca783610384610c9a886108de565b859063ffffffff610d8116565b90506000610cb486610463565b905080821115610cd957610cce828263ffffffff6114b116565b945050505050610315565b50600095945050505050565b60005490565b60035490565b610d04610cfc6114f3565b61043861105f565b6001600160a01b03909116600090815260086020526040902060040155565b826109a957610d31826114f8565b6101d160f51b610d40836114f8565b604051602001610d5293929190611c6b565b60408051601f198184030181529082905262461bcd60e51b8252610d7891600401611d5b565b60405180910390fd5b600082610d90575060006109e2565b82820282848281610d9d57fe5b0414610dbb5760405162461bcd60e51b8152600401610d7890611d9c565b9392505050565b6000610dbb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611578565b6001600160a01b038216600090815260086020526040902054610e2d908263ffffffff6110d916565b6001600160a01b03831660009081526008602052604081209190915554610e5a908263ffffffff6110d916565b6000555050565b6001600160a01b038216600090815260086020526040902060010154610e8d908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060019081019190915554610ebf908263ffffffff6110d916565b6001555050565b6001600160a01b038316600090815260086020526040902060020154610ef390838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060029081019190915554610f2690838363ffffffff6115af16565b600255505050565b6001600160a01b038316600090815260086020526040902060030154610f5b90838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060039081019190915554610f8e90838363ffffffff6115af16565b600355505050565b6108b5610fac610fa461086a565b610438610ce5565b610fb46108cf565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610fdf9190611cd2565b60206040518083038186803b158015610ff757600080fd5b505afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061102f919081019061195a565b101563141bdbdb60e21b7f496e636f6e73697374656e7420554e492d56322062616c616e63657300000000610d23565b600061106961085b565b6001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610856919081019061195a565b600082820183811015610dbb5760405162461bcd60e51b8152600401610d7890611d6c565b6001600160a01b03831660009081526008602052604090205461112890838363ffffffff6115af16565b6001600160a01b0384166000908152600860205260408120919091555461115690838363ffffffff6115af16565b600055505050565b60008060008061116c6108b7565b61117461084c565b9150915060008061118584846115db565b915091506000826000148015611199575081155b6111ad576111a88884846116c7565b6111af565b875b905060006111bb6108cf565b60405163a9059cbb60e01b81529091506001600160a01b0387169063a9059cbb906111ec9084908d90600401611d23565b602060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061123e91908101906118d1565b506040516323b872dd60e01b81526001600160a01b038616906323b872dd9061126f90339085908790600401611ce0565b602060405180830381600087803b15801561128957600080fd5b505af115801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506112c191908101906118d1565b506040516335313c2160e11b815282906001600160a01b03831690636a627842906112f0903090600401611cd2565b602060405180830381600087803b15801561130a57600080fd5b505af115801561131e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611342919081019061195a565b97509750505050505050915091565b6001600160a01b03821660009081526008602052604090206002015461137d908263ffffffff6110d916565b6001600160a01b0383166000908152600860205260409020600290810191909155546113af908263ffffffff6110d916565b6002555050565b6001600160a01b0382166000908152600860205260409020600301546113e2908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060039081019190915554611414908263ffffffff6110d916565b6003555050565b6001600160a01b03831660009081526008602052604090206001015461144890838363ffffffff6115af16565b6001600160a01b03841660009081526008602052604090206001908101919091555461147b90838363ffffffff6115af16565b600155505050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4890565b6007805460ff19166001179055565b620f424090565b6000610dbb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115af565b601890565b6060808260405160200161150c9190611c56565b60408051601f19818403018152919052905060205b80156115615781516000199091019082908290811061153c57fe5b01602001516001600160f81b0319161561155c5760010181529050610315565b611521565b505060408051600081526020810190915292915050565b600081836115995760405162461bcd60e51b8152600401610d789190611d5b565b5060008385816115a557fe5b0495945050505050565b600081848411156115d35760405162461bcd60e51b8152600401610d789190611d5b565b505050900390565b60008060006115ea8585611735565b50905060008061160f735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f88886117bf565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561164757600080fd5b505afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061167f91908101906118ef565b506001600160701b031691506001600160701b03169150826001600160a01b0316876001600160a01b0316146116b65780826116b9565b81815b909890975095505050505050565b60008084116116e85760405162461bcd60e51b8152600401610d7890611dac565b6000831180156116f85750600082115b6117145760405162461bcd60e51b8152600401610d7890611d8c565b82611725858463ffffffff610d8116565b8161172c57fe5b04949350505050565b600080826001600160a01b0316846001600160a01b0316141561176a5760405162461bcd60e51b8152600401610d7890611d7c565b826001600160a01b0316846001600160a01b03161061178a57828461178d565b83835b90925090506001600160a01b0382166117b85760405162461bcd60e51b8152600401610d7890611dbc565b9250929050565b60008060006117ce8585611735565b915091508582826040516020016117e6929190611c30565b6040516020818303038152906040528051906020012060405160200161180d929190611c9c565b60408051601f1981840301815291905280516020909101209695505050505050565b80356109e281611ed6565b80516109e281611eea565b80516109e281611ef3565b80356109e281611efc565b80516109e281611efc565b80516109e281611f05565b60006020828403121561188357600080fd5b600061188f848461182f565b949350505050565b600080604083850312156118aa57600080fd5b60006118b6858561182f565b92505060206118c785828601611850565b9150509250929050565b6000602082840312156118e357600080fd5b600061188f848461183a565b60008060006060848603121561190457600080fd5b60006119108686611845565b935050602061192186828701611845565b925050604061193286828701611866565b9150509250925092565b60006020828403121561194e57600080fd5b600061188f8484611850565b60006020828403121561196c57600080fd5b600061188f848461185b565b61198181611e5b565b82525050565b61198181611e10565b61198161199c82611e10565b611ea8565b61198181611e1b565b6119816119b682611e20565b611e2d565b6119816119b682611e2d565b60006119d282611e03565b6119dc8185610315565b93506119ec818560208601611e78565b9290920192915050565b61198181611e62565b61198181611e6d565b6000611a1382611e03565b611a1d8185611e07565b9350611a2d818560208601611e78565b611a3681611eb9565b9093019392505050565b6000611a4d601b83611e07565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000611a86602583611e07565b7f556e697377617056324c6962726172793a204944454e544943414c5f41444452815264455353455360d81b602082015260400192915050565b6000611acd602083610315565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f815260200192915050565b6000611b06602883611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4c815267495155494449545960c01b602082015260400192915050565b6000611b50600183610315565b6001600160f81b0319815260010192915050565b6000611b71602183611e07565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f8152607760f81b602082015260400192915050565b6000611bb4602583611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f418152641353d5539560da1b602082015260400192915050565b6000611bfb601e83611e07565b7f556e697377617056324c6962726172793a205a45524f5f414444524553530000815260200192915050565b61198181611e2d565b6000611c3c8285611990565b601482019150611c4c8284611990565b5060140192915050565b6000611c6282846119bb565b50602001919050565b6000611c7782866119c7565b9150611c8382856119aa565b600282019150611c9382846119c7565b95945050505050565b6000611ca782611b43565b9150611cb38285611990565b601482019150611cc382846119bb565b60208201915061188f82611ac0565b602081016109e28284611987565b60608101611cee8286611978565b611cfb6020830185611987565b61188f6040830184611c27565b60408101611d168285611978565b610dbb6020830184611c27565b60408101611d168285611987565b602081016109e282846119a1565b602081016109e282846119f6565b602081016109e282846119ff565b60208082528101610dbb8184611a08565b602080825281016109e281611a40565b602080825281016109e281611a79565b602080825281016109e281611af9565b602080825281016109e281611b64565b602080825281016109e281611ba7565b602080825281016109e281611bee565b602081016109e28284611c27565b60408101611d168285611c27565b60608101611df68286611c27565b611cfb6020830185611c27565b5190565b90815260200190565b60006109e282611e46565b151590565b6001600160f01b03191690565b90565b8061031581611ec9565b6001600160701b031690565b6001600160a01b031690565b63ffffffff1690565b60006109e2825b60006109e282611e10565b60006109e282611e30565b60005b83811015611e93578181015183820152602001611e7b565b83811115611ea2576000848401525b50505050565b60006109e28260006109e282611ec3565b601f01601f191690565b60601b90565b60038110611ed357fe5b50565b611edf81611e10565b8114611ed357600080fd5b611edf81611e1b565b611edf81611e3a565b611edf81611e2d565b611edf81611e5256fe506f6f6c3a20696e73756666696369656e7420636c61696d61626c652062616c616e6365506f6f6c3a20696e73756666696369656e74207068616e746f6d2062616c616e6365506f6f6c3a20696e73756666696369656e74207374616765642062616c616e6365506f6f6c3a20696e73756666696369656e7420626f6e6465642062616c616e6365a365627a7a72315820280f585b0038e1693c7b5de3a3d3016f6205f43af360f8b7bfeb5cab36081e4a6c6578706572696d656e74616cf564736f6c634300051100400000000000000000000000008e1d3ab094c1ee517b34cb2defd0ee9fe7658cea000000000000000000000000963900b776365feffe3a7cb52658e60986c7c7f9

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c80635c975abb116100c35780639940686e1161007c5780639940686e146102a7578063aed29d07146102ba578063b6b55f25146102c2578063c0d7a94f146102d5578063cf023779146102e8578063e0cf7285146102f057610158565b80635c975abb146102315780637298d36e14610246578063825ad6071461024e57806386cf9f141461026157806395ccea671461027457806397a5d5b51461028757610158565b80633e413bee116101155780633e413bee146101e75780634162169f146101fc57806344d96e95146102115780634838ed191461021957806351858e271461022157806351adeb571461022957610158565b80631667eb171461015d57806327de9e321461018657806329f32ed41461019b5780632e1a7d4d146101ae5780632e2ebe06146101c1578063379607f5146101d4575b600080fd5b61017061016b366004611871565b6102f8565b60405161017d9190611dcc565b60405180910390f35b61019961019436600461193c565b61031a565b005b6101706101a9366004611871565b610463565b6101996101bc36600461193c565b610481565b6101996101cf36600461193c565b6105b0565b6101996101e236600461193c565b610755565b6101ef61084c565b60405161017d9190611cd2565b61020461085b565b60405161017d9190611d3f565b61017061086a565b610170610870565b610199610876565b6102046108b7565b6102396108c6565b60405161017d9190611d31565b6102046108cf565b61017061025c366004611871565b6108de565b61017061026f366004611871565b6108fc565b610199610282366004611897565b610917565b61029a610295366004611871565b6109ae565b60405161017d9190611d4d565b6101996102b536600461193c565b6109e8565b610170610ad6565b6101996102d036600461193c565b610b72565b6101706102e3366004611871565b610c5d565b610170610ce5565b610170610ceb565b6001600160a01b0381166000908152600860205260409020600101545b919050565b61032333610cf1565b600061032e336108de565b90506103656000821163141bdbdb60e21b7f696e73756666696369656e7420626f6e6465642062616c616e63650000000000610d23565b6000610390826103848561037833610c5d565b9063ffffffff610d8116565b9063ffffffff610dc216565b905060006103a5836103848661037833610463565b90506103b13385610e04565b6103bb3383610e61565b6103de3385604051806060016040528060218152602001611f7660219139610ec6565b6104013382604051806060016040528060228152602001611f3360229139610f2e565b610409610f96565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae7512610444600161043861105f565b9063ffffffff6110d916565b868560405161045593929190611de8565b60405180910390a250505050565b6001600160a01b031660009081526008602052604090206003015490565b336104b860005b610491836109ae565b600281111561049c57fe5b1463141bdbdb60e21b692737ba10333937bd32b760b11b610d23565b6104c06108cf565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b81526004016104ed929190611d08565b602060405180830381600087803b15801561050757600080fd5b505af115801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061053f91908101906118d1565b506105633383604051806060016040528060218152602001611f55602191396110fe565b61056b610f96565b336001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516105a49190611dcc565b60405180910390a25050565b336105bb6000610488565b6105de6105c66108c6565b1563141bdbdb60e21b6514185d5cd95960d21b610d23565b61061a60006105eb61086a565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c20626f6e64656400000000000000610d23565b6106566000610627610ad6565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c2072657761726465640000000000610d23565b6106938261066333610c5d565b101563141bdbdb60e21b7f696e73756666696369656e742072657761726465642062616c616e6365000000610d23565b60008061069f8461115e565b9150915060006106bc856104386106b4610ceb565b610438610ad6565b905060006106db6106cb61086a565b610384848663ffffffff610d8116565b90506106e73384611351565b610700336106fb888463ffffffff6110d916565b6113b6565b610708610f96565b336001600160a01b03167fbe9d8078818a53534ce225882a00e0c6f709b5296c8a08c3a1f23f9ffd44838087868660405161074593929190611de8565b60405180910390a2505050505050565b336107606000610488565b6107686108b7565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b8152600401610795929190611d08565b602060405180830381600087803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107e791908101906118d1565b5061080b3383604051806060016040528060248152602001611f0f6024913961141b565b610813610f96565b336001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4836040516105a49190611dcc565b6000610856611483565b905090565b6004546001600160a01b031690565b60025490565b60015490565b6108ad61088161085b565b6001600160a01b0316336001600160a01b03161463141bdbdb60e21b664e6f742064616f60c81b610d23565b6108b561149b565b565b6005546001600160a01b031690565b60075460ff1690565b6006546001600160a01b031690565b6001600160a01b031660009081526008602052604090206002015490565b6001600160a01b031660009081526008602052604090205490565b61092261088161085b565b816001600160a01b031663a9059cbb61093961085b565b836040518363ffffffff1660e01b8152600401610957929190611d23565b602060405180830381600087803b15801561097157600080fd5b505af1158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109a991908101906118d1565b505050565b6001600160a01b0381166000908152600860205260408120600401546109d261105f565b10156109df5760016109e2565b60005b92915050565b6109f36105c66108c6565b6109fc33610cf1565b6000610a096106b4610ceb565b90506000610a1561086a565b15610a2a57610a256106cb61086a565b610a4a565b610a32610ad6565b15610a3e576000610a4a565b610a4a836103786114aa565b9050610a563384611351565b610a6033826113b6565b610a833384604051806060016040528060218152602001611f55602191396110fe565b610a8b610f96565b337f3ae9ad26d7d47616d306d7757b947fe7b0f9a7c61a5f0dc784b0ddb6c7c40b5a610aba600161043861105f565b85604051610ac9929190611dda565b60405180910390a2505050565b6000610856610ae3610870565b610aeb6108b7565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610b169190611cd2565b60206040518083038186803b158015610b2e57600080fd5b505afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b66919081019061195a565b9063ffffffff6114b116565b33610b7d6000610488565b610b886105c66108c6565b610b906108cf565b6001600160a01b03166323b872dd3330856040518463ffffffff1660e01b8152600401610bbf93929190611ce0565b602060405180830381600087803b158015610bd957600080fd5b505af1158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610c1191908101906118d1565b50610c1c3383610e04565b610c24610f96565b336001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040516105a49190611dcc565b600080610c6861086a565b905080610c79576000915050610315565b6000610c866106b4610ceb565b90506000610ca783610384610c9a886108de565b859063ffffffff610d8116565b90506000610cb486610463565b905080821115610cd957610cce828263ffffffff6114b116565b945050505050610315565b50600095945050505050565b60005490565b60035490565b610d04610cfc6114f3565b61043861105f565b6001600160a01b03909116600090815260086020526040902060040155565b826109a957610d31826114f8565b6101d160f51b610d40836114f8565b604051602001610d5293929190611c6b565b60408051601f198184030181529082905262461bcd60e51b8252610d7891600401611d5b565b60405180910390fd5b600082610d90575060006109e2565b82820282848281610d9d57fe5b0414610dbb5760405162461bcd60e51b8152600401610d7890611d9c565b9392505050565b6000610dbb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611578565b6001600160a01b038216600090815260086020526040902054610e2d908263ffffffff6110d916565b6001600160a01b03831660009081526008602052604081209190915554610e5a908263ffffffff6110d916565b6000555050565b6001600160a01b038216600090815260086020526040902060010154610e8d908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060019081019190915554610ebf908263ffffffff6110d916565b6001555050565b6001600160a01b038316600090815260086020526040902060020154610ef390838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060029081019190915554610f2690838363ffffffff6115af16565b600255505050565b6001600160a01b038316600090815260086020526040902060030154610f5b90838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060039081019190915554610f8e90838363ffffffff6115af16565b600355505050565b6108b5610fac610fa461086a565b610438610ce5565b610fb46108cf565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610fdf9190611cd2565b60206040518083038186803b158015610ff757600080fd5b505afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061102f919081019061195a565b101563141bdbdb60e21b7f496e636f6e73697374656e7420554e492d56322062616c616e63657300000000610d23565b600061106961085b565b6001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610856919081019061195a565b600082820183811015610dbb5760405162461bcd60e51b8152600401610d7890611d6c565b6001600160a01b03831660009081526008602052604090205461112890838363ffffffff6115af16565b6001600160a01b0384166000908152600860205260408120919091555461115690838363ffffffff6115af16565b600055505050565b60008060008061116c6108b7565b61117461084c565b9150915060008061118584846115db565b915091506000826000148015611199575081155b6111ad576111a88884846116c7565b6111af565b875b905060006111bb6108cf565b60405163a9059cbb60e01b81529091506001600160a01b0387169063a9059cbb906111ec9084908d90600401611d23565b602060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061123e91908101906118d1565b506040516323b872dd60e01b81526001600160a01b038616906323b872dd9061126f90339085908790600401611ce0565b602060405180830381600087803b15801561128957600080fd5b505af115801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506112c191908101906118d1565b506040516335313c2160e11b815282906001600160a01b03831690636a627842906112f0903090600401611cd2565b602060405180830381600087803b15801561130a57600080fd5b505af115801561131e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611342919081019061195a565b97509750505050505050915091565b6001600160a01b03821660009081526008602052604090206002015461137d908263ffffffff6110d916565b6001600160a01b0383166000908152600860205260409020600290810191909155546113af908263ffffffff6110d916565b6002555050565b6001600160a01b0382166000908152600860205260409020600301546113e2908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060039081019190915554611414908263ffffffff6110d916565b6003555050565b6001600160a01b03831660009081526008602052604090206001015461144890838363ffffffff6115af16565b6001600160a01b03841660009081526008602052604090206001908101919091555461147b90838363ffffffff6115af16565b600155505050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4890565b6007805460ff19166001179055565b620f424090565b6000610dbb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115af565b601890565b6060808260405160200161150c9190611c56565b60408051601f19818403018152919052905060205b80156115615781516000199091019082908290811061153c57fe5b01602001516001600160f81b0319161561155c5760010181529050610315565b611521565b505060408051600081526020810190915292915050565b600081836115995760405162461bcd60e51b8152600401610d789190611d5b565b5060008385816115a557fe5b0495945050505050565b600081848411156115d35760405162461bcd60e51b8152600401610d789190611d5b565b505050900390565b60008060006115ea8585611735565b50905060008061160f735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f88886117bf565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561164757600080fd5b505afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061167f91908101906118ef565b506001600160701b031691506001600160701b03169150826001600160a01b0316876001600160a01b0316146116b65780826116b9565b81815b909890975095505050505050565b60008084116116e85760405162461bcd60e51b8152600401610d7890611dac565b6000831180156116f85750600082115b6117145760405162461bcd60e51b8152600401610d7890611d8c565b82611725858463ffffffff610d8116565b8161172c57fe5b04949350505050565b600080826001600160a01b0316846001600160a01b0316141561176a5760405162461bcd60e51b8152600401610d7890611d7c565b826001600160a01b0316846001600160a01b03161061178a57828461178d565b83835b90925090506001600160a01b0382166117b85760405162461bcd60e51b8152600401610d7890611dbc565b9250929050565b60008060006117ce8585611735565b915091508582826040516020016117e6929190611c30565b6040516020818303038152906040528051906020012060405160200161180d929190611c9c565b60408051601f1981840301815291905280516020909101209695505050505050565b80356109e281611ed6565b80516109e281611eea565b80516109e281611ef3565b80356109e281611efc565b80516109e281611efc565b80516109e281611f05565b60006020828403121561188357600080fd5b600061188f848461182f565b949350505050565b600080604083850312156118aa57600080fd5b60006118b6858561182f565b92505060206118c785828601611850565b9150509250929050565b6000602082840312156118e357600080fd5b600061188f848461183a565b60008060006060848603121561190457600080fd5b60006119108686611845565b935050602061192186828701611845565b925050604061193286828701611866565b9150509250925092565b60006020828403121561194e57600080fd5b600061188f8484611850565b60006020828403121561196c57600080fd5b600061188f848461185b565b61198181611e5b565b82525050565b61198181611e10565b61198161199c82611e10565b611ea8565b61198181611e1b565b6119816119b682611e20565b611e2d565b6119816119b682611e2d565b60006119d282611e03565b6119dc8185610315565b93506119ec818560208601611e78565b9290920192915050565b61198181611e62565b61198181611e6d565b6000611a1382611e03565b611a1d8185611e07565b9350611a2d818560208601611e78565b611a3681611eb9565b9093019392505050565b6000611a4d601b83611e07565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000611a86602583611e07565b7f556e697377617056324c6962726172793a204944454e544943414c5f41444452815264455353455360d81b602082015260400192915050565b6000611acd602083610315565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f815260200192915050565b6000611b06602883611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4c815267495155494449545960c01b602082015260400192915050565b6000611b50600183610315565b6001600160f81b0319815260010192915050565b6000611b71602183611e07565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f8152607760f81b602082015260400192915050565b6000611bb4602583611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f418152641353d5539560da1b602082015260400192915050565b6000611bfb601e83611e07565b7f556e697377617056324c6962726172793a205a45524f5f414444524553530000815260200192915050565b61198181611e2d565b6000611c3c8285611990565b601482019150611c4c8284611990565b5060140192915050565b6000611c6282846119bb565b50602001919050565b6000611c7782866119c7565b9150611c8382856119aa565b600282019150611c9382846119c7565b95945050505050565b6000611ca782611b43565b9150611cb38285611990565b601482019150611cc382846119bb565b60208201915061188f82611ac0565b602081016109e28284611987565b60608101611cee8286611978565b611cfb6020830185611987565b61188f6040830184611c27565b60408101611d168285611978565b610dbb6020830184611c27565b60408101611d168285611987565b602081016109e282846119a1565b602081016109e282846119f6565b602081016109e282846119ff565b60208082528101610dbb8184611a08565b602080825281016109e281611a40565b602080825281016109e281611a79565b602080825281016109e281611af9565b602080825281016109e281611b64565b602080825281016109e281611ba7565b602080825281016109e281611bee565b602081016109e28284611c27565b60408101611d168285611c27565b60608101611df68286611c27565b611cfb6020830185611c27565b5190565b90815260200190565b60006109e282611e46565b151590565b6001600160f01b03191690565b90565b8061031581611ec9565b6001600160701b031690565b6001600160a01b031690565b63ffffffff1690565b60006109e2825b60006109e282611e10565b60006109e282611e30565b60005b83811015611e93578181015183820152602001611e7b565b83811115611ea2576000848401525b50505050565b60006109e28260006109e282611ec3565b601f01601f191690565b60601b90565b60038110611ed357fe5b50565b611edf81611e10565b8114611ed357600080fd5b611edf81611e1b565b611edf81611e3a565b611edf81611e2d565b611edf81611e5256fe506f6f6c3a20696e73756666696369656e7420636c61696d61626c652062616c616e6365506f6f6c3a20696e73756666696369656e74207068616e746f6d2062616c616e6365506f6f6c3a20696e73756666696369656e74207374616765642062616c616e6365506f6f6c3a20696e73756666696369656e7420626f6e6465642062616c616e6365a365627a7a72315820280f585b0038e1693c7b5de3a3d3016f6205f43af360f8b7bfeb5cab36081e4a6c6578706572696d656e74616cf564736f6c63430005110040

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

0000000000000000000000008e1d3ab094c1ee517b34cb2defd0ee9fe7658cea000000000000000000000000963900b776365feffe3a7cb52658e60986c7c7f9

-----Decoded View---------------
Arg [0] : dollar (address): 0x8e1D3Ab094c1EE517B34cb2DEfD0Ee9fE7658cea
Arg [1] : univ2 (address): 0x963900B776365fefFe3A7Cb52658e60986c7C7F9

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008e1d3ab094c1ee517b34cb2defd0ee9fe7658cea
Arg [1] : 000000000000000000000000963900b776365feffe3a7cb52658e60986c7c7f9


Deployed Bytecode Sourcemap

50109:5187:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50109:5187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37122:135;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;52436:876;;;;;;;;;:::i;:::-;;37402:131;;;;;;;;;:::i;51177:282::-;;;;;;;;;:::i;53320:993::-;;;;;;;;;:::i;51467:283::-;;;;;;;;;:::i;35867:98::-;;;:::i;:::-;;;;;;;;35973:87;;;:::i;:::-;;;;;;;;36273:100;;;:::i;36489:106::-;;;:::i;54467:69::-;;;:::i;36068:96::-;;;:::i;36857:84::-;;;:::i;:::-;;;;;;;;36172:93;;;:::i;37265:129::-;;;;;;;;;:::i;36985:::-;;;;;;;;;:::i;54321:138::-;;;;;;;;;:::i;38207:229::-;;;;;;;;;:::i;:::-;;;;;;;;51758:670;;;;;;;;;:::i;36713:136::-;;;:::i;50897:272::-;;;;;;;;;:::i;37541:658::-;;;;;;;;;:::i;36381:100::-;;;:::i;36603:102::-;;;:::i;37122:135::-;-1:-1:-1;;;;;37215:24:0;;37188:7;37215:24;;;:15;:24;;;;;:34;;;37122:135;;;;:::o;52436:876::-;52487:20;52496:10;52487:8;:20::i;:::-;52520:23;52546:27;52562:10;52546:15;:27::i;:::-;52520:53;;52584:120;52629:1;52611:15;:19;-1:-1:-1;;;52584:120:0;:12;:120::i;:::-;52717:20;52740:61;52785:15;52740:40;52774:5;52740:29;52758:10;52740:17;:29::i;:::-;:33;:40;:33;:40;:::i;:::-;:44;:61;:44;:61;:::i;:::-;52717:84;;52812:19;52834:60;52878:15;52834:39;52867:5;52834:28;52851:10;52834:16;:28::i;:60::-;52812:82;;52907:43;52932:10;52944:5;52907:24;:43::i;:::-;52961:53;52989:10;53001:12;52961:27;:53::i;:::-;53025:80;53050:10;53062:5;53025:80;;;;;;;;;;;;;;;;;:24;:80::i;:::-;53116:88;53142:10;53154:11;53116:88;;;;;;;;;;;;;;;;;:25;:88::i;:::-;53217:14;:12;:14::i;:::-;53256:10;53249:55;53268:14;53280:1;53268:7;:5;:7::i;:::-;:11;:14;:11;:14;:::i;:::-;53284:5;53291:12;53249:55;;;;;;;;;;;;;;;;;52436:876;;;;:::o;37402:131::-;-1:-1:-1;;;;;37493:24:0;37466:7;37493:24;;;:15;:24;;;;;:32;;;;37402:131::o;51177:282::-;51230:10;54821:130;54869:25;54848:46;:17;54857:7;54848:8;:17::i;:::-;:46;;;;;;;;;-1:-1:-1;;;;;;54821:12:0;:130::i;:::-;51253:7;:5;:7::i;:::-;-1:-1:-1;;;;;51253:16:0;;51270:10;51282:5;51253:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51253:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51253:35:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;51253:35:0;;;;;;;;;;51299:80;51324:10;51336:5;51299:80;;;;;;;;;;;;;;;;;:24;:80::i;:::-;51392:14;:12;:14::i;:::-;51433:10;-1:-1:-1;;;;;51424:27:0;;51445:5;51424:27;;;;;;;;;;;;;;;51177:282;;:::o;53320:993::-;53372:10;54821:130;54869:25;54848:46;;54821:130;55182:89;55210:8;:6;:8::i;:::-;55209:9;-1:-1:-1;;;;;;55182:12:0;:89::i;:::-;53405:116;53448:1;53432:13;:11;:13::i;:::-;:17;-1:-1:-1;;;53405:116:0;:12;:116::i;:::-;53534:120;53579:1;53561:15;:13;:15::i;:::-;:19;-1:-1:-1;;;53534:120:0;:12;:120::i;:::-;53667:141;53727:5;53694:29;53712:10;53694:17;:29::i;:::-;:38;;-1:-1:-1;;;53667:141:0;:12;:141::i;:::-;53822:16;53840;53860:19;53873:5;53860:12;:19::i;:::-;53821:58;;;;53892:32;53927:46;53967:5;53927:35;53947:14;:12;:14::i;:::-;53927:15;:13;:15::i;:46::-;53892:81;;53984:28;54015:57;54058:13;:11;:13::i;:::-;54015:38;:24;54044:8;54015:38;:28;:38;:::i;:57::-;53984:88;;54085:46;54110:10;54122:8;54085:24;:46::i;:::-;54142:70;54168:10;54180:31;:5;54190:20;54180:31;:9;:31;:::i;:::-;54142:25;:70::i;:::-;54227:14;:12;:14::i;:::-;54267:10;-1:-1:-1;;;;;54259:46:0;;54279:5;54286:8;54296;54259:46;;;;;;;;;;;;;;;;;55284:1;;;;53320:993;;:::o;51467:283::-;51517:10;54821:130;54869:25;54848:46;;54821:130;51540:8;:6;:8::i;:::-;-1:-1:-1;;;;;51540:17:0;;51558:10;51570:5;51540:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51540:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51540:36:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;51540:36:0;;;;;;;;;;51587:86;51615:10;51627:5;51587:86;;;;;;;;;;;;;;;;;:27;:86::i;:::-;51686:14;:12;:14::i;:::-;51724:10;-1:-1:-1;;;;;51718:24:0;;51736:5;51718:24;;;;;;;35867:98;35904:7;35931:26;:24;:26::i;:::-;35924:33;;35867:98;:::o;35973:87::-;36033:15;:19;-1:-1:-1;;;;;36033:19:0;35973:87;:::o;36273:100::-;36344:21;;36273:100;:::o;36489:106::-;36563:24;;36489:106;:::o;54467:69::-;55011:109;55060:5;:3;:5::i;:::-;-1:-1:-1;;;;;55038:28:0;:10;-1:-1:-1;;;;;55038:28:0;;-1:-1:-1;;;;;;55011:12:0;:109::i;:::-;54521:7;:5;:7::i;:::-;54467:69::o;36068:96::-;36134:22;;-1:-1:-1;;;;;36134:22:0;36068:96;:::o;36857:84::-;36920:13;;;;36857:84;:::o;36172:93::-;36236:21;;-1:-1:-1;;;;;36236:21:0;36172:93;:::o;37265:129::-;-1:-1:-1;;;;;37355:24:0;37328:7;37355:24;;;:15;:24;;;;;:31;;;;37265:129::o;36985:::-;-1:-1:-1;;;;;37075:24:0;37048:7;37075:24;;;:15;:24;;;;;:31;;36985:129::o;54321:138::-;55011:109;55060:5;:3;:5::i;55011:109::-;54413:5;-1:-1:-1;;;;;54406:22:0;;54437:5;:3;:5::i;:::-;54445;54406:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54406:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54406:45:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;54406:45:0;;;;;;;;;;54321:138;;:::o;38207:229::-;-1:-1:-1;;;;;38312:24:0;;38263:18;38312:24;;;:15;:24;;;;;:35;;;38301:7;:5;:7::i;:::-;:46;;:127;;38404:24;38301:127;;;38363:25;38301:127;38294:134;38207:229;-1:-1:-1;;38207:229:0:o;51758:670::-;55182:89;55210:8;:6;:8::i;55182:89::-;51817:20;51826:10;51817:8;:20::i;:::-;51850:32;51885:35;51905:14;:12;:14::i;51885:35::-;51850:70;;51931:18;51952:13;:11;:13::i;:::-;:18;:177;;52075:54;52115:13;:11;:13::i;52075:54::-;51952:177;;;51986:15;:13;:15::i;:::-;:20;:73;;52058:1;51986:73;;;52009:46;52049:5;52009:35;:33;:35::i;:46::-;51931:198;;52142:43;52167:10;52179:5;52142:24;:43::i;:::-;52196:49;52222:10;52234;52196:25;:49::i;:::-;52256:80;52281:10;52293:5;52256:80;;;;;;;;;;;;;;;;;:24;:80::i;:::-;52349:14;:12;:14::i;:::-;52386:10;52381:39;52398:14;52410:1;52398:7;:5;:7::i;:14::-;52414:5;52381:39;;;;;;;;;;;;;;;;55284:1;;51758:670;:::o;36713:136::-;36759:7;36786:55;36824:16;:14;:16::i;:::-;36786:8;:6;:8::i;:::-;-1:-1:-1;;;;;36786:18:0;;36813:4;36786:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36786:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36786:33:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;36786:33:0;;;;;;;;;:37;:55;:37;:55;:::i;50897:272::-;50949:10;54821:130;54869:25;54848:46;;54821:130;55182:89;55210:8;:6;:8::i;55182:89::-;50982:7;:5;:7::i;:::-;-1:-1:-1;;;;;50982:20:0;;51003:10;51023:4;51030:5;50982:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50982:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50982:54:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;50982:54:0;;;;;;;;;;51047:43;51072:10;51084:5;51047:24;:43::i;:::-;51103:14;:12;:14::i;:::-;51143:10;-1:-1:-1;;;;;51135:26:0;;51155:5;51135:26;;;;;;;37541:658;37606:7;37626:19;37648:13;:11;:13::i;:::-;37626:35;-1:-1:-1;37676:16:0;37672:57;;37716:1;37709:8;;;;;37672:57;37741:32;37776:35;37796:14;:12;:14::i;37776:35::-;37741:70;;37822:36;37861:99;37948:11;37861:68;37904:24;37920:7;37904:15;:24::i;:::-;37861;;:68;:42;:68;:::i;:99::-;37822:138;;37973:24;38000:25;38017:7;38000:16;:25::i;:::-;37973:52;;38071:16;38040:28;:47;38036:137;;;38111:50;:28;38144:16;38111:50;:32;:50;:::i;:::-;38104:57;;;;;;;;38036:137;-1:-1:-1;38190:1:0;;37541:658;-1:-1:-1;;;;;37541:658:0:o;36381:100::-;36425:7;36452:21;36381:100;:::o;36603:102::-;36675:22;;36603:102;:::o;41844:149::-;41937:48;41949:35;:33;:35::i;:::-;41937:7;:5;:7::i;:48::-;-1:-1:-1;;;;;41899:24:0;;;:6;:24;;;:15;:24;;;;;:35;;:86;41844:149::o;9778:437::-;9912:4;9907:301;;10030:24;10049:4;10030:18;:24::i;:::-;-1:-1:-1;;;10113:26:0;10132:6;10113:18;:26::i;:::-;9987:175;;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;9987:175:0;;;;-1:-1:-1;;;9933:263:0;;;;;;;;;;;;;;;;2299:471;2357:7;2602:6;2598:47;;-1:-1:-1;2632:1:0;2625:8;;2598:47;2669:5;;;2673:1;2669;:5;:1;2693:5;;;;;:10;2685:56;;;;-1:-1:-1;;;2685:56:0;;;;;;;;;2761:1;2299:471;-1:-1:-1;;;2299:471:0:o;3238:132::-;3296:7;3323:39;3327:1;3330;3323:39;;;;;;;;;;;;;;;;;:3;:39::i;40202:240::-;-1:-1:-1;;;;;40323:24:0;;:6;:24;;;:15;:24;;;;;:31;:43;;40359:6;40323:43;:35;:43;:::i;:::-;-1:-1:-1;;;;;40289:24:0;;:6;:24;;;:15;:24;;;;;:77;;;;40401:21;:33;;40427:6;40401:33;:25;:33;:::i;:::-;40377:6;:57;-1:-1:-1;;40202:240:0:o;40736:255::-;-1:-1:-1;;;;;40863:24:0;;:6;:24;;;:15;:24;;;;;:34;;;:46;;40902:6;40863:46;:38;:46;:::i;:::-;-1:-1:-1;;;;;40826:24:0;;:6;:24;;;:15;:24;;;;;:34;;;;:83;;;;40947:24;:36;;40976:6;40947:36;:28;:36;:::i;:::-;40920:24;:63;-1:-1:-1;;40736:255:0:o;39916:278::-;-1:-1:-1;;;;;40059:24:0;;:6;:24;;;:15;:24;;;;;:31;;;:51;;40095:6;40103;40059:51;:35;:51;:::i;:::-;-1:-1:-1;;;;;40025:24:0;;:6;:24;;;:15;:24;;;;;:31;;;;:85;;;;40145:21;:41;;40171:6;40179;40145:41;:25;:41;:::i;:::-;40121:21;:65;-1:-1:-1;;;39916:278:0:o;41553:283::-;-1:-1:-1;;;;;41698:24:0;;:6;:24;;;:15;:24;;;;;:32;;;:52;;41735:6;41743;41698:52;:36;:52;:::i;:::-;-1:-1:-1;;;;;41663:24:0;;:6;:24;;;:15;:24;;;;;:32;;;;:87;;;;41786:22;:42;;41813:6;41821;41786:42;:26;:42;:::i;:::-;41761:22;:67;-1:-1:-1;;;41553:283:0:o;54544:221::-;54587:170;54650:32;54668:13;:11;:13::i;:::-;54650;:11;:13::i;:32::-;54614:7;:5;:7::i;:::-;-1:-1:-1;;;;;54614:17:0;;54640:4;54614:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54614:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54614:32:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;54614:32:0;;;;;;;;;:68;;-1:-1:-1;;;54587:170:0;:12;:170::i;38478:88::-;38518:7;38545:5;:3;:5::i;:::-;-1:-1:-1;;;;;38545:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38545:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;38545:13:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;38545:13:0;;;;;;;;927:181;985:7;1017:5;;;1041:6;;;;1033:46;;;;-1:-1:-1;;;1033:46:0;;;;;;;;40450:278;-1:-1:-1;;;;;40593:24:0;;:6;:24;;;:15;:24;;;;;:31;:51;;40629:6;40637;40593:51;:35;:51;:::i;:::-;-1:-1:-1;;;;;40559:24:0;;:6;:24;;;:15;:24;;;;;:85;;;;40679:21;:41;;40705:6;40713;40679:41;:25;:41;:::i;:::-;40655:6;:65;-1:-1:-1;;;40450:278:0:o;47991:632::-;48053:7;48062;48083:14;48099:12;48124:8;:6;:8::i;:::-;48135:6;:4;:6::i;:::-;48082:60;;;;48154:13;48169;48186:25;48198:6;48206:4;48186:11;:25::i;:::-;48153:58;;;;48224:18;48246:8;48258:1;48246:13;:30;;;;-1:-1:-1;48263:13:0;;48246:30;48245:134;;48323:56;48346:12;48360:8;48370;48323:22;:56::i;:::-;48245:134;;;48294:12;48245:134;48224:155;;48392:12;48415:7;:5;:7::i;:::-;48434:43;;-1:-1:-1;;;48434:43:0;;48392:31;;-1:-1:-1;;;;;;48434:23:0;;;;;:43;;48392:31;;48464:12;;48434:43;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48434:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48434:43:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;48434:43:0;;;;;;;;;-1:-1:-1;48488:55:0;;-1:-1:-1;;;48488:55:0;;-1:-1:-1;;;;;48488:25:0;;;;;:55;;48514:10;;48526:4;;48532:10;;48488:55;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48488:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48488:55:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;48488:55:0;;;;;;;;;-1:-1:-1;48574:40:0;;-1:-1:-1;;;48574:40:0;;48562:10;;-1:-1:-1;;;;;48574:25:0;;;;;:40;;48608:4;;48574:40;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48574:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48574:40:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;48574:40:0;;;;;;;;;48554:61;;;;;;;;;;47991:632;;;:::o;39668:240::-;-1:-1:-1;;;;;39789:24:0;;:6;:24;;;:15;:24;;;;;:31;;;:43;;39825:6;39789:43;:35;:43;:::i;:::-;-1:-1:-1;;;;;39755:24:0;;:6;:24;;;:15;:24;;;;;:31;;;;:77;;;;39867:21;:33;;39893:6;39867:33;:25;:33;:::i;:::-;39843:21;:57;-1:-1:-1;;39668:240:0:o;41300:245::-;-1:-1:-1;;;;;41423:24:0;;:6;:24;;;:15;:24;;;;;:32;;;:44;;41460:6;41423:44;:36;:44;:::i;:::-;-1:-1:-1;;;;;41388:24:0;;:6;:24;;;:15;:24;;;;;:32;;;;:79;;;;41503:22;:34;;41530:6;41503:34;:26;:34;:::i;:::-;41478:22;:59;-1:-1:-1;;41300:245:0:o;40999:293::-;-1:-1:-1;;;;;41148:24:0;;:6;:24;;;:15;:24;;;;;:34;;;:54;;41187:6;41195;41148:54;:38;:54;:::i;:::-;-1:-1:-1;;;;;41111:24:0;;:6;:24;;;:15;:24;;;;;:34;;;;:91;;;;41240:24;:44;;41269:6;41277;41240:44;:28;:44;:::i;:::-;41213:24;:71;-1:-1:-1;;;40999:293:0:o;27822:88::-;26179:42;27822:88;:::o;39559:65::-;39596:13;:20;;-1:-1:-1;;39596:20:0;39612:4;39596:20;;;39559:65::o;28277:115::-;26374:3;28277:115;:::o;1383:136::-;1441:7;1468:43;1472:1;1475;1468:43;;;;;;;;;;;;;;;;;:3;:43::i;29467:116::-;27231:2;29467:116;:::o;14995:985::-;15091:12;15169:19;15208:5;15191:23;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;15191:23:0;;;;-1:-1:-1;49:4;15323:587:0;15344:5;;15323:587;;15601:9;;-1:-1:-1;;15500:3:0;;;;15601:6;;15500:3;;15601:9;;;;;;;;;;-1:-1:-1;;;;;;15601:9:0;:14;15597:302;;15657:1;15653:5;15787:22;;15794:6;-1:-1:-1;15870:13:0;;15597:302;15323:587;;;-1:-1:-1;;15960:12:0;;;15970:1;15960:12;;;;;;;;;15953:19;-1:-1:-1;;14995:985:0:o;3900:345::-;3986:7;4088:12;4081:5;4073:28;;;;-1:-1:-1;;;4073:28:0;;;;;;;;;;;4112:9;4128:1;4124;:5;;;;;;;3900:345;-1:-1:-1;;;;;3900:345:0:o;1856:192::-;1942:7;1978:12;1970:6;;;;1962:29;;;;-1:-1:-1;;;1962:29:0;;;;;;;;;;-1:-1:-1;;;2014:5:0;;;1856:192::o;48663:416::-;48739:13;48754;48781:14;48800:43;48828:6;48836;48800:27;:43::i;:::-;48780:63;;;48855:13;48870;48903:57;47939:42;48945:6;48953;48903:24;:57::i;:::-;-1:-1:-1;;;;;48888:85:0;;:87;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48888:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48888:87:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;48888:87:0;;;;;;;;;48854:121;-1:-1:-1;;;;;48854:121:0;;;-1:-1:-1;;;;;48854:121:0;;;49019:6;-1:-1:-1;;;;;49009:16:0;:6;-1:-1:-1;;;;;49009:16:0;;:62;;49052:8;49062;49009:62;;;49029:8;49039;49009:62;48986:85;;;;-1:-1:-1;48663:416:0;-1:-1:-1;;;;;;48663:416:0:o;46486:321::-;46568:12;46611:1;46601:7;:11;46593:61;;;;-1:-1:-1;;;46593:61:0;;;;;;;;;46684:1;46673:8;:12;:28;;;;;46700:1;46689:8;:12;46673:28;46665:81;;;;-1:-1:-1;;;46665:81:0;;;;;;;;;46791:8;46767:21;:7;46779:8;46767:21;:11;:21;:::i;:::-;:32;;;;;;;46486:321;-1:-1:-1;;;;46486:321:0:o;45005:349::-;45080:14;45096;45141:6;-1:-1:-1;;;;;45131:16:0;:6;-1:-1:-1;;;;;45131:16:0;;;45123:66;;;;-1:-1:-1;;;45123:66:0;;;;;;;;;45228:6;-1:-1:-1;;;;;45219:15:0;:6;-1:-1:-1;;;;;45219:15:0;;:53;;45257:6;45265;45219:53;;;45238:6;45246;45219:53;45200:72;;-1:-1:-1;45200:72:0;-1:-1:-1;;;;;;45291:20:0;;45283:63;;;;-1:-1:-1;;;45283:63:0;;;;;;;;;45005:349;;;;;:::o;45446:478::-;45535:12;45561:14;45577;45595:26;45606:6;45614;45595:10;:26::i;:::-;45560:61;;;;45723:7;45776:6;45784;45759:32;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;45759:32:0;;;45749:43;;;;;;45662:251;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;45662:251:0;;;45652:262;;49:4:-1;45652:262:0;;;;;45446:478;-1:-1:-1;;;;;;45446:478:0:o;5:130:-1:-;72:20;;97:33;72:20;97:33;;142:128;217:13;;235:30;217:13;235:30;;277:134;355:13;;373:33;355:13;373:33;;418:130;485:20;;510:33;485:20;510:33;;555:134;633:13;;651:33;633:13;651:33;;696:132;773:13;;791:32;773:13;791:32;;835:241;;939:2;927:9;918:7;914:23;910:32;907:2;;;955:1;952;945:12;907:2;990:1;1007:53;1052:7;1032:9;1007:53;;;997:63;901:175;-1:-1;;;;901:175;1083:366;;;1204:2;1192:9;1183:7;1179:23;1175:32;1172:2;;;1220:1;1217;1210:12;1172:2;1255:1;1272:53;1317:7;1297:9;1272:53;;;1262:63;;1234:97;1362:2;1380:53;1425:7;1416:6;1405:9;1401:22;1380:53;;;1370:63;;1341:98;1166:283;;;;;;1456:257;;1568:2;1556:9;1547:7;1543:23;1539:32;1536:2;;;1584:1;1581;1574:12;1536:2;1619:1;1636:61;1689:7;1669:9;1636:61;;1720:533;;;;1868:2;1856:9;1847:7;1843:23;1839:32;1836:2;;;1884:1;1881;1874:12;1836:2;1919:1;1936:64;1992:7;1972:9;1936:64;;;1926:74;;1898:108;2037:2;2055:64;2111:7;2102:6;2091:9;2087:22;2055:64;;;2045:74;;2016:109;2156:2;2174:63;2229:7;2220:6;2209:9;2205:22;2174:63;;;2164:73;;2135:108;1830:423;;;;;;2260:241;;2364:2;2352:9;2343:7;2339:23;2335:32;2332:2;;;2380:1;2377;2370:12;2332:2;2415:1;2432:53;2477:7;2457:9;2432:53;;2508:263;;2623:2;2611:9;2602:7;2598:23;2594:32;2591:2;;;2639:1;2636;2629:12;2591:2;2674:1;2691:64;2747:7;2727:9;2691:64;;2778:142;2869:45;2908:5;2869:45;;;2864:3;2857:58;2851:69;;;2927:113;3010:24;3028:5;3010:24;;3047:152;3148:45;3168:24;3186:5;3168:24;;;3148:45;;3206:104;3283:21;3298:5;3283:21;;3317:148;3416:43;3435:23;3452:5;3435:23;;;3416:43;;3472:152;3573:45;3593:24;3611:5;3593:24;;3631:356;;3759:38;3791:5;3759:38;;;3809:88;3890:6;3885:3;3809:88;;;3802:95;;3902:52;3947:6;3942:3;3935:4;3928:5;3924:16;3902:52;;;3966:16;;;;;3739:248;-1:-1;;3739:248;3994:152;4090:50;4134:5;4090:50;;4479:144;4571:46;4611:5;4571:46;;4630:347;;4742:39;4775:5;4742:39;;;4793:71;4857:6;4852:3;4793:71;;;4786:78;;4869:52;4914:6;4909:3;4902:4;4895:5;4891:16;4869:52;;;4942:29;4964:6;4942:29;;;4933:39;;;;4722:255;-1:-1;;;4722:255;4985:327;;5145:67;5209:2;5204:3;5145:67;;;5245:29;5225:50;;5303:2;5294:12;;5131:181;-1:-1;;5131:181;5321:374;;5481:67;5545:2;5540:3;5481:67;;;5581:34;5561:55;;-1:-1;;;5645:2;5636:12;;5629:29;5686:2;5677:12;;5467:228;-1:-1;;5467:228;5704:400;;5882:85;5964:2;5959:3;5882:85;;;6000:66;5980:87;;6095:2;6086:12;;5868:236;-1:-1;;5868:236;6113:377;;6273:67;6337:2;6332:3;6273:67;;;6373:34;6353:55;;-1:-1;;;6437:2;6428:12;;6421:32;6481:2;6472:12;;6259:231;-1:-1;;6259:231;6499:398;;6677:84;6759:1;6754:3;6677:84;;;-1:-1;;;;;;6774:87;;6889:1;6880:11;;6663:234;-1:-1;;6663:234;6906:370;;7066:67;7130:2;7125:3;7066:67;;;7166:34;7146:55;;-1:-1;;;7230:2;7221:12;;7214:25;7267:2;7258:12;;7052:224;-1:-1;;7052:224;7285:374;;7445:67;7509:2;7504:3;7445:67;;;7545:34;7525:55;;-1:-1;;;7609:2;7600:12;;7593:29;7650:2;7641:12;;7431:228;-1:-1;;7431:228;7668:330;;7828:67;7892:2;7887:3;7828:67;;;7928:32;7908:53;;7989:2;7980:12;;7814:184;-1:-1;;7814:184;8006:113;8089:24;8107:5;8089:24;;8126:383;;8273:75;8344:3;8335:6;8273:75;;;8370:2;8365:3;8361:12;8354:19;;8384:75;8455:3;8446:6;8384:75;;;-1:-1;8481:2;8472:12;;8261:248;-1:-1;;8261:248;8516:244;;8635:75;8706:3;8697:6;8635:75;;;-1:-1;8732:2;8723:12;;8623:137;-1:-1;8623:137;8767:553;;8983:93;9072:3;9063:6;8983:93;;;8976:100;;9087:73;9156:3;9147:6;9087:73;;;9182:1;9177:3;9173:11;9166:18;;9202:93;9291:3;9282:6;9202:93;;;9195:100;8964:356;-1:-1;;;;;8964:356;9327:917;;9683:148;9827:3;9683:148;;;9676:155;;9842:75;9913:3;9904:6;9842:75;;;9939:2;9934:3;9930:12;9923:19;;9953:75;10024:3;10015:6;9953:75;;;10050:2;10045:3;10041:12;10034:19;;10071:148;10215:3;10071:148;;10251:213;10369:2;10354:18;;10383:71;10358:9;10427:6;10383:71;;10471:451;10653:2;10638:18;;10667:79;10642:9;10719:6;10667:79;;;10757:72;10825:2;10814:9;10810:18;10801:6;10757:72;;;10840;10908:2;10897:9;10893:18;10884:6;10840:72;;10929:340;11083:2;11068:18;;11097:79;11072:9;11149:6;11097:79;;;11187:72;11255:2;11244:9;11240:18;11231:6;11187:72;;11276:324;11422:2;11407:18;;11436:71;11411:9;11480:6;11436:71;;11607:201;11719:2;11704:18;;11733:65;11708:9;11771:6;11733:65;;11815:239;11946:2;11931:18;;11960:84;11935:9;12017:6;11960:84;;12561:231;12688:2;12673:18;;12702:80;12677:9;12755:6;12702:80;;12799:301;12937:2;12951:47;;;12922:18;;13012:78;12922:18;13076:6;13012:78;;13107:407;13298:2;13312:47;;;13283:18;;13373:131;13283:18;13373:131;;13521:407;13712:2;13726:47;;;13697:18;;13787:131;13697:18;13787:131;;13935:407;14126:2;14140:47;;;14111:18;;14201:131;14111:18;14201:131;;14349:407;14540:2;14554:47;;;14525:18;;14615:131;14525:18;14615:131;;14763:407;14954:2;14968:47;;;14939:18;;15029:131;14939:18;15029:131;;15177:407;15368:2;15382:47;;;15353:18;;15443:131;15353:18;15443:131;;15591:213;15709:2;15694:18;;15723:71;15698:9;15767:6;15723:71;;15811:324;15957:2;15942:18;;15971:71;15946:9;16015:6;15971:71;;16142:435;16316:2;16301:18;;16330:71;16305:9;16374:6;16330:71;;;16412:72;16480:2;16469:9;16465:18;16456:6;16412:72;;16584:121;16671:12;;16642:63;16995:163;17098:19;;;17147:4;17138:14;;17091:67;17320:91;;17382:24;17400:5;17382:24;;17418:85;17484:13;17477:21;;17460:43;17510:144;-1:-1;;;;;;17571:78;;17554:100;17661:72;17723:5;17706:27;17740:128;17813:5;17819:44;17813:5;17819:44;;17875:109;-1:-1;;;;;17937:42;;17920:64;17991:121;-1:-1;;;;;18053:54;;18036:76;18198:88;18270:10;18259:22;;18242:44;18293:129;;18380:37;18411:5;18429:147;;18521:50;18565:5;18521:50;;19287:128;;19375:35;19404:5;19375:35;;19666:268;19731:1;19738:101;19752:6;19749:1;19746:13;19738:101;;;19819:11;;;19813:18;19800:11;;;19793:39;19774:2;19767:10;19738:101;;;19854:6;19851:1;19848:13;19845:2;;;19919:1;19910:6;19905:3;19901:16;19894:27;19845:2;19715:219;;;;;19942:95;;20006:26;20026:5;20205:89;20269:20;20283:5;20269:20;;20301:97;20389:2;20369:14;-1:-1;;20365:28;;20349:49;20406:94;20480:2;20476:14;;20448:52;20508:102;20588:1;20581:5;20578:12;20568:2;;20594:9;20568:2;20562:48;;20617:117;20686:24;20704:5;20686:24;;;20679:5;20676:35;20666:2;;20725:1;20722;20715:12;20741:111;20807:21;20822:5;20807:21;;20859:117;20928:24;20946:5;20928:24;;20983:117;21052:24;21070:5;21052:24;;21107:115;21175:23;21192:5;21175:23;

Swarm Source

bzzr://280f585b0038e1693c7b5de3a3d3016f6205f43af360f8b7bfeb5cab36081e4a

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.