ETH Price: $3,371.29 (+0.26%)

Contract

0x11De873E978ca2d0A5282C6Add873C4329daD68B
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim208312952024-09-26 0:46:59113 days ago1727311619IN
0x11De873E...329daD68B
0 ETH0.0011520615.28488676
Claim207325062024-09-12 5:40:47126 days ago1726119647IN
0x11De873E...329daD68B
0 ETH0.000232853.0849869
Unbond117553302021-01-30 5:13:121447 days ago1611983592IN
0x11De873E...329daD68B
0 ETH0.0043137152
Claim117553022021-01-30 5:06:201447 days ago1611983180IN
0x11De873E...329daD68B
0 ETH0.0034303852
Withdraw117016192021-01-21 22:45:251456 days ago1611269125IN
0x11De873E...329daD68B
0 ETH0.01432552220
Claim116970362021-01-21 5:58:301456 days ago1611208710IN
0x11De873E...329daD68B
0 ETH0.002956258
Claim116905822021-01-20 6:14:161457 days ago1611123256IN
0x11De873E...329daD68B
0 ETH0.0040900762
Withdraw116905752021-01-20 6:12:271457 days ago1611123147IN
0x11De873E...329daD68B
0 ETH0.0040364462
Claim116903912021-01-20 5:32:221457 days ago1611120742IN
0x11De873E...329daD68B
0 ETH0.0019877939
Withdraw116864042021-01-19 14:54:441458 days ago1611068084IN
0x11De873E...329daD68B
0 ETH0.0081395125
Claim116864032021-01-19 14:54:241458 days ago1611068064IN
0x11De873E...329daD68B
0 ETH0.00824762125
Claim116853892021-01-19 11:12:091458 days ago1611054729IN
0x11De873E...329daD68B
0 ETH0.0058031688
Claim116846532021-01-19 8:28:281458 days ago1611044908IN
0x11De873E...329daD68B
0 ETH0.0059372190
Withdraw116845442021-01-19 8:06:121458 days ago1611043572IN
0x11De873E...329daD68B
0 ETH0.0055924785.88485316
Claim116845442021-01-19 8:06:121458 days ago1611043572IN
0x11De873E...329daD68B
0 ETH0.0055753984.5
Unbond116844522021-01-19 7:44:231458 days ago1611042263IN
0x11De873E...329daD68B
0 ETH0.007888174
Withdraw116844062021-01-19 7:35:081458 days ago1611041708IN
0x11De873E...329daD68B
0 ETH0.0053395182
Withdraw116842012021-01-19 6:49:271458 days ago1611038967IN
0x11De873E...329daD68B
0 ETH0.0040371962
Claim116839422021-01-19 5:50:011458 days ago1611035401IN
0x11De873E...329daD68B
0 ETH0.002141242
Claim116838572021-01-19 5:33:201458 days ago1611034400IN
0x11De873E...329daD68B
0 ETH0.003101147.00000145
Claim116822692021-01-18 23:41:001459 days ago1611013260IN
0x11De873E...329daD68B
0 ETH0.0029026344
Bond116815042021-01-18 20:54:551459 days ago1611003295IN
0x11De873E...329daD68B
0 ETH0.0045874845
Unbond116814962021-01-18 20:52:251459 days ago1611003145IN
0x11De873E...329daD68B
0 ETH0.0047968245
Unbond116813112021-01-18 20:16:421459 days ago1611001002IN
0x11De873E...329daD68B
0 ETH0.0100211594
Unbond116811922021-01-18 19:44:311459 days ago1610999071IN
0x11De873E...329daD68B
0 ETH0.0063950460
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
116020152021-01-06 16:00:321471 days ago1609948832  Contract Creation0 ETH
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:
istanbul EvmVersion, None license

Contract Source Code (Solidity)

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

pragma solidity ^0.5.17;
pragma experimental ABIEncoderV2;


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

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

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

/*
    Copyright 2019 dYdX Trading Inc.
    Copyright 2020 Freq Set Dollar <[email protected]>

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

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

    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.
*/
library Constants {
    /* Chain */
    uint256 private constant CHAIN_ID = 1; // Mainnet

    /* Bootstrapping */
    uint256 private constant BOOTSTRAPPING_PERIOD = 168;
    uint256 private constant BOOTSTRAPPING_PRICE = 220e16; // 2.2 USDC (targeting 5% inflation)

    /* Oracle */
    address private constant USDC = address(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);

    uint256 private constant ORACLE_RESERVE_MINIMUM = 1e10; // 10,000 USDC

    /* Bonding */
    uint256 private constant INITIAL_STAKE_MULTIPLE = 1e6; // 100 FSD -> 100M FSDS

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

    uint256 private constant EPOCH_OFFSET = 0;
    uint256 private constant EPOCH_START = 1609905600;
    
    uint256 private constant EPOCH_PERIOD = 3600; // 60 min

    /* Governance */
    uint256 private constant GOVERNANCE_PERIOD = 24; // 24 epochs
    uint256 private constant GOVERNANCE_QUORUM = 20e16; // 20%
    uint256 private constant GOVERNANCE_SUPER_MAJORITY = 66e16; // 66%
    uint256 private constant GOVERNANCE_EMERGENCY_DELAY = 6; // 6 epochs
    uint256 private constant GOVERNANCE_PROPOSAL_THRESHOLD = 1e16; // 1%

    /* DAO */
    uint256 private constant ADVANCE_INCENTIVE = 1e20; // 100 FSD

    uint256 private constant DAO_EXIT_LOCKUP_EPOCHS = 12; // 12 epochs fluid

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

    /* Market */
    uint256 private constant COUPON_EXPIRATION = 720; //720 epoch

    uint256 private constant DEBT_RATIO_CAP = 50e16; // 50%

    uint256 private constant INITIAL_COUPON_REDEMPTION_PENALTY = 65e16; // 65%

    uint256 private constant COUPON_REDEMPTION_PENALTY_DECAY = 1800; // 30 minutes

    /* Regulator */
    uint256 private constant SUPPLY_CHANGE_DIVISOR = 24e18; // 24

    //10% supply limit 
    uint256 private constant SUPPLY_CHANGE_LIMIT = 10e16; // 10%

    uint256 private constant ORACLE_POOL_RATIO = 50; // 50%

    /**
     * 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 getGovernanceProposalThreshold() internal pure returns (Decimal.D256 memory) {
        return Decimal.D256({value: GOVERNANCE_PROPOSAL_THRESHOLD});
    }

    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;
    }
}

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

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

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

    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.
*/
contract IDAO {
    function epoch() external view returns (uint256);
}

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

    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.
*/
contract IUSDC {
    function isBlacklisted(address _account) external view returns (bool);
}

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

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

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

    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.
*/
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();
    }
}

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

    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.
*/
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());
    }
}

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;
}

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;
    }
}

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

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

/*
    Copyright 2020 Freq Set Dollar <[email protected]>

    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.
*/
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

[{"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"}]

