MATIC Price: $0.93 (-12.30%)
Gas: 226 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...547898372024-03-18 3:55:1729 hrs ago1710734117IN
0x4D97DCd9...EA0476045
0 MATIC0.0018332470.25021337
Set Approval For...547898292024-03-18 3:55:0129 hrs ago1710734101IN
0x4D97DCd9...EA0476045
0 MATIC0.0019225773.67323277
Set Approval For...547898212024-03-18 3:54:4329 hrs ago1710734083IN
0x4D97DCd9...EA0476045
0 MATIC0.0019284573.89861658
Set Approval For...547898062024-03-18 3:54:1129 hrs ago1710734051IN
0x4D97DCd9...EA0476045
0 MATIC0.0019753375.69501895
Set Approval For...547897982024-03-18 3:53:5529 hrs ago1710734035IN
0x4D97DCd9...EA0476045
0 MATIC0.0020189977.36779934
Set Approval For...547897912024-03-18 3:53:3929 hrs ago1710734019IN
0x4D97DCd9...EA0476045
0 MATIC0.0020283477.72637477
Redeem Positions547219062024-03-16 9:17:523 days ago1710580672IN
0x4D97DCd9...EA0476045
0 MATIC0.0046355253.09820043
Merge Positions547209282024-03-16 8:41:413 days ago1710578501IN
0x4D97DCd9...EA0476045
0 MATIC0.0023744651.9747816
Split Position547209262024-03-16 8:41:353 days ago1710578495IN
0x4D97DCd9...EA0476045
0 MATIC0.00318652.17402949
Merge Positions547066842024-03-16 0:12:203 days ago1710547940IN
0x4D97DCd9...EA0476045
0 MATIC0.0067078560.70842374
Redeem Positions547003162024-03-15 20:16:043 days ago1710533764IN
0x4D97DCd9...EA0476045
0 MATIC0.01586494181.72692806
Redeem Positions546970542024-03-15 18:15:023 days ago1710526502IN
0x4D97DCd9...EA0476045
0 MATIC0.0068445678.40194364
Redeem Positions545545772024-03-12 3:18:587 days ago1710213538IN
0x4D97DCd9...EA0476045
0 MATIC0.0102080593
Merge Positions545359452024-03-11 15:51:087 days ago1710172268IN
0x4D97DCd9...EA0476045
0 MATIC0.01699189157.53364815
Redeem Positions545340372024-03-11 14:41:587 days ago1710168118IN
0x4D97DCd9...EA0476045
0 MATIC0.01328144121
Redeem Positions545339682024-03-11 14:39:327 days ago1710167972IN
0x4D97DCd9...EA0476045
0 MATIC0.01184178163
Set Approval For...545326242024-03-11 13:51:447 days ago1710165104IN
0x4D97DCd9...EA0476045
0 MATIC0.00497241190.54305726
Set Approval For...545326182024-03-11 13:51:307 days ago1710165090IN
0x4D97DCd9...EA0476045
0 MATIC0.00496286190.17712824
Set Approval For...545326122024-03-11 13:51:187 days ago1710165078IN
0x4D97DCd9...EA0476045
0 MATIC0.00494159189.3622266
Merge Positions545219612024-03-11 7:23:338 days ago1710141813IN
0x4D97DCd9...EA0476045
0 MATIC0.01508322186.57662342
Prepare Conditio...545040262024-03-10 20:36:208 days ago1710102980IN
0x4D97DCd9...EA0476045
0 MATIC0.0039751476.11435796
Set Approval For...544828552024-03-10 7:47:039 days ago1710056823IN
0x4D97DCd9...EA0476045
0 MATIC0.00579079125.89790129
Set Approval For...544828492024-03-10 7:46:519 days ago1710056811IN
0x4D97DCd9...EA0476045
0 MATIC0.00468244101.80122677
Set Approval For...544828432024-03-10 7:46:379 days ago1710056797IN
0x4D97DCd9...EA0476045
0 MATIC0.0045503998.93023299
Redeem Positions544812832024-03-10 6:49:409 days ago1710053380IN
0x4D97DCd9...EA0476045
0 MATIC0.0056389497.62045524
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ConditionalTokens

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-10-27
*/

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

// File openzeppelin-solidity/contracts/token/ERC20/[email protected]

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

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

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


// File contracts/CTHelpers.sol

pragma solidity ^0.5.1;

library CTHelpers {
    /// @dev Constructs a condition ID from an oracle, a question ID, and the outcome slot count for the question.
    /// @param oracle The account assigned to report the result for the prepared condition.
    /// @param questionId An identifier for the question to be answered by the oracle.
    /// @param outcomeSlotCount The number of outcome slots which should be used for this condition. Must not exceed 256.
    function getConditionId(address oracle, bytes32 questionId, uint outcomeSlotCount) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(oracle, questionId, outcomeSlotCount));
    }

    uint constant P = 21888242871839275222246405745257275088696311157297823662689037894645226208583;
    uint constant B = 3;

    function sqrt(uint x) private pure returns (uint y) {
        uint p = P;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            // add chain generated via https://crypto.stackexchange.com/q/27179/71252
            // and transformed to the following program:

            // x=1; y=x+x; z=y+y; z=z+z; y=y+z; x=x+y; y=y+x; z=y+y; t=z+z; t=z+t; t=t+t;
            // t=t+t; z=z+t; x=x+z; z=x+x; z=z+z; y=y+z; z=y+y; z=z+z; z=z+z; z=y+z; x=x+z;
            // z=x+x; z=z+z; z=z+z; z=x+z; y=y+z; x=x+y; z=x+x; z=z+z; y=y+z; z=y+y; t=z+z;
            // t=t+t; t=t+t; z=z+t; x=x+z; y=y+x; z=y+y; z=z+z; z=z+z; x=x+z; z=x+x; z=z+z;
            // z=x+z; z=z+z; z=z+z; z=x+z; y=y+z; z=y+y; t=z+z; t=t+t; t=z+t; t=y+t; t=t+t;
            // t=t+t; t=t+t; t=t+t; z=z+t; x=x+z; z=x+x; z=x+z; y=y+z; z=y+y; z=y+z; z=z+z;
            // t=z+z; t=z+t; w=t+t; w=w+w; w=w+w; w=w+w; w=w+w; t=t+w; z=z+t; x=x+z; y=y+x;
            // z=y+y; x=x+z; y=y+x; x=x+y; y=y+x; x=x+y; z=x+x; z=x+z; z=z+z; y=y+z; z=y+y;
            // z=z+z; x=x+z; y=y+x; z=y+y; z=y+z; x=x+z; y=y+x; x=x+y; y=y+x; z=y+y; z=z+z;
            // z=y+z; x=x+z; z=x+x; z=x+z; y=y+z; x=x+y; y=y+x; x=x+y; y=y+x; z=y+y; z=y+z;
            // z=z+z; x=x+z; y=y+x; z=y+y; z=y+z; z=z+z; x=x+z; z=x+x; t=z+z; t=t+t; t=z+t;
            // t=x+t; t=t+t; t=t+t; t=t+t; t=t+t; z=z+t; y=y+z; x=x+y; y=y+x; x=x+y; z=x+x;
            // z=x+z; z=z+z; z=z+z; z=z+z; z=x+z; y=y+z; z=y+y; z=y+z; z=z+z; x=x+z; z=x+x;
            // z=x+z; y=y+z; x=x+y; z=x+x; z=z+z; y=y+z; x=x+y; z=x+x; y=y+z; x=x+y; y=y+x;
            // z=y+y; z=y+z; x=x+z; y=y+x; z=y+y; z=y+z; z=z+z; z=z+z; x=x+z; z=x+x; z=z+z;
            // z=z+z; z=x+z; y=y+z; x=x+y; z=x+x; t=x+z; t=t+t; t=t+t; z=z+t; y=y+z; z=y+y;
            // x=x+z; y=y+x; x=x+y; y=y+x; x=x+y; y=y+x; z=y+y; t=y+z; z=y+t; z=z+z; z=z+z;
            // z=t+z; x=x+z; y=y+x; x=x+y; y=y+x; x=x+y; z=x+x; z=x+z; y=y+z; x=x+y; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x; x=x+x;
            // x=x+x; x=x+x; x=x+x; x=x+x; res=y+x
            // res == (P + 1) // 4

            y := mulmod(x, x, p)
            {
                let z := mulmod(y, y, p)
                z := mulmod(z, z, p)
                y := mulmod(y, z, p)
                x := mulmod(x, y, p)
                y := mulmod(y, x, p)
                z := mulmod(y, y, p)
                {
                    let t := mulmod(z, z, p)
                    t := mulmod(z, t, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    z := mulmod(z, t, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    z := mulmod(z, z, p)
                    y := mulmod(y, z, p)
                    z := mulmod(y, y, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(y, z, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(x, z, p)
                    y := mulmod(y, z, p)
                    x := mulmod(x, y, p)
                    z := mulmod(x, x, p)
                    z := mulmod(z, z, p)
                    y := mulmod(y, z, p)
                    z := mulmod(y, y, p)
                    t := mulmod(z, z, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    z := mulmod(z, t, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    z := mulmod(z, z, p)
                    z := mulmod(x, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(x, z, p)
                    y := mulmod(y, z, p)
                    z := mulmod(y, y, p)
                    t := mulmod(z, z, p)
                    t := mulmod(t, t, p)
                    t := mulmod(z, t, p)
                    t := mulmod(y, t, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    z := mulmod(z, t, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    z := mulmod(x, z, p)
                    y := mulmod(y, z, p)
                    z := mulmod(y, y, p)
                    z := mulmod(y, z, p)
                    z := mulmod(z, z, p)
                    t := mulmod(z, z, p)
                    t := mulmod(z, t, p)
                    {
                        let w := mulmod(t, t, p)
                        w := mulmod(w, w, p)
                        w := mulmod(w, w, p)
                        w := mulmod(w, w, p)
                        w := mulmod(w, w, p)
                        t := mulmod(t, w, p)
                    }
                    z := mulmod(z, t, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    x := mulmod(x, y, p)
                    z := mulmod(x, x, p)
                    z := mulmod(x, z, p)
                    z := mulmod(z, z, p)
                    y := mulmod(y, z, p)
                    z := mulmod(y, y, p)
                    z := mulmod(z, z, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    z := mulmod(y, z, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    z := mulmod(z, z, p)
                    z := mulmod(y, z, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    z := mulmod(x, z, p)
                    y := mulmod(y, z, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    z := mulmod(y, z, p)
                    z := mulmod(z, z, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    z := mulmod(y, z, p)
                    z := mulmod(z, z, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    t := mulmod(z, z, p)
                    t := mulmod(t, t, p)
                    t := mulmod(z, t, p)
                    t := mulmod(x, t, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    z := mulmod(z, t, p)
                    y := mulmod(y, z, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    x := mulmod(x, y, p)
                    z := mulmod(x, x, p)
                    z := mulmod(x, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(x, z, p)
                    y := mulmod(y, z, p)
                    z := mulmod(y, y, p)
                    z := mulmod(y, z, p)
                    z := mulmod(z, z, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    z := mulmod(x, z, p)
                    y := mulmod(y, z, p)
                    x := mulmod(x, y, p)
                    z := mulmod(x, x, p)
                    z := mulmod(z, z, p)
                    y := mulmod(y, z, p)
                    x := mulmod(x, y, p)
                    z := mulmod(x, x, p)
                    y := mulmod(y, z, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    z := mulmod(y, z, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    z := mulmod(y, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    x := mulmod(x, z, p)
                    z := mulmod(x, x, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(x, z, p)
                    y := mulmod(y, z, p)
                    x := mulmod(x, y, p)
                    z := mulmod(x, x, p)
                    t := mulmod(x, z, p)
                    t := mulmod(t, t, p)
                    t := mulmod(t, t, p)
                    z := mulmod(z, t, p)
                    y := mulmod(y, z, p)
                    z := mulmod(y, y, p)
                    x := mulmod(x, z, p)
                    y := mulmod(y, x, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    x := mulmod(x, y, p)
                    y := mulmod(y, x, p)
                    z := mulmod(y, y, p)
                    t := mulmod(y, z, p)
                    z := mulmod(y, t, p)
                    z := mulmod(z, z, p)
                    z := mulmod(z, z, p)
                    z := mulmod(t, z, p)
                }
                x := mulmod(x, z, p)
                y := mulmod(y, x, p)
                x := mulmod(x, y, p)
                y := mulmod(y, x, p)
                x := mulmod(x, y, p)
                z := mulmod(x, x, p)
                z := mulmod(x, z, p)
                y := mulmod(y, z, p)
            }
            x := mulmod(x, y, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            x := mulmod(x, x, p)
            y := mulmod(y, x, p)
        }
    }

    /// @dev Constructs an outcome collection ID from a parent collection and an outcome collection.
    /// @param parentCollectionId Collection ID of the parent outcome collection, or bytes32(0) if there's no parent.
    /// @param conditionId Condition ID of the outcome collection to combine with the parent outcome collection.
    /// @param indexSet Index set of the outcome collection to combine with the parent outcome collection.
    function getCollectionId(bytes32 parentCollectionId, bytes32 conditionId, uint indexSet) internal view returns (bytes32) {
        uint x1 = uint(keccak256(abi.encodePacked(conditionId, indexSet)));
        bool odd = x1 >> 255 != 0;
        uint y1;
        uint yy;
        do {
            x1 = addmod(x1, 1, P);
            yy = addmod(mulmod(x1, mulmod(x1, x1, P), P), B, P);
            y1 = sqrt(yy);
        } while(mulmod(y1, y1, P) != yy);
        if(odd && y1 % 2 == 0 || !odd && y1 % 2 == 1)
            y1 = P - y1;

        uint x2 = uint(parentCollectionId);
        if(x2 != 0) {
            odd = x2 >> 254 != 0;
            x2 = (x2 << 2) >> 2;
            yy = addmod(mulmod(x2, mulmod(x2, x2, P), P), B, P);
            uint y2 = sqrt(yy);
            if(odd && y2 % 2 == 0 || !odd && y2 % 2 == 1)
                y2 = P - y2;
            require(mulmod(y2, y2, P) == yy, "invalid parent collection ID");

            (bool success, bytes memory ret) = address(6).staticcall(abi.encode(x1, y1, x2, y2));
            require(success, "ecadd failed");
            (x1, y1) = abi.decode(ret, (uint, uint));
        }

        if(y1 % 2 == 1)
            x1 ^= 1 << 254;

        return bytes32(x1);
    }

    /// @dev Constructs a position ID from a collateral token and an outcome collection. These IDs are used as the ERC-1155 ID for this contract.
    /// @param collateralToken Collateral token which backs the position.
    /// @param collectionId ID of the outcome collection associated with this position.
    function getPositionId(IERC20 collateralToken, bytes32 collectionId) internal pure returns (uint) {
        return uint(keccak256(abi.encodePacked(collateralToken, collectionId)));
    }
}


// File openzeppelin-solidity/contracts/introspection/[email protected]

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


// File contracts/ERC1155/IERC1155.sol

pragma solidity ^0.5.0;

/**
    @title ERC-1155 Multi Token Standard basic interface
    @dev See https://eips.ethereum.org/EIPS/eip-1155
 */
contract IERC1155 is IERC165 {
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    event URI(string value, uint256 indexed id);

    function balanceOf(address owner, uint256 id) public view returns (uint256);

    function balanceOfBatch(address[] memory owners, uint256[] memory ids) public view returns (uint256[] memory);

    function setApprovalForAll(address operator, bool approved) external;

    function isApprovedForAll(address owner, address operator) external view returns (bool);

    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;

    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata values, bytes calldata data) external;
}


// File contracts/ERC1155/IERC1155TokenReceiver.sol

pragma solidity ^0.5.0;

/**
    @title ERC-1155 Multi Token Receiver Interface
    @dev See https://eips.ethereum.org/EIPS/eip-1155
*/
contract IERC1155TokenReceiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}


// File openzeppelin-solidity/contracts/introspection/[email protected]

pragma solidity ^0.5.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}


// File openzeppelin-solidity/contracts/utils/[email protected]

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following 
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

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

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


// File openzeppelin-solidity/contracts/math/[email protected]

pragma solidity ^0.5.0;

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

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


// File contracts/ERC1155/ERC1155.sol

pragma solidity ^0.5.0;





/**
 * @title Standard ERC1155 token
 *
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 */
contract ERC1155 is ERC165, IERC1155
{
    using SafeMath for uint256;
    using Address for address;

    // Mapping from token ID to owner balances
    mapping (uint256 => mapping(address => uint256)) private _balances;

    // Mapping from owner to operator approvals
    mapping (address => mapping(address => bool)) private _operatorApprovals;

    constructor()
        public
    {
        _registerInterface(
            ERC1155(0).safeTransferFrom.selector ^
            ERC1155(0).safeBatchTransferFrom.selector ^
            ERC1155(0).balanceOf.selector ^
            ERC1155(0).balanceOfBatch.selector ^
            ERC1155(0).setApprovalForAll.selector ^
            ERC1155(0).isApprovedForAll.selector
        );
    }

    /**
        @dev Get the specified address' balance for token with specified ID.
        @param owner The address of the token holder
        @param id ID of the token
        @return The owner's balance of the token type requested
     */
    function balanceOf(address owner, uint256 id) public view returns (uint256) {
        require(owner != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][owner];
    }

    /**
        @dev Get the balance of multiple account/token pairs
        @param owners The addresses of the token holders
        @param ids IDs of the tokens
        @return Balances for each owner and token id pair
     */
    function balanceOfBatch(
        address[] memory owners,
        uint256[] memory ids
    )
        public
        view
        returns (uint256[] memory)
    {
        require(owners.length == ids.length, "ERC1155: owners and IDs must have same lengths");

        uint256[] memory batchBalances = new uint256[](owners.length);

        for (uint256 i = 0; i < owners.length; ++i) {
            require(owners[i] != address(0), "ERC1155: some address in batch balance query is zero");
            batchBalances[i] = _balances[ids[i]][owners[i]];
        }

        return batchBalances;
    }

    /**
     * @dev Sets or unsets the approval of a given operator
     * An operator is allowed to transfer all tokens of the sender on their behalf
     * @param operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    function setApprovalForAll(address operator, bool approved) external {
        _operatorApprovals[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

    /**
        @notice Queries the approval status of an operator for a given owner.
        @param owner     The owner of the Tokens
        @param operator  Address of authorized operator
        @return           True if the operator is approved, false if not
    */
    function isApprovedForAll(address owner, address operator) external view returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
        @dev Transfers `value` amount of an `id` from the `from` address to the `to` address specified.
        Caller must be approved to manage the tokens being transferred out of the `from` account.
        If `to` is a smart contract, will call `onERC1155Received` on `to` and act appropriately.
        @param from Source address
        @param to Target address
        @param id ID of the token type
        @param value Transfer amount
        @param data Data forwarded to `onERC1155Received` if `to` is a contract receiver
    */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
    {
        require(to != address(0), "ERC1155: target address must be non-zero");
        require(
            from == msg.sender || _operatorApprovals[from][msg.sender] == true,
            "ERC1155: need operator approval for 3rd party transfers."
        );

        _balances[id][from] = _balances[id][from].sub(value);
        _balances[id][to] = value.add(_balances[id][to]);

        emit TransferSingle(msg.sender, from, to, id, value);

        _doSafeTransferAcceptanceCheck(msg.sender, from, to, id, value, data);
    }

    /**
        @dev Transfers `values` amount(s) of `ids` from the `from` address to the
        `to` address specified. Caller must be approved to manage the tokens being
        transferred out of the `from` account. If `to` is a smart contract, will
        call `onERC1155BatchReceived` on `to` and act appropriately.
        @param from Source address
        @param to Target address
        @param ids IDs of each token type
        @param values Transfer amounts per token type
        @param data Data forwarded to `onERC1155Received` if `to` is a contract receiver
    */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
    {
        require(ids.length == values.length, "ERC1155: IDs and values must have same lengths");
        require(to != address(0), "ERC1155: target address must be non-zero");
        require(
            from == msg.sender || _operatorApprovals[from][msg.sender] == true,
            "ERC1155: need operator approval for 3rd party transfers."
        );

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 value = values[i];

            _balances[id][from] = _balances[id][from].sub(value);
            _balances[id][to] = value.add(_balances[id][to]);
        }

        emit TransferBatch(msg.sender, from, to, ids, values);

        _doSafeBatchTransferAcceptanceCheck(msg.sender, from, to, ids, values, data);
    }

    /**
     * @dev Internal function to mint an amount of a token with the given ID
     * @param to The address that will own the minted token
     * @param id ID of the token to be minted
     * @param value Amount of the token to be minted
     * @param data Data forwarded to `onERC1155Received` if `to` is a contract receiver
     */
    function _mint(address to, uint256 id, uint256 value, bytes memory data) internal {
        require(to != address(0), "ERC1155: mint to the zero address");

        _balances[id][to] = value.add(_balances[id][to]);
        emit TransferSingle(msg.sender, address(0), to, id, value);

        _doSafeTransferAcceptanceCheck(msg.sender, address(0), to, id, value, data);
    }

    /**
     * @dev Internal function to batch mint amounts of tokens with the given IDs
     * @param to The address that will own the minted token
     * @param ids IDs of the tokens to be minted
     * @param values Amounts of the tokens to be minted
     * @param data Data forwarded to `onERC1155Received` if `to` is a contract receiver
     */
    function _batchMint(address to, uint256[] memory ids, uint256[] memory values, bytes memory data) internal {
        require(to != address(0), "ERC1155: batch mint to the zero address");
        require(ids.length == values.length, "ERC1155: IDs and values must have same lengths");

        for(uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] = values[i].add(_balances[ids[i]][to]);
        }

        emit TransferBatch(msg.sender, address(0), to, ids, values);

        _doSafeBatchTransferAcceptanceCheck(msg.sender, address(0), to, ids, values, data);
    }

    /**
     * @dev Internal function to burn an amount of a token with the given ID
     * @param owner Account which owns the token to be burnt
     * @param id ID of the token to be burnt
     * @param value Amount of the token to be burnt
     */
    function _burn(address owner, uint256 id, uint256 value) internal {
        _balances[id][owner] = _balances[id][owner].sub(value);
        emit TransferSingle(msg.sender, owner, address(0), id, value);
    }

    /**
     * @dev Internal function to batch burn an amounts of tokens with the given IDs
     * @param owner Account which owns the token to be burnt
     * @param ids IDs of the tokens to be burnt
     * @param values Amounts of the tokens to be burnt
     */
    function _batchBurn(address owner, uint256[] memory ids, uint256[] memory values) internal {
        require(ids.length == values.length, "ERC1155: IDs and values must have same lengths");

        for(uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][owner] = _balances[ids[i]][owner].sub(values[i]);
        }

        emit TransferBatch(msg.sender, owner, address(0), ids, values);
    }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 value,
        bytes memory data
    )
        internal
    {
        if(to.isContract()) {
            require(
                IERC1155TokenReceiver(to).onERC1155Received(operator, from, id, value, data) ==
                    IERC1155TokenReceiver(to).onERC1155Received.selector,
                "ERC1155: got unknown value from onERC1155Received"
            );
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    )
        internal
    {
        if(to.isContract()) {
            require(
                IERC1155TokenReceiver(to).onERC1155BatchReceived(operator, from, ids, values, data) == IERC1155TokenReceiver(to).onERC1155BatchReceived.selector,
                "ERC1155: got unknown value from onERC1155BatchReceived"
            );
        }
    }
}


// File contracts/ConditionalTokens.sol

pragma solidity ^0.5.1;



contract ConditionalTokens is ERC1155 {

    /// @dev Emitted upon the successful preparation of a condition.
    /// @param conditionId The condition's ID. This ID may be derived from the other three parameters via ``keccak256(abi.encodePacked(oracle, questionId, outcomeSlotCount))``.
    /// @param oracle The account assigned to report the result for the prepared condition.
    /// @param questionId An identifier for the question to be answered by the oracle.
    /// @param outcomeSlotCount The number of outcome slots which should be used for this condition. Must not exceed 256.
    event ConditionPreparation(
        bytes32 indexed conditionId,
        address indexed oracle,
        bytes32 indexed questionId,
        uint outcomeSlotCount
    );

    event ConditionResolution(
        bytes32 indexed conditionId,
        address indexed oracle,
        bytes32 indexed questionId,
        uint outcomeSlotCount,
        uint[] payoutNumerators
    );

    /// @dev Emitted when a position is successfully split.
    event PositionSplit(
        address indexed stakeholder,
        IERC20 collateralToken,
        bytes32 indexed parentCollectionId,
        bytes32 indexed conditionId,
        uint[] partition,
        uint amount
    );
    /// @dev Emitted when positions are successfully merged.
    event PositionsMerge(
        address indexed stakeholder,
        IERC20 collateralToken,
        bytes32 indexed parentCollectionId,
        bytes32 indexed conditionId,
        uint[] partition,
        uint amount
    );
    event PayoutRedemption(
        address indexed redeemer,
        IERC20 indexed collateralToken,
        bytes32 indexed parentCollectionId,
        bytes32 conditionId,
        uint[] indexSets,
        uint payout
    );


    /// Mapping key is an condition ID. Value represents numerators of the payout vector associated with the condition. This array is initialized with a length equal to the outcome slot count. E.g. Condition with 3 outcomes [A, B, C] and two of those correct [0.5, 0.5, 0]. In Ethereum there are no decimal values, so here, 0.5 is represented by fractions like 1/2 == 0.5. That's why we need numerator and denominator values. Payout numerators are also used as a check of initialization. If the numerators array is empty (has length zero), the condition was not created/prepared. See getOutcomeSlotCount.
    mapping(bytes32 => uint[]) public payoutNumerators;
    /// Denominator is also used for checking if the condition has been resolved. If the denominator is non-zero, then the condition has been resolved.
    mapping(bytes32 => uint) public payoutDenominator;

    /// @dev This function prepares a condition by initializing a payout vector associated with the condition.
    /// @param oracle The account assigned to report the result for the prepared condition.
    /// @param questionId An identifier for the question to be answered by the oracle.
    /// @param outcomeSlotCount The number of outcome slots which should be used for this condition. Must not exceed 256.
    function prepareCondition(address oracle, bytes32 questionId, uint outcomeSlotCount) external {
        // Limit of 256 because we use a partition array that is a number of 256 bits.
        require(outcomeSlotCount <= 256, "too many outcome slots");
        require(outcomeSlotCount > 1, "there should be more than one outcome slot");
        bytes32 conditionId = CTHelpers.getConditionId(oracle, questionId, outcomeSlotCount);
        require(payoutNumerators[conditionId].length == 0, "condition already prepared");
        payoutNumerators[conditionId] = new uint[](outcomeSlotCount);
        emit ConditionPreparation(conditionId, oracle, questionId, outcomeSlotCount);
    }

    /// @dev Called by the oracle for reporting results of conditions. Will set the payout vector for the condition with the ID ``keccak256(abi.encodePacked(oracle, questionId, outcomeSlotCount))``, where oracle is the message sender, questionId is one of the parameters of this function, and outcomeSlotCount is the length of the payouts parameter, which contains the payoutNumerators for each outcome slot of the condition.
    /// @param questionId The question ID the oracle is answering for
    /// @param payouts The oracle's answer
    function reportPayouts(bytes32 questionId, uint[] calldata payouts) external {
        uint outcomeSlotCount = payouts.length;
        require(outcomeSlotCount > 1, "there should be more than one outcome slot");
        // IMPORTANT, the oracle is enforced to be the sender because it's part of the hash.
        bytes32 conditionId = CTHelpers.getConditionId(msg.sender, questionId, outcomeSlotCount);
        require(payoutNumerators[conditionId].length == outcomeSlotCount, "condition not prepared or found");
        require(payoutDenominator[conditionId] == 0, "payout denominator already set");

        uint den = 0;
        for (uint i = 0; i < outcomeSlotCount; i++) {
            uint num = payouts[i];
            den = den.add(num);

            require(payoutNumerators[conditionId][i] == 0, "payout numerator already set");
            payoutNumerators[conditionId][i] = num;
        }
        require(den > 0, "payout is all zeroes");
        payoutDenominator[conditionId] = den;
        emit ConditionResolution(conditionId, msg.sender, questionId, outcomeSlotCount, payoutNumerators[conditionId]);
    }

    /// @dev This function splits a position. If splitting from the collateral, this contract will attempt to transfer `amount` collateral from the message sender to itself. Otherwise, this contract will burn `amount` stake held by the message sender in the position being split worth of EIP 1155 tokens. Regardless, if successful, `amount` stake will be minted in the split target positions. If any of the transfers, mints, or burns fail, the transaction will revert. The transaction will also revert if the given partition is trivial, invalid, or refers to more slots than the condition is prepared with.
    /// @param collateralToken The address of the positions' backing collateral token.
    /// @param parentCollectionId The ID of the outcome collections common to the position being split and the split target positions. May be null, in which only the collateral is shared.
    /// @param conditionId The ID of the condition to split on.
    /// @param partition An array of disjoint index sets representing a nontrivial partition of the outcome slots of the given condition. E.g. A|B and C but not A|B and B|C (is not disjoint). Each element's a number which, together with the condition, represents the outcome collection. E.g. 0b110 is A|B, 0b010 is B, etc.
    /// @param amount The amount of collateral or stake to split.
    function splitPosition(
        IERC20 collateralToken,
        bytes32 parentCollectionId,
        bytes32 conditionId,
        uint[] calldata partition,
        uint amount
    ) external {
        require(partition.length > 1, "got empty or singleton partition");
        uint outcomeSlotCount = payoutNumerators[conditionId].length;
        require(outcomeSlotCount > 0, "condition not prepared yet");

        // For a condition with 4 outcomes fullIndexSet's 0b1111; for 5 it's 0b11111...
        uint fullIndexSet = (1 << outcomeSlotCount) - 1;
        // freeIndexSet starts as the full collection
        uint freeIndexSet = fullIndexSet;
        // This loop checks that all condition sets are disjoint (the same outcome is not part of more than 1 set)
        uint[] memory positionIds = new uint[](partition.length);
        uint[] memory amounts = new uint[](partition.length);
        for (uint i = 0; i < partition.length; i++) {
            uint indexSet = partition[i];
            require(indexSet > 0 && indexSet < fullIndexSet, "got invalid index set");
            require((indexSet & freeIndexSet) == indexSet, "partition not disjoint");
            freeIndexSet ^= indexSet;
            positionIds[i] = CTHelpers.getPositionId(collateralToken, CTHelpers.getCollectionId(parentCollectionId, conditionId, indexSet));
            amounts[i] = amount;
        }

        if (freeIndexSet == 0) {
            // Partitioning the full set of outcomes for the condition in this branch
            if (parentCollectionId == bytes32(0)) {
                require(collateralToken.transferFrom(msg.sender, address(this), amount), "could not receive collateral tokens");
            } else {
                _burn(
                    msg.sender,
                    CTHelpers.getPositionId(collateralToken, parentCollectionId),
                    amount
                );
            }
        } else {
            // Partitioning a subset of outcomes for the condition in this branch.
            // For example, for a condition with three outcomes A, B, and C, this branch
            // allows the splitting of a position $:(A|C) to positions $:(A) and $:(C).
            _burn(
                msg.sender,
                CTHelpers.getPositionId(collateralToken,
                    CTHelpers.getCollectionId(parentCollectionId, conditionId, fullIndexSet ^ freeIndexSet)),
                amount
            );
        }

        _batchMint(
            msg.sender,
            // position ID is the ERC 1155 token ID
            positionIds,
            amounts,
            ""
        );
        emit PositionSplit(msg.sender, collateralToken, parentCollectionId, conditionId, partition, amount);
    }

    function mergePositions(
        IERC20 collateralToken,
        bytes32 parentCollectionId,
        bytes32 conditionId,
        uint[] calldata partition,
        uint amount
    ) external {
        require(partition.length > 1, "got empty or singleton partition");
        uint outcomeSlotCount = payoutNumerators[conditionId].length;
        require(outcomeSlotCount > 0, "condition not prepared yet");

        uint fullIndexSet = (1 << outcomeSlotCount) - 1;
        uint freeIndexSet = fullIndexSet;
        uint[] memory positionIds = new uint[](partition.length);
        uint[] memory amounts = new uint[](partition.length);
        for (uint i = 0; i < partition.length; i++) {
            uint indexSet = partition[i];
            require(indexSet > 0 && indexSet < fullIndexSet, "got invalid index set");
            require((indexSet & freeIndexSet) == indexSet, "partition not disjoint");
            freeIndexSet ^= indexSet;
            positionIds[i] = CTHelpers.getPositionId(collateralToken, CTHelpers.getCollectionId(parentCollectionId, conditionId, indexSet));
            amounts[i] = amount;
        }
        _batchBurn(
            msg.sender,
            positionIds,
            amounts
        );

        if (freeIndexSet == 0) {
            if (parentCollectionId == bytes32(0)) {
                require(collateralToken.transfer(msg.sender, amount), "could not send collateral tokens");
            } else {
                _mint(
                    msg.sender,
                    CTHelpers.getPositionId(collateralToken, parentCollectionId),
                    amount,
                    ""
                );
            }
        } else {
            _mint(
                msg.sender,
                CTHelpers.getPositionId(collateralToken,
                    CTHelpers.getCollectionId(parentCollectionId, conditionId, fullIndexSet ^ freeIndexSet)),
                amount,
                ""
            );
        }

        emit PositionsMerge(msg.sender, collateralToken, parentCollectionId, conditionId, partition, amount);
    }

    function redeemPositions(IERC20 collateralToken, bytes32 parentCollectionId, bytes32 conditionId, uint[] calldata indexSets) external {
        uint den = payoutDenominator[conditionId];
        require(den > 0, "result for condition not received yet");
        uint outcomeSlotCount = payoutNumerators[conditionId].length;
        require(outcomeSlotCount > 0, "condition not prepared yet");

        uint totalPayout = 0;

        uint fullIndexSet = (1 << outcomeSlotCount) - 1;
        for (uint i = 0; i < indexSets.length; i++) {
            uint indexSet = indexSets[i];
            require(indexSet > 0 && indexSet < fullIndexSet, "got invalid index set");
            uint positionId = CTHelpers.getPositionId(collateralToken,
                CTHelpers.getCollectionId(parentCollectionId, conditionId, indexSet));

            uint payoutNumerator = 0;
            for (uint j = 0; j < outcomeSlotCount; j++) {
                if (indexSet & (1 << j) != 0) {
                    payoutNumerator = payoutNumerator.add(payoutNumerators[conditionId][j]);
                }
            }

            uint payoutStake = balanceOf(msg.sender, positionId);
            if (payoutStake > 0) {
                totalPayout = totalPayout.add(payoutStake.mul(payoutNumerator).div(den));
                _burn(msg.sender, positionId, payoutStake);
            }
        }

        if (totalPayout > 0) {
            if (parentCollectionId == bytes32(0)) {
                require(collateralToken.transfer(msg.sender, totalPayout), "could not transfer payout to message sender");
            } else {
                _mint(msg.sender, CTHelpers.getPositionId(collateralToken, parentCollectionId), totalPayout, "");
            }
        }
        emit PayoutRedemption(msg.sender, collateralToken, parentCollectionId, conditionId, indexSets, totalPayout);
    }

    /// @dev Gets the outcome slot count of a condition.
    /// @param conditionId ID of the condition.
    /// @return Number of outcome slots associated with a condition, or zero if condition has not been prepared yet.
    function getOutcomeSlotCount(bytes32 conditionId) external view returns (uint) {
        return payoutNumerators[conditionId].length;
    }

    /// @dev Constructs a condition ID from an oracle, a question ID, and the outcome slot count for the question.
    /// @param oracle The account assigned to report the result for the prepared condition.
    /// @param questionId An identifier for the question to be answered by the oracle.
    /// @param outcomeSlotCount The number of outcome slots which should be used for this condition. Must not exceed 256.
    function getConditionId(address oracle, bytes32 questionId, uint outcomeSlotCount) external pure returns (bytes32) {
        return CTHelpers.getConditionId(oracle, questionId, outcomeSlotCount);
    }

    /// @dev Constructs an outcome collection ID from a parent collection and an outcome collection.
    /// @param parentCollectionId Collection ID of the parent outcome collection, or bytes32(0) if there's no parent.
    /// @param conditionId Condition ID of the outcome collection to combine with the parent outcome collection.
    /// @param indexSet Index set of the outcome collection to combine with the parent outcome collection.
    function getCollectionId(bytes32 parentCollectionId, bytes32 conditionId, uint indexSet) external view returns (bytes32) {
        return CTHelpers.getCollectionId(parentCollectionId, conditionId, indexSet);
    }

    /// @dev Constructs a position ID from a collateral token and an outcome collection. These IDs are used as the ERC-1155 ID for this contract.
    /// @param collateralToken Collateral token which backs the position.
    /// @param collectionId ID of the outcome collection associated with this position.
    function getPositionId(IERC20 collateralToken, bytes32 collectionId) external pure returns (uint) {
        return CTHelpers.getPositionId(collateralToken, collectionId);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"collateralToken","type":"address"},{"name":"parentCollectionId","type":"bytes32"},{"name":"conditionId","type":"bytes32"},{"name":"indexSets","type":"uint256[]"}],"name":"redeemPositions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"},{"name":"","type":"uint256"}],"name":"payoutNumerators","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"ids","type":"uint256[]"},{"name":"values","type":"uint256[]"},{"name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"collateralToken","type":"address"},{"name":"collectionId","type":"bytes32"}],"name":"getPositionId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"owners","type":"address[]"},{"name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"collateralToken","type":"address"},{"name":"parentCollectionId","type":"bytes32"},{"name":"conditionId","type":"bytes32"},{"name":"partition","type":"uint256[]"},{"name":"amount","type":"uint256"}],"name":"splitPosition","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"oracle","type":"address"},{"name":"questionId","type":"bytes32"},{"name":"outcomeSlotCount","type":"uint256"}],"name":"getConditionId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"parentCollectionId","type":"bytes32"},{"name":"conditionId","type":"bytes32"},{"name":"indexSet","type":"uint256"}],"name":"getCollectionId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"collateralToken","type":"address"},{"name":"parentCollectionId","type":"bytes32"},{"name":"conditionId","type":"bytes32"},{"name":"partition","type":"uint256[]"},{"name":"amount","type":"uint256"}],"name":"mergePositions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"operator","type":"address"},{"name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"questionId","type":"bytes32"},{"name":"payouts","type":"uint256[]"}],"name":"reportPayouts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"conditionId","type":"bytes32"}],"name":"getOutcomeSlotCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"oracle","type":"address"},{"name":"questionId","type":"bytes32"},{"name":"outcomeSlotCount","type":"uint256"}],"name":"prepareCondition","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"payoutDenominator","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"id","type":"uint256"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"conditionId","type":"bytes32"},{"indexed":true,"name":"oracle","type":"address"},{"indexed":true,"name":"questionId","type":"bytes32"},{"indexed":false,"name":"outcomeSlotCount","type":"uint256"}],"name":"ConditionPreparation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"conditionId","type":"bytes32"},{"indexed":true,"name":"oracle","type":"address"},{"indexed":true,"name":"questionId","type":"bytes32"},{"indexed":false,"name":"outcomeSlotCount","type":"uint256"},{"indexed":false,"name":"payoutNumerators","type":"uint256[]"}],"name":"ConditionResolution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"stakeholder","type":"address"},{"indexed":false,"name":"collateralToken","type":"address"},{"indexed":true,"name":"parentCollectionId","type":"bytes32"},{"indexed":true,"name":"conditionId","type":"bytes32"},{"indexed":false,"name":"partition","type":"uint256[]"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"PositionSplit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"stakeholder","type":"address"},{"indexed":false,"name":"collateralToken","type":"address"},{"indexed":true,"name":"parentCollectionId","type":"bytes32"},{"indexed":true,"name":"conditionId","type":"bytes32"},{"indexed":false,"name":"partition","type":"uint256[]"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"PositionsMerge","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"redeemer","type":"address"},{"indexed":true,"name":"collateralToken","type":"address"},{"indexed":true,"name":"parentCollectionId","type":"bytes32"},{"indexed":false,"name":"conditionId","type":"bytes32"},{"indexed":false,"name":"indexSets","type":"uint256[]"},{"indexed":false,"name":"payout","type":"uint256"}],"name":"PayoutRedemption","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"id","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"ids","type":"uint256[]"},{"indexed":false,"name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"value","type":"string"},{"indexed":true,"name":"id","type":"uint256"}],"name":"URI","type":"event"}]

6080604052620000387f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b036200007216565b6200006c7fd9b67a26000000000000000000000000000000000000000000000000000000006001600160e01b036200007216565b62000141565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200010457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b613a9f80620001516000396000f3fe608060405234801561001057600080fd5b50600436106101155760003560e01c8063856296f7116100a2578063d42dc0c211610071578063d42dc0c21461071a578063d96ee75414610737578063dd34de6714610769578063e985e9c514610786578063f242432a146107b457610115565b8063856296f7146105c45780639e7212ad146105ed578063a22cb46514610677578063c49298ac146106a557610115565b80632eb2c2d6116100e95780632eb2c2d61461024257806339dd7530146103695780634e1273f41461039557806372ce427514610508578063852c6ae21461059257610115565b8062fdd58e1461011a57806301b7037c1461015857806301ffc9a7146101e45780630504c8141461021f575b600080fd5b6101466004803603604081101561013057600080fd5b506001600160a01b038135169060200135610847565b60408051918252519081900360200190f35b6101e26004803603608081101561016e57600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b8111156101a457600080fd5b8201836020820111156101b657600080fd5b803590602001918460208302840111600160201b831117156101d757600080fd5b5090925090506108b9565b005b61020b600480360360208110156101fa57600080fd5b50356001600160e01b031916610c38565b604080519115158252519081900360200190f35b6101466004803603604081101561023557600080fd5b5080359060200135610c57565b6101e2600480360360a081101561025857600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460208302840111600160201b831117156102be57600080fd5b919390929091602081019035600160201b8111156102db57600080fd5b8201836020820111156102ed57600080fd5b803590602001918460208302840111600160201b8311171561030e57600080fd5b919390929091602081019035600160201b81111561032b57600080fd5b82018360208201111561033d57600080fd5b803590602001918460018302840111600160201b8311171561035e57600080fd5b509092509050610c85565b6101466004803603604081101561037f57600080fd5b506001600160a01b038135169060200135611012565b6104b8600480360360408110156103ab57600080fd5b810190602081018135600160201b8111156103c557600080fd5b8201836020820111156103d757600080fd5b803590602001918460208302840111600160201b831117156103f857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561044757600080fd5b82018360208201111561045957600080fd5b803590602001918460208302840111600160201b8311171561047a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611025945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156104f45781810151838201526020016104dc565b505050509050019250505060405180910390f35b6101e2600480360360a081101561051e57600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561055457600080fd5b82018360208201111561056657600080fd5b803590602001918460208302840111600160201b8311171561058757600080fd5b91935091503561118c565b610146600480360360608110156105a857600080fd5b506001600160a01b038135169060208101359060400135611573565b610146600480360360608110156105da57600080fd5b5080359060208101359060400135611588565b6101e2600480360360a081101561060357600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561063957600080fd5b82018360208201111561064b57600080fd5b803590602001918460208302840111600160201b8311171561066c57600080fd5b919350915035611595565b6101e26004803603604081101561068d57600080fd5b506001600160a01b038135169060200135151561198c565b6101e2600480360360408110156106bb57600080fd5b81359190810190604081016020820135600160201b8111156106dc57600080fd5b8201836020820111156106ee57600080fd5b803590602001918460208302840111600160201b8311171561070f57600080fd5b5090925090506119fa565b6101466004803603602081101561073057600080fd5b5035611ce4565b6101e26004803603606081101561074d57600080fd5b506001600160a01b038135169060208101359060400135611cf6565b6101466004803603602081101561077f57600080fd5b5035611e8e565b61020b6004803603604081101561079c57600080fd5b506001600160a01b0381358116916020013516611ea0565b6101e2600480360360a08110156107ca57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561080957600080fd5b82018360208201111561081b57600080fd5b803590602001918460018302840111600160201b8311171561083c57600080fd5b509092509050611ece565b60006001600160a01b03831661088e5760405162461bcd60e51b815260040180806020018281038252602b8152602001806137e8602b913960400191505060405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b600083815260046020526040902054806109045760405162461bcd60e51b81526004018080602001828103825260258152602001806137c36025913960400191505060405180910390fd5b60008481526003602052604090205480610962576040805162461bcd60e51b815260206004820152601a60248201527918dbdb991a5d1a5bdb881b9bdd081c1c995c185c9959081e595d60321b604482015290519081900360640190fd5b60006000196001831b01815b85811015610aba57600087878381811061098457fe5b90506020020135905060008111801561099c57508281105b6109e5576040805162461bcd60e51b815260206004820152601560248201527419dbdd081a5b9d985b1a59081a5b99195e081cd95d605a1b604482015290519081900360640190fd5b60006109fb8c6109f68d8d866120aa565b6123d9565b90506000805b87811015610a58576001811b841615610a505760008c81526003602052604090208054610a4d919083908110610a3357fe5b90600052602060002001548361241d90919063ffffffff16565b91505b600101610a01565b506000610a653384610847565b90508015610aaa57610a9d610a908a610a84848663ffffffff61247716565b9063ffffffff6124d016565b889063ffffffff61241d16565b9650610aaa338483612512565b50506001909201915061096e9050565b508115610ba55787610b81576040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b038b169163a9059cbb9160448083019260209291908290030181600087803b158015610b1557600080fd5b505af1158015610b29573d6000803e3d6000fd5b505050506040513d6020811015610b3f57600080fd5b5051610b7c5760405162461bcd60e51b815260040180806020018281038252602b815260200180613813602b913960400191505060405180910390fd5b610ba5565b610ba533610b8f8b8b6123d9565b84604051806020016040528060008152506125ad565b87896001600160a01b0316336001600160a01b03167f2682012a4a4f1973119f1c9b90745d1bd91fa2bab387344f044cb3586864d18d8a8a8a8860405180858152602001806020018381526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a4505050505050505050565b6001600160e01b03191660009081526020819052604090205460ff1690565b60036020528160005260406000208181548110610c7057fe5b90600052602060002001600091509150505481565b848314610cc35760405162461bcd60e51b815260040180806020018281038252602e815260200180613962602e913960400191505060405180910390fd5b6001600160a01b038716610d085760405162461bcd60e51b815260040180806020018281038252602881526020018061383e6028913960400191505060405180910390fd5b6001600160a01b038816331480610d4757506001600160a01b038816600090815260026020908152604080832033845290915290205460ff1615156001145b610d825760405162461bcd60e51b81526004018080602001828103825260388152602001806139906038913960400191505060405180910390fd5b60005b85811015610eb2576000878783818110610d9b57fe5b9050602002013590506000868684818110610db257fe5b905060200201359050610e04816001600085815260200190815260200160002060008e6001600160a01b03166001600160a01b031681526020019081526020016000205461269b90919063ffffffff16565b6001600084815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002081905550610e876001600084815260200190815260200160002060008c6001600160a01b03166001600160a01b03168152602001908152602001600020548261241d90919063ffffffff16565b60009283526001602081815260408086206001600160a01b038f168752909152909320555001610d85565b50866001600160a01b0316886001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb898989896040518080602001806020018381038352878782818152602001925060200280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a461100833898989898080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808d0282810182019093528c82529093508c92508b91829185019084908082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a91508990819084018382808284376000920191909152506126dd92505050565b5050505050505050565b600061101e83836123d9565b9392505050565b606081518351146110675760405162461bcd60e51b815260040180806020018281038252602e815260200180613934602e913960400191505060405180910390fd5b60608351604051908082528060200260200182016040528015611094578160200160208202803883390190505b50905060005b84518110156111845760006001600160a01b03168582815181106110ba57fe5b60200260200101516001600160a01b031614156111085760405162461bcd60e51b81526004018080602001828103825260348152602001806138df6034913960400191505060405180910390fd5b6001600085838151811061111857fe5b60200260200101518152602001908152602001600020600086838151811061113c57fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205482828151811061117157fe5b602090810291909101015260010161109a565b509392505050565b600182116111e1576040805162461bcd60e51b815260206004820181905260248201527f676f7420656d707479206f722073696e676c65746f6e20706172746974696f6e604482015290519081900360640190fd5b6000848152600360205260409020548061123f576040805162461bcd60e51b815260206004820152601a60248201527918dbdb991a5d1a5bdb881b9bdd081c1c995c185c9959081e595d60321b604482015290519081900360640190fd5b6040805184815260208086028201019091526000196001831b01908190606090868015611276578160200160208202803883390190505b5090506060878790506040519080825280602002602001820160405280156112a8578160200160208202803883390190505b50905060005b878110156113c05760008989838181106112c457fe5b9050602002013590506000811180156112dc57508581105b611325576040805162461bcd60e51b815260206004820152601560248201527419dbdd081a5b9d985b1a59081a5b99195e081cd95d605a1b604482015290519081900360640190fd5b8085821614611374576040805162461bcd60e51b81526020600482015260166024820152751c185c9d1a5d1a5bdb881b9bdd08191a5cda9bda5b9d60521b604482015290519081900360640190fd5b938418936113878d6109f68e8e856120aa565b84838151811061139357fe5b602002602001018181525050878383815181106113ac57fe5b6020908102919091010152506001016112ae565b50826114a5578961148c57604080516323b872dd60e01b81523360048201523060248201526044810188905290516001600160a01b038d16916323b872dd9160648083019260209291908290030181600087803b15801561142057600080fd5b505af1158015611434573d6000803e3d6000fd5b505050506040513d602081101561144a57600080fd5b50516114875760405162461bcd60e51b81526004018080602001828103825260238152602001806138bc6023913960400191505060405180910390fd5b6114a0565b6114a03361149a8d8d6123d9565b88612512565b6114ba565b6114ba3361149a8d6109f68e8e898b186120aa565b6114d5338383604051806020016040528060008152506128ba565b888a336001600160a01b03167f2e6bb91f8cbcda0c93623c54d0403a43514fabc40084ec96b6d5379a747862988e8c8c8c60405180856001600160a01b03166001600160a01b03168152602001806020018381526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a45050505050505050505050565b6000611580848484612aed565b949350505050565b60006115808484846120aa565b600182116115ea576040805162461bcd60e51b815260206004820181905260248201527f676f7420656d707479206f722073696e676c65746f6e20706172746974696f6e604482015290519081900360640190fd5b60008481526003602052604090205480611648576040805162461bcd60e51b815260206004820152601a60248201527918dbdb991a5d1a5bdb881b9bdd081c1c995c185c9959081e595d60321b604482015290519081900360640190fd5b6040805184815260208086028201019091526000196001831b0190819060609086801561167f578160200160208202803883390190505b5090506060878790506040519080825280602002602001820160405280156116b1578160200160208202803883390190505b50905060005b878110156117c95760008989838181106116cd57fe5b9050602002013590506000811180156116e557508581105b61172e576040805162461bcd60e51b815260206004820152601560248201527419dbdd081a5b9d985b1a59081a5b99195e081cd95d605a1b604482015290519081900360640190fd5b808582161461177d576040805162461bcd60e51b81526020600482015260166024820152751c185c9d1a5d1a5bdb881b9bdd08191a5cda9bda5b9d60521b604482015290519081900360640190fd5b938418936117908d6109f68e8e856120aa565b84838151811061179c57fe5b602002602001018181525050878383815181106117b557fe5b6020908102919091010152506001016116b7565b506117d5338383612b3a565b826118d957896118b0576040805163a9059cbb60e01b81523360048201526024810188905290516001600160a01b038d169163a9059cbb9160448083019260209291908290030181600087803b15801561182e57600080fd5b505af1158015611842573d6000803e3d6000fd5b505050506040513d602081101561185857600080fd5b50516118ab576040805162461bcd60e51b815260206004820181905260248201527f636f756c64206e6f742073656e6420636f6c6c61746572616c20746f6b656e73604482015290519081900360640190fd5b6118d4565b6118d4336118be8d8d6123d9565b88604051806020016040528060008152506125ad565b6118ee565b6118ee336118be8d6109f68e8e898b186120aa565b888a336001600160a01b03167f6f13ca62553fcc2bcd2372180a43949c1e4cebba603901ede2f4e14f36b282ca8e8c8c8c60405180856001600160a01b03166001600160a01b03168152602001806020018381526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a45050505050505050505050565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b8060018111611a3a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806139c8602a913960400191505060405180910390fd5b6000611a47338684612aed565b6000818152600360205260409020549091508214611aac576040805162461bcd60e51b815260206004820152601f60248201527f636f6e646974696f6e206e6f74207072657061726564206f7220666f756e6400604482015290519081900360640190fd5b60008181526004602052604090205415611b0d576040805162461bcd60e51b815260206004820152601e60248201527f7061796f75742064656e6f6d696e61746f7220616c7265616479207365740000604482015290519081900360640190fd5b6000805b83811015611bf2576000868683818110611b2757fe5b905060200201359050611b43818461241d90919063ffffffff16565b600085815260036020526040902080549194509083908110611b6157fe5b9060005260206000200154600014611bc0576040805162461bcd60e51b815260206004820152601c60248201527f7061796f7574206e756d657261746f7220616c72656164792073657400000000604482015290519081900360640190fd5b6000848152600360205260409020805482919084908110611bdd57fe5b60009182526020909120015550600101611b11565b5060008111611c3f576040805162461bcd60e51b81526020600482015260146024820152737061796f757420697320616c6c207a65726f657360601b604482015290519081900360640190fd5b60008281526004602090815260408083208490556003825291829020825186815291820183815281549383018490528993339387937fb44d84d3289691f71497564b85d4233648d9dbae8cbdbb4329f301c3a0185894938a93919291606083019084908015611ccd57602002820191906000526020600020905b815481526020019060010190808311611cb9575b5050935050505060405180910390a4505050505050565b60009081526003602052604090205490565b610100811115611d46576040805162461bcd60e51b8152602060048201526016602482015275746f6f206d616e79206f7574636f6d6520736c6f747360501b604482015290519081900360640190fd5b60018111611d855760405162461bcd60e51b815260040180806020018281038252602a8152602001806139c8602a913960400191505060405180910390fd5b6000611d92848484612aed565b60008181526003602052604090205490915015611df6576040805162461bcd60e51b815260206004820152601a60248201527f636f6e646974696f6e20616c7265616479207072657061726564000000000000604482015290519081900360640190fd5b81604051908082528060200260200182016040528015611e20578160200160208202803883390190505b5060008281526003602090815260409091208251611e44939192919091019061375a565b5082846001600160a01b0316827fab3760c3bd2bb38b5bcf54dc79802ed67338b4cf29f3054ded67ed24661e4177856040518082815260200191505060405180910390a450505050565b60046020526000908152604090205481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6001600160a01b038516611f135760405162461bcd60e51b815260040180806020018281038252602881526020018061383e6028913960400191505060405180910390fd5b6001600160a01b038616331480611f5257506001600160a01b038616600090815260026020908152604080832033845290915290205460ff1615156001145b611f8d5760405162461bcd60e51b81526004018080602001828103825260388152602001806139906038913960400191505060405180910390fd5b60008481526001602090815260408083206001600160a01b038a168452909152902054611fc0908463ffffffff61269b16565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054611ff890849061241d565b60008581526001602090815260408083206001600160a01b03808b16808652918452938290209490945580518881529182018790528051928a169233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a46120a2338787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612d1e92505050565b505050505050565b6040805160208082018590528183018490528251808303840181526060909201909252805191012060009060ff81901c151582805b600080516020613866833981519152600185089350600080516020613866833981519152600360008051602061386683398151915280878809870908905061212681612e80565b91508060008051602061386683398151915283840914156120df5782801561214f575060028206155b806121665750821580156121665750600282066001145b1561217f57816000805160206138668339815191520391505b8780156123b65760fe81901c151593506001600160fe1b0316600080516020613866833981519152600360008051602061386683398151915280848509840908915060006121cc83612e80565b90508480156121dc575060028106155b806121f35750841580156121f35750600281066001145b1561220957600080516020613866833981519152035b826000805160206138668339815191528283091461226e576040805162461bcd60e51b815260206004820152601c60248201527f696e76616c696420706172656e7420636f6c6c656374696f6e20494400000000604482015290519081900360640190fd5b6000606060066001600160a01b031688878686604051602001808581526020018481526020018381526020018281526020019450505050506040516020818303038152906040526040518082805190602001908083835b602083106122e45780518252601f1990920191602091820191016122c5565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114612344576040519150601f19603f3d011682016040523d82523d6000602084013e612349565b606091505b50915091508161238f576040805162461bcd60e51b815260206004820152600c60248201526b1958d859190819985a5b195960a21b604482015290519081900360640190fd5b8080602001905160408110156123a457600080fd5b50805160209091015190985095505050505b60028306600114156123cc57600160fe1b851894505b5092979650505050505050565b6040805160609390931b6bffffffffffffffffffffffff19166020808501919091526034808501939093528151808503909301835260549093019052805191012090565b60008282018381101561101e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082612486575060006108b3565b8282028284828161249357fe5b041461101e5760405162461bcd60e51b81526004018080602001828103825260218152602001806139136021913960400191505060405180910390fd5b600061101e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613625565b60008281526001602090815260408083206001600160a01b0387168452909152902054612545908263ffffffff61269b16565b60008381526001602090815260408083206001600160a01b038816808552908352818420949094558051868152918201859052805192939233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a4505050565b6001600160a01b0384166125f25760405162461bcd60e51b8152600401808060200182810382526021815260200180613a196021913960400191505060405180910390fd5b60008381526001602090815260408083206001600160a01b038816845290915290205461262690839063ffffffff61241d16565b60008481526001602090815260408083206001600160a01b038916808552908352818420949094558051878152918201869052805133927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a461269533600086868686612d1e565b50505050565b600061101e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506136c7565b6126ef846001600160a01b0316613721565b156120a25760405163bc197c8160e01b8082526001600160a01b0388811660048401908152888216602485015260a060448501908152875160a4860152875193949289169363bc197c81938c938c938b938b938b9392916064820191608481019160c4909101906020808a01910280838360005b8381101561277b578181015183820152602001612763565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156127ba5781810151838201526020016127a2565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156127f65781810151838201526020016127de565b50505050905090810190601f1680156128235780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15801561284857600080fd5b505af115801561285c573d6000803e3d6000fd5b505050506040513d602081101561287257600080fd5b50516001600160e01b031916146120a25760405162461bcd60e51b81526004018080602001828103825260368152602001806138866036913960400191505060405180910390fd5b6001600160a01b0384166128ff5760405162461bcd60e51b81526004018080602001828103825260278152602001806139f26027913960400191505060405180910390fd5b815183511461293f5760405162461bcd60e51b815260040180806020018281038252602e815260200180613962602e913960400191505060405180910390fd5b60005b8351811015612a03576129ba6001600086848151811061295e57fe5b602002602001015181526020019081526020016000206000876001600160a01b03166001600160a01b03168152602001908152602001600020548483815181106129a457fe5b602002602001015161241d90919063ffffffff16565b600160008684815181106129ca57fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b038a168252909252902055600101612942565b50836001600160a01b031660006001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612a8a578181015183820152602001612a72565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612ac9578181015183820152602001612ab1565b5050505090500194505050505060405180910390a4612695336000868686866126dd565b6040805160609490941b6bffffffffffffffffffffffff19166020808601919091526034850193909352605480850192909252805180850390920182526074909301909252815191012090565b8051825114612b7a5760405162461bcd60e51b815260040180806020018281038252602e815260200180613962602e913960400191505060405180910390fd5b60005b8251811015612c3e57612bf5828281518110612b9557fe5b602002602001015160016000868581518110612bad57fe5b602002602001015181526020019081526020016000206000876001600160a01b03166001600160a01b031681526020019081526020016000205461269b90919063ffffffff16565b60016000858481518110612c0557fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b0389168252909252902055600101612b7d565b5060006001600160a01b0316836001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612cc5578181015183820152602001612cad565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612d04578181015183820152602001612cec565b5050505090500194505050505060405180910390a4505050565b612d30846001600160a01b0316613721565b156120a25760405163f23a6e6160e01b8082526001600160a01b03888116600484019081528882166024850152604484018790526064840186905260a060848501908152855160a4860152855193949289169363f23a6e61938c938c938b938b938b93929160c490910190602085019080838360005b83811015612dbe578181015183820152602001612da6565b50505050905090810190601f168015612deb5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015612e0e57600080fd5b505af1158015612e22573d6000803e3d6000fd5b505050506040513d6020811015612e3857600080fd5b50516001600160e01b031916146120a25760405162461bcd60e51b8152600401808060200182810382526031815260200180613a3a6031913960400191505060405180910390fd5b6000600080516020613866833981519152808380099150808283098181820990508181840992508183850993508184840992508183840990508181820982818309905082818209905082818209905082818309915082828609945082858609915082828309915082828509935082848509915082828309915082828309915082828509915082828609945082858609915082828309915082828309915082828609915082828509935082848609945082858609915082828309915082828509935082848509915082828309905082818209905082818209905082818309915082828609945082858509935082848509915082828309915082828309915082828609945082858609915082828309915082828609915082828309915082828309915082828609915082828509935082848509915082828309905082818209905082818309905082818509905082818209905082818209905082818209905082818209905082818309915082828609945082858609915082828609915082828509935082848509915082828509915082828309915082828309905082818309905082818209838182099050838182099050838182099050838182099050838183099150508281830991508282860994508285850993508284850991508282860994508285850993508284860994508285850993508284860994508285860991508282860991508282830991508282850993508284850991508282830991508282860994508285850993508284850991508282850991508282860994508285850993508284860994508285850993508284850991508282830991508282850991508282860994508285860991508282860991508282850993508284860994508285850993508284860994508285850993508284850991508282850991508282830991508282860994508285850993508284850991508282850991508282830991508282860994508285860991508282830990508281820990508281830990508281860990508281820990508281820990508281820990508281820990508281830991508282850993508284860994508285850993508284860994508285860991508282860991508282830991508282830991508282830991508282860991508282850993508284850991508282850991508282830991508282860994508285860991508282860991508282850993508284860994508285860991508282830991508282850993508284860994508285860991508282850993508284860994508285850993508284850991508282850991508282860994508285850993508284850991508282850991508282830991508282830991508282860994508285860991508282830991508282830991508282860991508282850993508284860994508285860991508282860990508281820990508281820990508281830991508282850993508284850991508282860994508285850993508284860994508285850993508284860994508285850993508284850991508282850990508281850991508282830991508282830991508282820991505081818509935081848409925081838509935081848409925081838509935081848509905081818509905081818409925050808284099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808383099392505050565b600081836136b15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561367657818101518382015260200161365e565b50505050905090810190601f1680156136a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816136bd57fe5b0495945050505050565b600081848411156137195760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561367657818101518382015260200161365e565b505050900390565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611580575050151592915050565b828054828255906000526020600020908101928215613795579160200282015b8281111561379557825182559160200191906001019061377a565b506137a19291506137a5565b5090565b6137bf91905b808211156137a157600081556001016137ab565b9056fe726573756c7420666f7220636f6e646974696f6e206e6f7420726563656976656420796574455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373636f756c64206e6f74207472616e73666572207061796f757420746f206d6573736167652073656e646572455243313135353a207461726765742061646472657373206d757374206265206e6f6e2d7a65726f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47455243313135353a20676f7420756e6b6e6f776e2076616c75652066726f6d206f6e4552433131353542617463685265636569766564636f756c64206e6f74207265636569766520636f6c6c61746572616c20746f6b656e73455243313135353a20736f6d65206164647265737320696e2062617463682062616c616e6365207175657279206973207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77455243313135353a206f776e65727320616e6420494473206d75737420686176652073616d65206c656e67746873455243313135353a2049447320616e642076616c756573206d75737420686176652073616d65206c656e67746873455243313135353a206e656564206f70657261746f7220617070726f76616c20666f7220337264207061727479207472616e73666572732e74686572652073686f756c64206265206d6f7265207468616e206f6e65206f7574636f6d6520736c6f74455243313135353a206261746368206d696e7420746f20746865207a65726f2061646472657373455243313135353a206d696e7420746f20746865207a65726f2061646472657373455243313135353a20676f7420756e6b6e6f776e2076616c75652066726f6d206f6e455243313135355265636569766564a265627a7a723058202c7e936166934c63d19c03f53a032984389e044f899646c13d35d11d4a84367664736f6c634300050a0032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101155760003560e01c8063856296f7116100a2578063d42dc0c211610071578063d42dc0c21461071a578063d96ee75414610737578063dd34de6714610769578063e985e9c514610786578063f242432a146107b457610115565b8063856296f7146105c45780639e7212ad146105ed578063a22cb46514610677578063c49298ac146106a557610115565b80632eb2c2d6116100e95780632eb2c2d61461024257806339dd7530146103695780634e1273f41461039557806372ce427514610508578063852c6ae21461059257610115565b8062fdd58e1461011a57806301b7037c1461015857806301ffc9a7146101e45780630504c8141461021f575b600080fd5b6101466004803603604081101561013057600080fd5b506001600160a01b038135169060200135610847565b60408051918252519081900360200190f35b6101e26004803603608081101561016e57600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b8111156101a457600080fd5b8201836020820111156101b657600080fd5b803590602001918460208302840111600160201b831117156101d757600080fd5b5090925090506108b9565b005b61020b600480360360208110156101fa57600080fd5b50356001600160e01b031916610c38565b604080519115158252519081900360200190f35b6101466004803603604081101561023557600080fd5b5080359060200135610c57565b6101e2600480360360a081101561025857600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460208302840111600160201b831117156102be57600080fd5b919390929091602081019035600160201b8111156102db57600080fd5b8201836020820111156102ed57600080fd5b803590602001918460208302840111600160201b8311171561030e57600080fd5b919390929091602081019035600160201b81111561032b57600080fd5b82018360208201111561033d57600080fd5b803590602001918460018302840111600160201b8311171561035e57600080fd5b509092509050610c85565b6101466004803603604081101561037f57600080fd5b506001600160a01b038135169060200135611012565b6104b8600480360360408110156103ab57600080fd5b810190602081018135600160201b8111156103c557600080fd5b8201836020820111156103d757600080fd5b803590602001918460208302840111600160201b831117156103f857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561044757600080fd5b82018360208201111561045957600080fd5b803590602001918460208302840111600160201b8311171561047a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611025945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156104f45781810151838201526020016104dc565b505050509050019250505060405180910390f35b6101e2600480360360a081101561051e57600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561055457600080fd5b82018360208201111561056657600080fd5b803590602001918460208302840111600160201b8311171561058757600080fd5b91935091503561118c565b610146600480360360608110156105a857600080fd5b506001600160a01b038135169060208101359060400135611573565b610146600480360360608110156105da57600080fd5b5080359060208101359060400135611588565b6101e2600480360360a081101561060357600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561063957600080fd5b82018360208201111561064b57600080fd5b803590602001918460208302840111600160201b8311171561066c57600080fd5b919350915035611595565b6101e26004803603604081101561068d57600080fd5b506001600160a01b038135169060200135151561198c565b6101e2600480360360408110156106bb57600080fd5b81359190810190604081016020820135600160201b8111156106dc57600080fd5b8201836020820111156106ee57600080fd5b803590602001918460208302840111600160201b8311171561070f57600080fd5b5090925090506119fa565b6101466004803603602081101561073057600080fd5b5035611ce4565b6101e26004803603606081101561074d57600080fd5b506001600160a01b038135169060208101359060400135611cf6565b6101466004803603602081101561077f57600080fd5b5035611e8e565b61020b6004803603604081101561079c57600080fd5b506001600160a01b0381358116916020013516611ea0565b6101e2600480360360a08110156107ca57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561080957600080fd5b82018360208201111561081b57600080fd5b803590602001918460018302840111600160201b8311171561083c57600080fd5b509092509050611ece565b60006001600160a01b03831661088e5760405162461bcd60e51b815260040180806020018281038252602b8152602001806137e8602b913960400191505060405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b600083815260046020526040902054806109045760405162461bcd60e51b81526004018080602001828103825260258152602001806137c36025913960400191505060405180910390fd5b60008481526003602052604090205480610962576040805162461bcd60e51b815260206004820152601a60248201527918dbdb991a5d1a5bdb881b9bdd081c1c995c185c9959081e595d60321b604482015290519081900360640190fd5b60006000196001831b01815b85811015610aba57600087878381811061098457fe5b90506020020135905060008111801561099c57508281105b6109e5576040805162461bcd60e51b815260206004820152601560248201527419dbdd081a5b9d985b1a59081a5b99195e081cd95d605a1b604482015290519081900360640190fd5b60006109fb8c6109f68d8d866120aa565b6123d9565b90506000805b87811015610a58576001811b841615610a505760008c81526003602052604090208054610a4d919083908110610a3357fe5b90600052602060002001548361241d90919063ffffffff16565b91505b600101610a01565b506000610a653384610847565b90508015610aaa57610a9d610a908a610a84848663ffffffff61247716565b9063ffffffff6124d016565b889063ffffffff61241d16565b9650610aaa338483612512565b50506001909201915061096e9050565b508115610ba55787610b81576040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b038b169163a9059cbb9160448083019260209291908290030181600087803b158015610b1557600080fd5b505af1158015610b29573d6000803e3d6000fd5b505050506040513d6020811015610b3f57600080fd5b5051610b7c5760405162461bcd60e51b815260040180806020018281038252602b815260200180613813602b913960400191505060405180910390fd5b610ba5565b610ba533610b8f8b8b6123d9565b84604051806020016040528060008152506125ad565b87896001600160a01b0316336001600160a01b03167f2682012a4a4f1973119f1c9b90745d1bd91fa2bab387344f044cb3586864d18d8a8a8a8860405180858152602001806020018381526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a4505050505050505050565b6001600160e01b03191660009081526020819052604090205460ff1690565b60036020528160005260406000208181548110610c7057fe5b90600052602060002001600091509150505481565b848314610cc35760405162461bcd60e51b815260040180806020018281038252602e815260200180613962602e913960400191505060405180910390fd5b6001600160a01b038716610d085760405162461bcd60e51b815260040180806020018281038252602881526020018061383e6028913960400191505060405180910390fd5b6001600160a01b038816331480610d4757506001600160a01b038816600090815260026020908152604080832033845290915290205460ff1615156001145b610d825760405162461bcd60e51b81526004018080602001828103825260388152602001806139906038913960400191505060405180910390fd5b60005b85811015610eb2576000878783818110610d9b57fe5b9050602002013590506000868684818110610db257fe5b905060200201359050610e04816001600085815260200190815260200160002060008e6001600160a01b03166001600160a01b031681526020019081526020016000205461269b90919063ffffffff16565b6001600084815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002081905550610e876001600084815260200190815260200160002060008c6001600160a01b03166001600160a01b03168152602001908152602001600020548261241d90919063ffffffff16565b60009283526001602081815260408086206001600160a01b038f168752909152909320555001610d85565b50866001600160a01b0316886001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb898989896040518080602001806020018381038352878782818152602001925060200280828437600083820152601f01601f19169091018481038352858152602090810191508690860280828437600083820152604051601f909101601f19169092018290039850909650505050505050a461100833898989898080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808d0282810182019093528c82529093508c92508b91829185019084908082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a91508990819084018382808284376000920191909152506126dd92505050565b5050505050505050565b600061101e83836123d9565b9392505050565b606081518351146110675760405162461bcd60e51b815260040180806020018281038252602e815260200180613934602e913960400191505060405180910390fd5b60608351604051908082528060200260200182016040528015611094578160200160208202803883390190505b50905060005b84518110156111845760006001600160a01b03168582815181106110ba57fe5b60200260200101516001600160a01b031614156111085760405162461bcd60e51b81526004018080602001828103825260348152602001806138df6034913960400191505060405180910390fd5b6001600085838151811061111857fe5b60200260200101518152602001908152602001600020600086838151811061113c57fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205482828151811061117157fe5b602090810291909101015260010161109a565b509392505050565b600182116111e1576040805162461bcd60e51b815260206004820181905260248201527f676f7420656d707479206f722073696e676c65746f6e20706172746974696f6e604482015290519081900360640190fd5b6000848152600360205260409020548061123f576040805162461bcd60e51b815260206004820152601a60248201527918dbdb991a5d1a5bdb881b9bdd081c1c995c185c9959081e595d60321b604482015290519081900360640190fd5b6040805184815260208086028201019091526000196001831b01908190606090868015611276578160200160208202803883390190505b5090506060878790506040519080825280602002602001820160405280156112a8578160200160208202803883390190505b50905060005b878110156113c05760008989838181106112c457fe5b9050602002013590506000811180156112dc57508581105b611325576040805162461bcd60e51b815260206004820152601560248201527419dbdd081a5b9d985b1a59081a5b99195e081cd95d605a1b604482015290519081900360640190fd5b8085821614611374576040805162461bcd60e51b81526020600482015260166024820152751c185c9d1a5d1a5bdb881b9bdd08191a5cda9bda5b9d60521b604482015290519081900360640190fd5b938418936113878d6109f68e8e856120aa565b84838151811061139357fe5b602002602001018181525050878383815181106113ac57fe5b6020908102919091010152506001016112ae565b50826114a5578961148c57604080516323b872dd60e01b81523360048201523060248201526044810188905290516001600160a01b038d16916323b872dd9160648083019260209291908290030181600087803b15801561142057600080fd5b505af1158015611434573d6000803e3d6000fd5b505050506040513d602081101561144a57600080fd5b50516114875760405162461bcd60e51b81526004018080602001828103825260238152602001806138bc6023913960400191505060405180910390fd5b6114a0565b6114a03361149a8d8d6123d9565b88612512565b6114ba565b6114ba3361149a8d6109f68e8e898b186120aa565b6114d5338383604051806020016040528060008152506128ba565b888a336001600160a01b03167f2e6bb91f8cbcda0c93623c54d0403a43514fabc40084ec96b6d5379a747862988e8c8c8c60405180856001600160a01b03166001600160a01b03168152602001806020018381526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a45050505050505050505050565b6000611580848484612aed565b949350505050565b60006115808484846120aa565b600182116115ea576040805162461bcd60e51b815260206004820181905260248201527f676f7420656d707479206f722073696e676c65746f6e20706172746974696f6e604482015290519081900360640190fd5b60008481526003602052604090205480611648576040805162461bcd60e51b815260206004820152601a60248201527918dbdb991a5d1a5bdb881b9bdd081c1c995c185c9959081e595d60321b604482015290519081900360640190fd5b6040805184815260208086028201019091526000196001831b0190819060609086801561167f578160200160208202803883390190505b5090506060878790506040519080825280602002602001820160405280156116b1578160200160208202803883390190505b50905060005b878110156117c95760008989838181106116cd57fe5b9050602002013590506000811180156116e557508581105b61172e576040805162461bcd60e51b815260206004820152601560248201527419dbdd081a5b9d985b1a59081a5b99195e081cd95d605a1b604482015290519081900360640190fd5b808582161461177d576040805162461bcd60e51b81526020600482015260166024820152751c185c9d1a5d1a5bdb881b9bdd08191a5cda9bda5b9d60521b604482015290519081900360640190fd5b938418936117908d6109f68e8e856120aa565b84838151811061179c57fe5b602002602001018181525050878383815181106117b557fe5b6020908102919091010152506001016116b7565b506117d5338383612b3a565b826118d957896118b0576040805163a9059cbb60e01b81523360048201526024810188905290516001600160a01b038d169163a9059cbb9160448083019260209291908290030181600087803b15801561182e57600080fd5b505af1158015611842573d6000803e3d6000fd5b505050506040513d602081101561185857600080fd5b50516118ab576040805162461bcd60e51b815260206004820181905260248201527f636f756c64206e6f742073656e6420636f6c6c61746572616c20746f6b656e73604482015290519081900360640190fd5b6118d4565b6118d4336118be8d8d6123d9565b88604051806020016040528060008152506125ad565b6118ee565b6118ee336118be8d6109f68e8e898b186120aa565b888a336001600160a01b03167f6f13ca62553fcc2bcd2372180a43949c1e4cebba603901ede2f4e14f36b282ca8e8c8c8c60405180856001600160a01b03166001600160a01b03168152602001806020018381526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a45050505050505050505050565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b8060018111611a3a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806139c8602a913960400191505060405180910390fd5b6000611a47338684612aed565b6000818152600360205260409020549091508214611aac576040805162461bcd60e51b815260206004820152601f60248201527f636f6e646974696f6e206e6f74207072657061726564206f7220666f756e6400604482015290519081900360640190fd5b60008181526004602052604090205415611b0d576040805162461bcd60e51b815260206004820152601e60248201527f7061796f75742064656e6f6d696e61746f7220616c7265616479207365740000604482015290519081900360640190fd5b6000805b83811015611bf2576000868683818110611b2757fe5b905060200201359050611b43818461241d90919063ffffffff16565b600085815260036020526040902080549194509083908110611b6157fe5b9060005260206000200154600014611bc0576040805162461bcd60e51b815260206004820152601c60248201527f7061796f7574206e756d657261746f7220616c72656164792073657400000000604482015290519081900360640190fd5b6000848152600360205260409020805482919084908110611bdd57fe5b60009182526020909120015550600101611b11565b5060008111611c3f576040805162461bcd60e51b81526020600482015260146024820152737061796f757420697320616c6c207a65726f657360601b604482015290519081900360640190fd5b60008281526004602090815260408083208490556003825291829020825186815291820183815281549383018490528993339387937fb44d84d3289691f71497564b85d4233648d9dbae8cbdbb4329f301c3a0185894938a93919291606083019084908015611ccd57602002820191906000526020600020905b815481526020019060010190808311611cb9575b5050935050505060405180910390a4505050505050565b60009081526003602052604090205490565b610100811115611d46576040805162461bcd60e51b8152602060048201526016602482015275746f6f206d616e79206f7574636f6d6520736c6f747360501b604482015290519081900360640190fd5b60018111611d855760405162461bcd60e51b815260040180806020018281038252602a8152602001806139c8602a913960400191505060405180910390fd5b6000611d92848484612aed565b60008181526003602052604090205490915015611df6576040805162461bcd60e51b815260206004820152601a60248201527f636f6e646974696f6e20616c7265616479207072657061726564000000000000604482015290519081900360640190fd5b81604051908082528060200260200182016040528015611e20578160200160208202803883390190505b5060008281526003602090815260409091208251611e44939192919091019061375a565b5082846001600160a01b0316827fab3760c3bd2bb38b5bcf54dc79802ed67338b4cf29f3054ded67ed24661e4177856040518082815260200191505060405180910390a450505050565b60046020526000908152604090205481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6001600160a01b038516611f135760405162461bcd60e51b815260040180806020018281038252602881526020018061383e6028913960400191505060405180910390fd5b6001600160a01b038616331480611f5257506001600160a01b038616600090815260026020908152604080832033845290915290205460ff1615156001145b611f8d5760405162461bcd60e51b81526004018080602001828103825260388152602001806139906038913960400191505060405180910390fd5b60008481526001602090815260408083206001600160a01b038a168452909152902054611fc0908463ffffffff61269b16565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054611ff890849061241d565b60008581526001602090815260408083206001600160a01b03808b16808652918452938290209490945580518881529182018790528051928a169233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a46120a2338787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612d1e92505050565b505050505050565b6040805160208082018590528183018490528251808303840181526060909201909252805191012060009060ff81901c151582805b600080516020613866833981519152600185089350600080516020613866833981519152600360008051602061386683398151915280878809870908905061212681612e80565b91508060008051602061386683398151915283840914156120df5782801561214f575060028206155b806121665750821580156121665750600282066001145b1561217f57816000805160206138668339815191520391505b8780156123b65760fe81901c151593506001600160fe1b0316600080516020613866833981519152600360008051602061386683398151915280848509840908915060006121cc83612e80565b90508480156121dc575060028106155b806121f35750841580156121f35750600281066001145b1561220957600080516020613866833981519152035b826000805160206138668339815191528283091461226e576040805162461bcd60e51b815260206004820152601c60248201527f696e76616c696420706172656e7420636f6c6c656374696f6e20494400000000604482015290519081900360640190fd5b6000606060066001600160a01b031688878686604051602001808581526020018481526020018381526020018281526020019450505050506040516020818303038152906040526040518082805190602001908083835b602083106122e45780518252601f1990920191602091820191016122c5565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114612344576040519150601f19603f3d011682016040523d82523d6000602084013e612349565b606091505b50915091508161238f576040805162461bcd60e51b815260206004820152600c60248201526b1958d859190819985a5b195960a21b604482015290519081900360640190fd5b8080602001905160408110156123a457600080fd5b50805160209091015190985095505050505b60028306600114156123cc57600160fe1b851894505b5092979650505050505050565b6040805160609390931b6bffffffffffffffffffffffff19166020808501919091526034808501939093528151808503909301835260549093019052805191012090565b60008282018381101561101e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082612486575060006108b3565b8282028284828161249357fe5b041461101e5760405162461bcd60e51b81526004018080602001828103825260218152602001806139136021913960400191505060405180910390fd5b600061101e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613625565b60008281526001602090815260408083206001600160a01b0387168452909152902054612545908263ffffffff61269b16565b60008381526001602090815260408083206001600160a01b038816808552908352818420949094558051868152918201859052805192939233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a4505050565b6001600160a01b0384166125f25760405162461bcd60e51b8152600401808060200182810382526021815260200180613a196021913960400191505060405180910390fd5b60008381526001602090815260408083206001600160a01b038816845290915290205461262690839063ffffffff61241d16565b60008481526001602090815260408083206001600160a01b038916808552908352818420949094558051878152918201869052805133927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a461269533600086868686612d1e565b50505050565b600061101e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506136c7565b6126ef846001600160a01b0316613721565b156120a25760405163bc197c8160e01b8082526001600160a01b0388811660048401908152888216602485015260a060448501908152875160a4860152875193949289169363bc197c81938c938c938b938b938b9392916064820191608481019160c4909101906020808a01910280838360005b8381101561277b578181015183820152602001612763565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156127ba5781810151838201526020016127a2565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156127f65781810151838201526020016127de565b50505050905090810190601f1680156128235780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15801561284857600080fd5b505af115801561285c573d6000803e3d6000fd5b505050506040513d602081101561287257600080fd5b50516001600160e01b031916146120a25760405162461bcd60e51b81526004018080602001828103825260368152602001806138866036913960400191505060405180910390fd5b6001600160a01b0384166128ff5760405162461bcd60e51b81526004018080602001828103825260278152602001806139f26027913960400191505060405180910390fd5b815183511461293f5760405162461bcd60e51b815260040180806020018281038252602e815260200180613962602e913960400191505060405180910390fd5b60005b8351811015612a03576129ba6001600086848151811061295e57fe5b602002602001015181526020019081526020016000206000876001600160a01b03166001600160a01b03168152602001908152602001600020548483815181106129a457fe5b602002602001015161241d90919063ffffffff16565b600160008684815181106129ca57fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b038a168252909252902055600101612942565b50836001600160a01b031660006001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612a8a578181015183820152602001612a72565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612ac9578181015183820152602001612ab1565b5050505090500194505050505060405180910390a4612695336000868686866126dd565b6040805160609490941b6bffffffffffffffffffffffff19166020808601919091526034850193909352605480850192909252805180850390920182526074909301909252815191012090565b8051825114612b7a5760405162461bcd60e51b815260040180806020018281038252602e815260200180613962602e913960400191505060405180910390fd5b60005b8251811015612c3e57612bf5828281518110612b9557fe5b602002602001015160016000868581518110612bad57fe5b602002602001015181526020019081526020016000206000876001600160a01b03166001600160a01b031681526020019081526020016000205461269b90919063ffffffff16565b60016000858481518110612c0557fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b0389168252909252902055600101612b7d565b5060006001600160a01b0316836001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612cc5578181015183820152602001612cad565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612d04578181015183820152602001612cec565b5050505090500194505050505060405180910390a4505050565b612d30846001600160a01b0316613721565b156120a25760405163f23a6e6160e01b8082526001600160a01b03888116600484019081528882166024850152604484018790526064840186905260a060848501908152855160a4860152855193949289169363f23a6e61938c938c938b938b938b93929160c490910190602085019080838360005b83811015612dbe578181015183820152602001612da6565b50505050905090810190601f168015612deb5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015612e0e57600080fd5b505af1158015612e22573d6000803e3d6000fd5b505050506040513d6020811015612e3857600080fd5b50516001600160e01b031916146120a25760405162461bcd60e51b8152600401808060200182810382526031815260200180613a3a6031913960400191505060405180910390fd5b6000600080516020613866833981519152808380099150808283098181820990508181840992508183850993508184840992508183840990508181820982818309905082818209905082818209905082818309915082828609945082858609915082828309915082828509935082848509915082828309915082828309915082828509915082828609945082858609915082828309915082828309915082828609915082828509935082848609945082858609915082828309915082828509935082848509915082828309905082818209905082818209905082818309915082828609945082858509935082848509915082828309915082828309915082828609945082858609915082828309915082828609915082828309915082828309915082828609915082828509935082848509915082828309905082818209905082818309905082818509905082818209905082818209905082818209905082818209905082818309915082828609945082858609915082828609915082828509935082848509915082828509915082828309915082828309905082818309905082818209838182099050838182099050838182099050838182099050838183099150508281830991508282860994508285850993508284850991508282860994508285850993508284860994508285850993508284860994508285860991508282860991508282830991508282850993508284850991508282830991508282860994508285850993508284850991508282850991508282860994508285850993508284860994508285850993508284850991508282830991508282850991508282860994508285860991508282860991508282850993508284860994508285850993508284860994508285850993508284850991508282850991508282830991508282860994508285850993508284850991508282850991508282830991508282860994508285860991508282830990508281820990508281830990508281860990508281820990508281820990508281820990508281820990508281830991508282850993508284860994508285850993508284860994508285860991508282860991508282830991508282830991508282830991508282860991508282850993508284850991508282850991508282830991508282860994508285860991508282860991508282850993508284860994508285860991508282830991508282850993508284860994508285860991508282850993508284860994508285850993508284850991508282850991508282860994508285850993508284850991508282850991508282830991508282830991508282860994508285860991508282830991508282830991508282860991508282850993508284860994508285860991508282860990508281820990508281820990508281830991508282850993508284850991508282860994508285850993508284860994508285850993508284860994508285850993508284850991508282850990508281850991508282830991508282830991508282820991505081818509935081848409925081838509935081848409925081838509935081848509905081818509905081818409925050808284099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808384099250808383099392505050565b600081836136b15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561367657818101518382015260200161365e565b50505050905090810190601f1680156136a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816136bd57fe5b0495945050505050565b600081848411156137195760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561367657818101518382015260200161365e565b505050900390565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611580575050151592915050565b828054828255906000526020600020908101928215613795579160200282015b8281111561379557825182559160200191906001019061377a565b506137a19291506137a5565b5090565b6137bf91905b808211156137a157600081556001016137ab565b9056fe726573756c7420666f7220636f6e646974696f6e206e6f7420726563656976656420796574455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373636f756c64206e6f74207472616e73666572207061796f757420746f206d6573736167652073656e646572455243313135353a207461726765742061646472657373206d757374206265206e6f6e2d7a65726f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47455243313135353a20676f7420756e6b6e6f776e2076616c75652066726f6d206f6e4552433131353542617463685265636569766564636f756c64206e6f74207265636569766520636f6c6c61746572616c20746f6b656e73455243313135353a20736f6d65206164647265737320696e2062617463682062616c616e6365207175657279206973207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77455243313135353a206f776e65727320616e6420494473206d75737420686176652073616d65206c656e67746873455243313135353a2049447320616e642076616c756573206d75737420686176652073616d65206c656e67746873455243313135353a206e656564206f70657261746f7220617070726f76616c20666f7220337264207061727479207472616e73666572732e74686572652073686f756c64206265206d6f7265207468616e206f6e65206f7574636f6d6520736c6f74455243313135353a206261746368206d696e7420746f20746865207a65726f2061646472657373455243313135353a206d696e7420746f20746865207a65726f2061646472657373455243313135353a20676f7420756e6b6e6f776e2076616c75652066726f6d206f6e455243313135355265636569766564a265627a7a723058202c7e936166934c63d19c03f53a032984389e044f899646c13d35d11d4a84367664736f6c634300050a0032

Deployed Bytecode Sourcemap

47041:15841:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47041:15841:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38095:208;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38095:208:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;58817:1894;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;58817:1894:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;58817:1894:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;58817:1894:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;58817:1894:0;;-1:-1:-1;58817:1894:0;-1:-1:-1;58817:1894:0;:::i;:::-;;27410:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27410:135:0;-1:-1:-1;;;;;;27410:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;49479:50;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49479:50:0;;;;;;;:::i;41975:998::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;41975:998:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;41975:998:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41975:998:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;41975:998:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;41975:998:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41975:998:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;41975:998:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;41975:998:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41975:998:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;41975:998:0;;-1:-1:-1;41975:998:0;-1:-1:-1;41975:998:0;:::i;62701:178::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;62701:178:0;;;;;;;;:::i;38546:612::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;38546:612:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;38546:612:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38546:612:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;38546:612:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;38546:612:0;;;;;;;;-1:-1:-1;38546:612:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;38546:612:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38546:612:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;38546:612:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;38546:612:0;;-1:-1:-1;38546:612:0;;-1:-1:-1;;;;;38546:612:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;38546:612:0;;;;;;;;;;;;;;;;;53891:2782;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;53891:2782:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;53891:2782:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;53891:2782:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;53891:2782:0;;-1:-1:-1;53891:2782:0;-1:-1:-1;53891:2782:0;;:::i;61513:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;61513:203:0;;;;;;;;;;;;;:::i;62167:215::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;62167:215:0;;;;;;;;;;;;:::i;56681:2128::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;56681:2128:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;56681:2128:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56681:2128:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;56681:2128:0;;-1:-1:-1;56681:2128:0;-1:-1:-1;56681:2128:0;;:::i;39455:201::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39455:201:0;;;;;;;;;;:::i;51402:1140::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;51402:1140:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;51402:1140:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;51402:1140:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;51402:1140:0;;-1:-1:-1;51402:1140:0;-1:-1:-1;51402:1140:0;:::i;60944:141::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60944:141:0;;:::i;50163:689::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;50163:689:0;;;;;;;;;;;;;:::i;49689:49::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49689:49:0;;:::i;39941:149::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39941:149:0;;;;;;;;;;:::i;40656:717::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;40656:717:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;40656:717:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40656:717:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;40656:717:0;;-1:-1:-1;40656:717:0;-1:-1:-1;40656:717:0;:::i;38095:208::-;38162:7;-1:-1:-1;;;;;38190:19:0;;38182:75;;;;-1:-1:-1;;;38182:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38275:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;38275:20:0;;;;;;;;;;38095:208;;;;;:::o;58817:1894::-;58962:8;58973:30;;;:17;:30;;;;;;59022:7;59014:57;;;;-1:-1:-1;;;59014:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59082:21;59106:29;;;:16;:29;;;;;:36;59161:20;59153:59;;;;;-1:-1:-1;;;59153:59:0;;;;;;;;;;;;-1:-1:-1;;;59153:59:0;;;;;;;;;;;;;;;59225:16;-1:-1:-1;;59304:1:0;59279:21;;59278:27;59225:16;59316:896;59333:20;;;59316:896;;;59375:13;59391:9;;59401:1;59391:12;;;;;;;;;;;;;59375:28;;59437:1;59426:8;:12;:39;;;;;59453:12;59442:8;:23;59426:39;59418:73;;;;;-1:-1:-1;;;59418:73:0;;;;;;;;;;;;-1:-1:-1;;;59418:73:0;;;;;;;;;;;;;;;59506:15;59524:127;59548:15;59582:68;59608:18;59628:11;59641:8;59582:25;:68::i;:::-;59524:23;:127::i;:::-;59506:145;-1:-1:-1;59668:20:0;;59707:222;59728:16;59724:1;:20;59707:222;;;59786:1;:6;;59774:19;;:24;59770:144;;59861:29;;;;:16;:29;;;;;:32;;59841:53;;59861:29;59891:1;;59861:32;;;;;;;;;;;;;;59841:15;:19;;:53;;;;:::i;:::-;59823:71;;59770:144;59746:3;;59707:222;;;;59945:16;59964:33;59974:10;59986;59964:9;:33::i;:::-;59945:52;-1:-1:-1;60016:15:0;;60012:189;;60066:58;60082:41;60119:3;60082:32;:11;60098:15;60082:32;:15;:32;:::i;:::-;:36;:41;:36;:41;:::i;:::-;60066:11;;:58;:15;:58;:::i;:::-;60052:72;;60143:42;60149:10;60161;60173:11;60143:5;:42::i;:::-;-1:-1:-1;;59355:3:0;;;;;-1:-1:-1;59316:896:0;;-1:-1:-1;59316:896:0;;-1:-1:-1;60228:15:0;;60224:362;;60264:32;60260:315;;60325:49;;;-1:-1:-1;;;60325:49:0;;60350:10;60325:49;;;;;;;;;;;;-1:-1:-1;;;;;60325:24:0;;;;;:49;;;;;;;;;;;;;;-1:-1:-1;60325:24:0;:49;;;5:2:-1;;;;30:1;27;20:12;5:2;60325:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60325:49:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60325:49:0;60317:105;;;;-1:-1:-1;;;60317:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60260:315;;;60463:96;60469:10;60481:60;60505:15;60522:18;60481:23;:60::i;:::-;60543:11;60463:96;;;;;;;;;;;;:5;:96::i;:::-;60647:18;60630:15;-1:-1:-1;;;;;60601:102:0;60618:10;-1:-1:-1;;;;;60601:102:0;;60667:11;60680:9;;60691:11;60601:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;60601:102:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;60601:102:0;;;;-1:-1:-1;60601:102:0;;-1:-1:-1;;;;;;60601:102:0;58817:1894;;;;;;;;;:::o;27410:135::-;-1:-1:-1;;;;;;27504:33:0;27480:4;27504:33;;;;;;;;;;;;;;27410:135::o;49479:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41975:998::-;42198:27;;;42190:86;;;;-1:-1:-1;;;42190:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42295:16:0;;42287:69;;;;-1:-1:-1;;;42287:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42389:18:0;;42397:10;42389:18;;:66;;-1:-1:-1;;;;;;42411:24:0;;;;;;:18;:24;;;;;;;;42436:10;42411:36;;;;;;;;;;:44;;:36;:44;42389:66;42367:172;;;;-1:-1:-1;;;42367:172:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42557:9;42552:259;42572:14;;;42552:259;;;42608:10;42621:3;;42625:1;42621:6;;;;;;;;;;;;;42608:19;;42642:13;42658:6;;42665:1;42658:9;;;;;;;;;;;;;42642:25;;42706:30;42730:5;42706:9;:13;42716:2;42706:13;;;;;;;;;;;:19;42720:4;-1:-1:-1;;;;;42706:19:0;-1:-1:-1;;;;;42706:19:0;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;42684:9;:13;42694:2;42684:13;;;;;;;;;;;:19;42698:4;-1:-1:-1;;;;;42684:19:0;-1:-1:-1;;;;;42684:19:0;;;;;;;;;;;;:52;;;;42771:28;42781:9;:13;42791:2;42781:13;;;;;;;;;;;:17;42795:2;-1:-1:-1;;;;;42781:17:0;-1:-1:-1;;;;;42781:17:0;;;;;;;;;;;;;42771:5;:9;;:28;;;;:::i;:::-;42751:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;42751:17:0;;;;;;;;;;:48;-1:-1:-1;42588:3:0;42552:259;;;;42860:2;-1:-1:-1;;;;;42828:48:0;42854:4;-1:-1:-1;;;;;42828:48:0;42842:10;-1:-1:-1;;;;;42828:48:0;;42864:3;;42869:6;;42828:48;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;137:4;117:14;-1:-1;;113:30;157:16;;;42828:48:0;;;;;;;;;;;;;-1:-1:-1;42828:48:0;;;;;;;1:33:-1;99:1;81:16;;;74:27;42828:48:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;42828:48:0;;;;-1:-1:-1;42828:48:0;;-1:-1:-1;;;;;;;42828:48:0;42889:76;42925:10;42937:4;42943:2;42947:3;;42889:76;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;42889:76:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42952:6:0;;-1:-1:-1;42952:6:0;;;;42889:76;;;42952:6;;42889:76;42952:6;42889:76;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;42889:76:0;;;;137:4:-1;42889:76:0;;;;;;;;;;;;;;;;;;-1:-1:-1;42960:4:0;;-1:-1:-1;42960:4:0;;;;42889:76;;42960:4;;;;42889:76;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;42889:35:0;;-1:-1:-1;;;42889:76:0:i;:::-;41975:998;;;;;;;;:::o;62701:178::-;62793:4;62817:54;62841:15;62858:12;62817:23;:54::i;:::-;62810:61;62701:178;-1:-1:-1;;;62701:178:0:o;38546:612::-;38690:16;38749:3;:10;38732:6;:13;:27;38724:86;;;;-1:-1:-1;;;38724:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38823:30;38870:6;:13;38856:28;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;38856:28:0;-1:-1:-1;38823:61:0;-1:-1:-1;38902:9:0;38897:221;38921:6;:13;38917:1;:17;38897:221;;;38985:1;-1:-1:-1;;;;;38964:23:0;:6;38971:1;38964:9;;;;;;;;;;;;;;-1:-1:-1;;;;;38964:23:0;;;38956:88;;;;-1:-1:-1;;;38956:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39078:9;:17;39088:3;39092:1;39088:6;;;;;;;;;;;;;;39078:17;;;;;;;;;;;:28;39096:6;39103:1;39096:9;;;;;;;;;;;;;;-1:-1:-1;;;;;39078:28:0;-1:-1:-1;;;;;39078:28:0;;;;;;;;;;;;;39059:13;39073:1;39059:16;;;;;;;;;;;;;;;;;:47;38936:3;;38897:221;;;-1:-1:-1;39137:13:0;38546:612;-1:-1:-1;;;38546:612:0:o;53891:2782::-;54126:1;54107:20;;54099:65;;;;;-1:-1:-1;;;54099:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54175:21;54199:29;;;:16;:29;;;;;:36;54254:20;54246:59;;;;;-1:-1:-1;;;54246:59:0;;;;;;;;;;;;-1:-1:-1;;;54246:59:0;;;;;;;;;;;;;;;54707:28;;;;;;;;;;;;;;;;-1:-1:-1;;54453:1:0;54428:21;;54427:27;;;;54679:25;;54718:9;54707:28;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;54707:28:0;;54679:56;;54746:21;54781:9;;:16;;54770:28;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;54770:28:0;-1:-1:-1;54746:52:0;-1:-1:-1;54814:6:0;54809:489;54826:20;;;54809:489;;;54868:13;54884:9;;54894:1;54884:12;;;;;;;;;;;;;54868:28;;54930:1;54919:8;:12;:39;;;;;54946:12;54935:8;:23;54919:39;54911:73;;;;;-1:-1:-1;;;54911:73:0;;;;;;;;;;;;-1:-1:-1;;;54911:73:0;;;;;;;;;;;;;;;55036:8;55019:12;55008:8;:23;55007:37;54999:72;;;;;-1:-1:-1;;;54999:72:0;;;;;;;;;;;;-1:-1:-1;;;54999:72:0;;;;;;;;;;;;;;;55086:24;;;;55142:110;55166:15;55183:68;55209:18;55229:11;55102:8;55183:25;:68::i;55142:110::-;55125:11;55137:1;55125:14;;;;;;;;;;;;;:127;;;;;55280:6;55267:7;55275:1;55267:10;;;;;;;;;;;;;;;;;:19;-1:-1:-1;54848:3:0;;54809:489;;;-1:-1:-1;55314:17:0;55310:1069;;55439:32;55435:394;;55500:63;;;-1:-1:-1;;;55500:63:0;;55529:10;55500:63;;;;55549:4;55500:63;;;;;;;;;;;;-1:-1:-1;;;;;55500:28:0;;;;;:63;;;;;;;;;;;;;;-1:-1:-1;55500:28:0;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;55500:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;55500:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55500:63:0;55492:111;;;;-1:-1:-1;;;55492:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55435:394;;;55644:169;55672:10;55705:60;55729:15;55746:18;55705:23;:60::i;:::-;55788:6;55644:5;:169::i;:::-;55310:1069;;;56124:243;56148:10;56177:150;56201:15;56239:87;56265:18;56285:11;56313:12;56298;:27;56239:25;:87::i;56124:243::-;56391:164;56416:10;56494:11;56520:7;56391:164;;;;;;;;;;;;:10;:164::i;:::-;56634:11;56614:18;56585:10;-1:-1:-1;;;;;56571:94:0;;56597:15;56647:9;;56658:6;56571:94;;;;-1:-1:-1;;;;;56571:94:0;-1:-1:-1;;;;;56571:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;56571:94:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;56571:94:0;;;;-1:-1:-1;56571:94:0;;-1:-1:-1;;;;;;56571:94:0;53891:2782;;;;;;;;;;;:::o;61513:203::-;61619:7;61646:62;61671:6;61679:10;61691:16;61646:24;:62::i;:::-;61639:69;61513:203;-1:-1:-1;;;;61513:203:0:o;62167:215::-;62279:7;62306:68;62332:18;62352:11;62365:8;62306:25;:68::i;56681:2128::-;56917:1;56898:20;;56890:65;;;;;-1:-1:-1;;;56890:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56966:21;56990:29;;;:16;:29;;;;;:36;57045:20;57037:59;;;;;-1:-1:-1;;;57037:59:0;;;;;;;;;;;;-1:-1:-1;;;57037:59:0;;;;;;;;;;;;;;;57238:28;;;;;;;;;;;;;;;;-1:-1:-1;;57155:1:0;57130:21;;57129:27;;;;57210:25;;57249:9;57238:28;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;57238:28:0;;57210:56;;57277:21;57312:9;;:16;;57301:28;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;57301:28:0;-1:-1:-1;57277:52:0;-1:-1:-1;57345:6:0;57340:489;57357:20;;;57340:489;;;57399:13;57415:9;;57425:1;57415:12;;;;;;;;;;;;;57399:28;;57461:1;57450:8;:12;:39;;;;;57477:12;57466:8;:23;57450:39;57442:73;;;;;-1:-1:-1;;;57442:73:0;;;;;;;;;;;;-1:-1:-1;;;57442:73:0;;;;;;;;;;;;;;;57567:8;57550:12;57539:8;:23;57538:37;57530:72;;;;;-1:-1:-1;;;57530:72:0;;;;;;;;;;;;-1:-1:-1;;;57530:72:0;;;;;;;;;;;;;;;57617:24;;;;57673:110;57697:15;57714:68;57740:18;57760:11;57633:8;57714:25;:68::i;57673:110::-;57656:11;57668:1;57656:14;;;;;;;;;;;;;:127;;;;;57811:6;57798:7;57806:1;57798:10;;;;;;;;;;;;;;;;;:19;-1:-1:-1;57379:3:0;;57340:489;;;;57839:94;57864:10;57889:11;57915:7;57839:10;:94::i;:::-;57950:17;57946:743;;57988:32;57984:397;;58049:44;;;-1:-1:-1;;;58049:44:0;;58074:10;58049:44;;;;;;;;;;;;-1:-1:-1;;;;;58049:24:0;;;;;:44;;;;;;;;;;;;;;-1:-1:-1;58049:24:0;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;58049:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;58049:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;58049:44:0;58041:89;;;;;-1:-1:-1;;;58041:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57984:397;;;58171:194;58199:10;58232:60;58256:15;58273:18;58232:23;:60::i;:::-;58315:6;58171:194;;;;;;;;;;;;:5;:194::i;:::-;57946:743;;;58413:264;58437:10;58466:150;58490:15;58528:87;58554:18;58574:11;58602:12;58587;:27;58528:25;:87::i;58413:264::-;58770:11;58750:18;58721:10;-1:-1:-1;;;;;58706:95:0;;58733:15;58783:9;;58794:6;58706:95;;;;-1:-1:-1;;;;;58706:95:0;-1:-1:-1;;;;;58706:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;58706:95:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;58706:95:0;;;;-1:-1:-1;58706:95:0;;-1:-1:-1;;;;;;58706:95:0;56681:2128;;;;;;;;;;;:::o;39455:201::-;39554:10;39535:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;39535:40:0;;;;;;;;;;;;:51;;-1:-1:-1;;39535:51:0;;;;;;;;;;39602:46;;;;;;;39535:40;;39554:10;39602:46;;;;;;;;;;;39455:201;;:::o;51402:1140::-;51514:7;51566:1;51547:20;;51539:75;;;;-1:-1:-1;;;51539:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51719:19;51741:66;51766:10;51778;51790:16;51741:24;:66::i;:::-;51826:29;;;;:16;:29;;;;;:36;51719:88;;-1:-1:-1;51826:56:0;;51818:100;;;;;-1:-1:-1;;;51818:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51937:30;;;;:17;:30;;;;;;:35;51929:78;;;;;-1:-1:-1;;;51929:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52020:8;;52043:273;52064:16;52060:1;:20;52043:273;;;52102:8;52113:7;;52121:1;52113:10;;;;;;;;;;;;;52102:21;;52144:12;52152:3;52144;:7;;:12;;;;:::i;:::-;52181:29;;;;:16;:29;;;;;:32;;52138:18;;-1:-1:-1;52181:29:0;52211:1;;52181:32;;;;;;;;;;;;;;52217:1;52181:37;52173:78;;;;;-1:-1:-1;;;52173:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52266:29;;;;:16;:29;;;;;:32;;52301:3;;52266:29;52296:1;;52266:32;;;;;;;;;;;;;;;:38;-1:-1:-1;52082:3:0;;52043:273;;;;52340:1;52334:3;:7;52326:40;;;;;-1:-1:-1;;;52326:40:0;;;;;;;;;;;;-1:-1:-1;;;52326:40:0;;;;;;;;;;;;;;;52377:30;;;;:17;:30;;;;;;;;:36;;;52504:16;:29;;;;;;52429:105;;;;;;;;;;;;;;;;;;;52474:10;;52462;;52395:11;;52429:105;;52486:16;;52504:29;;52429:105;;;;;52504:29;;52429:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51402:1140;;;;;;:::o;60944:141::-;61017:4;61041:29;;;:16;:29;;;;;:36;;60944:141::o;50163:689::-;50384:3;50364:16;:23;;50356:58;;;;;-1:-1:-1;;;50356:58:0;;;;;;;;;;;;-1:-1:-1;;;50356:58:0;;;;;;;;;;;;;;;50452:1;50433:16;:20;50425:75;;;;-1:-1:-1;;;50425:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50511:19;50533:62;50558:6;50566:10;50578:16;50533:24;:62::i;:::-;50614:29;;;;:16;:29;;;;;:36;50511:84;;-1:-1:-1;50614:41:0;50606:80;;;;;-1:-1:-1;;;50606:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;50740:16;50729:28;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;50729:28:0;-1:-1:-1;50697:29:0;;;;:16;:29;;;;;;;;:60;;;;:29;;:60;;;;;;:::i;:::-;;50815:10;50807:6;-1:-1:-1;;;;;50773:71:0;50794:11;50773:71;50827:16;50773:71;;;;;;;;;;;;;;;;;;50163:689;;;;:::o;49689:49::-;;;;;;;;;;;;;:::o;39941:149::-;-1:-1:-1;;;;;40047:25:0;;;40023:4;40047:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;39941:149::o;40656:717::-;-1:-1:-1;;;;;40850:16:0;;40842:69;;;;-1:-1:-1;;;40842:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40944:18:0;;40952:10;40944:18;;:66;;-1:-1:-1;;;;;;40966:24:0;;;;;;:18;:24;;;;;;;;40991:10;40966:36;;;;;;;;;;:44;;:36;:44;40944:66;40922:172;;;;-1:-1:-1;;;40922:172:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41129:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;41129:19:0;;;;;;;;;;:30;;41153:5;41129:30;:23;:30;:::i;:::-;41107:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;41107:19:0;;;;;;;;;;:52;;;;41200:17;;;;;;41190:28;;:5;;:9;:28::i;:::-;41170:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;41170:17:0;;;;;;;;;;;;;:48;;;;41236:47;;;;;;;;;;;;;;;;;41251:10;;41236:47;;;;;;;;;41296:69;41327:10;41339:4;41345:2;41349;41353:5;41360:4;;41296:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;41296:30:0;;-1:-1:-1;;;41296:69:0:i;:::-;40656:717;;;;;;:::o;20000:1253::-;20157:39;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;6:49;;20157:39:0;;;;;;;20147:50;;;;;20112:7;;20226:3;20220:9;;;:14;;20112:7;;20281:177;-1:-1:-1;;;;;;;;;;;20315:1:0;20311:2;20304:16;20299:21;-1:-1:-1;;;;;;;;;;;;3802:1:0;-1:-1:-1;;;;;;;;;;;3700:77:0;20369:2;20365;20358:17;20354:2;20347:32;20340:46;20335:51;;20406:8;20411:2;20406:4;:8::i;:::-;20401:13;-1:-1:-1;20454:2:0;-1:-1:-1;;;;;;;;;;;20444:2:0;20440;20433:17;:23;;20281:177;;20471:3;:18;;;;-1:-1:-1;20483:1:0;20478:2;:6;:11;20471:18;:41;;;;20494:3;20493:4;:19;;;;-1:-1:-1;20506:1:0;20501:2;:6;20511:1;20501:11;20493:19;20468:70;;;20536:2;-1:-1:-1;;;;;;;;;;;20532:6:0;20527:11;;20468:70;20566:18;20599:7;;20596:563;;20635:3;20629:9;;;:14;;;-1:-1:-1;;;;;;20663:14:0;-1:-1:-1;;;;;;;;;;;3802:1:0;-1:-1:-1;;;;;;;;;;;3700:77:0;20726:2;20722;20715:17;20711:2;20704:32;20697:46;20692:51;;20758:7;20768:8;20773:2;20768:4;:8::i;:::-;20758:18;;20794:3;:18;;;;-1:-1:-1;20806:1:0;20801:2;:6;:11;20794:18;:41;;;;20817:3;20816:4;:19;;;;-1:-1:-1;20829:1:0;20824:2;:6;20834:1;20824:11;20816:19;20791:74;;;-1:-1:-1;;;;;;;;;;;20859:6:0;20791:74;20909:2;-1:-1:-1;;;;;;;;;;;20899:2:0;20895;20888:17;:23;20880:64;;;;;-1:-1:-1;;;20880:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20962:12;20976:16;21004:1;-1:-1:-1;;;;;20996:21:0;21029:2;21033;21037;21041;21018:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;21018:26:0;;;20996:49;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;20996:49:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;20961:84:0;;;;21068:7;21060:32;;;;;-1:-1:-1;;;21060:32:0;;;;;;;;;;;;-1:-1:-1;;;21060:32:0;;;;;;;;;;;;;;;21129:3;21118:29;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21118:29:0;;;;;;;;;-1:-1:-1;21118:29:0;-1:-1:-1;;;;20596:563:0;21179:1;21174:2;:6;21184:1;21174:11;21171:43;;;-1:-1:-1;;;21200:14:0;;;;21171:43;-1:-1:-1;21242:2:0;;20000:1253;-1:-1:-1;;;;;;;20000:1253:0:o;21572:188::-;21703:47;;;;;;;;-1:-1:-1;;21703:47:0;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;21703:47:0;;;;;;21693:58;;;;;;21572:188::o;32178:181::-;32236:7;32268:5;;;32292:6;;;;32284:46;;;;;-1:-1:-1;;;32284:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;33550:471;33608:7;33853:6;33849:47;;-1:-1:-1;33883:1:0;33876:8;;33849:47;33920:5;;;33924:1;33920;:5;:1;33944:5;;;;;:10;33936:56;;;;-1:-1:-1;;;33936:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34489:132;34547:7;34574:39;34578:1;34581;34574:39;;;;;;;;;;;;;;;;;:3;:39::i;44933:211::-;45033:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;45033:20:0;;;;;;;;;;:31;;45058:5;45033:31;:24;:31;:::i;:::-;45010:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;45010:20:0;;;;;;;;;;;:54;;;;45080:56;;;;;;;;;;;;;45010:13;;:20;45095:10;;45080:56;;;;;;;;;44933:211;;;:::o;43328:381::-;-1:-1:-1;;;;;43429:16:0;;43421:62;;;;-1:-1:-1;;;43421:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43526:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;43526:17:0;;;;;;;;;;43516:28;;:5;;:28;:9;:28;:::i;:::-;43496:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;43496:17:0;;;;;;;;;;;:48;;;;43560:53;;;;;;;;;;;;;43575:10;;43560:53;;;;;;;;;43626:75;43657:10;43677:1;43681:2;43685;43689:5;43696:4;43626:30;:75::i;:::-;43328:381;;;;:::o;32634:136::-;32692:7;32719:43;32723:1;32726;32719:43;;;;;;;;;;;;;;;;;:3;:43::i;46394:564::-;46647:15;:2;-1:-1:-1;;;;;46647:13:0;;:15::i;:::-;46644:307;;;46705:83;;-1:-1:-1;;;46705:83:0;;;-1:-1:-1;;;;;46705:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46792:57;;:48;;;;;;46754:8;;46764:4;;46770:3;;46775:6;;46783:4;;46705:83;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;46705:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;46705:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;46705:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46705:83:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46705:83:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46705:83:0;-1:-1:-1;;;;;;46705:144:0;;46679:260;;;;-1:-1:-1;;;46679:260:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44074:594;-1:-1:-1;;;;;44200:16:0;;44192:68;;;;-1:-1:-1;;;44192:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44293:6;:13;44279:3;:10;:27;44271:86;;;;-1:-1:-1;;;44271:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44374:6;44370:124;44390:3;:10;44386:1;:14;44370:124;;;44446:36;44460:9;:17;44470:3;44474:1;44470:6;;;;;;;;;;;;;;44460:17;;;;;;;;;;;:21;44478:2;-1:-1:-1;;;;;44460:21:0;-1:-1:-1;;;;;44460:21:0;;;;;;;;;;;;;44446:6;44453:1;44446:9;;;;;;;;;;;;;;:13;;:36;;;;:::i;:::-;44422:9;:17;44432:3;44436:1;44432:6;;;;;;;;;;;;;;;;;;;44422:17;;;;;;;;;;;;;-1:-1:-1;44422:17:0;;;-1:-1:-1;;;;;44422:21:0;;;;;;;;;:60;44402:3;;44370:124;;;;44549:2;-1:-1:-1;;;;;44511:54:0;44545:1;-1:-1:-1;;;;;44511:54:0;44525:10;-1:-1:-1;;;;;44511:54:0;;44553:3;44558:6;44511:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;44511:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;44511:54:0;;;;;;;;;;;;;;;;;;;44578:82;44614:10;44634:1;44638:2;44642:3;44647:6;44655:4;44578:35;:82::i;3468:206::-;3611:54;;;;;;;;-1:-1:-1;;3611:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;3611:54:0;;;;;;;3601:65;;;;;;3468:206::o;45422:413::-;45546:6;:13;45532:3;:10;:27;45524:86;;;;-1:-1:-1;;;45524:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45627:6;45623:130;45643:3;:10;45639:1;:14;45623:130;;;45702:39;45731:6;45738:1;45731:9;;;;;;;;;;;;;;45702;:17;45712:3;45716:1;45712:6;;;;;;;;;;;;;;45702:17;;;;;;;;;;;:24;45720:5;-1:-1:-1;;;;;45702:24:0;-1:-1:-1;;;;;45702:24:0;;;;;;;;;;;;;:28;;:39;;;;:::i;:::-;45675:9;:17;45685:3;45689:1;45685:6;;;;;;;;;;;;;;;;;;;45675:17;;;;;;;;;;;;;-1:-1:-1;45675:17:0;;;-1:-1:-1;;;;;45675:24:0;;;;;;;;;:66;45655:3;;45623:130;;;;45811:1;-1:-1:-1;;;;;45770:57:0;45796:5;-1:-1:-1;;;;;45770:57:0;45784:10;-1:-1:-1;;;;;45770:57:0;;45815:3;45820:6;45770:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;45770:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;45770:57:0;;;;;;;;;;;;;;;;;;;45422:413;;;:::o;45843:543::-;46071:15;:2;-1:-1:-1;;;;;46071:13:0;;:15::i;:::-;46068:311;;;46129:76;;-1:-1:-1;;;46129:76:0;;;-1:-1:-1;;;;;46129:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46230:52;;:43;;;;;;46173:8;;46183:4;;46189:2;;46193:5;;46200:4;;46129:76;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;46129:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46129:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46129:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46129:76:0;-1:-1:-1;;;;;;46129:153:0;;46103:264;;;;-1:-1:-1;;;46103:264:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3812:15737;3856:6;-1:-1:-1;;;;;;;;;;;3700:77:0;6932:1;;6922:15;6917:20;;6992:1;6989;6986;6979:15;7030:1;7027;7024;7017:15;7012:20;;7068:1;7065;7062;7055:15;7050:20;;7106:1;7103;7100;7093:15;7088:20;;7144:1;7141;7138;7131:15;7126:20;;7182:1;7179;7176;7169:15;7164:20;;7247:1;7244;7241;7234:15;7289:1;7286;7283;7276:15;7271:20;;7331:1;7328;7325;7318:15;7313:20;;7373:1;7370;7367;7360:15;7355:20;;7415:1;7412;7409;7402:15;7397:20;;7457:1;7454;7451;7444:15;7439:20;;7499:1;7496;7493;7486:15;7481:20;;7541:1;7538;7535;7528:15;7523:20;;7583:1;7580;7577;7570:15;7565:20;;7625:1;7622;7619;7612:15;7607:20;;7667:1;7664;7661;7654:15;7649:20;;7709:1;7706;7703;7696:15;7691:20;;7751:1;7748;7745;7738:15;7733:20;;7793:1;7790;7787;7780:15;7775:20;;7835:1;7832;7829;7822:15;7817:20;;7877:1;7874;7871;7864:15;7859:20;;7919:1;7916;7913;7906:15;7901:20;;7961:1;7958;7955;7948:15;7943:20;;8003:1;8000;7997;7990:15;7985:20;;8045:1;8042;8039;8032:15;8027:20;;8087:1;8084;8081;8074:15;8069:20;;8129:1;8126;8123;8116:15;8111:20;;8171:1;8168;8165;8158:15;8153:20;;8213:1;8210;8207;8200:15;8195:20;;8255:1;8252;8249;8242:15;8237:20;;8297:1;8294;8291;8284:15;8279:20;;8339:1;8336;8333;8326:15;8321:20;;8381:1;8378;8375;8368:15;8363:20;;8423:1;8420;8417;8410:15;8405:20;;8465:1;8462;8459;8452:15;8447:20;;8507:1;8504;8501;8494:15;8489:20;;8549:1;8546;8543;8536:15;8531:20;;8591:1;8588;8585;8578:15;8573:20;;8633:1;8630;8627;8620:15;8615:20;;8675:1;8672;8669;8662:15;8657:20;;8717:1;8714;8711;8704:15;8699:20;;8759:1;8756;8753;8746:15;8741:20;;8801:1;8798;8795;8788:15;8783:20;;8843:1;8840;8837;8830:15;8825:20;;8885:1;8882;8879;8872:15;8867:20;;8927:1;8924;8921;8914:15;8909:20;;8969:1;8966;8963;8956:15;8951:20;;9011:1;9008;9005;8998:15;8993:20;;9053:1;9050;9047;9040:15;9035:20;;9095:1;9092;9089;9082:15;9077:20;;9137:1;9134;9131;9124:15;9119:20;;9179:1;9176;9173;9166:15;9161:20;;9221:1;9218;9215;9208:15;9203:20;;9263:1;9260;9257;9250:15;9245:20;;9305:1;9302;9299;9292:15;9287:20;;9347:1;9344;9341;9334:15;9329:20;;9389:1;9386;9383;9376:15;9371:20;;9431:1;9428;9425;9418:15;9413:20;;9473:1;9470;9467;9460:15;9455:20;;9515:1;9512;9509;9502:15;9497:20;;9557:1;9554;9551;9544:15;9539:20;;9599:1;9596;9593;9586:15;9581:20;;9641:1;9638;9635;9628:15;9623:20;;9683:1;9680;9677;9670:15;9665:20;;9725:1;9722;9719;9712:15;9707:20;;9798:1;9795;9792;9785:15;9844:1;9841;9838;9831:15;9826:20;;9890:1;9887;9884;9877:15;9872:20;;9936:1;9933;9930;9923:15;9918:20;;9982:1;9979;9976;9969:15;9964:20;;10028:1;10025;10022;10015:15;10010:20;;9749:304;10093:1;10090;10087;10080:15;10075:20;;10135:1;10132;10129;10122:15;10117:20;;10177:1;10174;10171;10164:15;10159:20;;10219:1;10216;10213;10206:15;10201:20;;10261:1;10258;10255;10248:15;10243:20;;10303:1;10300;10297;10290:15;10285:20;;10345:1;10342;10339;10332:15;10327:20;;10387:1;10384;10381;10374:15;10369:20;;10429:1;10426;10423;10416:15;10411:20;;10471:1;10468;10465;10458:15;10453:20;;10513:1;10510;10507;10500:15;10495:20;;10555:1;10552;10549;10542:15;10537:20;;10597:1;10594;10591;10584:15;10579:20;;10639:1;10636;10633;10626:15;10621:20;;10681:1;10678;10675;10668:15;10663:20;;10723:1;10720;10717;10710:15;10705:20;;10765:1;10762;10759;10752:15;10747:20;;10807:1;10804;10801;10794:15;10789:20;;10849:1;10846;10843;10836:15;10831:20;;10891:1;10888;10885;10878:15;10873:20;;10933:1;10930;10927;10920:15;10915:20;;10975:1;10972;10969;10962:15;10957:20;;11017:1;11014;11011;11004:15;10999:20;;11059:1;11056;11053;11046:15;11041:20;;11101:1;11098;11095;11088:15;11083:20;;11143:1;11140;11137;11130:15;11125:20;;11185:1;11182;11179;11172:15;11167:20;;11227:1;11224;11221;11214:15;11209:20;;11269:1;11266;11263;11256:15;11251:20;;11311:1;11308;11305;11298:15;11293:20;;11353:1;11350;11347;11340:15;11335:20;;11395:1;11392;11389;11382:15;11377:20;;11437:1;11434;11431;11424:15;11419:20;;11479:1;11476;11473;11466:15;11461:20;;11521:1;11518;11515;11508:15;11503:20;;11563:1;11560;11557;11550:15;11545:20;;11605:1;11602;11599;11592:15;11587:20;;11647:1;11644;11641;11634:15;11629:20;;11689:1;11686;11683;11676:15;11671:20;;11731:1;11728;11725;11718:15;11713:20;;11773:1;11770;11767;11760:15;11755:20;;11815:1;11812;11809;11802:15;11797:20;;11857:1;11854;11851;11844:15;11839:20;;11899:1;11896;11893;11886:15;11881:20;;11941:1;11938;11935;11928:15;11923:20;;11983:1;11980;11977;11970:15;11965:20;;12025:1;12022;12019;12012:15;12007:20;;12067:1;12064;12061;12054:15;12049:20;;12109:1;12106;12103;12096:15;12091:20;;12151:1;12148;12145;12138:15;12133:20;;12193:1;12190;12187;12180:15;12175:20;;12235:1;12232;12229;12222:15;12217:20;;12277:1;12274;12271;12264:15;12259:20;;12319:1;12316;12313;12306:15;12301:20;;12361:1;12358;12355;12348:15;12343:20;;12403:1;12400;12397;12390:15;12385:20;;12445:1;12442;12439;12432:15;12427:20;;12487:1;12484;12481;12474:15;12469:20;;12529:1;12526;12523;12516:15;12511:20;;12571:1;12568;12565;12558:15;12553:20;;12613:1;12610;12607;12600:15;12595:20;;12655:1;12652;12649;12642:15;12637:20;;12697:1;12694;12691;12684:15;12679:20;;12739:1;12736;12733;12726:15;12721:20;;12781:1;12778;12775;12768:15;12763:20;;12823:1;12820;12817;12810:15;12805:20;;12865:1;12862;12859;12852:15;12847:20;;12907:1;12904;12901;12894:15;12889:20;;12949:1;12946;12943;12936:15;12931:20;;12991:1;12988;12985;12978:15;12973:20;;13033:1;13030;13027;13020:15;13015:20;;13075:1;13072;13069;13062:15;13057:20;;13117:1;13114;13111;13104:15;13099:20;;13159:1;13156;13153;13146:15;13141:20;;13201:1;13198;13195;13188:15;13183:20;;13243:1;13240;13237;13230:15;13225:20;;13285:1;13282;13279;13272:15;13267:20;;13327:1;13324;13321;13314:15;13309:20;;13369:1;13366;13363;13356:15;13351:20;;13411:1;13408;13405;13398:15;13393:20;;13453:1;13450;13447;13440:15;13435:20;;13495:1;13492;13489;13482:15;13477:20;;13537:1;13534;13531;13524:15;13519:20;;13579:1;13576;13573;13566:15;13561:20;;13621:1;13618;13615;13608:15;13603:20;;13663:1;13660;13657;13650:15;13645:20;;13705:1;13702;13699;13692:15;13687:20;;13747:1;13744;13741;13734:15;13729:20;;13789:1;13786;13783;13776:15;13771:20;;13831:1;13828;13825;13818:15;13813:20;;13873:1;13870;13867;13860:15;13855:20;;13915:1;13912;13909;13902:15;13897:20;;13957:1;13954;13951;13944:15;13939:20;;13999:1;13996;13993;13986:15;13981:20;;14041:1;14038;14035;14028:15;14023:20;;14083:1;14080;14077;14070:15;14065:20;;14125:1;14122;14119;14112:15;14107:20;;14167:1;14164;14161;14154:15;14149:20;;14209:1;14206;14203;14196:15;14191:20;;14251:1;14248;14245;14238:15;14233:20;;14293:1;14290;14287;14280:15;14275:20;;14335:1;14332;14329;14322:15;14317:20;;14377:1;14374;14371;14364:15;14359:20;;14419:1;14416;14413;14406:15;14401:20;;14461:1;14458;14455;14448:15;14443:20;;14503:1;14500;14497;14490:15;14485:20;;14545:1;14542;14539;14532:15;14527:20;;14587:1;14584;14581;14574:15;14569:20;;14629:1;14626;14623;14616:15;14611:20;;14671:1;14668;14665;14658:15;14653:20;;14713:1;14710;14707;14700:15;14695:20;;14755:1;14752;14749;14742:15;14737:20;;14797:1;14794;14791;14784:15;14779:20;;14839:1;14836;14833;14826:15;14821:20;;7202:7658;14896:1;14893;14890;14883:15;14878:20;;14934:1;14931;14928;14921:15;14916:20;;14972:1;14969;14966;14959:15;14954:20;;15010:1;15007;15004;14997:15;14992:20;;15048:1;15045;15042;15035:15;15030:20;;15086:1;15083;15080;15073:15;15068:20;;15124:1;15121;15118;15111:15;15106:20;;15162:1;15159;15156;15149:15;15144:20;;6951:8228;15211:1;15208;15205;15198:15;15193:20;;15245:1;15242;15239;15232:15;15227:20;;15279:1;15276;15273;15266:15;15261:20;;15313:1;15310;15307;15300:15;15295:20;;15347:1;15344;15341;15334:15;15329:20;;15381:1;15378;15375;15368:15;15363:20;;15415:1;15412;15409;15402:15;15397:20;;15449:1;15446;15443;15436:15;15431:20;;15483:1;15480;15477;15470:15;15465:20;;15517:1;15514;15511;15504:15;15499:20;;15551:1;15548;15545;15538:15;15533:20;;15585:1;15582;15579;15572:15;15567:20;;15619:1;15616;15613;15606:15;15601:20;;15653:1;15650;15647;15640:15;15635:20;;15687:1;15684;15681;15674:15;15669:20;;15721:1;15718;15715;15708:15;15703:20;;15755:1;15752;15749;15742:15;15737:20;;15789:1;15786;15783;15776:15;15771:20;;15823:1;15820;15817;15810:15;15805:20;;15857:1;15854;15851;15844:15;15839:20;;15891:1;15888;15885;15878:15;15873:20;;15925:1;15922;15919;15912:15;15907:20;;15959:1;15956;15953;15946:15;15941:20;;15993:1;15990;15987;15980:15;15975:20;;16027:1;16024;16021;16014:15;16009:20;;16061:1;16058;16055;16048:15;16043:20;;16095:1;16092;16089;16082:15;16077:20;;16129:1;16126;16123;16116:15;16111:20;;16163:1;16160;16157;16150:15;16145:20;;16197:1;16194;16191;16184:15;16179:20;;16231:1;16228;16225;16218:15;16213:20;;16265:1;16262;16259;16252:15;16247:20;;16299:1;16296;16293;16286:15;16281:20;;16333:1;16330;16327;16320:15;16315:20;;16367:1;16364;16361;16354:15;16349:20;;16401:1;16398;16395;16388:15;16383:20;;16435:1;16432;16429;16422:15;16417:20;;16469:1;16466;16463;16456:15;16451:20;;16503:1;16500;16497;16490:15;16485:20;;16537:1;16534;16531;16524:15;16519:20;;16571:1;16568;16565;16558:15;16553:20;;16605:1;16602;16599;16592:15;16587:20;;16639:1;16636;16633;16626:15;16621:20;;16673:1;16670;16667;16660:15;16655:20;;16707:1;16704;16701;16694:15;16689:20;;16741:1;16738;16735;16728:15;16723:20;;16775:1;16772;16769;16762:15;16757:20;;16809:1;16806;16803;16796:15;16791:20;;16843:1;16840;16837;16830:15;16825:20;;16877:1;16874;16871;16864:15;16859:20;;16911:1;16908;16905;16898:15;16893:20;;16945:1;16942;16939;16932:15;16927:20;;16979:1;16976;16973;16966:15;16961:20;;17013:1;17010;17007;17000:15;16995:20;;17047:1;17044;17041;17034:15;17029:20;;17081:1;17078;17075;17068:15;17063:20;;17115:1;17112;17109;17102:15;17097:20;;17149:1;17146;17143;17136:15;17131:20;;17183:1;17180;17177;17170:15;17165:20;;17217:1;17214;17211;17204:15;17199:20;;17251:1;17248;17245;17238:15;17233:20;;17285:1;17282;17279;17272:15;17267:20;;17319:1;17316;17313;17306:15;17301:20;;17353:1;17350;17347;17340:15;17335:20;;17387:1;17384;17381;17374:15;17369:20;;17421:1;17418;17415;17408:15;17403:20;;17455:1;17452;17449;17442:15;17437:20;;17489:1;17486;17483;17476:15;17471:20;;17523:1;17520;17517;17510:15;17505:20;;17557:1;17554;17551;17544:15;17539:20;;17591:1;17588;17585;17578:15;17573:20;;17625:1;17622;17619;17612:15;17607:20;;17659:1;17656;17653;17646:15;17641:20;;17693:1;17690;17687;17680:15;17675:20;;17727:1;17724;17721;17714:15;17709:20;;17761:1;17758;17755;17748:15;17743:20;;17795:1;17792;17789;17782:15;17777:20;;17829:1;17826;17823;17816:15;17811:20;;17863:1;17860;17857;17850:15;17845:20;;17897:1;17894;17891;17884:15;17879:20;;17931:1;17928;17925;17918:15;17913:20;;17965:1;17962;17959;17952:15;17947:20;;17999:1;17996;17993;17986:15;17981:20;;18033:1;18030;18027;18020:15;18015:20;;18067:1;18064;18061;18054:15;18049:20;;18101:1;18098;18095;18088:15;18083:20;;18135:1;18132;18129;18122:15;18117:20;;18169:1;18166;18163;18156:15;18151:20;;18203:1;18200;18197;18190:15;18185:20;;18237:1;18234;18231;18224:15;18219:20;;18271:1;18268;18265;18258:15;18253:20;;18305:1;18302;18299;18292:15;18287:20;;18339:1;18336;18333;18326:15;18321:20;;18373:1;18370;18367;18360:15;18355:20;;18407:1;18404;18401;18394:15;18389:20;;18441:1;18438;18435;18428:15;18423:20;;18475:1;18472;18469;18462:15;18457:20;;18509:1;18506;18503;18496:15;18491:20;;18543:1;18540;18537;18530:15;18525:20;;18577:1;18574;18571;18564:15;18559:20;;18611:1;18608;18605;18598:15;18593:20;;18645:1;18642;18639;18632:15;18627:20;;18679:1;18676;18673;18666:15;18661:20;;18713:1;18710;18707;18700:15;18695:20;;18747:1;18744;18741;18734:15;18729:20;;18781:1;18778;18775;18768:15;18763:20;;18815:1;18812;18809;18802:15;18797:20;;18849:1;18846;18843;18836:15;18831:20;;18883:1;18880;18877;18870:15;18865:20;;18917:1;18914;18911;18904:15;18899:20;;18951:1;18948;18945;18938:15;18933:20;;18985:1;18982;18979;18972:15;18967:20;;19019:1;19016;19013;19006:15;19001:20;;19053:1;19050;19047;19040:15;19035:20;;19087:1;19084;19081;19074:15;19069:20;;19121:1;19118;19115;19108:15;19103:20;;19155:1;19152;19149;19142:15;19137:20;;19189:1;19186;19183;19176:15;19171:20;;19223:1;19220;19217;19210:15;19205:20;;19257:1;19254;19251;19244:15;19239:20;;19291:1;19288;19285;19278:15;19273:20;;19325:1;19322;19319;19312:15;19307:20;;19359:1;19356;19353;19346:15;19341:20;;19393:1;19390;19387;19380:15;19375:20;;19427:1;19424;19421;19414:15;19409:20;;19461:1;19458;19455;19448:15;19443:20;;19495:1;19492;19489;19482:15;19477:20;;19529:1;19526;19523;19516:15;19511:20;3970:15572;-1:-1:-1;;;3970:15572:0:o;35151:345::-;35237:7;35339:12;35332:5;35324:28;;;;-1:-1:-1;;;35324:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;35324:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35363:9;35379:1;35375;:5;;;;;;;35151:345;-1:-1:-1;;;;;35151:345:0:o;33107:192::-;33193:7;33229:12;33221:6;;;;33213:29;;;;-1:-1:-1;;;33213:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;33213:29:0;-1:-1:-1;;;33265:5:0;;;33107:192::o;28931:619::-;28991:4;29459:20;;29302:66;29499:23;;;;;;:42;;-1:-1:-1;;29526:15:0;;;29491:51;-1:-1:-1;;28931:619:0:o;47041:15841::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47041:15841:0;;;-1:-1:-1;47041:15841:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://2c7e936166934c63d19c03f53a032984389e044f899646c13d35d11d4a843676

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.