60806040523480156200001157600080fd5b50604051620020d8380380620020d8833981016040819052620000349162000084565b600480546001600160a01b03199081163317909155600580546001600160a01b0394851690831617905560068054929093169116179055620000ef565b80516200007e81620000d5565b92915050565b600080604083850312156200009857600080fd5b6000620000a6858562000071565b9250506020620000b98582860162000071565b9150509250929050565b60006001600160a01b0382166200007e565b620000e081620000c3565b8114620000ec57600080fd5b50565b611fd980620000ff6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80635c975abb116100c35780639940686e1161007c5780639940686e146102a7578063aed29d07146102ba578063b6b55f25146102c2578063c0d7a94f146102d5578063cf023779146102e8578063e0cf7285146102f057610158565b80635c975abb146102315780637298d36e14610246578063825ad6071461024e57806386cf9f141461026157806395ccea671461027457806397a5d5b51461028757610158565b80633e413bee116101155780633e413bee146101e75780634162169f146101fc57806344d96e95146102115780634838ed191461021957806351858e271461022157806351adeb571461022957610158565b80631667eb171461015d57806327de9e321461018657806329f32ed41461019b5780632e1a7d4d146101ae5780632e2ebe06146101c1578063379607f5146101d4575b600080fd5b61017061016b366004611871565b6102f8565b60405161017d9190611dcc565b60405180910390f35b61019961019436600461193c565b61031a565b005b6101706101a9366004611871565b610463565b6101996101bc36600461193c565b610481565b6101996101cf36600461193c565b6105b0565b6101996101e236600461193c565b610755565b6101ef61084c565b60405161017d9190611cd2565b61020461085b565b60405161017d9190611d3f565b61017061086a565b610170610870565b610199610876565b6102046108b7565b6102396108c6565b60405161017d9190611d31565b6102046108cf565b61017061025c366004611871565b6108de565b61017061026f366004611871565b6108fc565b610199610282366004611897565b610917565b61029a610295366004611871565b6109ae565b60405161017d9190611d4d565b6101996102b536600461193c565b6109e8565b610170610ad6565b6101996102d036600461193c565b610b72565b6101706102e3366004611871565b610c5d565b610170610ce5565b610170610ceb565b6001600160a01b0381166000908152600860205260409020600101545b919050565b61032333610cf1565b600061032e336108de565b90506103656000821163141bdbdb60e21b7f696e73756666696369656e7420626f6e6465642062616c616e63650000000000610d23565b6000610390826103848561037833610c5d565b9063ffffffff610d8116565b9063ffffffff610dc216565b905060006103a5836103848661037833610463565b90506103b13385610e04565b6103bb3383610e61565b6103de3385604051806060016040528060218152602001611f7660219139610ec6565b6104013382604051806060016040528060228152602001611f3360229139610f2e565b610409610f96565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae7512610444600161043861105f565b9063ffffffff6110d916565b868560405161045593929190611de8565b60405180910390a250505050565b6001600160a01b031660009081526008602052604090206003015490565b336104b860005b610491836109ae565b600281111561049c57fe5b1463141bdbdb60e21b692737ba10333937bd32b760b11b610d23565b6104c06108cf565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b81526004016104ed929190611d08565b602060405180830381600087803b15801561050757600080fd5b505af115801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061053f91908101906118d1565b506105633383604051806060016040528060218152602001611f55602191396110fe565b61056b610f96565b336001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516105a49190611dcc565b60405180910390a25050565b336105bb6000610488565b6105de6105c66108c6565b1563141bdbdb60e21b6514185d5cd95960d21b610d23565b61061a60006105eb61086a565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c20626f6e64656400000000000000610d23565b6106566000610627610ad6565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c2072657761726465640000000000610d23565b6106938261066333610c5d565b101563141bdbdb60e21b7f696e73756666696369656e742072657761726465642062616c616e6365000000610d23565b60008061069f8461115e565b9150915060006106bc856104386106b4610ceb565b610438610ad6565b905060006106db6106cb61086a565b610384848663ffffffff610d8116565b90506106e73384611351565b610700336106fb888463ffffffff6110d916565b6113b6565b610708610f96565b336001600160a01b03167fbe9d8078818a53534ce225882a00e0c6f709b5296c8a08c3a1f23f9ffd44838087868660405161074593929190611de8565b60405180910390a2505050505050565b336107606000610488565b6107686108b7565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b8152600401610795929190611d08565b602060405180830381600087803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107e791908101906118d1565b5061080b3383604051806060016040528060248152602001611f0f6024913961141b565b610813610f96565b336001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4836040516105a49190611dcc565b6000610856611483565b905090565b6004546001600160a01b031690565b60025490565b60015490565b6108ad61088161085b565b6001600160a01b0316336001600160a01b03161463141bdbdb60e21b664e6f742064616f60c81b610d23565b6108b561149b565b565b6005546001600160a01b031690565b60075460ff1690565b6006546001600160a01b031690565b6001600160a01b031660009081526008602052604090206002015490565b6001600160a01b031660009081526008602052604090205490565b61092261088161085b565b816001600160a01b031663a9059cbb61093961085b565b836040518363ffffffff1660e01b8152600401610957929190611d23565b602060405180830381600087803b15801561097157600080fd5b505af1158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109a991908101906118d1565b505050565b6001600160a01b0381166000908152600860205260408120600401546109d261105f565b10156109df5760016109e2565b60005b92915050565b6109f36105c66108c6565b6109fc33610cf1565b6000610a096106b4610ceb565b90506000610a1561086a565b15610a2a57610a256106cb61086a565b610a4a565b610a32610ad6565b15610a3e576000610a4a565b610a4a836103786114aa565b9050610a563384611351565b610a6033826113b6565b610a833384604051806060016040528060218152602001611f55602191396110fe565b610a8b610f96565b337f3ae9ad26d7d47616d306d7757b947fe7b0f9a7c61a5f0dc784b0ddb6c7c40b5a610aba600161043861105f565b85604051610ac9929190611dda565b60405180910390a2505050565b6000610856610ae3610870565b610aeb6108b7565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610b169190611cd2565b60206040518083038186803b158015610b2e57600080fd5b505afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b66919081019061195a565b9063ffffffff6114b116565b33610b7d6000610488565b610b886105c66108c6565b610b906108cf565b6001600160a01b03166323b872dd3330856040518463ffffffff1660e01b8152600401610bbf93929190611ce0565b602060405180830381600087803b158015610bd957600080fd5b505af1158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610c1191908101906118d1565b50610c1c3383610e04565b610c24610f96565b336001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040516105a49190611dcc565b600080610c6861086a565b905080610c79576000915050610315565b6000610c866106b4610ceb565b90506000610ca783610384610c9a886108de565b859063ffffffff610d8116565b90506000610cb486610463565b905080821115610cd957610cce828263ffffffff6114b116565b945050505050610315565b50600095945050505050565b60005490565b60035490565b610d04610cfc6114f3565b61043861105f565b6001600160a01b03909116600090815260086020526040902060040155565b826109a957610d31826114f8565b6101d160f51b610d40836114f8565b604051602001610d5293929190611c6b565b60408051601f198184030181529082905262461bcd60e51b8252610d7891600401611d5b565b60405180910390fd5b600082610d90575060006109e2565b82820282848281610d9d57fe5b0414610dbb5760405162461bcd60e51b8152600401610d7890611d9c565b9392505050565b6000610dbb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611578565b6001600160a01b038216600090815260086020526040902054610e2d908263ffffffff6110d916565b6001600160a01b03831660009081526008602052604081209190915554610e5a908263ffffffff6110d916565b6000555050565b6001600160a01b038216600090815260086020526040902060010154610e8d908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060019081019190915554610ebf908263ffffffff6110d916565b6001555050565b6001600160a01b038316600090815260086020526040902060020154610ef390838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060029081019190915554610f2690838363ffffffff6115af16565b600255505050565b6001600160a01b038316600090815260086020526040902060030154610f5b90838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060039081019190915554610f8e90838363ffffffff6115af16565b600355505050565b6108b5610fac610fa461086a565b610438610ce5565b610fb46108cf565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610fdf9190611cd2565b60206040518083038186803b158015610ff757600080fd5b505afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061102f919081019061195a565b101563141bdbdb60e21b7f496e636f6e73697374656e7420554e492d56322062616c616e63657300000000610d23565b600061106961085b565b6001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610856919081019061195a565b600082820183811015610dbb5760405162461bcd60e51b8152600401610d7890611d6c565b6001600160a01b03831660009081526008602052604090205461112890838363ffffffff6115af16565b6001600160a01b0384166000908152600860205260408120919091555461115690838363ffffffff6115af16565b600055505050565b60008060008061116c6108b7565b61117461084c565b9150915060008061118584846115db565b915091506000826000148015611199575081155b6111ad576111a88884846116c7565b6111af565b875b905060006111bb6108cf565b60405163a9059cbb60e01b81529091506001600160a01b0387169063a9059cbb906111ec9084908d90600401611d23565b602060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061123e91908101906118d1565b506040516323b872dd60e01b81526001600160a01b038616906323b872dd9061126f90339085908790600401611ce0565b602060405180830381600087803b15801561128957600080fd5b505af115801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506112c191908101906118d1565b506040516335313c2160e11b815282906001600160a01b03831690636a627842906112f0903090600401611cd2565b602060405180830381600087803b15801561130a57600080fd5b505af115801561131e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611342919081019061195a565b97509750505050505050915091565b6001600160a01b03821660009081526008602052604090206002015461137d908263ffffffff6110d916565b6001600160a01b0383166000908152600860205260409020600290810191909155546113af908263ffffffff6110d916565b6002555050565b6001600160a01b0382166000908152600860205260409020600301546113e2908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060039081019190915554611414908263ffffffff6110d916565b6003555050565b6001600160a01b03831660009081526008602052604090206001015461144890838363ffffffff6115af16565b6001600160a01b03841660009081526008602052604090206001908101919091555461147b90838363ffffffff6115af16565b600155505050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4890565b6007805460ff19166001179055565b620f424090565b6000610dbb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115af565b600690565b6060808260405160200161150c9190611c56565b60408051601f19818403018152919052905060205b80156115615781516000199091019082908290811061153c57fe5b01602001516001600160f81b0319161561155c5760010181529050610315565b611521565b505060408051600081526020810190915292915050565b600081836115995760405162461bcd60e51b8152600401610d789190611d5b565b5060008385816115a557fe5b0495945050505050565b600081848411156115d35760405162461bcd60e51b8152600401610d789190611d5b565b505050900390565b60008060006115ea8585611735565b50905060008061160f735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f88886117bf565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561164757600080fd5b505afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061167f91908101906118ef565b506001600160701b031691506001600160701b03169150826001600160a01b0316876001600160a01b0316146116b65780826116b9565b81815b909890975095505050505050565b60008084116116e85760405162461bcd60e51b8152600401610d7890611dac565b6000831180156116f85750600082115b6117145760405162461bcd60e51b8152600401610d7890611d8c565b82611725858463ffffffff610d8116565b8161172c57fe5b04949350505050565b600080826001600160a01b0316846001600160a01b0316141561176a5760405162461bcd60e51b8152600401610d7890611d7c565b826001600160a01b0316846001600160a01b03161061178a57828461178d565b83835b90925090506001600160a01b0382166117b85760405162461bcd60e51b8152600401610d7890611dbc565b9250929050565b60008060006117ce8585611735565b915091508582826040516020016117e6929190611c30565b6040516020818303038152906040528051906020012060405160200161180d929190611c9c565b60408051601f1981840301815291905280516020909101209695505050505050565b80356109e281611ed6565b80516109e281611eea565b80516109e281611ef3565b80356109e281611efc565b80516109e281611efc565b80516109e281611f05565b60006020828403121561188357600080fd5b600061188f848461182f565b949350505050565b600080604083850312156118aa57600080fd5b60006118b6858561182f565b92505060206118c785828601611850565b9150509250929050565b6000602082840312156118e357600080fd5b600061188f848461183a565b60008060006060848603121561190457600080fd5b60006119108686611845565b935050602061192186828701611845565b925050604061193286828701611866565b9150509250925092565b60006020828403121561194e57600080fd5b600061188f8484611850565b60006020828403121561196c57600080fd5b600061188f848461185b565b61198181611e5b565b82525050565b61198181611e10565b61198161199c82611e10565b611ea8565b61198181611e1b565b6119816119b682611e20565b611e2d565b6119816119b682611e2d565b60006119d282611e03565b6119dc8185610315565b93506119ec818560208601611e78565b9290920192915050565b61198181611e62565b61198181611e6d565b6000611a1382611e03565b611a1d8185611e07565b9350611a2d818560208601611e78565b611a3681611eb9565b9093019392505050565b6000611a4d601b83611e07565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000611a86602583611e07565b7f556e697377617056324c6962726172793a204944454e544943414c5f41444452815264455353455360d81b602082015260400192915050565b6000611acd602083610315565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f815260200192915050565b6000611b06602883611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4c815267495155494449545960c01b602082015260400192915050565b6000611b50600183610315565b6001600160f81b0319815260010192915050565b6000611b71602183611e07565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f8152607760f81b602082015260400192915050565b6000611bb4602583611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f418152641353d5539560da1b602082015260400192915050565b6000611bfb601e83611e07565b7f556e697377617056324c6962726172793a205a45524f5f414444524553530000815260200192915050565b61198181611e2d565b6000611c3c8285611990565b601482019150611c4c8284611990565b5060140192915050565b6000611c6282846119bb565b50602001919050565b6000611c7782866119c7565b9150611c8382856119aa565b600282019150611c9382846119c7565b95945050505050565b6000611ca782611b43565b9150611cb38285611990565b601482019150611cc382846119bb565b60208201915061188f82611ac0565b602081016109e28284611987565b60608101611cee8286611978565b611cfb6020830185611987565b61188f6040830184611c27565b60408101611d168285611978565b610dbb6020830184611c27565b60408101611d168285611987565b602081016109e282846119a1565b602081016109e282846119f6565b602081016109e282846119ff565b60208082528101610dbb8184611a08565b602080825281016109e281611a40565b602080825281016109e281611a79565b602080825281016109e281611af9565b602080825281016109e281611b64565b602080825281016109e281611ba7565b602080825281016109e281611bee565b602081016109e28284611c27565b60408101611d168285611c27565b60608101611df68286611c27565b611cfb6020830185611c27565b5190565b90815260200190565b60006109e282611e46565b151590565b6001600160f01b03191690565b90565b8061031581611ec9565b6001600160701b031690565b6001600160a01b031690565b63ffffffff1690565b60006109e2825b60006109e282611e10565b60006109e282611e30565b60005b83811015611e93578181015183820152602001611e7b565b83811115611ea2576000848401525b50505050565b60006109e28260006109e282611ec3565b601f01601f191690565b60601b90565b60038110611ed357fe5b50565b611edf81611e10565b8114611ed357600080fd5b611edf81611e1b565b611edf81611e3a565b611edf81611e2d565b611edf81611e5256fe506f6f6c3a20696e73756666696369656e7420636c61696d61626c652062616c616e6365506f6f6c3a20696e73756666696369656e74207068616e746f6d2062616c616e6365506f6f6c3a20696e73756666696369656e74207374616765642062616c616e6365506f6f6c3a20696e73756666696369656e7420626f6e6465642062616c616e6365a365627a7a723158205cce781fca5fbdbb584b9ca3da4407621fb5b4363c2fa82790cd810a996903056c6578706572696d656e74616cf564736f6c63430005110040000000000000000000000000d27af03cb73a29ee2f37194c70c4ee13b68fe8cb000000000000000000000000a9d678ee709e1db20e6eec252fdd1439c71e3692

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c80635c975abb116100c35780639940686e1161007c5780639940686e146102a7578063aed29d07146102ba578063b6b55f25146102c2578063c0d7a94f146102d5578063cf023779146102e8578063e0cf7285146102f057610158565b80635c975abb146102315780637298d36e14610246578063825ad6071461024e57806386cf9f141461026157806395ccea671461027457806397a5d5b51461028757610158565b80633e413bee116101155780633e413bee146101e75780634162169f146101fc57806344d96e95146102115780634838ed191461021957806351858e271461022157806351adeb571461022957610158565b80631667eb171461015d57806327de9e321461018657806329f32ed41461019b5780632e1a7d4d146101ae5780632e2ebe06146101c1578063379607f5146101d4575b600080fd5b61017061016b366004611871565b6102f8565b60405161017d9190611dcc565b60405180910390f35b61019961019436600461193c565b61031a565b005b6101706101a9366004611871565b610463565b6101996101bc36600461193c565b610481565b6101996101cf36600461193c565b6105b0565b6101996101e236600461193c565b610755565b6101ef61084c565b60405161017d9190611cd2565b61020461085b565b60405161017d9190611d3f565b61017061086a565b610170610870565b610199610876565b6102046108b7565b6102396108c6565b60405161017d9190611d31565b6102046108cf565b61017061025c366004611871565b6108de565b61017061026f366004611871565b6108fc565b610199610282366004611897565b610917565b61029a610295366004611871565b6109ae565b60405161017d9190611d4d565b6101996102b536600461193c565b6109e8565b610170610ad6565b6101996102d036600461193c565b610b72565b6101706102e3366004611871565b610c5d565b610170610ce5565b610170610ceb565b6001600160a01b0381166000908152600860205260409020600101545b919050565b61032333610cf1565b600061032e336108de565b90506103656000821163141bdbdb60e21b7f696e73756666696369656e7420626f6e6465642062616c616e63650000000000610d23565b6000610390826103848561037833610c5d565b9063ffffffff610d8116565b9063ffffffff610dc216565b905060006103a5836103848661037833610463565b90506103b13385610e04565b6103bb3383610e61565b6103de3385604051806060016040528060218152602001611f7660219139610ec6565b6104013382604051806060016040528060228152602001611f3360229139610f2e565b610409610f96565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae7512610444600161043861105f565b9063ffffffff6110d916565b868560405161045593929190611de8565b60405180910390a250505050565b6001600160a01b031660009081526008602052604090206003015490565b336104b860005b610491836109ae565b600281111561049c57fe5b1463141bdbdb60e21b692737ba10333937bd32b760b11b610d23565b6104c06108cf565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b81526004016104ed929190611d08565b602060405180830381600087803b15801561050757600080fd5b505af115801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061053f91908101906118d1565b506105633383604051806060016040528060218152602001611f55602191396110fe565b61056b610f96565b336001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516105a49190611dcc565b60405180910390a25050565b336105bb6000610488565b6105de6105c66108c6565b1563141bdbdb60e21b6514185d5cd95960d21b610d23565b61061a60006105eb61086a565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c20626f6e64656400000000000000610d23565b6106566000610627610ad6565b1163141bdbdb60e21b7f696e73756666696369656e7420746f74616c2072657761726465640000000000610d23565b6106938261066333610c5d565b101563141bdbdb60e21b7f696e73756666696369656e742072657761726465642062616c616e6365000000610d23565b60008061069f8461115e565b9150915060006106bc856104386106b4610ceb565b610438610ad6565b905060006106db6106cb61086a565b610384848663ffffffff610d8116565b90506106e73384611351565b610700336106fb888463ffffffff6110d916565b6113b6565b610708610f96565b336001600160a01b03167fbe9d8078818a53534ce225882a00e0c6f709b5296c8a08c3a1f23f9ffd44838087868660405161074593929190611de8565b60405180910390a2505050505050565b336107606000610488565b6107686108b7565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b8152600401610795929190611d08565b602060405180830381600087803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107e791908101906118d1565b5061080b3383604051806060016040528060248152602001611f0f6024913961141b565b610813610f96565b336001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4836040516105a49190611dcc565b6000610856611483565b905090565b6004546001600160a01b031690565b60025490565b60015490565b6108ad61088161085b565b6001600160a01b0316336001600160a01b03161463141bdbdb60e21b664e6f742064616f60c81b610d23565b6108b561149b565b565b6005546001600160a01b031690565b60075460ff1690565b6006546001600160a01b031690565b6001600160a01b031660009081526008602052604090206002015490565b6001600160a01b031660009081526008602052604090205490565b61092261088161085b565b816001600160a01b031663a9059cbb61093961085b565b836040518363ffffffff1660e01b8152600401610957929190611d23565b602060405180830381600087803b15801561097157600080fd5b505af1158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109a991908101906118d1565b505050565b6001600160a01b0381166000908152600860205260408120600401546109d261105f565b10156109df5760016109e2565b60005b92915050565b6109f36105c66108c6565b6109fc33610cf1565b6000610a096106b4610ceb565b90506000610a1561086a565b15610a2a57610a256106cb61086a565b610a4a565b610a32610ad6565b15610a3e576000610a4a565b610a4a836103786114aa565b9050610a563384611351565b610a6033826113b6565b610a833384604051806060016040528060218152602001611f55602191396110fe565b610a8b610f96565b337f3ae9ad26d7d47616d306d7757b947fe7b0f9a7c61a5f0dc784b0ddb6c7c40b5a610aba600161043861105f565b85604051610ac9929190611dda565b60405180910390a2505050565b6000610856610ae3610870565b610aeb6108b7565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610b169190611cd2565b60206040518083038186803b158015610b2e57600080fd5b505afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b66919081019061195a565b9063ffffffff6114b116565b33610b7d6000610488565b610b886105c66108c6565b610b906108cf565b6001600160a01b03166323b872dd3330856040518463ffffffff1660e01b8152600401610bbf93929190611ce0565b602060405180830381600087803b158015610bd957600080fd5b505af1158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610c1191908101906118d1565b50610c1c3383610e04565b610c24610f96565b336001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040516105a49190611dcc565b600080610c6861086a565b905080610c79576000915050610315565b6000610c866106b4610ceb565b90506000610ca783610384610c9a886108de565b859063ffffffff610d8116565b90506000610cb486610463565b905080821115610cd957610cce828263ffffffff6114b116565b945050505050610315565b50600095945050505050565b60005490565b60035490565b610d04610cfc6114f3565b61043861105f565b6001600160a01b03909116600090815260086020526040902060040155565b826109a957610d31826114f8565b6101d160f51b610d40836114f8565b604051602001610d5293929190611c6b565b60408051601f198184030181529082905262461bcd60e51b8252610d7891600401611d5b565b60405180910390fd5b600082610d90575060006109e2565b82820282848281610d9d57fe5b0414610dbb5760405162461bcd60e51b8152600401610d7890611d9c565b9392505050565b6000610dbb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611578565b6001600160a01b038216600090815260086020526040902054610e2d908263ffffffff6110d916565b6001600160a01b03831660009081526008602052604081209190915554610e5a908263ffffffff6110d916565b6000555050565b6001600160a01b038216600090815260086020526040902060010154610e8d908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060019081019190915554610ebf908263ffffffff6110d916565b6001555050565b6001600160a01b038316600090815260086020526040902060020154610ef390838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060029081019190915554610f2690838363ffffffff6115af16565b600255505050565b6001600160a01b038316600090815260086020526040902060030154610f5b90838363ffffffff6115af16565b6001600160a01b038416600090815260086020526040902060039081019190915554610f8e90838363ffffffff6115af16565b600355505050565b6108b5610fac610fa461086a565b610438610ce5565b610fb46108cf565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610fdf9190611cd2565b60206040518083038186803b158015610ff757600080fd5b505afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061102f919081019061195a565b101563141bdbdb60e21b7f496e636f6e73697374656e7420554e492d56322062616c616e63657300000000610d23565b600061106961085b565b6001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610856919081019061195a565b600082820183811015610dbb5760405162461bcd60e51b8152600401610d7890611d6c565b6001600160a01b03831660009081526008602052604090205461112890838363ffffffff6115af16565b6001600160a01b0384166000908152600860205260408120919091555461115690838363ffffffff6115af16565b600055505050565b60008060008061116c6108b7565b61117461084c565b9150915060008061118584846115db565b915091506000826000148015611199575081155b6111ad576111a88884846116c7565b6111af565b875b905060006111bb6108cf565b60405163a9059cbb60e01b81529091506001600160a01b0387169063a9059cbb906111ec9084908d90600401611d23565b602060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061123e91908101906118d1565b506040516323b872dd60e01b81526001600160a01b038616906323b872dd9061126f90339085908790600401611ce0565b602060405180830381600087803b15801561128957600080fd5b505af115801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506112c191908101906118d1565b506040516335313c2160e11b815282906001600160a01b03831690636a627842906112f0903090600401611cd2565b602060405180830381600087803b15801561130a57600080fd5b505af115801561131e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611342919081019061195a565b97509750505050505050915091565b6001600160a01b03821660009081526008602052604090206002015461137d908263ffffffff6110d916565b6001600160a01b0383166000908152600860205260409020600290810191909155546113af908263ffffffff6110d916565b6002555050565b6001600160a01b0382166000908152600860205260409020600301546113e2908263ffffffff6110d916565b6001600160a01b038316600090815260086020526040902060039081019190915554611414908263ffffffff6110d916565b6003555050565b6001600160a01b03831660009081526008602052604090206001015461144890838363ffffffff6115af16565b6001600160a01b03841660009081526008602052604090206001908101919091555461147b90838363ffffffff6115af16565b600155505050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4890565b6007805460ff19166001179055565b620f424090565b6000610dbb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115af565b600690565b6060808260405160200161150c9190611c56565b60408051601f19818403018152919052905060205b80156115615781516000199091019082908290811061153c57fe5b01602001516001600160f81b0319161561155c5760010181529050610315565b611521565b505060408051600081526020810190915292915050565b600081836115995760405162461bcd60e51b8152600401610d789190611d5b565b5060008385816115a557fe5b0495945050505050565b600081848411156115d35760405162461bcd60e51b8152600401610d789190611d5b565b505050900390565b60008060006115ea8585611735565b50905060008061160f735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f88886117bf565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561164757600080fd5b505afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061167f91908101906118ef565b506001600160701b031691506001600160701b03169150826001600160a01b0316876001600160a01b0316146116b65780826116b9565b81815b909890975095505050505050565b60008084116116e85760405162461bcd60e51b8152600401610d7890611dac565b6000831180156116f85750600082115b6117145760405162461bcd60e51b8152600401610d7890611d8c565b82611725858463ffffffff610d8116565b8161172c57fe5b04949350505050565b600080826001600160a01b0316846001600160a01b0316141561176a5760405162461bcd60e51b8152600401610d7890611d7c565b826001600160a01b0316846001600160a01b03161061178a57828461178d565b83835b90925090506001600160a01b0382166117b85760405162461bcd60e51b8152600401610d7890611dbc565b9250929050565b60008060006117ce8585611735565b915091508582826040516020016117e6929190611c30565b6040516020818303038152906040528051906020012060405160200161180d929190611c9c565b60408051601f1981840301815291905280516020909101209695505050505050565b80356109e281611ed6565b80516109e281611eea565b80516109e281611ef3565b80356109e281611efc565b80516109e281611efc565b80516109e281611f05565b60006020828403121561188357600080fd5b600061188f848461182f565b949350505050565b600080604083850312156118aa57600080fd5b60006118b6858561182f565b92505060206118c785828601611850565b9150509250929050565b6000602082840312156118e357600080fd5b600061188f848461183a565b60008060006060848603121561190457600080fd5b60006119108686611845565b935050602061192186828701611845565b925050604061193286828701611866565b9150509250925092565b60006020828403121561194e57600080fd5b600061188f8484611850565b60006020828403121561196c57600080fd5b600061188f848461185b565b61198181611e5b565b82525050565b61198181611e10565b61198161199c82611e10565b611ea8565b61198181611e1b565b6119816119b682611e20565b611e2d565b6119816119b682611e2d565b60006119d282611e03565b6119dc8185610315565b93506119ec818560208601611e78565b9290920192915050565b61198181611e62565b61198181611e6d565b6000611a1382611e03565b611a1d8185611e07565b9350611a2d818560208601611e78565b611a3681611eb9565b9093019392505050565b6000611a4d601b83611e07565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000611a86602583611e07565b7f556e697377617056324c6962726172793a204944454e544943414c5f41444452815264455353455360d81b602082015260400192915050565b6000611acd602083610315565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f815260200192915050565b6000611b06602883611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4c815267495155494449545960c01b602082015260400192915050565b6000611b50600183610315565b6001600160f81b0319815260010192915050565b6000611b71602183611e07565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f8152607760f81b602082015260400192915050565b6000611bb4602583611e07565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f418152641353d5539560da1b602082015260400192915050565b6000611bfb601e83611e07565b7f556e697377617056324c6962726172793a205a45524f5f414444524553530000815260200192915050565b61198181611e2d565b6000611c3c8285611990565b601482019150611c4c8284611990565b5060140192915050565b6000611c6282846119bb565b50602001919050565b6000611c7782866119c7565b9150611c8382856119aa565b600282019150611c9382846119c7565b95945050505050565b6000611ca782611b43565b9150611cb38285611990565b601482019150611cc382846119bb565b60208201915061188f82611ac0565b602081016109e28284611987565b60608101611cee8286611978565b611cfb6020830185611987565b61188f6040830184611c27565b60408101611d168285611978565b610dbb6020830184611c27565b60408101611d168285611987565b602081016109e282846119a1565b602081016109e282846119f6565b602081016109e282846119ff565b60208082528101610dbb8184611a08565b602080825281016109e281611a40565b602080825281016109e281611a79565b602080825281016109e281611af9565b602080825281016109e281611b64565b602080825281016109e281611ba7565b602080825281016109e281611bee565b602081016109e28284611c27565b60408101611d168285611c27565b60608101611df68286611c27565b611cfb6020830185611c27565b5190565b90815260200190565b60006109e282611e46565b151590565b6001600160f01b03191690565b90565b8061031581611ec9565b6001600160701b031690565b6001600160a01b031690565b63ffffffff1690565b60006109e2825b60006109e282611e10565b60006109e282611e30565b60005b83811015611e93578181015183820152602001611e7b565b83811115611ea2576000848401525b50505050565b60006109e28260006109e282611ec3565b601f01601f191690565b60601b90565b60038110611ed357fe5b50565b611edf81611e10565b8114611ed357600080fd5b611edf81611e1b565b611edf81611e3a565b611edf81611e2d565b611edf81611e5256fe506f6f6c3a20696e73756666696369656e7420636c61696d61626c652062616c616e6365506f6f6c3a20696e73756666696369656e74207068616e746f6d2062616c616e6365506f6f6c3a20696e73756666696369656e74207374616765642062616c616e6365506f6f6c3a20696e73756666696369656e7420626f6e6465642062616c616e6365a365627a7a723158205cce781fca5fbdbb584b9ca3da4407621fb5b4363c2fa82790cd810a996903056c6578706572696d656e74616cf564736f6c63430005110040

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

000000000000000000000000d27af03cb73a29ee2f37194c70c4ee13b68fe8cb000000000000000000000000a9d678ee709e1db20e6eec252fdd1439c71e3692

-----Decoded View---------------
Arg [0] : dollar (address): 0xD27af03cb73a29eE2f37194c70c4Ee13B68fE8cb
Arg [1] : univ2 (address): 0xa9D678EE709E1db20e6EeC252FDD1439c71E3692

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d27af03cb73a29ee2f37194c70c4ee13b68fe8cb
Arg [1] : 000000000000000000000000a9d678ee709e1db20e6eec252fdd1439c71e3692


Deployed Bytecode Sourcemap

47782:5187:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47782:5187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36186:135;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;50109:876;;;;;;;;;:::i;:::-;;36466:131;;;;;;;;;:::i;48850:282::-;;;;;;;;;:::i;50993:993::-;;;;;;;;;:::i;49140:283::-;;;;;;;;;:::i;34931:98::-;;;:::i;:::-;;;;;;;;35037:87;;;:::i;:::-;;;;;;;;35337:100;;;:::i;35553:106::-;;;:::i;52140:69::-;;;:::i;35132:96::-;;;:::i;35921:84::-;;;:::i;:::-;;;;;;;;35236:93;;;:::i;36329:129::-;;;;;;;;;:::i;36049:::-;;;;;;;;;:::i;51994:138::-;;;;;;;;;:::i;37271:229::-;;;;;;;;;:::i;:::-;;;;;;;;49431:670;;;;;;;;;:::i;35777:136::-;;;:::i;48570:272::-;;;;;;;;;:::i;36605:658::-;;;;;;;;;:::i;35445:100::-;;;:::i;35667:102::-;;;:::i;36186:135::-;-1:-1:-1;;;;;36279:24:0;;36252:7;36279:24;;;:15;:24;;;;;:34;;;36186:135;;;;:::o;50109:876::-;50160:20;50169:10;50160:8;:20::i;:::-;50193:23;50219:27;50235:10;50219:15;:27::i;:::-;50193:53;;50257:120;50302:1;50284:15;:19;-1:-1:-1;;;50257:120:0;:12;:120::i;:::-;50390:20;50413:61;50458:15;50413:40;50447:5;50413:29;50431:10;50413:17;:29::i;:::-;:33;:40;:33;:40;:::i;:::-;:44;:61;:44;:61;:::i;:::-;50390:84;;50485:19;50507:60;50551:15;50507:39;50540:5;50507:28;50524:10;50507:16;:28::i;:60::-;50485:82;;50580:43;50605:10;50617:5;50580:24;:43::i;:::-;50634:53;50662:10;50674:12;50634:27;:53::i;:::-;50698:80;50723:10;50735:5;50698:80;;;;;;;;;;;;;;;;;:24;:80::i;:::-;50789:88;50815:10;50827:11;50789:88;;;;;;;;;;;;;;;;;:25;:88::i;:::-;50890:14;:12;:14::i;:::-;50929:10;50922:55;50941:14;50953:1;50941:7;:5;:7::i;:::-;:11;:14;:11;:14;:::i;:::-;50957:5;50964:12;50922:55;;;;;;;;;;;;;;;;;50109:876;;;;:::o;36466:131::-;-1:-1:-1;;;;;36557:24:0;36530:7;36557:24;;;:15;:24;;;;;:32;;;;36466:131::o;48850:282::-;48903:10;52494:130;52542:25;52521:46;:17;52530:7;52521:8;:17::i;:::-;:46;;;;;;;;;-1:-1:-1;;;;;;52494:12:0;:130::i;:::-;48926:7;:5;:7::i;:::-;-1:-1:-1;;;;;48926:16:0;;48943:10;48955:5;48926:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48926:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48926: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;48926:35:0;;;;;;;;;;48972:80;48997:10;49009:5;48972:80;;;;;;;;;;;;;;;;;:24;:80::i;:::-;49065:14;:12;:14::i;:::-;49106:10;-1:-1:-1;;;;;49097:27:0;;49118:5;49097:27;;;;;;;;;;;;;;;48850:282;;:::o;50993:993::-;51045:10;52494:130;52542:25;52521:46;;52494:130;52855:89;52883:8;:6;:8::i;:::-;52882:9;-1:-1:-1;;;;;;52855:12:0;:89::i;:::-;51078:116;51121:1;51105:13;:11;:13::i;:::-;:17;-1:-1:-1;;;51078:116:0;:12;:116::i;:::-;51207:120;51252:1;51234:15;:13;:15::i;:::-;:19;-1:-1:-1;;;51207:120:0;:12;:120::i;:::-;51340:141;51400:5;51367:29;51385:10;51367:17;:29::i;:::-;:38;;-1:-1:-1;;;51340:141:0;:12;:141::i;:::-;51495:16;51513;51533:19;51546:5;51533:12;:19::i;:::-;51494:58;;;;51565:32;51600:46;51640:5;51600:35;51620:14;:12;:14::i;:::-;51600:15;:13;:15::i;:46::-;51565:81;;51657:28;51688:57;51731:13;:11;:13::i;:::-;51688:38;:24;51717:8;51688:38;:28;:38;:::i;:57::-;51657:88;;51758:46;51783:10;51795:8;51758:24;:46::i;:::-;51815:70;51841:10;51853:31;:5;51863:20;51853:31;:9;:31;:::i;:::-;51815:25;:70::i;:::-;51900:14;:12;:14::i;:::-;51940:10;-1:-1:-1;;;;;51932:46:0;;51952:5;51959:8;51969;51932:46;;;;;;;;;;;;;;;;;52957:1;;;;50993:993;;:::o;49140:283::-;49190:10;52494:130;52542:25;52521:46;;52494:130;49213:8;:6;:8::i;:::-;-1:-1:-1;;;;;49213:17:0;;49231:10;49243:5;49213:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49213:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49213: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;49213:36:0;;;;;;;;;;49260:86;49288:10;49300:5;49260:86;;;;;;;;;;;;;;;;;:27;:86::i;:::-;49359:14;:12;:14::i;:::-;49397:10;-1:-1:-1;;;;;49391:24:0;;49409:5;49391:24;;;;;;;34931:98;34968:7;34995:26;:24;:26::i;:::-;34988:33;;34931:98;:::o;35037:87::-;35097:15;:19;-1:-1:-1;;;;;35097:19:0;35037:87;:::o;35337:100::-;35408:21;;35337:100;:::o;35553:106::-;35627:24;;35553:106;:::o;52140:69::-;52684:109;52733:5;:3;:5::i;:::-;-1:-1:-1;;;;;52711:28:0;:10;-1:-1:-1;;;;;52711:28:0;;-1:-1:-1;;;;;;52684:12:0;:109::i;:::-;52194:7;:5;:7::i;:::-;52140:69::o;35132:96::-;35198:22;;-1:-1:-1;;;;;35198:22:0;35132:96;:::o;35921:84::-;35984:13;;;;35921:84;:::o;35236:93::-;35300:21;;-1:-1:-1;;;;;35300:21:0;35236:93;:::o;36329:129::-;-1:-1:-1;;;;;36419:24:0;36392:7;36419:24;;;:15;:24;;;;;:31;;;;36329:129::o;36049:::-;-1:-1:-1;;;;;36139:24:0;36112:7;36139:24;;;:15;:24;;;;;:31;;36049:129::o;51994:138::-;52684:109;52733:5;:3;:5::i;52684:109::-;52086:5;-1:-1:-1;;;;;52079:22:0;;52110:5;:3;:5::i;:::-;52118;52079:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52079:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;52079: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;52079:45:0;;;;;;;;;;51994:138;;:::o;37271:229::-;-1:-1:-1;;;;;37376:24:0;;37327:18;37376:24;;;:15;:24;;;;;:35;;;37365:7;:5;:7::i;:::-;:46;;:127;;37468:24;37365:127;;;37427:25;37365:127;37358:134;37271:229;-1:-1:-1;;37271:229:0:o;49431:670::-;52855:89;52883:8;:6;:8::i;52855:89::-;49490:20;49499:10;49490:8;:20::i;:::-;49523:32;49558:35;49578:14;:12;:14::i;49558:35::-;49523:70;;49604:18;49625:13;:11;:13::i;:::-;:18;:177;;49748:54;49788:13;:11;:13::i;49748:54::-;49625:177;;;49659:15;:13;:15::i;:::-;:20;:73;;49731:1;49659:73;;;49682:46;49722:5;49682:35;:33;:35::i;:46::-;49604:198;;49815:43;49840:10;49852:5;49815:24;:43::i;:::-;49869:49;49895:10;49907;49869:25;:49::i;:::-;49929:80;49954:10;49966:5;49929:80;;;;;;;;;;;;;;;;;:24;:80::i;:::-;50022:14;:12;:14::i;:::-;50059:10;50054:39;50071:14;50083:1;50071:7;:5;:7::i;:14::-;50087:5;50054:39;;;;;;;;;;;;;;;;52957:1;;49431:670;:::o;35777:136::-;35823:7;35850:55;35888:16;:14;:16::i;:::-;35850:8;:6;:8::i;:::-;-1:-1:-1;;;;;35850:18:0;;35877:4;35850:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35850:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35850: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;35850:33:0;;;;;;;;;:37;:55;:37;:55;:::i;48570:272::-;48622:10;52494:130;52542:25;52521:46;;52494:130;52855:89;52883:8;:6;:8::i;52855:89::-;48655:7;:5;:7::i;:::-;-1:-1:-1;;;;;48655:20:0;;48676:10;48696:4;48703:5;48655:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48655:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48655: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;48655:54:0;;;;;;;;;;48720:43;48745:10;48757:5;48720:24;:43::i;:::-;48776:14;:12;:14::i;:::-;48816:10;-1:-1:-1;;;;;48808:26:0;;48828:5;48808:26;;;;;;;36605:658;36670:7;36690:19;36712:13;:11;:13::i;:::-;36690:35;-1:-1:-1;36740:16:0;36736:57;;36780:1;36773:8;;;;;36736:57;36805:32;36840:35;36860:14;:12;:14::i;36840:35::-;36805:70;;36886:36;36925:99;37012:11;36925:68;36968:24;36984:7;36968:15;:24::i;:::-;36925;;:68;:42;:68;:::i;:99::-;36886:138;;37037:24;37064:25;37081:7;37064:16;:25::i;:::-;37037:52;;37135:16;37104:28;:47;37100:137;;;37175:50;:28;37208:16;37175:50;:32;:50;:::i;:::-;37168:57;;;;;;;;37100:137;-1:-1:-1;37254:1:0;;36605:658;-1:-1:-1;;;;;36605:658:0:o;35445:100::-;35489:7;35516:21;35445:100;:::o;35667:102::-;35739:22;;35667:102;:::o;40685:149::-;40778:48;40790:35;:33;:35::i;:::-;40778:7;:5;:7::i;:48::-;-1:-1:-1;;;;;40740:24:0;;;:6;:24;;;:15;:24;;;;;:35;;:86;40685:149::o;9555:437::-;9689:4;9684:301;;9807:24;9826:4;9807:18;:24::i;:::-;-1:-1:-1;;;9890:26:0;9909:6;9890:18;:26::i;:::-;9764:175;;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;9764:175:0;;;;-1:-1:-1;;;9710:263:0;;;;;;;;;;;;;;;;2269:471;2327:7;2572:6;2568:47;;-1:-1:-1;2602:1:0;2595:8;;2568:47;2639:5;;;2643:1;2639;:5;:1;2663:5;;;;;:10;2655:56;;;;-1:-1:-1;;;2655:56:0;;;;;;;;;2731:1;2269:471;-1:-1:-1;;;2269:471:0:o;3208:132::-;3266:7;3293:39;3297:1;3300;3293:39;;;;;;;;;;;;;;;;;:3;:39::i;39043:240::-;-1:-1:-1;;;;;39164:24:0;;:6;:24;;;:15;:24;;;;;:31;:43;;39200:6;39164:43;:35;:43;:::i;:::-;-1:-1:-1;;;;;39130:24:0;;:6;:24;;;:15;:24;;;;;:77;;;;39242:21;:33;;39268:6;39242:33;:25;:33;:::i;:::-;39218:6;:57;-1:-1:-1;;39043:240:0:o;39577:255::-;-1:-1:-1;;;;;39704:24:0;;:6;:24;;;:15;:24;;;;;:34;;;:46;;39743:6;39704:46;:38;:46;:::i;:::-;-1:-1:-1;;;;;39667:24:0;;:6;:24;;;:15;:24;;;;;:34;;;;:83;;;;39788:24;:36;;39817:6;39788:36;:28;:36;:::i;:::-;39761:24;:63;-1:-1:-1;;39577:255:0:o;38757:278::-;-1:-1:-1;;;;;38900:24:0;;:6;:24;;;:15;:24;;;;;:31;;;:51;;38936:6;38944;38900:51;:35;:51;:::i;:::-;-1:-1:-1;;;;;38866:24:0;;:6;:24;;;:15;:24;;;;;:31;;;;:85;;;;38986:21;:41;;39012:6;39020;38986:41;:25;:41;:::i;:::-;38962:21;:65;-1:-1:-1;;;38757:278:0:o;40394:283::-;-1:-1:-1;;;;;40539:24:0;;:6;:24;;;:15;:24;;;;;:32;;;:52;;40576:6;40584;40539:52;:36;:52;:::i;:::-;-1:-1:-1;;;;;40504:24:0;;:6;:24;;;:15;:24;;;;;:32;;;;:87;;;;40627:22;:42;;40654:6;40662;40627:42;:26;:42;:::i;:::-;40602:22;:67;-1:-1:-1;;;40394:283:0:o;52217:221::-;52260:170;52323:32;52341:13;:11;:13::i;:::-;52323;:11;:13::i;:32::-;52287:7;:5;:7::i;:::-;-1:-1:-1;;;;;52287:17:0;;52313:4;52287:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52287:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;52287: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;52287:32:0;;;;;;;;;:68;;-1:-1:-1;;;52260:170:0;:12;:170::i;37542:88::-;37582:7;37609:5;:3;:5::i;:::-;-1:-1:-1;;;;;37609:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37609:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37609: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;37609:13:0;;;;;;;;897:181;955:7;987:5;;;1011:6;;;;1003:46;;;;-1:-1:-1;;;1003:46:0;;;;;;;;39291:278;-1:-1:-1;;;;;39434:24:0;;:6;:24;;;:15;:24;;;;;:31;:51;;39470:6;39478;39434:51;:35;:51;:::i;:::-;-1:-1:-1;;;;;39400:24:0;;:6;:24;;;:15;:24;;;;;:85;;;;39520:21;:41;;39546:6;39554;39520:41;:25;:41;:::i;:::-;39496:6;:65;-1:-1:-1;;;39291:278:0:o;46048:632::-;46110:7;46119;46140:14;46156:12;46181:8;:6;:8::i;:::-;46192:6;:4;:6::i;:::-;46139:60;;;;46211:13;46226;46243:25;46255:6;46263:4;46243:11;:25::i;:::-;46210:58;;;;46281:18;46303:8;46315:1;46303:13;:30;;;;-1:-1:-1;46320:13:0;;46303:30;46302:134;;46380:56;46403:12;46417:8;46427;46380:22;:56::i;:::-;46302:134;;;46351:12;46302:134;46281:155;;46449:12;46472:7;:5;:7::i;:::-;46491:43;;-1:-1:-1;;;46491:43:0;;46449:31;;-1:-1:-1;;;;;;46491:23:0;;;;;:43;;46449:31;;46521:12;;46491:43;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46491:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46491: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;46491:43:0;;;;;;;;;-1:-1:-1;46545:55:0;;-1:-1:-1;;;46545:55:0;;-1:-1:-1;;;;;46545:25:0;;;;;:55;;46571:10;;46583:4;;46589:10;;46545:55;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46545:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46545: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;46545:55:0;;;;;;;;;-1:-1:-1;46631:40:0;;-1:-1:-1;;;46631:40:0;;46619:10;;-1:-1:-1;;;;;46631:25:0;;;;;:40;;46665:4;;46631:40;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46631:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46631: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;46631:40:0;;;;;;;;;46611:61;;;;;;;;;;46048:632;;;:::o;38509:240::-;-1:-1:-1;;;;;38630:24:0;;:6;:24;;;:15;:24;;;;;:31;;;:43;;38666:6;38630:43;:35;:43;:::i;:::-;-1:-1:-1;;;;;38596:24:0;;:6;:24;;;:15;:24;;;;;:31;;;;:77;;;;38708:21;:33;;38734:6;38708:33;:25;:33;:::i;:::-;38684:21;:57;-1:-1:-1;;38509:240:0:o;40141:245::-;-1:-1:-1;;;;;40264:24:0;;:6;:24;;;:15;:24;;;;;:32;;;:44;;40301:6;40264:44;:36;:44;:::i;:::-;-1:-1:-1;;;;;40229:24:0;;:6;:24;;;:15;:24;;;;;:32;;;;:79;;;;40344:22;:34;;40371:6;40344:34;:26;:34;:::i;:::-;40319:22;:59;-1:-1:-1;;40141:245:0:o;39840:293::-;-1:-1:-1;;;;;39989:24:0;;:6;:24;;;:15;:24;;;;;:34;;;:54;;40028:6;40036;39989:54;:38;:54;:::i;:::-;-1:-1:-1;;;;;39952:24:0;;:6;:24;;;:15;:24;;;;;:34;;;;:91;;;;40081:24;:44;;40110:6;40118;40081:44;:28;:44;:::i;:::-;40054:24;:71;-1:-1:-1;;;39840:293:0:o;27454:88::-;25684:42;27454:88;:::o;38400:65::-;38437:13;:20;;-1:-1:-1;;38437:20:0;38453:4;38437:20;;;38400:65::o;27909:115::-;25883:3;27909:115;:::o;1353:136::-;1411:7;1438:43;1442:1;1445;1438:43;;;;;;;;;;;;;;;;;:3;:43::i;29271:116::-;26826:1;29271:116;:::o;14772:985::-;14868:12;14946:19;14985:5;14968:23;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;14968:23:0;;;;-1:-1:-1;49:4;15100:587:0;15121:5;;15100:587;;15378:9;;-1:-1:-1;;15277:3:0;;;;15378:6;;15277:3;;15378:9;;;;;;;;;;-1:-1:-1;;;;;;15378:9:0;:14;15374:302;;15434:1;15430:5;15564:22;;15571:6;-1:-1:-1;15647:13:0;;15374:302;15100:587;;;-1:-1:-1;;15737:12:0;;;15747:1;15737:12;;;;;;;;;15730:19;-1:-1:-1;;14772:985:0:o;3870:345::-;3956:7;4058:12;4051:5;4043:28;;;;-1:-1:-1;;;4043:28:0;;;;;;;;;;;4082:9;4098:1;4094;:5;;;;;;;3870:345;-1:-1:-1;;;;;3870:345:0:o;1826:192::-;1912:7;1948:12;1940:6;;;;1932:29;;;;-1:-1:-1;;;1932:29:0;;;;;;;;;;-1:-1:-1;;;1984:5:0;;;1826:192::o;46720:416::-;46796:13;46811;46838:14;46857:43;46885:6;46893;46857:27;:43::i;:::-;46837:63;;;46912:13;46927;46960:57;45996:42;47002:6;47010;46960:24;:57::i;:::-;-1:-1:-1;;;;;46945:85:0;;:87;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46945:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46945: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;46945:87:0;;;;;;;;;46911:121;-1:-1:-1;;;;;46911:121:0;;;-1:-1:-1;;;;;46911:121:0;;;47076:6;-1:-1:-1;;;;;47066:16:0;:6;-1:-1:-1;;;;;47066:16:0;;:62;;47109:8;47119;47066:62;;;47086:8;47096;47066:62;47043:85;;;;-1:-1:-1;46720:416:0;-1:-1:-1;;;;;;46720:416:0:o;44937:321::-;45019:12;45062:1;45052:7;:11;45044:61;;;;-1:-1:-1;;;45044:61:0;;;;;;;;;45135:1;45124:8;:12;:28;;;;;45151:1;45140:8;:12;45124:28;45116:81;;;;-1:-1:-1;;;45116:81:0;;;;;;;;;45242:8;45218:21;:7;45230:8;45218:21;:11;:21;:::i;:::-;:32;;;;;;;44937:321;-1:-1:-1;;;;44937:321:0:o;43456:349::-;43531:14;43547;43592:6;-1:-1:-1;;;;;43582:16:0;:6;-1:-1:-1;;;;;43582:16:0;;;43574:66;;;;-1:-1:-1;;;43574:66:0;;;;;;;;;43679:6;-1:-1:-1;;;;;43670:15:0;:6;-1:-1:-1;;;;;43670:15:0;;:53;;43708:6;43716;43670:53;;;43689:6;43697;43670:53;43651:72;;-1:-1:-1;43651:72:0;-1:-1:-1;;;;;;43742:20:0;;43734:63;;;;-1:-1:-1;;;43734:63:0;;;;;;;;;43456:349;;;;;:::o;43897:478::-;43986:12;44012:14;44028;44046:26;44057:6;44065;44046:10;:26::i;:::-;44011:61;;;;44174:7;44227:6;44235;44210:32;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;44210:32:0;;;44200:43;;;;;;44113:251;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;44113:251:0;;;44103:262;;49:4:-1;44103:262:0;;;;;43897:478;-1:-1:-1;;;;;;43897: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://5cce781fca5fbdbb584b9ca3da4407621fb5b4363c2fa82790cd810a99690305

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.