Contract 0x1D4ceA0C810F01f73143f21e92457179a6B609fe

Contract Overview

Balance:
0 Ether

Token:
Txn Hash
Method
Block
From
To
Value
0xb3b8afbc459fb348d351277ad7056ecd14f0c7b5852460d467e0d7bdfa92a31aTransfer272317892021-09-17 12:19:52290 days 12 hrs ago0x7a8e67149f9ea5abe5c0054fab03c3d1f081c71e IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.00002424 1
0xf6a5a1968b34f71a27e1e4ad7889e41cd4f16d8174a5bcdcd1d7f9b0c5e51f81Transfer272317882021-09-17 12:19:44290 days 12 hrs ago0x7a8e67149f9ea5abe5c0054fab03c3d1f081c71e IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.00002424 1
0xb7cb266bb3a9985f02df45effacea314c67e0dd686deb9974b4d3d855eb57a32Joinswap Extern ...256463382021-06-22 14:07:40377 days 10 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000504156
0x7cde5a0f281abbf9659c6573eed70f26cb9aadc724cf7fcd81cce93b2eb2edacJoinswap Extern ...256337372021-06-22 0:07:24378 days 37 mins ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000510896
0x3cd08764dd5dc5ac451c4cf4db8262e4e2eec265725a57bbc7304b320237ec1cJoinswap Extern ...250227022021-05-23 22:07:40407 days 2 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000255483
0x71ec0442bb88354b15278520a154432b64ffecf5d74dd421263be145abed67e8Joinswap Extern ...250167982021-05-23 15:08:24407 days 9 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000252073
0x05b9d4f3ae4fa7a4f93b869440297516826044f1433b4c194138028925b81075Joinswap Extern ...250142602021-05-23 12:08:20407 days 12 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000259153
0xa20495dd64bff82b74f088ec24e6380cb5daaff4794b7698a1739e15766f154eJoinswap Extern ...249771092021-05-21 16:08:00409 days 8 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.001727720
0x8c735deb3cc9922808eadc965412760fcddf6e332526aacfebd2041137fc2b3bJoinswap Extern ...249712142021-05-21 9:08:24409 days 15 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.001680520
0x79218e1c0849888658ce96f378491d4e9f7e281e45d28a04f19e96c7eeff5617Joinswap Extern ...249542712021-05-20 13:08:24410 days 11 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000766449
0x77e2b769238ba7d73103b3bd79fbdc53c634b387cc8323b28abbe17f8a948d11Joinswap Extern ...249474992021-05-20 5:07:48410 days 19 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000756339
0x281d16e348a5458240208537e40015f62c9873dc97481c9191383b9e9625b529Joinswap Extern ...249449672021-05-20 2:08:00410 days 22 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000756339
0xbaabe92f97d918b62cf7f50d690713765cb2224831e8d25cda7cfe4efe1a5ffeJoinswap Extern ...249441232021-05-20 1:07:56410 days 23 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000787589
0xe6e6b6835301c452e5a24cc23f9157fb10bdc8af30fdfdd2e896fb4d9c9c56a8Joinswap Extern ...249398852021-05-19 20:07:40411 days 4 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.00033614
0x77c40e45f021c489f60238bc6b16f769212171add099f7be17ac3986876e5625Joinswap Extern ...249382042021-05-19 18:08:16411 days 6 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000350084
0xa054a56bb27b62857bce9d573dc749f1876da96024c4bdd488ed52681b792d7cJoinswap Extern ...249356572021-05-19 15:08:08411 days 9 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000331154
0x4a90cac94c396ff9fca5ae45a4fb3bc3bd026b3a99caecd021dda4b9b75bcfdaJoinswap Extern ...249348102021-05-19 14:08:00411 days 10 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000350084
0x9c82f867c95c8fcff6431376bc78b8ef59ca0e38a0402049b596da3b5e9dcbafJoinswap Extern ...249339542021-05-19 13:08:08411 days 11 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000368914
0x4c732a5ab8eff6395275bb1a9548e43a9985a23c000e0c9fc6d9fb673e8439bbJoinswap Extern ...249270532021-05-19 5:08:12411 days 19 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.00033614
0x267c902ee3bb8ee394c2b43b4fba15076a1f109c0af3c646ea7871cc38386825Joinswap Extern ...249253732021-05-19 3:08:48411 days 21 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000340594
0x620bbbe3b43559cd79c0daa99b3351e34c3ad4df6a6f4eabc04a7cbdc1a6a014Joinswap Extern ...248864042021-05-17 7:08:04413 days 17 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000252113
0x1551cd9da4001797d6f83ed9e148d584f195bb2eda903b50aa0aa026286a0232Joinswap Extern ...248837082021-05-17 4:08:16413 days 20 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000255443
0x8c5969d3428cdf9684dfccae9bdabf7bf35109e0356cc5f92e6c01dfa59120a7Joinswap Extern ...248801062021-05-17 0:08:08414 days 36 mins ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.00024843
0xa95360ffb4d42e126a85da6e690103a7028c2fd6bfbb4521313fff1fc0585798Joinswap Extern ...248765052021-05-16 20:08:00414 days 4 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000252073
0x2277e8a6b9399a5e4568ddba98fe2e47546eadddf59308c6f1a2a3f79382e30aJoinswap Extern ...248747102021-05-16 18:08:20414 days 6 hrs ago0x94e3d92264097a750e7500b6b45545a1a6edd45b IN  0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether0.000252033
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x29e858a3d3ae4ab92426c8c279f8e8ae64edfda7 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x13526b5e1b0bd3bfc62d642ba5a03278d4f7097c698c9df50c5c6222d1116a7a325312292022-07-03 22:59:201 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x431dbe0b1c926ea75b2a4a6b2aa26b8bb5df7e5195bda37b867598a402460336325311252022-07-03 22:50:441 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x431dbe0b1c926ea75b2a4a6b2aa26b8bb5df7e5195bda37b867598a402460336325311252022-07-03 22:50:441 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x431dbe0b1c926ea75b2a4a6b2aa26b8bb5df7e5195bda37b867598a402460336325311252022-07-03 22:50:441 day 1 hr ago 0xd0474aeba181987a81352842d446fc6c65481417 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x431dbe0b1c926ea75b2a4a6b2aa26b8bb5df7e5195bda37b867598a402460336325311252022-07-03 22:50:441 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x431dbe0b1c926ea75b2a4a6b2aa26b8bb5df7e5195bda37b867598a402460336325311252022-07-03 22:50:441 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x431dbe0b1c926ea75b2a4a6b2aa26b8bb5df7e5195bda37b867598a402460336325311252022-07-03 22:50:441 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
0x431dbe0b1c926ea75b2a4a6b2aa26b8bb5df7e5195bda37b867598a402460336325311252022-07-03 22:50:441 day 1 hr ago 0x9162887fe256a39c7ef0083781e4cdc1371bef55 0x1d4cea0c810f01f73143f21e92457179a6b609fe0 Ether
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xd717b8949e9603f8e75a6c127c15226e29df63be

Contract Name:
BPool

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
Yes with 2500 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity Multiple files format)

File 5 of 6: BPool.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity 0.5.12;

import "./BToken.sol";
import "./BMath.sol";

contract BPool is BBronze, BToken, BMath {

    struct Record {
        bool bound;   // is token bound to pool
        uint index;   // private
        uint denorm;  // denormalized weight
        uint balance;
    }

    event LOG_SWAP(
        address indexed caller,
        address indexed tokenIn,
        address indexed tokenOut,
        uint256         tokenAmountIn,
        uint256         tokenAmountOut
    );

    event LOG_JOIN(
        address indexed caller,
        address indexed tokenIn,
        uint256         tokenAmountIn
    );

    event LOG_EXIT(
        address indexed caller,
        address indexed tokenOut,
        uint256         tokenAmountOut
    );

    event LOG_CALL(
        bytes4  indexed sig,
        address indexed caller,
        bytes           data
    ) anonymous;

    modifier _logs_() {
        emit LOG_CALL(msg.sig, msg.sender, msg.data);
        _;
    }

    modifier _lock_() {
        require(!_mutex, "ERR_REENTRY");
        _mutex = true;
        _;
        _mutex = false;
    }

    modifier _viewlock_() {
        require(!_mutex, "ERR_REENTRY");
        _;
    }

    bool private _mutex;

    address private _factory;    // BFactory address to push token exitFee to
    address private _controller; // has CONTROL role
    bool private _publicSwap; // true if PUBLIC can call SWAP functions

    // `setSwapFee` and `finalize` require CONTROL
    // `finalize` sets `PUBLIC can SWAP`, `PUBLIC can JOIN`
    uint private _swapFee;
    bool private _finalized;

    address[] private _tokens;
    mapping(address=>Record) private  _records;
    uint private _totalWeight;

    constructor() public {
        _controller = msg.sender;
        _factory = msg.sender;
        _swapFee = MIN_FEE;
        _publicSwap = false;
        _finalized = false;
    }

    function isPublicSwap()
        external view
        returns (bool)
    {
        return _publicSwap;
    }

    function isFinalized()
        external view
        returns (bool)
    {
        return _finalized;
    }

    function isBound(address t)
        external view
        returns (bool)
    {
        return _records[t].bound;
    }

    function getNumTokens()
        external view
        returns (uint) 
    {
        return _tokens.length;
    }

    function getCurrentTokens()
        external view _viewlock_
        returns (address[] memory tokens)
    {
        return _tokens;
    }

    function getFinalTokens()
        external view
        _viewlock_
        returns (address[] memory tokens)
    {
        require(_finalized, "ERR_NOT_FINALIZED");
        return _tokens;
    }

    function getDenormalizedWeight(address token)
        external view
        _viewlock_
        returns (uint)
    {

        require(_records[token].bound, "ERR_NOT_BOUND");
        return _records[token].denorm;
    }

    function getTotalDenormalizedWeight()
        external view
        _viewlock_
        returns (uint)
    {
        return _totalWeight;
    }

    function getNormalizedWeight(address token)
        external view
        _viewlock_
        returns (uint)
    {

        require(_records[token].bound, "ERR_NOT_BOUND");
        uint denorm = _records[token].denorm;
        return bdiv(denorm, _totalWeight);
    }

    function getBalance(address token)
        external view
        _viewlock_
        returns (uint)
    {

        require(_records[token].bound, "ERR_NOT_BOUND");
        return _records[token].balance;
    }

    function getSwapFee()
        external view
        _viewlock_
        returns (uint)
    {
        return _swapFee;
    }

    function getController()
        external view
        _viewlock_
        returns (address)
    {
        return _controller;
    }

    function setSwapFee(uint swapFee)
        external
        _logs_
        _lock_
    { 
        require(!_finalized, "ERR_IS_FINALIZED");
        require(msg.sender == _controller, "ERR_NOT_CONTROLLER");
        require(swapFee >= MIN_FEE, "ERR_MIN_FEE");
        require(swapFee <= MAX_FEE, "ERR_MAX_FEE");
        _swapFee = swapFee;
    }

    function setController(address manager)
        external
        _logs_
        _lock_
    {
        require(msg.sender == _controller, "ERR_NOT_CONTROLLER");
        _controller = manager;
    }

    function setPublicSwap(bool public_)
        external
        _logs_
        _lock_
    {
        require(!_finalized, "ERR_IS_FINALIZED");
        require(msg.sender == _controller, "ERR_NOT_CONTROLLER");
        _publicSwap = public_;
    }

    function finalize()
        external
        _logs_
        _lock_
    {
        require(msg.sender == _controller, "ERR_NOT_CONTROLLER");
        require(!_finalized, "ERR_IS_FINALIZED");
        require(_tokens.length >= MIN_BOUND_TOKENS, "ERR_MIN_TOKENS");

        _finalized = true;
        _publicSwap = true;

        _mintPoolShare(INIT_POOL_SUPPLY);
        _pushPoolShare(msg.sender, INIT_POOL_SUPPLY);
    }


    function bind(address token, uint balance, uint denorm)
        external
        _logs_
        // _lock_  Bind does not lock because it jumps to `rebind`, which does
    {
        require(msg.sender == _controller, "ERR_NOT_CONTROLLER");
        require(!_records[token].bound, "ERR_IS_BOUND");
        require(!_finalized, "ERR_IS_FINALIZED");

        require(_tokens.length < MAX_BOUND_TOKENS, "ERR_MAX_TOKENS");

        _records[token] = Record({
            bound: true,
            index: _tokens.length,
            denorm: 0,    // balance and denorm will be validated
            balance: 0   // and set by `rebind`
        });
        _tokens.push(token);
        rebind(token, balance, denorm);
    }

    function rebind(address token, uint balance, uint denorm)
        public
        _logs_
        _lock_
    {

        require(msg.sender == _controller, "ERR_NOT_CONTROLLER");
        require(_records[token].bound, "ERR_NOT_BOUND");
        require(!_finalized, "ERR_IS_FINALIZED");

        require(denorm >= MIN_WEIGHT, "ERR_MIN_WEIGHT");
        require(denorm <= MAX_WEIGHT, "ERR_MAX_WEIGHT");
        require(balance >= MIN_BALANCE, "ERR_MIN_BALANCE");

        // Adjust the denorm and totalWeight
        uint oldWeight = _records[token].denorm;
        if (denorm > oldWeight) {
            _totalWeight = badd(_totalWeight, bsub(denorm, oldWeight));
            require(_totalWeight <= MAX_TOTAL_WEIGHT, "ERR_MAX_TOTAL_WEIGHT");
        } else if (denorm < oldWeight) {
            _totalWeight = bsub(_totalWeight, bsub(oldWeight, denorm));
        }        
        _records[token].denorm = denorm;

        // Adjust the balance record and actual token balance
        uint oldBalance = _records[token].balance;
        _records[token].balance = balance;
        if (balance > oldBalance) {
            _pullUnderlying(token, msg.sender, bsub(balance, oldBalance));
        } else if (balance < oldBalance) {
            // In this case liquidity is being withdrawn, so charge EXIT_FEE
            uint tokenBalanceWithdrawn = bsub(oldBalance, balance);
            uint tokenExitFee = bmul(tokenBalanceWithdrawn, EXIT_FEE);
            _pushUnderlying(token, msg.sender, bsub(tokenBalanceWithdrawn, tokenExitFee));
            _pushUnderlying(token, _factory, tokenExitFee);
        }
    }

    function unbind(address token)
        external
        _logs_
        _lock_
    {

        require(msg.sender == _controller, "ERR_NOT_CONTROLLER");
        require(_records[token].bound, "ERR_NOT_BOUND");
        require(!_finalized, "ERR_IS_FINALIZED");

        uint tokenBalance = _records[token].balance;
        uint tokenExitFee = bmul(tokenBalance, EXIT_FEE);

        _totalWeight = bsub(_totalWeight, _records[token].denorm);

        // Swap the token-to-unbind with the last token,
        // then delete the last token
        uint index = _records[token].index;
        uint last = _tokens.length - 1;
        _tokens[index] = _tokens[last];
        _records[_tokens[index]].index = index;
        _tokens.pop();
        _records[token] = Record({
            bound: false,
            index: 0,
            denorm: 0,
            balance: 0
        });

        _pushUnderlying(token, msg.sender, bsub(tokenBalance, tokenExitFee));
        _pushUnderlying(token, _factory, tokenExitFee);
    }

    // Absorb any tokens that have been sent to this contract into the pool
    function gulp(address token)
        external
        _logs_
        _lock_
    {
        require(_records[token].bound, "ERR_NOT_BOUND");
        _records[token].balance = IERC20(token).balanceOf(address(this));
    }

    function getSpotPrice(address tokenIn, address tokenOut)
        external view
        _viewlock_
        returns (uint spotPrice)
    {
        require(_records[tokenIn].bound, "ERR_NOT_BOUND");
        require(_records[tokenOut].bound, "ERR_NOT_BOUND");
        Record storage inRecord = _records[tokenIn];
        Record storage outRecord = _records[tokenOut];
        return calcSpotPrice(inRecord.balance, inRecord.denorm, outRecord.balance, outRecord.denorm, _swapFee);
    }

    function getSpotPriceSansFee(address tokenIn, address tokenOut)
        external view
        _viewlock_
        returns (uint spotPrice)
    {
        require(_records[tokenIn].bound, "ERR_NOT_BOUND");
        require(_records[tokenOut].bound, "ERR_NOT_BOUND");
        Record storage inRecord = _records[tokenIn];
        Record storage outRecord = _records[tokenOut];
        return calcSpotPrice(inRecord.balance, inRecord.denorm, outRecord.balance, outRecord.denorm, 0);
    }

    function joinPool(uint poolAmountOut, uint[] calldata maxAmountsIn)
        external
        _logs_
        _lock_
    {
        require(_finalized, "ERR_NOT_FINALIZED");

        uint poolTotal = totalSupply();
        uint ratio = bdiv(poolAmountOut, poolTotal);
        require(ratio != 0, "ERR_MATH_APPROX");

        for (uint i = 0; i < _tokens.length; i++) {
            address t = _tokens[i];
            uint bal = _records[t].balance;
            uint tokenAmountIn = bmul(ratio, bal);
            require(tokenAmountIn != 0, "ERR_MATH_APPROX");
            require(tokenAmountIn <= maxAmountsIn[i], "ERR_LIMIT_IN");
            _records[t].balance = badd(_records[t].balance, tokenAmountIn);
            emit LOG_JOIN(msg.sender, t, tokenAmountIn);
            _pullUnderlying(t, msg.sender, tokenAmountIn);
        }
        _mintPoolShare(poolAmountOut);
        _pushPoolShare(msg.sender, poolAmountOut);
    }

    function exitPool(uint poolAmountIn, uint[] calldata minAmountsOut)
        external
        _logs_
        _lock_
    {
        require(_finalized, "ERR_NOT_FINALIZED");

        uint poolTotal = totalSupply();
        uint exitFee = bmul(poolAmountIn, EXIT_FEE);
        uint pAiAfterExitFee = bsub(poolAmountIn, exitFee);
        uint ratio = bdiv(pAiAfterExitFee, poolTotal);
        require(ratio != 0, "ERR_MATH_APPROX");

        _pullPoolShare(msg.sender, poolAmountIn);
        _pushPoolShare(_factory, exitFee);
        _burnPoolShare(pAiAfterExitFee);

        for (uint i = 0; i < _tokens.length; i++) {
            address t = _tokens[i];
            uint bal = _records[t].balance;
            uint tokenAmountOut = bmul(ratio, bal);
            require(tokenAmountOut != 0, "ERR_MATH_APPROX");
            require(tokenAmountOut >= minAmountsOut[i], "ERR_LIMIT_OUT");
            _records[t].balance = bsub(_records[t].balance, tokenAmountOut);
            emit LOG_EXIT(msg.sender, t, tokenAmountOut);
            _pushUnderlying(t, msg.sender, tokenAmountOut);
        }

    }


    function swapExactAmountIn(
        address tokenIn,
        uint tokenAmountIn,
        address tokenOut,
        uint minAmountOut,
        uint maxPrice
    )
        external
        _logs_
        _lock_
        returns (uint tokenAmountOut, uint spotPriceAfter)
    {

        require(_records[tokenIn].bound, "ERR_NOT_BOUND");
        require(_records[tokenOut].bound, "ERR_NOT_BOUND");
        require(_publicSwap, "ERR_SWAP_NOT_PUBLIC");

        Record storage inRecord = _records[address(tokenIn)];
        Record storage outRecord = _records[address(tokenOut)];

        require(tokenAmountIn <= (inRecord.balance / 2), "ERR_MAX_IN_RATIO");

        uint spotPriceBefore = calcSpotPrice(
                                    inRecord.balance,
                                    inRecord.denorm,
                                    outRecord.balance,
                                    outRecord.denorm,
                                    _swapFee
                                );
        require(spotPriceBefore <= maxPrice, "ERR_BAD_LIMIT_PRICE");

        tokenAmountOut = calcOutGivenIn(
                            inRecord.balance,
                            inRecord.denorm,
                            outRecord.balance,
                            outRecord.denorm,
                            tokenAmountIn,
                            _swapFee
                        );
        require(tokenAmountOut >= minAmountOut, "ERR_LIMIT_OUT");

        inRecord.balance = badd(inRecord.balance, tokenAmountIn);
        outRecord.balance = bsub(outRecord.balance, tokenAmountOut);

        spotPriceAfter = calcSpotPrice(
                                inRecord.balance,
                                inRecord.denorm,
                                outRecord.balance,
                                outRecord.denorm,
                                _swapFee
                            );
        require(spotPriceAfter >= spotPriceBefore, "ERR_MATH_APPROX");     
        require(spotPriceAfter <= maxPrice, "ERR_LIMIT_PRICE");
        require(spotPriceBefore <= bdiv(tokenAmountIn, tokenAmountOut), "ERR_MATH_APPROX");

        emit LOG_SWAP(msg.sender, tokenIn, tokenOut, tokenAmountIn, tokenAmountOut);

        _pullUnderlying(tokenIn, msg.sender, tokenAmountIn);
        _pushUnderlying(tokenOut, msg.sender, tokenAmountOut);

        return (tokenAmountOut, spotPriceAfter);
    }

    function swapExactAmountOut(
        address tokenIn,
        uint maxAmountIn,
        address tokenOut,
        uint tokenAmountOut,
        uint maxPrice
    )
        external
        _logs_
        _lock_ 
        returns (uint tokenAmountIn, uint spotPriceAfter)
    {
        require(_records[tokenIn].bound, "ERR_NOT_BOUND");
        require(_records[tokenOut].bound, "ERR_NOT_BOUND");
        require(_publicSwap, "ERR_SWAP_NOT_PUBLIC");

        Record storage inRecord = _records[address(tokenIn)];
        Record storage outRecord = _records[address(tokenOut)];

        require(tokenAmountOut <= (outRecord.balance / 3), "ERR_MAX_OUT_RATIO");

        uint spotPriceBefore = calcSpotPrice(
                                    inRecord.balance,
                                    inRecord.denorm,
                                    outRecord.balance,
                                    outRecord.denorm,
                                    _swapFee
                                );
        require(spotPriceBefore <= maxPrice, "ERR_BAD_LIMIT_PRICE");

        tokenAmountIn = calcInGivenOut(
                            inRecord.balance,
                            inRecord.denorm,
                            outRecord.balance,
                            outRecord.denorm,
                            tokenAmountOut,
                            _swapFee
                        );
        require(tokenAmountIn <= maxAmountIn, "ERR_LIMIT_IN");

        inRecord.balance = badd(inRecord.balance, tokenAmountIn);
        outRecord.balance = bsub(outRecord.balance, tokenAmountOut);

        spotPriceAfter = calcSpotPrice(
                                inRecord.balance,
                                inRecord.denorm,
                                outRecord.balance,
                                outRecord.denorm,
                                _swapFee
                            );
        require(spotPriceAfter >= spotPriceBefore, "ERR_MATH_APPROX");
        require(spotPriceAfter <= maxPrice, "ERR_LIMIT_PRICE");
        require(spotPriceBefore <= bdiv(tokenAmountIn, tokenAmountOut), "ERR_MATH_APPROX");

        emit LOG_SWAP(msg.sender, tokenIn, tokenOut, tokenAmountIn, tokenAmountOut);

        _pullUnderlying(tokenIn, msg.sender, tokenAmountIn);
        _pushUnderlying(tokenOut, msg.sender, tokenAmountOut);

        return (tokenAmountIn, spotPriceAfter);
    }


    function joinswapExternAmountIn(address tokenIn, uint tokenAmountIn, uint minPoolAmountOut)
        external
        _logs_
        _lock_
        returns (uint poolAmountOut)
    {
        require(_finalized, "ERR_NOT_FINALIZED");
        require(_records[tokenIn].bound, "ERR_NOT_BOUND");

        Record storage inRecord = _records[tokenIn];

        poolAmountOut = calcPoolOutGivenSingleIn(
                            inRecord.balance,
                            inRecord.denorm,
                            _totalSupply,
                            _totalWeight,
                            tokenAmountIn,
                            _swapFee
                        );

        require(poolAmountOut >= minPoolAmountOut, "ERR_LIMIT_OUT");

        inRecord.balance = badd(inRecord.balance, tokenAmountIn);

        emit LOG_JOIN(msg.sender, tokenIn, tokenAmountIn);

        _mintPoolShare(poolAmountOut);
        _pushPoolShare(msg.sender, poolAmountOut);
        _pullUnderlying(tokenIn, msg.sender, tokenAmountIn);

        return poolAmountOut;
    }

    function joinswapPoolAmountOut(address tokenIn, uint poolAmountOut, uint maxAmountIn)
        external
        _logs_
        _lock_
        returns (uint tokenAmountIn)
    {
        require(_finalized, "ERR_NOT_FINALIZED");
        require(_records[tokenIn].bound, "ERR_NOT_BOUND");

        Record storage inRecord = _records[tokenIn];

        tokenAmountIn = calcSingleInGivenPoolOut(
                            inRecord.balance,
                            inRecord.denorm,
                            _totalSupply,
                            _totalWeight,
                            poolAmountOut,
                            _swapFee
                        );

        require(tokenAmountIn != 0, "ERR_MATH_APPROX");
        require(tokenAmountIn <= maxAmountIn, "ERR_LIMIT_IN");

        inRecord.balance = badd(inRecord.balance, tokenAmountIn);

        emit LOG_JOIN(msg.sender, tokenIn, tokenAmountIn);

        _mintPoolShare(poolAmountOut);
        _pushPoolShare(msg.sender, poolAmountOut);
        _pullUnderlying(tokenIn, msg.sender, tokenAmountIn);

        return tokenAmountIn;
    }

    function exitswapPoolAmountIn(address tokenOut, uint poolAmountIn, uint minAmountOut)
        external
        _logs_
        _lock_
        returns (uint tokenAmountOut)
    {
        require(_finalized, "ERR_NOT_FINALIZED");
        require(_records[tokenOut].bound, "ERR_NOT_BOUND");

        Record storage outRecord = _records[tokenOut];

        tokenAmountOut = calcSingleOutGivenPoolIn(
                            outRecord.balance,
                            outRecord.denorm,
                            _totalSupply,
                            _totalWeight,
                            poolAmountIn,
                            _swapFee
                        );

        require(tokenAmountOut >= minAmountOut, "ERR_LIMIT_OUT");

        outRecord.balance = bsub(outRecord.balance, tokenAmountOut);

        uint exitFee = bmul(poolAmountIn, EXIT_FEE);

        emit LOG_EXIT(msg.sender, tokenOut, tokenAmountOut);

        _pullPoolShare(msg.sender, poolAmountIn);
        _burnPoolShare(bsub(poolAmountIn, exitFee));
        _pushPoolShare(_factory, exitFee);
        _pushUnderlying(tokenOut, msg.sender, tokenAmountOut);

        return tokenAmountOut;
    }

    function exitswapExternAmountOut(address tokenOut, uint tokenAmountOut, uint maxPoolAmountIn)
        external
        _logs_
        _lock_
        returns (uint poolAmountIn)
    {
        require(_finalized, "ERR_NOT_FINALIZED");
        require(_records[tokenOut].bound, "ERR_NOT_BOUND");

        Record storage outRecord = _records[tokenOut];

        poolAmountIn = calcPoolInGivenSingleOut(
                            outRecord.balance,
                            outRecord.denorm,
                            _totalSupply,
                            _totalWeight,
                            tokenAmountOut,
                            _swapFee
                        );

        require(poolAmountIn != 0, "ERR_MATH_APPROX");
        require(poolAmountIn <= maxPoolAmountIn, "ERR_LIMIT_IN");

        outRecord.balance = bsub(outRecord.balance, tokenAmountOut);

        uint exitFee = bmul(poolAmountIn, EXIT_FEE);

        emit LOG_EXIT(msg.sender, tokenOut, tokenAmountOut);

        _pullPoolShare(msg.sender, poolAmountIn);
        _burnPoolShare(bsub(poolAmountIn, exitFee));
        _pushPoolShare(_factory, exitFee);
        _pushUnderlying(tokenOut, msg.sender, tokenAmountOut);        

        return poolAmountIn;
    }


    // ==
    // 'Underlying' token-manipulation functions make external calls but are NOT locked
    // You must `_lock_` or otherwise ensure reentry-safety

    function _pullUnderlying(address erc20, address from, uint amount)
        internal
    {
        bool xfer = IERC20(erc20).transferFrom(from, address(this), amount);
        require(xfer, "ERR_ERC20_FALSE");
    }

    function _pushUnderlying(address erc20, address to, uint amount)
        internal
    {
        bool xfer = IERC20(erc20).transfer(to, amount);
        require(xfer, "ERR_ERC20_FALSE");
    }

    function _pullPoolShare(address from, uint amount)
        internal
    {
        _pull(from, amount);
    }

    function _pushPoolShare(address to, uint amount)
        internal
    {
        _push(to, amount);
    }

    function _mintPoolShare(uint amount)
        internal
    {
        _mint(amount);
    }

    function _burnPoolShare(uint amount)
        internal
    {
        _burn(amount);
    }

}

File 1 of 6: BColor.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity 0.5.12;

contract BColor {
    function getColor()
        external view
        returns (bytes32);
}

contract BBronze is BColor {
    function getColor()
        external view
        returns (bytes32) {
            return bytes32("BRONZE");
        }
}

File 2 of 6: BConst.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity 0.5.12;

import "./BColor.sol";

contract BConst is BBronze {
    uint public constant BONE              = 10**18;

    uint public constant MIN_BOUND_TOKENS  = 2;
    uint public constant MAX_BOUND_TOKENS  = 8;

    uint public constant MIN_FEE           = BONE / 10**6;
    uint public constant MAX_FEE           = BONE / 10;
    uint public constant EXIT_FEE          = 0;

    uint public constant MIN_WEIGHT        = BONE;
    uint public constant MAX_WEIGHT        = BONE * 50;
    uint public constant MAX_TOTAL_WEIGHT  = BONE * 50;
    uint public constant MIN_BALANCE       = BONE / 10**12;

    uint public constant INIT_POOL_SUPPLY  = BONE * 100;

    uint public constant MIN_BPOW_BASE     = 1 wei;
    uint public constant MAX_BPOW_BASE     = (2 * BONE) - 1 wei;
    uint public constant BPOW_PRECISION    = BONE / 10**10;
}

File 3 of 6: BMath.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity 0.5.12;

import "./BNum.sol";

contract BMath is BBronze, BConst, BNum {
    /**********************************************************************************************
    // calcSpotPrice                                                                             //
    // sP = spotPrice                                                                            //
    // bI = tokenBalanceIn                ( bI / wI )         1                                  //
    // bO = tokenBalanceOut         sP =  -----------  *  ----------                             //
    // wI = tokenWeightIn                 ( bO / wO )     ( 1 - sF )                             //
    // wO = tokenWeightOut                                                                       //
    // sF = swapFee                                                                              //
    **********************************************************************************************/
    function calcSpotPrice(
        uint tokenBalanceIn,
        uint tokenWeightIn,
        uint tokenBalanceOut,
        uint tokenWeightOut,
        uint swapFee
    )
        public pure
        returns (uint spotPrice)
    {
        uint numer = bdiv(tokenBalanceIn, tokenWeightIn);
        uint denom = bdiv(tokenBalanceOut, tokenWeightOut);
        uint ratio = bdiv(numer, denom);
        uint scale = bdiv(BONE, bsub(BONE, swapFee));
        return  (spotPrice = bmul(ratio, scale));
    }

    /**********************************************************************************************
    // calcOutGivenIn                                                                            //
    // aO = tokenAmountOut                                                                       //
    // bO = tokenBalanceOut                                                                      //
    // bI = tokenBalanceIn              /      /            bI             \    (wI / wO) \      //
    // aI = tokenAmountIn    aO = bO * |  1 - | --------------------------  | ^            |     //
    // wI = tokenWeightIn               \      \ ( bI + ( aI * ( 1 - sF )) /              /      //
    // wO = tokenWeightOut                                                                       //
    // sF = swapFee                                                                              //
    **********************************************************************************************/
    function calcOutGivenIn(
        uint tokenBalanceIn,
        uint tokenWeightIn,
        uint tokenBalanceOut,
        uint tokenWeightOut,
        uint tokenAmountIn,
        uint swapFee
    )
        public pure
        returns (uint tokenAmountOut)
    {
        uint weightRatio = bdiv(tokenWeightIn, tokenWeightOut);
        uint adjustedIn = bsub(BONE, swapFee);
        adjustedIn = bmul(tokenAmountIn, adjustedIn);
        uint y = bdiv(tokenBalanceIn, badd(tokenBalanceIn, adjustedIn));
        uint foo = bpow(y, weightRatio);
        uint bar = bsub(BONE, foo);
        tokenAmountOut = bmul(tokenBalanceOut, bar);
        return tokenAmountOut;
    }

    /**********************************************************************************************
    // calcInGivenOut                                                                            //
    // aI = tokenAmountIn                                                                        //
    // bO = tokenBalanceOut               /  /     bO      \    (wO / wI)      \                 //
    // bI = tokenBalanceIn          bI * |  | ------------  | ^            - 1  |                //
    // aO = tokenAmountOut    aI =        \  \ ( bO - aO ) /                   /                 //
    // wI = tokenWeightIn           --------------------------------------------                 //
    // wO = tokenWeightOut                          ( 1 - sF )                                   //
    // sF = swapFee                                                                              //
    **********************************************************************************************/
    function calcInGivenOut(
        uint tokenBalanceIn,
        uint tokenWeightIn,
        uint tokenBalanceOut,
        uint tokenWeightOut,
        uint tokenAmountOut,
        uint swapFee
    )
        public pure
        returns (uint tokenAmountIn)
    {
        uint weightRatio = bdiv(tokenWeightOut, tokenWeightIn);
        uint diff = bsub(tokenBalanceOut, tokenAmountOut);
        uint y = bdiv(tokenBalanceOut, diff);
        uint foo = bpow(y, weightRatio);
        foo = bsub(foo, BONE);
        tokenAmountIn = bsub(BONE, swapFee);
        tokenAmountIn = bdiv(bmul(tokenBalanceIn, foo), tokenAmountIn);
        return tokenAmountIn;
    }

    /**********************************************************************************************
    // calcPoolOutGivenSingleIn                                                                  //
    // pAo = poolAmountOut         /                                              \              //
    // tAi = tokenAmountIn        ///      /     //    wI \      \\       \     wI \             //
    // wI = tokenWeightIn        //| tAi *| 1 - || 1 - --  | * sF || + tBi \    --  \            //
    // tW = totalWeight     pAo=||  \      \     \\    tW /      //         | ^ tW   | * pS - pS //
    // tBi = tokenBalanceIn      \\  ------------------------------------- /        /            //
    // pS = poolSupply            \\                    tBi               /        /             //
    // sF = swapFee                \                                              /              //
    **********************************************************************************************/
    function calcPoolOutGivenSingleIn(
        uint tokenBalanceIn,
        uint tokenWeightIn,
        uint poolSupply,
        uint totalWeight,
        uint tokenAmountIn,
        uint swapFee
    )
        public pure
        returns (uint poolAmountOut)
    {
        // Charge the trading fee for the proportion of tokenAi
        ///  which is implicitly traded to the other pool tokens.
        // That proportion is (1- weightTokenIn)
        // tokenAiAfterFee = tAi * (1 - (1-weightTi) * poolFee);
        uint normalizedWeight = bdiv(tokenWeightIn, totalWeight);
        uint zaz = bmul(bsub(BONE, normalizedWeight), swapFee); 
        uint tokenAmountInAfterFee = bmul(tokenAmountIn, bsub(BONE, zaz));

        uint newTokenBalanceIn = badd(tokenBalanceIn, tokenAmountInAfterFee);
        uint tokenInRatio = bdiv(newTokenBalanceIn, tokenBalanceIn);

        // uint newPoolSupply = (ratioTi ^ weightTi) * poolSupply;
        uint poolRatio = bpow(tokenInRatio, normalizedWeight);
        uint newPoolSupply = bmul(poolRatio, poolSupply);
        poolAmountOut = bsub(newPoolSupply, poolSupply);
        return poolAmountOut;
    }

    /**********************************************************************************************
    // calcSingleInGivenPoolOut                                                                  //
    // tAi = tokenAmountIn              //(pS + pAo)\     /    1    \\                           //
    // pS = poolSupply                 || ---------  | ^ | --------- || * bI - bI                //
    // pAo = poolAmountOut              \\    pS    /     \(wI / tW)//                           //
    // bI = balanceIn          tAi =  --------------------------------------------               //
    // wI = weightIn                              /      wI  \                                   //
    // tW = totalWeight                          |  1 - ----  |  * sF                            //
    // sF = swapFee                               \      tW  /                                   //
    **********************************************************************************************/
    function calcSingleInGivenPoolOut(
        uint tokenBalanceIn,
        uint tokenWeightIn,
        uint poolSupply,
        uint totalWeight,
        uint poolAmountOut,
        uint swapFee
    )
        public pure
        returns (uint tokenAmountIn)
    {
        uint normalizedWeight = bdiv(tokenWeightIn, totalWeight);
        uint newPoolSupply = badd(poolSupply, poolAmountOut);
        uint poolRatio = bdiv(newPoolSupply, poolSupply);
      
        //uint newBalTi = poolRatio^(1/weightTi) * balTi;
        uint boo = bdiv(BONE, normalizedWeight); 
        uint tokenInRatio = bpow(poolRatio, boo);
        uint newTokenBalanceIn = bmul(tokenInRatio, tokenBalanceIn);
        uint tokenAmountInAfterFee = bsub(newTokenBalanceIn, tokenBalanceIn);
        // Do reverse order of fees charged in joinswap_ExternAmountIn, this way 
        //     ``` pAo == joinswap_ExternAmountIn(Ti, joinswap_PoolAmountOut(pAo, Ti)) ```
        //uint tAi = tAiAfterFee / (1 - (1-weightTi) * swapFee) ;
        uint zar = bmul(bsub(BONE, normalizedWeight), swapFee);
        tokenAmountIn = bdiv(tokenAmountInAfterFee, bsub(BONE, zar));
        return tokenAmountIn;
    }

    /**********************************************************************************************
    // calcSingleOutGivenPoolIn                                                                  //
    // tAo = tokenAmountOut            /      /                                             \\   //
    // bO = tokenBalanceOut           /      // pS - (pAi * (1 - eF)) \     /    1    \      \\  //
    // pAi = poolAmountIn            | bO - || ----------------------- | ^ | --------- | * b0 || //
    // ps = poolSupply                \      \\          pS           /     \(wO / tW)/      //  //
    // wI = tokenWeightIn      tAo =   \      \                                             //   //
    // tW = totalWeight                    /     /      wO \       \                             //
    // sF = swapFee                    *  | 1 - |  1 - ---- | * sF  |                            //
    // eF = exitFee                        \     \      tW /       /                             //
    **********************************************************************************************/
    function calcSingleOutGivenPoolIn(
        uint tokenBalanceOut,
        uint tokenWeightOut,
        uint poolSupply,
        uint totalWeight,
        uint poolAmountIn,
        uint swapFee
    )
        public pure
        returns (uint tokenAmountOut)
    {
        uint normalizedWeight = bdiv(tokenWeightOut, totalWeight);
        // charge exit fee on the pool token side
        // pAiAfterExitFee = pAi*(1-exitFee)
        uint poolAmountInAfterExitFee = bmul(poolAmountIn, bsub(BONE, EXIT_FEE));
        uint newPoolSupply = bsub(poolSupply, poolAmountInAfterExitFee);
        uint poolRatio = bdiv(newPoolSupply, poolSupply);
     
        // newBalTo = poolRatio^(1/weightTo) * balTo;
        uint tokenOutRatio = bpow(poolRatio, bdiv(BONE, normalizedWeight));
        uint newTokenBalanceOut = bmul(tokenOutRatio, tokenBalanceOut);

        uint tokenAmountOutBeforeSwapFee = bsub(tokenBalanceOut, newTokenBalanceOut);

        // charge swap fee on the output token side 
        //uint tAo = tAoBeforeSwapFee * (1 - (1-weightTo) * swapFee)
        uint zaz = bmul(bsub(BONE, normalizedWeight), swapFee); 
        tokenAmountOut = bmul(tokenAmountOutBeforeSwapFee, bsub(BONE, zaz));
        return tokenAmountOut;
    }

    /**********************************************************************************************
    // calcPoolInGivenSingleOut                                                                  //
    // pAi = poolAmountIn               // /               tAo             \\     / wO \     \   //
    // bO = tokenBalanceOut            // | bO - -------------------------- |\   | ---- |     \  //
    // tAo = tokenAmountOut      pS - ||   \     1 - ((1 - (tO / tW)) * sF)/  | ^ \ tW /  * pS | //
    // ps = poolSupply                 \\ -----------------------------------/                /  //
    // wO = tokenWeightOut  pAi =       \\               bO                 /                /   //
    // tW = totalWeight           -------------------------------------------------------------  //
    // sF = swapFee                                        ( 1 - eF )                            //
    // eF = exitFee                                                                              //
    **********************************************************************************************/
    function calcPoolInGivenSingleOut(
        uint tokenBalanceOut,
        uint tokenWeightOut,
        uint poolSupply,
        uint totalWeight,
        uint tokenAmountOut,
        uint swapFee
    )
        public pure
        returns (uint poolAmountIn)
    {

        // charge swap fee on the output token side 
        uint normalizedWeight = bdiv(tokenWeightOut, totalWeight);
        //uint tAoBeforeSwapFee = tAo / (1 - (1-weightTo) * swapFee) ;
        uint zoo = bsub(BONE, normalizedWeight);
        uint zar = bmul(zoo, swapFee); 
        uint tokenAmountOutBeforeSwapFee = bdiv(tokenAmountOut, bsub(BONE, zar));

        uint newTokenBalanceOut = bsub(tokenBalanceOut, tokenAmountOutBeforeSwapFee);
        uint tokenOutRatio = bdiv(newTokenBalanceOut, tokenBalanceOut);

        //uint newPoolSupply = (ratioTo ^ weightTo) * poolSupply;
        uint poolRatio = bpow(tokenOutRatio, normalizedWeight);
        uint newPoolSupply = bmul(poolRatio, poolSupply);
        uint poolAmountInAfterExitFee = bsub(poolSupply, newPoolSupply);

        // charge exit fee on the pool token side
        // pAi = pAiAfterExitFee/(1-exitFee)
        poolAmountIn = bdiv(poolAmountInAfterExitFee, bsub(BONE, EXIT_FEE));
        return poolAmountIn;
    }


}

File 4 of 6: BNum.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity 0.5.12;

import "./BConst.sol";

contract BNum is BConst {

    function btoi(uint a)
        internal pure 
        returns (uint)
    {
        return a / BONE;
    }

    function bfloor(uint a)
        internal pure
        returns (uint)
    {
        return btoi(a) * BONE;
    }

    function badd(uint a, uint b)
        internal pure
        returns (uint)
    {
        uint c = a + b;
        require(c >= a, "ERR_ADD_OVERFLOW");
        return c;
    }

    function bsub(uint a, uint b)
        internal pure
        returns (uint)
    {
        (uint c, bool flag) = bsubSign(a, b);
        require(!flag, "ERR_SUB_UNDERFLOW");
        return c;
    }

    function bsubSign(uint a, uint b)
        internal pure
        returns (uint, bool)
    {
        if (a >= b) {
            return (a - b, false);
        } else {
            return (b - a, true);
        }
    }

    function bmul(uint a, uint b)
        internal pure
        returns (uint)
    {
        uint c0 = a * b;
        require(a == 0 || c0 / a == b, "ERR_MUL_OVERFLOW");
        uint c1 = c0 + (BONE / 2);
        require(c1 >= c0, "ERR_MUL_OVERFLOW");
        uint c2 = c1 / BONE;
        return c2;
    }

    function bdiv(uint a, uint b)
        internal pure
        returns (uint)
    {
        require(b != 0, "ERR_DIV_ZERO");
        uint c0 = a * BONE;
        require(a == 0 || c0 / a == BONE, "ERR_DIV_INTERNAL"); // bmul overflow
        uint c1 = c0 + (b / 2);
        require(c1 >= c0, "ERR_DIV_INTERNAL"); //  badd require
        uint c2 = c1 / b;
        return c2;
    }

    // DSMath.wpow
    function bpowi(uint a, uint n)
        internal pure
        returns (uint)
    {
        uint z = n % 2 != 0 ? a : BONE;

        for (n /= 2; n != 0; n /= 2) {
            a = bmul(a, a);

            if (n % 2 != 0) {
                z = bmul(z, a);
            }
        }
        return z;
    }

    // Compute b^(e.w) by splitting it into (b^e)*(b^0.w).
    // Use `bpowi` for `b^e` and `bpowK` for k iterations
    // of approximation of b^0.w
    function bpow(uint base, uint exp)
        internal pure
        returns (uint)
    {
        require(base >= MIN_BPOW_BASE, "ERR_BPOW_BASE_TOO_LOW");
        require(base <= MAX_BPOW_BASE, "ERR_BPOW_BASE_TOO_HIGH");

        uint whole  = bfloor(exp);   
        uint remain = bsub(exp, whole);

        uint wholePow = bpowi(base, btoi(whole));

        if (remain == 0) {
            return wholePow;
        }

        uint partialResult = bpowApprox(base, remain, BPOW_PRECISION);
        return bmul(wholePow, partialResult);
    }

    function bpowApprox(uint base, uint exp, uint precision)
        internal pure
        returns (uint)
    {
        // term 0:
        uint a     = exp;
        (uint x, bool xneg)  = bsubSign(base, BONE);
        uint term = BONE;
        uint sum   = term;
        bool negative = false;


        // term(k) = numer / denom 
        //         = (product(a - i - 1, i=1-->k) * x^k) / (k!)
        // each iteration, multiply previous term by (a-(k-1)) * x / k
        // continue until term is less than precision
        for (uint i = 1; term >= precision; i++) {
            uint bigK = i * BONE;
            (uint c, bool cneg) = bsubSign(a, bsub(bigK, BONE));
            term = bmul(term, bmul(c, x));
            term = bdiv(term, bigK);
            if (term == 0) break;

            if (xneg) negative = !negative;
            if (cneg) negative = !negative;
            if (negative) {
                sum = bsub(sum, term);
            } else {
                sum = badd(sum, term);
            }
        }

        return sum;
    }

}

File 6 of 6: BToken.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity 0.5.12;

import "./BNum.sol";

// Highly opinionated token implementation

interface IERC20 {
    event Approval(address indexed src, address indexed dst, uint amt);
    event Transfer(address indexed src, address indexed dst, uint amt);

    function totalSupply() external view returns (uint);
    function balanceOf(address whom) external view returns (uint);
    function allowance(address src, address dst) external view returns (uint);

    function approve(address dst, uint amt) external returns (bool);
    function transfer(address dst, uint amt) external returns (bool);
    function transferFrom(
        address src, address dst, uint amt
    ) external returns (bool);
}

contract BTokenBase is BNum {

    mapping(address => uint)                   internal _balance;
    mapping(address => mapping(address=>uint)) internal _allowance;
    uint internal _totalSupply;

    event Approval(address indexed src, address indexed dst, uint amt);
    event Transfer(address indexed src, address indexed dst, uint amt);

    function _mint(uint amt) internal {
        _balance[address(this)] = badd(_balance[address(this)], amt);
        _totalSupply = badd(_totalSupply, amt);
        emit Transfer(address(0), address(this), amt);
    }

    function _burn(uint amt) internal {
        require(_balance[address(this)] >= amt, "ERR_INSUFFICIENT_BAL");
        _balance[address(this)] = bsub(_balance[address(this)], amt);
        _totalSupply = bsub(_totalSupply, amt);
        emit Transfer(address(this), address(0), amt);
    }

    function _move(address src, address dst, uint amt) internal {
        require(_balance[src] >= amt, "ERR_INSUFFICIENT_BAL");
        _balance[src] = bsub(_balance[src], amt);
        _balance[dst] = badd(_balance[dst], amt);
        emit Transfer(src, dst, amt);
    }

    function _push(address to, uint amt) internal {
        _move(address(this), to, amt);
    }

    function _pull(address from, uint amt) internal {
        _move(from, address(this), amt);
    }
}

contract BToken is BTokenBase, IERC20 {

    string  private _name     = "Balancer Pool Token";
    string  private _symbol   = "BPT";
    uint8   private _decimals = 18;

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns(uint8) {
        return _decimals;
    }

    function allowance(address src, address dst) external view returns (uint) {
        return _allowance[src][dst];
    }

    function balanceOf(address whom) external view returns (uint) {
        return _balance[whom];
    }

    function totalSupply() public view returns (uint) {
        return _totalSupply;
    }

    function approve(address dst, uint amt) external returns (bool) {
        _allowance[msg.sender][dst] = amt;
        emit Approval(msg.sender, dst, amt);
        return true;
    }

    function increaseApproval(address dst, uint amt) external returns (bool) {
        _allowance[msg.sender][dst] = badd(_allowance[msg.sender][dst], amt);
        emit Approval(msg.sender, dst, _allowance[msg.sender][dst]);
        return true;
    }

    function decreaseApproval(address dst, uint amt) external returns (bool) {
        uint oldValue = _allowance[msg.sender][dst];
        if (amt > oldValue) {
            _allowance[msg.sender][dst] = 0;
        } else {
            _allowance[msg.sender][dst] = bsub(oldValue, amt);
        }
        emit Approval(msg.sender, dst, _allowance[msg.sender][dst]);
        return true;
    }

    function transfer(address dst, uint amt) external returns (bool) {
        _move(msg.sender, dst, amt);
        return true;
    }

    function transferFrom(address src, address dst, uint amt) external returns (bool) {
        require(msg.sender == src || amt <= _allowance[src][msg.sender], "ERR_BTOKEN_BAD_CALLER");
        _move(src, dst, amt);
        if (msg.sender != src && _allowance[src][msg.sender] != uint256(-1)) {
            _allowance[src][msg.sender] = bsub(_allowance[src][msg.sender], amt);
            emit Approval(msg.sender, dst, _allowance[src][msg.sender]);
        }
        return true;
    }
}

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":true,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"LOG_CALL","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"tokenOut","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmountOut","type":"uint256"}],"name":"LOG_EXIT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmountIn","type":"uint256"}],"name":"LOG_JOIN","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":true,"internalType":"address","name":"tokenOut","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmountOut","type":"uint256"}],"name":"LOG_SWAP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"BONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"BPOW_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EXIT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"INIT_POOL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_BOUND_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_BPOW_BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_TOTAL_WEIGHT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_WEIGHT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_BALANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_BOUND_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_BPOW_BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_WEIGHT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"whom","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"denorm","type":"uint256"}],"name":"bind","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenBalanceIn","type":"uint256"},{"internalType":"uint256","name":"tokenWeightIn","type":"uint256"},{"internalType":"uint256","name":"tokenBalanceOut","type":"uint256"},{"internalType":"uint256","name":"tokenWeightOut","type":"uint256"},{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"calcInGivenOut","outputs":[{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenBalanceIn","type":"uint256"},{"internalType":"uint256","name":"tokenWeightIn","type":"uint256"},{"internalType":"uint256","name":"tokenBalanceOut","type":"uint256"},{"internalType":"uint256","name":"tokenWeightOut","type":"uint256"},{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"calcOutGivenIn","outputs":[{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenBalanceOut","type":"uint256"},{"internalType":"uint256","name":"tokenWeightOut","type":"uint256"},{"internalType":"uint256","name":"poolSupply","type":"uint256"},{"internalType":"uint256","name":"totalWeight","type":"uint256"},{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"calcPoolInGivenSingleOut","outputs":[{"internalType":"uint256","name":"poolAmountIn","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenBalanceIn","type":"uint256"},{"internalType":"uint256","name":"tokenWeightIn","type":"uint256"},{"internalType":"uint256","name":"poolSupply","type":"uint256"},{"internalType":"uint256","name":"totalWeight","type":"uint256"},{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"calcPoolOutGivenSingleIn","outputs":[{"internalType":"uint256","name":"poolAmountOut","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenBalanceIn","type":"uint256"},{"internalType":"uint256","name":"tokenWeightIn","type":"uint256"},{"internalType":"uint256","name":"poolSupply","type":"uint256"},{"internalType":"uint256","name":"totalWeight","type":"uint256"},{"internalType":"uint256","name":"poolAmountOut","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"calcSingleInGivenPoolOut","outputs":[{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenBalanceOut","type":"uint256"},{"internalType":"uint256","name":"tokenWeightOut","type":"uint256"},{"internalType":"uint256","name":"poolSupply","type":"uint256"},{"internalType":"uint256","name":"totalWeight","type":"uint256"},{"internalType":"uint256","name":"poolAmountIn","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"calcSingleOutGivenPoolIn","outputs":[{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenBalanceIn","type":"uint256"},{"internalType":"uint256","name":"tokenWeightIn","type":"uint256"},{"internalType":"uint256","name":"tokenBalanceOut","type":"uint256"},{"internalType":"uint256","name":"tokenWeightOut","type":"uint256"},{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"calcSpotPrice","outputs":[{"internalType":"uint256","name":"spotPrice","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"decreaseApproval","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"poolAmountIn","type":"uint256"},{"internalType":"uint256[]","name":"minAmountsOut","type":"uint256[]"}],"name":"exitPool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"},{"internalType":"uint256","name":"maxPoolAmountIn","type":"uint256"}],"name":"exitswapExternAmountOut","outputs":[{"internalType":"uint256","name":"poolAmountIn","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"poolAmountIn","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"}],"name":"exitswapPoolAmountIn","outputs":[{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getColor","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getController","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCurrentTokens","outputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getDenormalizedWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getFinalTokens","outputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getNormalizedWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getNumTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"getSpotPrice","outputs":[{"internalType":"uint256","name":"spotPrice","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"getSpotPriceSansFee","outputs":[{"internalType":"uint256","name":"spotPrice","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getSwapFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTotalDenormalizedWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"gulp","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"increaseApproval","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"t","type":"address"}],"name":"isBound","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isFinalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isPublicSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"poolAmountOut","type":"uint256"},{"internalType":"uint256[]","name":"maxAmountsIn","type":"uint256[]"}],"name":"joinPool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"},{"internalType":"uint256","name":"minPoolAmountOut","type":"uint256"}],"name":"joinswapExternAmountIn","outputs":[{"internalType":"uint256","name":"poolAmountOut","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"poolAmountOut","type":"uint256"},{"internalType":"uint256","name":"maxAmountIn","type":"uint256"}],"name":"joinswapPoolAmountOut","outputs":[{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"denorm","type":"uint256"}],"name":"rebind","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"setController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"public_","type":"bool"}],"name":"setPublicSwap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"swapFee","type":"uint256"}],"name":"setSwapFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"maxPrice","type":"uint256"}],"name":"swapExactAmountIn","outputs":[{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"},{"internalType":"uint256","name":"spotPriceAfter","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"maxAmountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"tokenAmountOut","type":"uint256"},{"internalType":"uint256","name":"maxPrice","type":"uint256"}],"name":"swapExactAmountOut","outputs":[{"internalType":"uint256","name":"tokenAmountIn","type":"uint256"},{"internalType":"uint256","name":"spotPriceAfter","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"unbind","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60c0604052601360808190527f42616c616e63657220506f6f6c20546f6b656e0000000000000000000000000060a0908152620000409160039190620000f4565b506040805180820190915260038082527f425054000000000000000000000000000000000000000000000000000000000060209092019182526200008791600491620000f4565b506005805460ff19166012179055348015620000a257600080fd5b50600680546005805462010000600160b01b031916336201000081029190911790915564e8d4a510006007556001600160a01b03199091161760ff60a01b191690556008805460ff1916905562000199565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200013757805160ff191683800117855562000167565b8280016001018555821562000167579182015b82811115620001675782518255916020019190600101906200014a565b506200017592915062000179565b5090565b6200019691905b8082111562000175576000815560010162000180565b90565b61562480620001a96000396000f3fe608060405234801561001057600080fd5b50600436106103c55760003560e01c80638c28cbe8116101ff578063bc694ea21161011a578063d73dd623116100ad578063f1b8a9b71161007c578063f1b8a9b714610c50578063f8b2cb4f14610c76578063f8d6aed414610c9c578063fde924f714610cd7576103c5565b8063d73dd62314610bc4578063dd62ed3e14610bf0578063e4a28a52146104cb578063e4e1e53814610c1e576103c5565b8063cc77828d116100e9578063cc77828d14610b86578063cd2ed8fb14610b8e578063cf5e7bd314610b96578063d4cadf6814610bbc576103c5565b8063bc694ea214610b1e578063be3bbd2e14610b26578063c36596a61461053f578063c6580d1214610b7e576103c5565b8063a221ee4911610192578063b7b800a411610161578063b7b800a414610acb578063ba019dab14610ad3578063ba9530a614610adb578063bc063e1a14610b16576103c5565b8063a221ee49146109eb578063a9059cbb14610a20578063b02f0b7314610a4c578063b0e0d13614610ac3576103c5565b80639381cd2b116101ce5780639381cd2b146109ad578063948d8ce6146109b557806395d89b41146109db5780639a86139b146109e3576103c5565b80638c28cbe8146109515780638d4e40831461097757806392eefe9b1461097f578063936c3477146109a5576103c5565b806346ab38f1116102ef57806370a082311161028257806382f652ad1161025157806382f652ad146108985780638656b653146108d3578063867378c51461090e5780638929801214610916576103c5565b806370a08231146107d157806376c7a3c7146107f75780637c5e9ea4146107ff5780638201aa3f14610858576103c5565b80635c1bbaf7116102be5780635c1bbaf7146107065780635db342771461074157806366188463146107735780636d06dfa01461079f576103c5565b806346ab38f11461063657806349b59552146106685780634bb278f3146106875780634f69c0d41461068f576103c5565b8063189d00ca116103675780633018205f116103365780633018205f146105a3578063313ce567146105c757806334e19907146105e55780633fdddaa214610604576103c5565b8063189d00ca14610537578063218b53821461053f57806323b872dd146105475780632f37b6241461057d576103c5565b806309a3bbe4116103a357806309a3bbe4146104cb5780631446a7ff146104d357806315e84af91461050157806318160ddd1461052f576103c5565b806302c96748146103ca57806306fdde031461040e578063095ea7b31461048b575b600080fd5b6103fc600480360360608110156103e057600080fd5b506001600160a01b038135169060208101359060400135610cdf565b60408051918252519081900360200190f35b610416610fd3565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610450578181015183820152602001610438565b50505050905090810190601f16801561047d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104b7600480360360408110156104a157600080fd5b506001600160a01b038135169060200135611069565b604080519115158252519081900360200190f35b6103fc6110d0565b6103fc600480360360408110156104e957600080fd5b506001600160a01b03813581169160200135166110dd565b6103fc6004803603604081101561051757600080fd5b506001600160a01b0381358116916020013516611232565b6103fc61137e565b6103fc611384565b6103fc611398565b6104b76004803603606081101561055d57600080fd5b506001600160a01b038135811691602081013590911690604001356113a4565b6104b76004803603602081101561059357600080fd5b50356001600160a01b0316611518565b6105ab611536565b604080516001600160a01b039092168252519081900360200190f35b6105cf611594565b6040805160ff9092168252519081900360200190f35b610602600480360360208110156105fb57600080fd5b503561159d565b005b6106026004803603606081101561061a57600080fd5b506001600160a01b0381351690602081013590604001356117be565b6103fc6004803603606081101561064c57600080fd5b506001600160a01b038135169060208101359060400135611c00565b6106026004803603602081101561067e57600080fd5b50351515611e97565b610602612035565b610602600480360360408110156106a557600080fd5b813591908101906040810160208201356401000000008111156106c757600080fd5b8201836020820111156106d957600080fd5b803590602001918460208302840111640100000000831117156106fb57600080fd5b509092509050612256565b6103fc600480360360c081101561071c57600080fd5b5080359060208101359060408101359060608101359060808101359060a00135612560565b6103fc6004803603606081101561075757600080fd5b506001600160a01b038135169060208101359060400135612618565b6104b76004803603604081101561078957600080fd5b506001600160a01b038135169060200135612892565b6103fc600480360360608110156107b557600080fd5b506001600160a01b03813516906020810135906040013561297c565b6103fc600480360360208110156107e757600080fd5b50356001600160a01b0316612c27565b6103fc612c42565b61083f600480360360a081101561081557600080fd5b506001600160a01b0381358116916020810135916040820135169060608101359060800135612c54565b6040805192835260208301919091528051918290030190f35b61083f600480360360a081101561086e57600080fd5b506001600160a01b0381358116916020810135916040820135169060608101359060800135613145565b6103fc600480360360c08110156108ae57600080fd5b5080359060208101359060408101359060608101359060808101359060a0013561361e565b6103fc600480360360c08110156108e957600080fd5b5080359060208101359060408101359060608101359060808101359060a001356136dd565b6103fc61377e565b6103fc600480360360c081101561092c57600080fd5b5080359060208101359060408101359060608101359060808101359060a00135613792565b6106026004803603602081101561096757600080fd5b50356001600160a01b0316613842565b6104b7613a0f565b6106026004803603602081101561099557600080fd5b50356001600160a01b0316613a18565b6103fc613b6e565b6103fc613bc3565b6103fc600480360360208110156109cb57600080fd5b50356001600160a01b0316613bd0565b610416613c9a565b6103fc613cfb565b6103fc600480360360a0811015610a0157600080fd5b5080359060208101359060408101359060608101359060800135613d1f565b6104b760048036036040811015610a3657600080fd5b506001600160a01b038135169060200135613d84565b61060260048036036040811015610a6257600080fd5b81359190810190604081016020820135640100000000811115610a8457600080fd5b820183602082011115610a9657600080fd5b80359060200191846020830284011164010000000083111715610ab857600080fd5b509092509050613d9a565b6103fc6140f1565b6103fc6140f6565b6103fc6140fb565b6103fc600480360360c0811015610af157600080fd5b5080359060208101359060408101359060608101359060808101359060a00135614100565b6103fc614181565b6103fc614191565b610b2e61419d565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610b6a578181015183820152602001610b52565b505050509050019250505060405180910390f35b6103fc614295565b610b2e61429a565b6103fc6142e8565b61060260048036036020811015610bac57600080fd5b50356001600160a01b03166142ee565b6103fc614688565b6104b760048036036040811015610bda57600080fd5b506001600160a01b0381351690602001356146dd565b6103fc60048036036040811015610c0657600080fd5b506001600160a01b0381358116916020013516614770565b61060260048036036060811015610c3457600080fd5b506001600160a01b03813516906020810135906040013561479b565b6103fc60048036036020811015610c6657600080fd5b50356001600160a01b0316614a2a565b6103fc60048036036020811015610c8c57600080fd5b50356001600160a01b0316614b06565b6103fc600480360360c0811015610cb257600080fd5b5080359060208101359060408101359060608101359060808101359060a00135614bd0565b6104b7614c53565b6000336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615610d8d576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff16610de7576040805162461bcd60e51b815260206004820152601160248201527011549497d393d517d19253905312569151607a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a602052604090205460ff16610e44576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a6020526040902060038101546002808301549054600b54600754610e7e9493929190899061361e565b915081610ec4576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b82821115610f19576040805162461bcd60e51b815260206004820152600c60248201527f4552525f4c494d49545f494e0000000000000000000000000000000000000000604482015290519081900360640190fd5b610f27816003015485614c63565b60038201556000610f388382614cd1565b6040805187815290519192506001600160a01b0388169133917fe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed919081900360200190a3610f863384614db4565b610f98610f938483614c63565b614dc2565b600554610fb4906201000090046001600160a01b031682614dce565b610fbf863387614dd8565b50506005805461ff00191690559392505050565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561105f5780601f106110345761010080835404028352916020019161105f565b820191906000526020600020905b81548152906001019060200180831161104257829003601f168201915b5050505050905090565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6802b5e3af16b188000081565b600554600090610100900460ff161561112b576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090205460ff16611188576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0382166000908152600a602052604090205460ff166111e5576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b038084166000908152600a602052604080822092851682528120600380840154600280860154928401549084015493946112299492939290613d1f565b95945050505050565b600554600090610100900460ff1615611280576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090205460ff166112dd576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0382166000908152600a602052604090205460ff1661133a576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b038084166000908152600a602052604080822092851682529020600380830154600280850154928401549084015460075461122994929190613d1f565b60025490565b6402540be400670de0b6b3a76400005b0481565b670de0b6b3a764000081565b6000336001600160a01b03851614806113e057506001600160a01b03841660009081526001602090815260408083203384529091529020548211155b611431576040805162461bcd60e51b815260206004820152601560248201527f4552525f42544f4b454e5f4241445f43414c4c45520000000000000000000000604482015290519081900360640190fd5b61143c848484614eca565b336001600160a01b0385161480159061147a57506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b1561150e576001600160a01b03841660009081526001602090815260408083203384529091529020546114ad9083614c63565b6001600160a01b03858116600090815260016020908152604080832033808552908352928190208590558051948552519287169391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5060019392505050565b6001600160a01b03166000908152600a602052604090205460ff1690565b600554600090610100900460ff1615611584576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b506006546001600160a01b031690565b60055460ff1690565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615611649576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff16156116a3576040805162461bcd60e51b815260206004820152601060248201526f11549497d254d7d1925390531256915160821b604482015290519081900360640190fd5b6006546001600160a01b031633146116f7576040805162461bcd60e51b815260206004820152601260248201527122a9292fa727aa2fa1a7a72a2927a62622a960711b604482015290519081900360640190fd5b64e8d4a51000811015611751576040805162461bcd60e51b815260206004820152600b60248201527f4552525f4d494e5f464545000000000000000000000000000000000000000000604482015290519081900360640190fd5b67016345785d8a00008111156117ae576040805162461bcd60e51b815260206004820152600b60248201527f4552525f4d41585f464545000000000000000000000000000000000000000000604482015290519081900360640190fd5b6007556005805461ff0019169055565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff161561186a576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff001916610100179055600654336001600160a01b03909116146118cf576040805162461bcd60e51b815260206004820152601260248201527122a9292fa727aa2fa1a7a72a2927a62622a960711b604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090205460ff1661192c576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b60085460ff1615611977576040805162461bcd60e51b815260206004820152601060248201526f11549497d254d7d1925390531256915160821b604482015290519081900360640190fd5b670de0b6b3a76400008110156119d4576040805162461bcd60e51b815260206004820152600e60248201527f4552525f4d494e5f574549474854000000000000000000000000000000000000604482015290519081900360640190fd5b6802b5e3af16b1880000811115611a32576040805162461bcd60e51b815260206004820152600e60248201527f4552525f4d41585f574549474854000000000000000000000000000000000000604482015290519081900360640190fd5b620f4240821015611a8a576040805162461bcd60e51b815260206004820152600f60248201527f4552525f4d494e5f42414c414e43450000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090206002015480821115611b2a57611ac3600b54611abe8484614c63565b614fe3565b600b8190556802b5e3af16b18800001015611b25576040805162461bcd60e51b815260206004820152601460248201527f4552525f4d41585f544f54414c5f574549474854000000000000000000000000604482015290519081900360640190fd5b611b4b565b80821015611b4b57611b47600b54611b428385614c63565b614c63565b600b555b6001600160a01b0384166000908152600a602052604090206002810183905560030180549084905580841115611b9457611b8f8533611b8a8785614c63565b61503d565b611bee565b80841015611bee576000611ba88286614c63565b90506000611bb7826000614cd1565b9050611bcd8733611bc88585614c63565b614dd8565b600554611beb9088906201000090046001600160a01b031683614dd8565b50505b50506005805461ff0019169055505050565b6000336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615611cae576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff16611d08576040805162461bcd60e51b815260206004820152601160248201527011549497d393d517d19253905312569151607a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a602052604090205460ff16611d65576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a6020526040902060038101546002808301549054600b54600754611d9f94939291908990613792565b915082821015611df6576040805162461bcd60e51b815260206004820152600d60248201527f4552525f4c494d49545f4f555400000000000000000000000000000000000000604482015290519081900360640190fd5b611e04816003015483614c63565b60038201556000611e158582614cd1565b6040805185815290519192506001600160a01b0388169133917fe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed919081900360200190a3611e633386614db4565b611e70610f938683614c63565b600554611e8c906201000090046001600160a01b031682614dce565b610fbf863385614dd8565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615611f43576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff1615611f9d576040805162461bcd60e51b815260206004820152601060248201526f11549497d254d7d1925390531256915160821b604482015290519081900360640190fd5b6006546001600160a01b03163314611ff1576040805162461bcd60e51b815260206004820152601260248201527122a9292fa727aa2fa1a7a72a2927a62622a960711b604482015290519081900360640190fd5b60068054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9092169190911790556005805461ff0019169055565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff16156120e1576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff001916610100179055600654336001600160a01b0390911614612146576040805162461bcd60e51b815260206004820152601260248201527122a9292fa727aa2fa1a7a72a2927a62622a960711b604482015290519081900360640190fd5b60085460ff1615612191576040805162461bcd60e51b815260206004820152601060248201526f11549497d254d7d1925390531256915160821b604482015290519081900360640190fd5b600954600211156121e9576040805162461bcd60e51b815260206004820152600e60248201527f4552525f4d494e5f544f4b454e53000000000000000000000000000000000000604482015290519081900360640190fd5b6008805460ff19166001179055600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b17905561223668056bc75e2d631000006150af565b6122493368056bc75e2d63100000614dce565b6005805461ff0019169055565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615612302576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff1661235c576040805162461bcd60e51b815260206004820152601160248201527011549497d393d517d19253905312569151607a1b604482015290519081900360640190fd5b600061236661137e565b9050600061237485836150b8565b9050806123ba576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b60005b60095481101561254c576000600982815481106123d657fe5b60009182526020808320909101546001600160a01b0316808352600a90915260408220600301549092509061240b8583614cd1565b905080612451576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b87878581811061245d57fe5b905060200201358111156124b8576040805162461bcd60e51b815260206004820152600c60248201527f4552525f4c494d49545f494e0000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a60205260409020600301546124de9082614fe3565b6001600160a01b0384166000818152600a60209081526040918290206003019390935580518481529051919233927f63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a9281900390910190a361254183338361503d565b5050506001016123bd565b50612556856150af565b611bee3386614dce565b60008061256d87866150b8565b9050600061257b8786614fe3565b9050600061258982896150b8565b9050600061259f670de0b6b3a7640000856150b8565b905060006125ad83836151eb565b905060006125bb828e614cd1565b905060006125c9828f614c63565b905060006125e86125e2670de0b6b3a76400008a614c63565b8b614cd1565b905061260582612600670de0b6b3a764000084614c63565b6150b8565b9f9e505050505050505050505050505050565b6000336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff16156126c6576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff16612720576040805162461bcd60e51b815260206004820152601160248201527011549497d393d517d19253905312569151607a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a602052604090205460ff1661277d576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a6020526040902060038101546002808301549054600b546007546127b7949392919089906136dd565b91508282101561280e576040805162461bcd60e51b815260206004820152600d60248201527f4552525f4c494d49545f4f555400000000000000000000000000000000000000604482015290519081900360640190fd5b61281c816003015485614fe3565b60038201556040805185815290516001600160a01b0387169133917f63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a9181900360200190a361286a826150af565b6128743383614dce565b61287f85338661503d565b506005805461ff00191690559392505050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054808311156128e7573360009081526001602090815260408083206001600160a01b0388168452909152812055612916565b6128f18184614c63565b3360009081526001602090815260408083206001600160a01b03891684529091529020555b3360008181526001602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615612a2a576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff16612a84576040805162461bcd60e51b815260206004820152601160248201527011549497d393d517d19253905312569151607a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a602052604090205460ff16612ae1576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a6020526040902060038101546002808301549054600b54600754612b1b94939291908990612560565b915081612b61576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b82821115612bb6576040805162461bcd60e51b815260206004820152600c60248201527f4552525f4c494d49545f494e0000000000000000000000000000000000000000604482015290519081900360640190fd5b612bc4816003015483614fe3565b60038201556040805183815290516001600160a01b0387169133917f63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a9181900360200190a3612c12846150af565b612c1c3385614dce565b61287f85338461503d565b6001600160a01b031660009081526020819052604090205490565b620f4240670de0b6b3a7640000611394565b60408051602080825236908201819052600092839233926001600160e01b03198535169285929081908101848480828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615612cf1576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff0019166101001790556001600160a01b0387166000908152600a602052604090205460ff16612d5d576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0385166000908152600a602052604090205460ff16612dba576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b600654600160a01b900460ff16612e18576040805162461bcd60e51b815260206004820152601360248201527f4552525f535741505f4e4f545f5055424c494300000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038088166000908152600a60205260408082209288168252902060038082015404861115612e94576040805162461bcd60e51b815260206004820152601160248201527f4552525f4d41585f4f55545f524154494f000000000000000000000000000000604482015290519081900360640190fd5b6000612eb58360030154846002015484600301548560020154600754613d1f565b905085811115612f0c576040805162461bcd60e51b815260206004820152601360248201527f4552525f4241445f4c494d49545f505249434500000000000000000000000000604482015290519081900360640190fd5b612f2c83600301548460020154846003015485600201548b600754614bd0565b945088851115612f83576040805162461bcd60e51b815260206004820152600c60248201527f4552525f4c494d49545f494e0000000000000000000000000000000000000000604482015290519081900360640190fd5b612f91836003015486614fe3565b8360030181905550612fa7826003015488614c63565b600380840182905584015460028086015490850154600754612fca949190613d1f565b935080841015613013576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b85841115613068576040805162461bcd60e51b815260206004820152600f60248201527f4552525f4c494d49545f50524943450000000000000000000000000000000000604482015290519081900360640190fd5b61307285886150b8565b8111156130b8576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b876001600160a01b03168a6001600160a01b0316336001600160a01b03167f908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378888b604051808381526020018281526020019250505060405180910390a46131208a338761503d565b61312b883389614dd8565b5050506005805461ff001916905590969095509350505050565b60408051602080825236908201819052600092839233926001600160e01b03198535169285929081908101848480828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff16156131e2576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff0019166101001790556001600160a01b0387166000908152600a602052604090205460ff1661324e576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0385166000908152600a602052604090205460ff166132ab576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b600654600160a01b900460ff16613309576040805162461bcd60e51b815260206004820152601360248201527f4552525f535741505f4e4f545f5055424c494300000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038088166000908152600a602052604080822092881682529020600382015460029004881115613387576040805162461bcd60e51b815260206004820152601060248201527f4552525f4d41585f494e5f524154494f00000000000000000000000000000000604482015290519081900360640190fd5b60006133a88360030154846002015484600301548560020154600754613d1f565b9050858111156133ff576040805162461bcd60e51b815260206004820152601360248201527f4552525f4241445f4c494d49545f505249434500000000000000000000000000604482015290519081900360640190fd5b61341f83600301548460020154846003015485600201548d600754614100565b945086851015613476576040805162461bcd60e51b815260206004820152600d60248201527f4552525f4c494d49545f4f555400000000000000000000000000000000000000604482015290519081900360640190fd5b61348483600301548a614fe3565b836003018190555061349a826003015486614c63565b6003808401829055840154600280860154908501546007546134bd949190613d1f565b935080841015613506576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b8584111561355b576040805162461bcd60e51b815260206004820152600f60248201527f4552525f4c494d49545f50524943450000000000000000000000000000000000604482015290519081900360640190fd5b61356589866150b8565b8111156135ab576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b876001600160a01b03168a6001600160a01b0316336001600160a01b03167f908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d433788c89604051808381526020018281526020019250505060405180910390a46136138a338b61503d565b61312b883387614dd8565b60008061362b87866150b8565b90506000613641670de0b6b3a764000083614c63565b9050600061364f8286614cd1565b9050600061366987612600670de0b6b3a764000085614c63565b905060006136778c83614c63565b90506000613685828e6150b8565b9050600061369382886151eb565b905060006136a1828e614cd1565b905060006136af8e83614c63565b90506136c881612600670de0b6b3a76400006000614c63565b99505050505050505050509695505050505050565b6000806136ea87866150b8565b90506000613709613703670de0b6b3a764000084614c63565b85614cd1565b9050600061372886613723670de0b6b3a764000085614c63565b614cd1565b905060006137368b83614fe3565b90506000613744828d6150b8565b9050600061375282876151eb565b90506000613760828d614cd1565b905061376c818d614c63565b9e9d5050505050505050505050505050565b64e8d4a51000670de0b6b3a7640000611394565b60008061379f87866150b8565b905060006137ba85613723670de0b6b3a76400006000614c63565b905060006137c88883614c63565b905060006137d6828a6150b8565b905060006137f5826137f0670de0b6b3a7640000886150b8565b6151eb565b90506000613803828e614cd1565b905060006138118e83614c63565b9050600061382a6125e2670de0b6b3a76400008a614c63565b905061260582613723670de0b6b3a764000084614c63565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff16156138ee576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff0019166101001790556001600160a01b0381166000908152600a602052604090205460ff1661395a576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b038316916370a08231916024808301926020929190829003018186803b1580156139b957600080fd5b505afa1580156139cd573d6000803e3d6000fd5b505050506040513d60208110156139e357600080fd5b50516001600160a01b039091166000908152600a60205260409020600301556005805461ff0019169055565b60085460ff1690565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615613ac4576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff001916610100179055600654336001600160a01b0390911614613b29576040805162461bcd60e51b815260206004820152601260248201527122a9292fa727aa2fa1a7a72a2927a62622a960711b604482015290519081900360640190fd5b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03929092169190911790556005805461ff0019169055565b600554600090610100900460ff1615613bbc576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b50600b5490565b68056bc75e2d6310000081565b600554600090610100900460ff1615613c1e576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6001600160a01b0382166000908152600a602052604090205460ff16613c7b576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b506001600160a01b03166000908152600a602052604090206002015490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561105f5780601f106110345761010080835404028352916020019161105f565b7f42524f4e5a45000000000000000000000000000000000000000000000000000090565b600080613d2c87876150b8565b90506000613d3a86866150b8565b90506000613d4883836150b8565b90506000613d6a670de0b6b3a7640000612600670de0b6b3a764000089614c63565b9050613d768282614cd1565b9a9950505050505050505050565b6000613d91338484614eca565b50600192915050565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff1615613e46576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff00191661010017905560085460ff16613ea0576040805162461bcd60e51b815260206004820152601160248201527011549497d393d517d19253905312569151607a1b604482015290519081900360640190fd5b6000613eaa61137e565b90506000613eb9856000614cd1565b90506000613ec78683614c63565b90506000613ed582856150b8565b905080613f1b576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b613f253388614db4565b600554613f41906201000090046001600160a01b031684614dce565b613f4a82614dc2565b60005b6009548110156140dc57600060098281548110613f6657fe5b60009182526020808320909101546001600160a01b0316808352600a909152604082206003015490925090613f9b8583614cd1565b905080613fe1576040805162461bcd60e51b815260206004820152600f60248201526e08aa4a4be9a82a890be82a0a0a49eb608b1b604482015290519081900360640190fd5b898985818110613fed57fe5b90506020020135811015614048576040805162461bcd60e51b815260206004820152600d60248201527f4552525f4c494d49545f4f555400000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090206003015461406e9082614c63565b6001600160a01b0384166000818152600a60209081526040918290206003019390935580518481529051919233927fe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed9281900390910190a36140d1833383614dd8565b505050600101613f4d565b50506005805461ff0019169055505050505050565b600881565b600281565b600181565b60008061410d87866150b8565b90506000614123670de0b6b3a764000085614c63565b905061412f8582614cd1565b905060006141418a6126008c85614fe3565b9050600061414f82856151eb565b90506000614165670de0b6b3a764000083614c63565b90506141718a82614cd1565b9c9b505050505050505050505050565b600a670de0b6b3a7640000611394565b671bc16d674ec7ffff81565b600554606090610100900460ff16156141eb576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b60085460ff16614236576040805162461bcd60e51b815260206004820152601160248201527011549497d393d517d19253905312569151607a1b604482015290519081900360640190fd5b600980548060200260200160405190810160405280929190818152602001828054801561105f57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161426e575050505050905090565b600081565b600554606090610100900460ff1615614236576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b60095490565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2600554610100900460ff161561439a576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6005805461ff001916610100179055600654336001600160a01b03909116146143ff576040805162461bcd60e51b815260206004820152601260248201527122a9292fa727aa2fa1a7a72a2927a62622a960711b604482015290519081900360640190fd5b6001600160a01b0381166000908152600a602052604090205460ff1661445c576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b60085460ff16156144a7576040805162461bcd60e51b815260206004820152601060248201526f11549497d254d7d1925390531256915160821b604482015290519081900360640190fd5b6001600160a01b0381166000908152600a6020526040812060030154906144ce8282614cd1565b600b546001600160a01b0385166000908152600a60205260409020600201549192506144f991614c63565b600b556001600160a01b0383166000908152600a602052604090206001015460098054600019810191908290811061452d57fe5b600091825260209091200154600980546001600160a01b03909216918490811061455357fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600a60006009858154811061459357fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206001015560098054806145c657fe5b60008281526020808220600019908401810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925560408051608081018252838152808301848152818301858152606083018681526001600160a01b038c168752600a909552929094209051815460ff1916901515178155925160018401555160028301555160039091015561466a8533611bc88787614c63565b600554611bee9086906201000090046001600160a01b031685614dd8565b600554600090610100900460ff16156146d6576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b5060075490565b3360009081526001602090815260408083206001600160a01b038616845290915281205461470b9083614fe3565b3360008181526001602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b336001600160a01b03166000356001600160e01b0319166001600160e01b03191660003660405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a26006546001600160a01b03163314614850576040805162461bcd60e51b815260206004820152601260248201527122a9292fa727aa2fa1a7a72a2927a62622a960711b604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090205460ff16156148be576040805162461bcd60e51b815260206004820152600c60248201527f4552525f49535f424f554e440000000000000000000000000000000000000000604482015290519081900360640190fd5b60085460ff1615614909576040805162461bcd60e51b815260206004820152601060248201526f11549497d254d7d1925390531256915160821b604482015290519081900360640190fd5b600954600811614960576040805162461bcd60e51b815260206004820152600e60248201527f4552525f4d41585f544f4b454e53000000000000000000000000000000000000604482015290519081900360640190fd5b6040805160808101825260018082526009805460208085019182526000858701818152606087018281526001600160a01b038c16808452600a9094529782209651875460ff1916901515178755925186860155915160028601559451600390940193909355805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055614a258383836117be565b505050565b600554600090610100900460ff1615614a78576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6001600160a01b0382166000908152600a602052604090205460ff16614ad5576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b6001600160a01b0382166000908152600a6020526040902060020154600b54614aff9082906150b8565b9392505050565b600554600090610100900460ff1615614b54576040805162461bcd60e51b815260206004820152600b60248201526a4552525f5245454e54525960a81b604482015290519081900360640190fd5b6001600160a01b0382166000908152600a602052604090205460ff16614bb1576040805162461bcd60e51b815260206004820152600d60248201526c11549497d393d517d093d55391609a1b604482015290519081900360640190fd5b506001600160a01b03166000908152600a602052604090206003015490565b600080614bdd85886150b8565b90506000614beb8786614c63565b90506000614bf988836150b8565b90506000614c0782856151eb565b9050614c1b81670de0b6b3a7640000614c63565b9050614c2f670de0b6b3a764000087614c63565b9450614c44614c3e8c83614cd1565b866150b8565b9b9a5050505050505050505050565b600654600160a01b900460ff1690565b6000806000614c728585615308565b915091508015614cc9576040805162461bcd60e51b815260206004820152601160248201527f4552525f5355425f554e444552464c4f57000000000000000000000000000000604482015290519081900360640190fd5b509392505050565b6000828202831580614ceb575082848281614ce857fe5b04145b614d3c576040805162461bcd60e51b815260206004820152601060248201527f4552525f4d554c5f4f564552464c4f5700000000000000000000000000000000604482015290519081900360640190fd5b6706f05b59d3b20000810181811015614d9c576040805162461bcd60e51b815260206004820152601060248201527f4552525f4d554c5f4f564552464c4f5700000000000000000000000000000000604482015290519081900360640190fd5b6000670de0b6b3a7640000825b049695505050505050565b614dbe828261532d565b5050565b614dcb81615338565b50565b614dbe8282615411565b604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260248201849052915160009286169163a9059cbb91604480830192602092919082900301818787803b158015614e4457600080fd5b505af1158015614e58573d6000803e3d6000fd5b505050506040513d6020811015614e6e57600080fd5b5051905080614ec4576040805162461bcd60e51b815260206004820152600f60248201527f4552525f45524332305f46414c53450000000000000000000000000000000000604482015290519081900360640190fd5b50505050565b6001600160a01b038316600090815260208190526040902054811115614f37576040805162461bcd60e51b815260206004820152601460248201527f4552525f494e53554646494349454e545f42414c000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038316600090815260208190526040902054614f5a9082614c63565b6001600160a01b038085166000908152602081905260408082209390935590841681522054614f899082614fe3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082820183811015614aff576040805162461bcd60e51b815260206004820152601060248201527f4552525f4144445f4f564552464c4f5700000000000000000000000000000000604482015290519081900360640190fd5b604080517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301523060248301526044820184905291516000928616916323b872dd91606480830192602092919082900301818787803b158015614e4457600080fd5b614dcb8161541c565b60008161510c576040805162461bcd60e51b815260206004820152600c60248201527f4552525f4449565f5a45524f0000000000000000000000000000000000000000604482015290519081900360640190fd5b670de0b6b3a764000083028315806151345750670de0b6b3a764000084828161513157fe5b04145b615185576040805162461bcd60e51b815260206004820152601060248201527f4552525f4449565f494e5445524e414c00000000000000000000000000000000604482015290519081900360640190fd5b600283048101818110156151e0576040805162461bcd60e51b815260206004820152601060248201527f4552525f4449565f494e5445524e414c00000000000000000000000000000000604482015290519081900360640190fd5b6000848281614da957fe5b60006001831015615243576040805162461bcd60e51b815260206004820152601560248201527f4552525f42504f575f424153455f544f4f5f4c4f570000000000000000000000604482015290519081900360640190fd5b671bc16d674ec7ffff8311156152a0576040805162461bcd60e51b815260206004820152601660248201527f4552525f42504f575f424153455f544f4f5f4849474800000000000000000000604482015290519081900360640190fd5b60006152ab83615491565b905060006152b98483614c63565b905060006152cf866152ca856154ac565b6154ba565b9050816152e05792506110ca915050565b60006152f187846305f5e100615511565b90506152fd8282614cd1565b979650505050505050565b60008082841061531e5750508082036000615326565b505081810360015b9250929050565b614dbe823083614eca565b3060009081526020819052604090205481111561539c576040805162461bcd60e51b815260206004820152601460248201527f4552525f494e53554646494349454e545f42414c000000000000000000000000604482015290519081900360640190fd5b306000908152602081905260409020546153b69082614c63565b306000908152602081905260409020556002546153d39082614c63565b60025560408051828152905160009130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350565b614dbe308383614eca565b306000908152602081905260409020546154369082614fe3565b306000908152602081905260409020556002546154539082614fe3565b60025560408051828152905130916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350565b6000670de0b6b3a76400006154a5836154ac565b0292915050565b670de0b6b3a7640000900490565b600080600283066154d357670de0b6b3a76400006154d5565b835b90506002830492505b8215614aff576154ee8485614cd1565b93506002830615615506576155038185614cd1565b90505b6002830492506154de565b600082818061552887670de0b6b3a7640000615308565b9092509050670de0b6b3a764000080600060015b8884106155e0576000670de0b6b3a7640000820290506000806155708a61556b85670de0b6b3a7640000614c63565b615308565b9150915061558287613723848c614cd1565b965061558e87846150b8565b96508661559d575050506155e0565b87156155a7579315935b80156155b1579315935b84156155c8576155c18688614c63565b95506155d5565b6155d28688614fe3565b95505b50505060010161553c565b5090999850505050505050505056fea265627a7a72315820120192900907c0b195c60a76498e04970fabc67e67977231022e7517bbe2167564736f6c634300050c0032

Deployed ByteCode Sourcemap

714:22064:4:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;714:22064:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20541:1245;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20541:1245:4;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2853:81:5;;;:::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;2853:81:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3439:180;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3439:180:5;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1147:50:1;;;:::i;9827:481:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9827:481:4;;;;;;;;;;:::i;9340:::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9340:481:4;;;;;;;;;;:::i;3347:86:5:-;;;:::i;1439:54:1:-;;;:::i;1040:45::-;;;:::i;4409:483:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4409:483:5;;;;;;;;;;;;;;;;;:::i;2766:118:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2766:118:4;-1:-1:-1;;;;;2766:118:4;;:::i;4338:131::-;;;:::i;:::-;;;;-1:-1:-1;;;;;4338:131:4;;;;;;;;;;;;;;3031:80:5;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4475:341:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4475:341:4;;:::i;:::-;;6415:1603;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6415:1603:4;;;;;;;;;;;;;:::i;19357:1178::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19357:1178:4;;;;;;;;;;;;;:::i;5023:242::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5023:242:4;;;;:::i;5271:418::-;;;:::i;10314:925::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10314:925:4;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;10314:925:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10314:925:4;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;10314:925:4;;-1:-1:-1;10314:925:4;-1:-1:-1;10314:925:4;:::i;8611:1167:2:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;8611:1167:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;17175:1063:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17175:1063:4;;;;;;;;;;;;;:::i;3879:388:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3879:388:5;;;;;;;;:::i;18244:1107:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18244:1107:4;;;;;;;;;;;;;:::i;3241:100:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3241:100:5;-1:-1:-1;;;;;3241:100:5;;:::i;876:53:1:-;;;:::i;14763:2405:4:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;14763:2405:4;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12346:2411;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;12346:2411:4;;;;;;;;;;;;;;;;;;;;;;;;;:::i;13224:1254:2:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;13224:1254:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6465:1140::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;6465:1140:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1203:54:1:-;;;:::i;10884:1234:2:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;10884:1234:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;9116:218:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9116:218:4;-1:-1:-1;;;;;9116:218:4;;:::i;2654:106::-;;;:::i;4822:195::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4822:195:4;-1:-1:-1;;;;;4822:195:4;;:::i;3576:142::-;;;:::i;1264:51:1:-;;;:::i;3352:218:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3352:218:4;-1:-1:-1;;;;;3352:218:4;;:::i;2940:85:5:-;;;:::i;795:117:0:-;;;:::i;1636:494:2:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;1636:494:2;;;;;;;;;;;;;;;;;;;;;;:::i;4273:130:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4273:130:5;;;;;;;;:::i;11245:1094:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11245:1094:4;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;11245:1094:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;11245:1094:4;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;11245:1094:4;;-1:-1:-1;11245:1094:4;-1:-1:-1;11245:1094:4;:::i;827:42:1:-;;;:::i;779:::-;;;:::i;1322:46::-;;;:::i;3136:664:2:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;3136:664:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;935:50:1:-;;;:::i;1374:59::-;;;:::i;3152:194:4:-;;;:::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;3152:194:4;;;;;;;;;;;;;;;;;991:42:1;;;:::i;3008:138:4:-;;;:::i;2890:112::-;;;:::i;8024:1010::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8024:1010:4;-1:-1:-1;;;;;8024:1010:4;;:::i;4210:122::-;;;:::i;3625:248:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3625:248:5;;;;;;;;:::i;3117:118::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3117:118:5;;;;;;;;;;:::i;5696:713:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5696:713:4;;;;;;;;;;;;;:::i;3724:266::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3724:266:4;-1:-1:-1;;;;;3724:266:4;;:::i;3996:208::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3996:208:4;-1:-1:-1;;;;;3996:208:4;;:::i;4806:653:2:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;4806:653:2;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2540:108:4:-;;;:::i;20541:1245::-;20699:17;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;20740:10;;1699:13;20740:10;20732:40;;;;;-1:-1:-1;;;20732:40:4;;;;;;;;;;;;-1:-1:-1;;;20732:40:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;20790:18:4;;;;;;:8;:18;;;;;:24;;;20782:50;;;;;-1:-1:-1;;;20782:50:4;;;;;;;;;;;;-1:-1:-1;;;20782:50:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;20870:18:4;;20843:24;20870:18;;;:8;:18;;;;;20968:17;;;;21015:16;;;;;21061:12;;21103;;21189:8;;20914:309;;20968:17;21015:16;21061:12;21103;21145:14;;20914:24;:309::i;:::-;20899:324;-1:-1:-1;21242:17:4;21234:45;;;;;-1:-1:-1;;;21234:45:4;;;;;;;;;;;;-1:-1:-1;;;21234:45:4;;;;;;;;;;;;;;;21313:15;21297:12;:31;;21289:56;;;;;-1:-1:-1;;;21289:56:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;21376:39;21381:9;:17;;;21400:14;21376:4;:39::i;:::-;21356:17;;;:59;21426:12;21441:28;21446:12;21426;21441:4;:28::i;:::-;21485:46;;;;;;;;21426:43;;-1:-1:-1;;;;;;21485:46:4;;;21494:10;;21485:46;;;;;;;;;;21542:40;21557:10;21569:12;21542:14;:40::i;:::-;21592:43;21607:27;21612:12;21626:7;21607:4;:27::i;:::-;21592:14;:43::i;:::-;21660:8;;21645:33;;21660:8;;;-1:-1:-1;;;;;21660:8:4;21670:7;21645:14;:33::i;:::-;21688:53;21704:8;21714:10;21726:14;21688:15;:53::i;:::-;-1:-1:-1;;1733:6:4;:14;;-1:-1:-1;;1733:14:4;;;20541:1245;;-1:-1:-1;;;20541:1245:4:o;2853:81:5:-;2922:5;2915:12;;;;;;;;-1:-1:-1;;2915:12:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2890:13;;2915:12;;2922:5;;2915:12;;2922:5;2915:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2853:81;:::o;3439:180::-;3524:10;3497:4;3513:22;;;:10;:22;;;;;;;;-1:-1:-1;;;;;3513:27:5;;;;;;;;;;;:33;;;3561:30;;;;;;;3497:4;;3513:27;;3524:10;;3561:30;;;;;;;;-1:-1:-1;3608:4:5;3439:180;;;;;:::o;1147:50:1:-;1188:9;1147:50;:::o;9827:481:4:-;1801:6;;9949:14;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;9987:17:4;;;;;;:8;:17;;;;;:23;;;9979:49;;;;;-1:-1:-1;;;9979:49:4;;;;;;;;;;;;-1:-1:-1;;;9979:49:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;10046:18:4;;;;;;:8;:18;;;;;:24;;;10038:50;;;;;-1:-1:-1;;;10038:50:4;;;;;;;;;;;;-1:-1:-1;;;10038:50:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;10124:17:4;;;10098:23;10124:17;;;:8;:17;;;;;;10178:18;;;;;;;10227:16;;;;;10245:15;;;;;10262:17;;;;10281:16;;;;10178:18;;10213:88;;10227:16;;10245:15;10281:16;10213:13;:88::i;:::-;10206:95;9827:481;-1:-1:-1;;;;;9827:481:4:o;9340:::-;1801:6;;9455:14;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;9493:17:4;;;;;;:8;:17;;;;;:23;;;9485:49;;;;;-1:-1:-1;;;9485:49:4;;;;;;;;;;;;-1:-1:-1;;;9485:49:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;9552:18:4;;;;;;:8;:18;;;;;:24;;;9544:50;;;;;-1:-1:-1;;;9544:50:4;;;;;;;;;;;;-1:-1:-1;;;9544:50:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;9630:17:4;;;9604:23;9630:17;;;:8;:17;;;;;;9684:18;;;;;;;9733:16;;;;;9751:15;;;;;9768:17;;;;9787:16;;;;9805:8;;9719:95;;9751:15;9768:17;9787:16;9719:13;:95::i;3347:86:5:-;3414:12;;3347:86;:::o;1439:54:1:-;1487:6;766;1480:13;;1439:54;:::o;1040:45::-;766:6;1040:45;:::o;4409:483:5:-;4485:4;4509:10;-1:-1:-1;;;;;4509:17:5;;;;:55;;-1:-1:-1;;;;;;4537:15:5;;;;;;:10;:15;;;;;;;;4553:10;4537:27;;;;;;;;4530:34;;;4509:55;4501:89;;;;;-1:-1:-1;;;4501:89:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;4600:20;4606:3;4611;4616;4600:5;:20::i;:::-;4634:10;-1:-1:-1;;;;;4634:17:5;;;;;;:63;;-1:-1:-1;;;;;;4655:15:5;;;;;;:10;:15;;;;;;;;4671:10;4655:27;;;;;;;;-1:-1:-1;;4655:42:5;;4634:63;4630:235;;;-1:-1:-1;;;;;4748:15:5;;;;;;:10;:15;;;;;;;;4764:10;4748:27;;;;;;;;4743:38;;4777:3;4743:4;:38::i;:::-;-1:-1:-1;;;;;4713:15:5;;;;;;;:10;:15;;;;;;;;4729:10;4713:27;;;;;;;;;;:68;;;4800:54;;;;;;;;;;4729:10;;4800:54;;;;;;;;;;4630:235;-1:-1:-1;4881:4:5;4409:483;;;;;:::o;2766:118:4:-;-1:-1:-1;;;;;2860:11:4;2833:4;2860:11;;;:8;:11;;;;;:17;;;;2766:118::o;4338:131::-;1801:6;;4421:7;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;4451:11:4;;-1:-1:-1;;;;;4451:11:4;4338:131;:::o;3031:80:5:-;3095:9;;;;3031:80;:::o;4475:341:4:-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;4580:10;;1699:13;4580:10;4579:11;4571:40;;;;;-1:-1:-1;;;4571:40:4;;;;;;;;;;;;-1:-1:-1;;;4571:40:4;;;;;;;;;;;;;;;4643:11;;-1:-1:-1;;;;;4643:11:4;4629:10;:25;4621:56;;;;;-1:-1:-1;;;4621:56:4;;;;;;;;;;;;-1:-1:-1;;;4621:56:4;;;;;;;;;;;;;;;917:12:1;4695:18:4;;;4687:42;;;;;-1:-1:-1;;;4687:42:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;976:9:1;4747:18:4;;;4739:42;;;;;-1:-1:-1;;;4739:42:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;4791:8;:18;1733:6;:14;;-1:-1:-1;;1733:14:4;;;4475:341::o;6415:1603::-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;6555:11;;6541:10;-1:-1:-1;;;;;6555:11:4;;;6541:25;6533:56;;;;;-1:-1:-1;;;6533:56:4;;;;;;;;;;;;-1:-1:-1;;;6533:56:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;6607:15:4;;;;;;:8;:15;;;;;:21;;;6599:47;;;;;-1:-1:-1;;;6599:47:4;;;;;;;;;;;;-1:-1:-1;;;6599:47:4;;;;;;;;;;;;;;;6665:10;;;;6664:11;6656:40;;;;;-1:-1:-1;;;6656:40:4;;;;;;;;;;;;-1:-1:-1;;;6656:40:4;;;;;;;;;;;;;;;766:6:1;6715::4;:20;;6707:47;;;;;-1:-1:-1;;;6707:47:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;1132:9:1;6772:20:4;;;6764:47;;;;;-1:-1:-1;;;6764:47:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;1244:13:1;6829:22:4;;;6821:50;;;;;-1:-1:-1;;;6821:50:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6944:15:4;;6927:14;6944:15;;;:8;:15;;;;;:22;;;6980:18;;;6976:299;;;7029:43;7034:12;;7048:23;7053:6;7061:9;7048:4;:23::i;:::-;7029:4;:43::i;:::-;7014:12;:58;;;1188:9:1;-1:-1:-1;7094:32:4;7086:65;;;;;-1:-1:-1;;;7086:65:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;6976:299;;;7181:9;7172:6;:18;7168:107;;;7221:43;7226:12;;7240:23;7245:9;7256:6;7240:4;:23::i;:::-;7221:4;:43::i;:::-;7206:12;:58;7168:107;-1:-1:-1;;;;;7292:15:4;;;;;;:8;:15;;;;;:22;;;:31;;;7414:23;;;;7447:33;;;;7494:20;;;7490:522;;;7530:61;7546:5;7553:10;7565:25;7570:7;7579:10;7565:4;:25::i;:::-;7530:15;:61::i;:::-;7490:522;;;7622:10;7612:7;:20;7608:404;;;7725:26;7754:25;7759:10;7771:7;7754:4;:25::i;:::-;7725:54;;7793:17;7813:37;7818:21;1032:1:1;7813:4:4;:37::i;:::-;7793:57;;7864:77;7880:5;7887:10;7899:41;7904:21;7927:12;7899:4;:41::i;:::-;7864:15;:77::i;:::-;7978:8;;7955:46;;7971:5;;7978:8;;;-1:-1:-1;;;;;7978:8:4;7988:12;7955:15;:46::i;:::-;7608:404;;;-1:-1:-1;;1733:6:4;:14;;-1:-1:-1;;1733:14:4;;;-1:-1:-1;;;6415:1603:4:o;19357:1178::-;19507:19;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;19550:10;;1699:13;19550:10;19542:40;;;;;-1:-1:-1;;;19542:40:4;;;;;;;;;;;;-1:-1:-1;;;19542:40:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;19600:18:4;;;;;;:8;:18;;;;;:24;;;19592:50;;;;;-1:-1:-1;;;19592:50:4;;;;;;;;;;;;-1:-1:-1;;;19592:50:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;19680:18:4;;19653:24;19680:18;;;:8;:18;;;;;19780:17;;;;19827:16;;;;;19873:12;;19915;;19999:8;;19726:307;;19780:17;19827:16;19873:12;19915;19957;;19726:24;:307::i;:::-;19709:324;;20070:12;20052:14;:30;;20044:56;;;;;-1:-1:-1;;;20044:56:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;20131:39;20136:9;:17;;;20155:14;20131:4;:39::i;:::-;20111:17;;;:59;20181:12;20196:28;20201:12;20181;20196:4;:28::i;:::-;20240:46;;;;;;;;20181:43;;-1:-1:-1;;;;;;20240:46:4;;;20249:10;;20240:46;;;;;;;;;;20297:40;20312:10;20324:12;20297:14;:40::i;:::-;20347:43;20362:27;20367:12;20381:7;20362:4;:27::i;20347:43::-;20415:8;;20400:33;;20415:8;;;-1:-1:-1;;;;;20415:8:4;20425:7;20400:14;:33::i;:::-;20443:53;20459:8;20469:10;20481:14;20443:15;:53::i;5023:242::-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;5130:10;;1699:13;5130:10;5129:11;5121:40;;;;;-1:-1:-1;;;5121:40:4;;;;;;;;;;;;-1:-1:-1;;;5121:40:4;;;;;;;;;;;;;;;5193:11;;-1:-1:-1;;;;;5193:11:4;5179:10;:25;5171:56;;;;;-1:-1:-1;;;5171:56:4;;;;;;;;;;;;-1:-1:-1;;;5171:56:4;;;;;;;;;;;;;;;5237:11;:21;;;;;-1:-1:-1;;;5237:21:4;;;;;;;;;;;1733:6;:14;;-1:-1:-1;;1733:14:4;;;5023:242::o;5271:418::-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;5374:11;;5360:10;-1:-1:-1;;;;;5374:11:4;;;5360:25;5352:56;;;;;-1:-1:-1;;;5352:56:4;;;;;;;;;;;;-1:-1:-1;;;5352:56:4;;;;;;;;;;;;;;;5427:10;;;;5426:11;5418:40;;;;;-1:-1:-1;;;5418:40:4;;;;;;;;;;;;-1:-1:-1;;;5418:40:4;;;;;;;;;;;;;;;5476:7;:14;820:1:1;-1:-1:-1;5476:34:4;5468:61;;;;;-1:-1:-1;;;5468:61:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;5540:10;:17;;-1:-1:-1;;5540:17:4;5553:4;5540:17;;;5567:11;:18;;;;-1:-1:-1;;;5567:18:4;;;5596:32;1305:10:1;5596:14:4;:32::i;:::-;5638:44;5653:10;1305::1;5638:14:4;:44::i;:::-;1733:6;:14;;-1:-1:-1;;1733:14:4;;;5271:418::o;10314:925::-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;10451:10;;1699:13;10451:10;10443:40;;;;;-1:-1:-1;;;10443:40:4;;;;;;;;;;;;-1:-1:-1;;;10443:40:4;;;;;;;;;;;;;;;10494:14;10511:13;:11;:13::i;:::-;10494:30;;10534:10;10547:30;10552:13;10567:9;10547:4;:30::i;:::-;10534:43;-1:-1:-1;10595:10:4;10587:38;;;;;-1:-1:-1;;;10587:38:4;;;;;;;;;;;;-1:-1:-1;;;10587:38:4;;;;;;;;;;;;;;;10641:6;10636:507;10657:7;:14;10653:18;;10636:507;;;10692:9;10704:7;10712:1;10704:10;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10704:10:4;10739:11;;;:8;:11;;;;;;:19;;;10704:10;;-1:-1:-1;10739:19:4;10793:16;10798:5;10739:19;10793:4;:16::i;:::-;10772:37;-1:-1:-1;10831:18:4;10823:46;;;;;-1:-1:-1;;;10823:46:4;;;;;;;;;;;;-1:-1:-1;;;10823:46:4;;;;;;;;;;;;;;;10908:12;;10921:1;10908:15;;;;;;;;;;;;;10891:13;:32;;10883:57;;;;;-1:-1:-1;;;10883:57:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10981:11:4;;;;;;:8;:11;;;;;:19;;;10976:40;;11002:13;10976:4;:40::i;:::-;-1:-1:-1;;;;;10954:11:4;;;;;;:8;:11;;;;;;;;;:19;;:62;;;;11035:38;;;;;;;10954:11;;11044:10;;11035:38;;;;;;;;;;11087:45;11103:1;11106:10;11118:13;11087:15;:45::i;:::-;-1:-1:-1;;;10673:3:4;;10636:507;;;;11152:29;11167:13;11152:14;:29::i;:::-;11191:41;11206:10;11218:13;11191:14;:41::i;8611:1167:2:-;8846:18;8880:21;8904:32;8909:13;8924:11;8904:4;:32::i;:::-;8880:56;;8946:18;8967:31;8972:10;8984:13;8967:4;:31::i;:::-;8946:52;;9008:14;9025:31;9030:13;9045:10;9025:4;:31::i;:::-;9008:48;;9131:8;9142:28;766:6:1;9153:16:2;9142:4;:28::i;:::-;9131:39;;9181:17;9201:20;9206:9;9217:3;9201:4;:20::i;:::-;9181:40;;9231:22;9256:34;9261:12;9275:14;9256:4;:34::i;:::-;9231:59;;9300:26;9329:39;9334:17;9353:14;9329:4;:39::i;:::-;9300:68;;9617:8;9628:43;9633:28;766:6:1;9644:16:2;9633:4;:28::i;:::-;9663:7;9628:4;:43::i;:::-;9617:54;;9697:44;9702:21;9725:15;766:6:1;9736:3:2;9725:4;:15::i;:::-;9697:4;:44::i;:::-;9681:60;8611:1167;-1:-1:-1;;;;;;;;;;;;;;;8611:1167:2:o;17175:1063:4:-;17331:18;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;17373:10;;1699:13;17373:10;17365:40;;;;;-1:-1:-1;;;17365:40:4;;;;;;;;;;;;-1:-1:-1;;;17365:40:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;17423:17:4;;;;;;:8;:17;;;;;:23;;;17415:49;;;;;-1:-1:-1;;;17415:49:4;;;;;;;;;;;;-1:-1:-1;;;17415:49:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;17501:17:4;;17475:23;17501:17;;;:8;:17;;;;;17599:16;;;;17645:15;;;;;17690:12;;17732;;17817:8;;17545:306;;17599:16;17645:15;17690:12;17732;17774:13;;17545:24;:306::i;:::-;17529:322;;17887:16;17870:13;:33;;17862:59;;;;;-1:-1:-1;;;17862:59:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;17951:37;17956:8;:16;;;17974:13;17951:4;:37::i;:::-;17932:16;;;:56;18004:44;;;;;;;;-1:-1:-1;;;;;18004:44:4;;;18013:10;;18004:44;;;;;;;;;18059:29;18074:13;18059:14;:29::i;:::-;18098:41;18113:10;18125:13;18098:14;:41::i;:::-;18149:51;18165:7;18174:10;18186:13;18149:15;:51::i;:::-;-1:-1:-1;1733:6:4;:14;;-1:-1:-1;;1733:14:4;;;17175:1063;;-1:-1:-1;;;17175:1063:4:o;3879:388:5:-;3989:10;3946:4;3978:22;;;:10;:22;;;;;;;;-1:-1:-1;;;;;3978:27:5;;;;;;;;;;4019:14;;;4015:156;;;4060:10;4079:1;4049:22;;;:10;:22;;;;;;;;-1:-1:-1;;;;;4049:27:5;;;;;;;;;:31;4015:156;;;4141:19;4146:8;4156:3;4141:4;:19::i;:::-;4122:10;4111:22;;;;:10;:22;;;;;;;;-1:-1:-1;;;;;4111:27:5;;;;;;;;;:49;4015:156;4194:10;4211:22;;;;:10;:22;;;;;;;;-1:-1:-1;;;;;4185:54:5;;4211:27;;;;;;;;;;;4185:54;;;;;;;;;4194:10;4185:54;;;;;;;;;;;-1:-1:-1;4256:4:5;;3879:388;-1:-1:-1;;;3879:388:5:o;18244:1107:4:-;18394:18;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;18436:10;;1699:13;18436:10;18428:40;;;;;-1:-1:-1;;;18428:40:4;;;;;;;;;;;;-1:-1:-1;;;18428:40:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;18486:17:4;;;;;;:8;:17;;;;;:23;;;18478:49;;;;;-1:-1:-1;;;18478:49:4;;;;;;;;;;;;-1:-1:-1;;;18478:49:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;18564:17:4;;18538:23;18564:17;;;:8;:17;;;;;18662:16;;;;18708:15;;;;;18753:12;;18795;;18880:8;;18608:306;;18662:16;18708:15;18753:12;18795;18837:13;;18608:24;:306::i;:::-;18592:322;-1:-1:-1;18933:18:4;18925:46;;;;;-1:-1:-1;;;18925:46:4;;;;;;;;;;;;-1:-1:-1;;;18925:46:4;;;;;;;;;;;;;;;19006:11;18989:13;:28;;18981:53;;;;;-1:-1:-1;;;18981:53:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;19064:37;19069:8;:16;;;19087:13;19064:4;:37::i;:::-;19045:16;;;:56;19117:44;;;;;;;;-1:-1:-1;;;;;19117:44:4;;;19126:10;;19117:44;;;;;;;;;19172:29;19187:13;19172:14;:29::i;:::-;19211:41;19226:10;19238:13;19211:14;:41::i;:::-;19262:51;19278:7;19287:10;19299:13;19262:15;:51::i;3241:100:5:-;-1:-1:-1;;;;;3320:14:5;3297:4;3320:14;;;;;;;;;;;;3241:100::o;876:53:1:-;924:5;766:6;917:12;;14763:2405:4;1567:39;;;;;;;1597:8;1567:39;;;;;;14991:18;;;;1585:10;;-1:-1:-1;;;;;;1576:7:4;;;;14991:18;;1567:39;;;;;14991:18;1597:8;;14991:18;1567:39;1:33:-1;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;-1:-1:-1;;;;;15054:17:4;;1699:13;15054:17;;;:8;:17;;;;;:23;1699:13;15054:23;15046:49;;;;;-1:-1:-1;;;15046:49:4;;;;;;;;;;;;-1:-1:-1;;;15046:49:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;15113:18:4;;;;;;:8;:18;;;;;:24;;;15105:50;;;;;-1:-1:-1;;;15105:50:4;;;;;;;;;;;;-1:-1:-1;;;15105:50:4;;;;;;;;;;;;;;;15173:11;;-1:-1:-1;;;15173:11:4;;;;15165:43;;;;;-1:-1:-1;;;15165:43:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15245:26:4;;;15219:23;15245:26;;;:8;:26;;;;;;15308:27;;;;;;;15393:1;15373:17;;;;:21;15354:14;:41;;15346:71;;;;;-1:-1:-1;;;15346:71:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;15428:20;15451:309;15502:8;:16;;;15556:8;:15;;;15609:9;:17;;;15664:9;:16;;;15718:8;;15451:13;:309::i;:::-;15428:332;;15797:8;15778:15;:27;;15770:59;;;;;-1:-1:-1;;;15770:59:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;15856:306;15900:8;:16;;;15946:8;:15;;;15991:9;:17;;;16038:9;:16;;;16084:14;16128:8;;15856:14;:306::i;:::-;15840:322;;16197:11;16180:13;:28;;16172:53;;;;;-1:-1:-1;;;16172:53:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;16255:37;16260:8;:16;;;16278:13;16255:4;:37::i;:::-;16236:8;:16;;:56;;;;16322:39;16327:9;:17;;;16346:14;16322:4;:39::i;:::-;16302:17;;;;:59;;;16436:16;;;16486:15;;;;;16586:16;;;;16636:8;;16389:285;;16302:59;16586:16;16389:13;:285::i;:::-;16372:302;;16710:15;16692:14;:33;;16684:61;;;;;-1:-1:-1;;;16684:61:4;;;;;;;;;;;;-1:-1:-1;;;16684:61:4;;;;;;;;;;;;;;;16781:8;16763:14;:26;;16755:54;;;;;-1:-1:-1;;;16755:54:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;16846:35;16851:13;16866:14;16846:4;:35::i;:::-;16827:15;:54;;16819:82;;;;;-1:-1:-1;;;16819:82:4;;;;;;;;;;;;-1:-1:-1;;;16819:82:4;;;;;;;;;;;;;;;16947:8;-1:-1:-1;;;;;16917:70:4;16938:7;-1:-1:-1;;;;;16917:70:4;16926:10;-1:-1:-1;;;;;16917:70:4;;16957:13;16972:14;16917:70;;;;;;;;;;;;;;;;;;;;;;;;16998:51;17014:7;17023:10;17035:13;16998:15;:51::i;:::-;17059:53;17075:8;17085:10;17097:14;17059:15;:53::i;:::-;-1:-1:-1;;;1733:6:4;:14;;-1:-1:-1;;1733:14:4;;;14763:2405;;;;-1:-1:-1;14763:2405:4;-1:-1:-1;;;;14763:2405:4:o;12346:2411::-;1567:39;;;;;;;1597:8;1567:39;;;;;;12572:19;;;;1585:10;;-1:-1:-1;;;;;;1576:7:4;;;;12572:19;;1567:39;;;;;12572:19;1597:8;;12572:19;1567:39;1:33:-1;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;-1:-1:-1;;;;;12637:17:4;;1699:13;12637:17;;;:8;:17;;;;;:23;1699:13;12637:23;12629:49;;;;;-1:-1:-1;;;12629:49:4;;;;;;;;;;;;-1:-1:-1;;;12629:49:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;12696:18:4;;;;;;:8;:18;;;;;:24;;;12688:50;;;;;-1:-1:-1;;;12688:50:4;;;;;;;;;;;;-1:-1:-1;;;12688:50:4;;;;;;;;;;;;;;;12756:11;;-1:-1:-1;;;12756:11:4;;;;12748:43;;;;;-1:-1:-1;;;12748:43:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12828:26:4;;;12802:23;12828:26;;;:8;:26;;;;;;12891:27;;;;;;;12955:16;;;;12974:1;;12955:20;12937:13;:39;;12929:68;;;;;-1:-1:-1;;;12929:68:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;13008:20;13031:309;13082:8;:16;;;13136:8;:15;;;13189:9;:17;;;13244:9;:16;;;13298:8;;13031:13;:309::i;:::-;13008:332;;13377:8;13358:15;:27;;13350:59;;;;;-1:-1:-1;;;13350:59:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;13437:305;13481:8;:16;;;13527:8;:15;;;13572:9;:17;;;13619:9;:16;;;13665:13;13708:8;;13437:14;:305::i;:::-;13420:322;;13778:12;13760:14;:30;;13752:56;;;;;-1:-1:-1;;;13752:56:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;13838:37;13843:8;:16;;;13861:13;13838:4;:37::i;:::-;13819:8;:16;;:56;;;;13905:39;13910:9;:17;;;13929:14;13905:4;:39::i;:::-;13885:17;;;;:59;;;14019:16;;;14069:15;;;;;14169:16;;;;14219:8;;13972:285;;13885:59;14169:16;13972:13;:285::i;:::-;13955:302;;14293:15;14275:14;:33;;14267:61;;;;;-1:-1:-1;;;14267:61:4;;;;;;;;;;;;-1:-1:-1;;;14267:61:4;;;;;;;;;;;;;;;14369:8;14351:14;:26;;14343:54;;;;;-1:-1:-1;;;14343:54:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;14434:35;14439:13;14454:14;14434:4;:35::i;:::-;14415:15;:54;;14407:82;;;;;-1:-1:-1;;;14407:82:4;;;;;;;;;;;;-1:-1:-1;;;14407:82:4;;;;;;;;;;;;;;;14535:8;-1:-1:-1;;;;;14505:70:4;14526:7;-1:-1:-1;;;;;14505:70:4;14514:10;-1:-1:-1;;;;;14505:70:4;;14545:13;14560:14;14505:70;;;;;;;;;;;;;;;;;;;;;;;;14586:51;14602:7;14611:10;14623:13;14586:15;:51::i;:::-;14647:53;14663:8;14673:10;14685:14;14647:15;:53::i;13224:1254:2:-;13462:17;13549:21;13573:33;13578:14;13594:11;13573:4;:33::i;:::-;13549:57;;13687:8;13698:28;766:6:1;13709:16:2;13698:4;:28::i;:::-;13687:39;;13736:8;13747:18;13752:3;13757:7;13747:4;:18::i;:::-;13736:29;;13776:32;13811:37;13816:14;13832:15;766:6:1;13843:3:2;13832:4;:15::i;13811:37::-;13776:72;;13859:23;13885:50;13890:15;13907:27;13885:4;:50::i;:::-;13859:76;;13945:18;13966:41;13971:18;13991:15;13966:4;:41::i;:::-;13945:62;;14084:14;14101:37;14106:13;14121:16;14101:4;:37::i;:::-;14084:54;;14148:18;14169:27;14174:9;14185:10;14169:4;:27::i;:::-;14148:48;;14206:29;14238:31;14243:10;14255:13;14238:4;:31::i;:::-;14206:63;;14390:52;14395:24;14421:20;766:6:1;1032:1;14421:4:2;:20::i;14390:52::-;14375:67;-1:-1:-1;;;;;;;;;;13224:1254:2;;;;;;;;:::o;6465:1140::-;6700:18;6978:21;7002:32;7007:13;7022:11;7002:4;:32::i;:::-;6978:56;;7044:8;7055:43;7060:28;766:6:1;7071:16:2;7060:4;:28::i;:::-;7090:7;7055:4;:43::i;:::-;7044:54;;7109:26;7138:36;7143:13;7158:15;766:6:1;7169:3:2;7158:4;:15::i;:::-;7138:4;:36::i;:::-;7109:65;;7185:22;7210:43;7215:14;7231:21;7210:4;:43::i;:::-;7185:68;;7263:17;7283:39;7288:17;7307:14;7283:4;:39::i;:::-;7263:59;;7400:14;7417:36;7422:12;7436:16;7417:4;:36::i;:::-;7400:53;;7463:18;7484:27;7489:9;7500:10;7484:4;:27::i;:::-;7463:48;;7537:31;7542:13;7557:10;7537:4;:31::i;:::-;7521:47;6465:1140;-1:-1:-1;;;;;;;;;;;;;;6465:1140:2:o;1203:54:1:-;1251:6;766;1244:13;;10884:1234:2;11120:19;11155:21;11179:33;11184:14;11200:11;11179:4;:33::i;:::-;11155:57;;11317:29;11349:40;11354:12;11368:20;766:6:1;1032:1;11368:4:2;:20::i;11349:40::-;11317:72;;11399:18;11420:42;11425:10;11437:24;11420:4;:42::i;:::-;11399:63;;11472:14;11489:31;11494:13;11509:10;11489:4;:31::i;:::-;11472:48;;11590:18;11611:45;11616:9;11627:28;766:6:1;11638:16:2;11627:4;:28::i;:::-;11611:4;:45::i;:::-;11590:66;;11666:23;11692:36;11697:13;11712:15;11692:4;:36::i;:::-;11666:62;;11739:32;11774:41;11779:15;11796:18;11774:4;:41::i;:::-;11739:76;;11948:8;11959:43;11964:28;766:6:1;11975:16:2;11964:4;:28::i;11959:43::-;11948:54;;12030:50;12035:27;12064:15;766:6:1;12075:3:2;12064:4;:15::i;9116:218:4:-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;-1:-1:-1;;;;;9214:15:4;;1699:13;9214:15;;;:8;:15;;;;;:21;1699:13;9214:21;9206:47;;;;;-1:-1:-1;;;9206:47:4;;;;;;;;;;;;-1:-1:-1;;;9206:47:4;;;;;;;;;;;;;;;9289:38;;;;;;9321:4;9289:38;;;;;;-1:-1:-1;;;;;9289:23:4;;;;;:38;;;;;;;;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;9289:38:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9289:38:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9289:38:4;-1:-1:-1;;;;;9263:15:4;;;;;;;:8;9289:38;9263:15;;;;:23;;:64;1733:6;:14;;-1:-1:-1;;1733:14:4;;;9116:218::o;2654:106::-;2743:10;;;;2654:106;:::o;4822:195::-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;4945:11;;4931:10;-1:-1:-1;;;;;4945:11:4;;;4931:25;4923:56;;;;;-1:-1:-1;;;4923:56:4;;;;;;;;;;;;-1:-1:-1;;;4923:56:4;;;;;;;;;;;;;;;4989:11;:21;;;;-1:-1:-1;;;;;4989:21:4;;;;;;;;;;1733:6;:14;;-1:-1:-1;;1733:14:4;;;4822:195::o;3576:142::-;1801:6;;3672:4;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;3699:12:4;;3576:142;:::o;1264:51:1:-;1305:10;1264:51;:::o;3352:218:4:-;1801:6;;3456:4;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;3485:15:4;;;;;;:8;:15;;;;;:21;;;3477:47;;;;;-1:-1:-1;;;3477:47:4;;;;;;;;;;;;-1:-1:-1;;;3477:47:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3541:15:4;;;;;:8;:15;;;;;:22;;;;3352:218::o;2940:85:5:-;3011:7;3004:14;;;;;;;;-1:-1:-1;;3004:14:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2979:13;;3004:14;;3011:7;;3004:14;;3011:7;3004:14;;;;;;;;;;;;;;;;;;;;;;;;795:117:0;884:17;795:117;:::o;1636:494:2:-;1840:14;1870:10;1883:35;1888:14;1904:13;1883:4;:35::i;:::-;1870:48;;1928:10;1941:37;1946:15;1963:14;1941:4;:37::i;:::-;1928:50;;1988:10;2001:18;2006:5;2013;2001:4;:18::i;:::-;1988:31;;2029:10;2042:31;766:6:1;2053:19:2;766:6:1;2064:7:2;2053:4;:19::i;2042:31::-;2029:44;;2104:18;2109:5;2116;2104:4;:18::i;:::-;2092:30;1636:494;-1:-1:-1;;;;;;;;;;1636:494:2:o;4273:130:5:-;4332:4;4348:27;4354:10;4366:3;4371;4348:5;:27::i;:::-;-1:-1:-1;4392:4:5;4273:130;;;;:::o;11245:1094:4:-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;11382:10;;1699:13;11382:10;11374:40;;;;;-1:-1:-1;;;11374:40:4;;;;;;;;;;;;-1:-1:-1;;;11374:40:4;;;;;;;;;;;;;;;11425:14;11442:13;:11;:13::i;:::-;11425:30;;11465:12;11480:28;11485:12;1032:1:1;11480:4:4;:28::i;:::-;11465:43;;11518:20;11541:27;11546:12;11560:7;11541:4;:27::i;:::-;11518:50;;11578:10;11591:32;11596:15;11613:9;11591:4;:32::i;:::-;11578:45;-1:-1:-1;11641:10:4;11633:38;;;;;-1:-1:-1;;;11633:38:4;;;;;;;;;;;;-1:-1:-1;;;11633:38:4;;;;;;;;;;;;;;;11682:40;11697:10;11709:12;11682:14;:40::i;:::-;11747:8;;11732:33;;11747:8;;;-1:-1:-1;;;;;11747:8:4;11757:7;11732:14;:33::i;:::-;11775:31;11790:15;11775:14;:31::i;:::-;11822:6;11817:515;11838:7;:14;11834:18;;11817:515;;;11873:9;11885:7;11893:1;11885:10;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11885:10:4;11920:11;;;:8;:11;;;;;;:19;;;11885:10;;-1:-1:-1;11920:19:4;11975:16;11980:5;11920:19;11975:4;:16::i;:::-;11953:38;-1:-1:-1;12013:19:4;12005:47;;;;;-1:-1:-1;;;12005:47:4;;;;;;;;;;;;-1:-1:-1;;;12005:47:4;;;;;;;;;;;;;;;12092:13;;12106:1;12092:16;;;;;;;;;;;;;12074:14;:34;;12066:60;;;;;-1:-1:-1;;;12066:60:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12167:11:4;;;;;;:8;:11;;;;;:19;;;12162:41;;12188:14;12162:4;:41::i;:::-;-1:-1:-1;;;;;12140:11:4;;;;;;:8;:11;;;;;;;;;:19;;:63;;;;12222:39;;;;;;;12140:11;;12231:10;;12222:39;;;;;;;;;;12275:46;12291:1;12294:10;12306:14;12275:15;:46::i;:::-;-1:-1:-1;;;11854:3:4;;11817:515;;;-1:-1:-1;;1733:6:4;:14;;-1:-1:-1;;1733:14:4;;;-1:-1:-1;;;;;;11245:1094:4:o;827:42:1:-;868:1;827:42;:::o;779:::-;820:1;779:42;:::o;1322:46::-;1363:5;1322:46;:::o;3136:664:2:-;3369:19;3404:16;3423:35;3428:13;3443:14;3423:4;:35::i;:::-;3404:54;;3468:15;3486:19;766:6:1;3497:7:2;3486:4;:19::i;:::-;3468:37;;3528:31;3533:13;3548:10;3528:4;:31::i;:::-;3515:44;;3569:6;3578:54;3583:14;3599:32;3604:14;3620:10;3599:4;:32::i;3578:54::-;3569:63;;3642:8;3653:20;3658:1;3661:11;3653:4;:20::i;:::-;3642:31;;3683:8;3694:15;766:6:1;3705:3:2;3694:4;:15::i;:::-;3683:26;;3736;3741:15;3758:3;3736:4;:26::i;:::-;3719:43;3136:664;-1:-1:-1;;;;;;;;;;;;3136:664:2:o;935:50:1:-;983:2;766:6;976:9;;1374:59;1415:18;1374:59;:::o;3152:194:4:-;1801:6;;3236:23;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;3283:10;;;;3275:40;;;;;-1:-1:-1;;;3275:40:4;;;;;;;;;;;;-1:-1:-1;;;3275:40:4;;;;;;;;;;;;;;;3332:7;3325:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3325:14:4;;;;;;;;;;;;;;;;;;;;;;3152:194;:::o;991:42:1:-;1032:1;991:42;:::o;3008:138:4:-;1801:6;;3086:23;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;2890:112;2981:7;:14;2890:112;:::o;8024:1010::-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;1667:6;;;;;;;1666:7;1658:31;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;-1:-1:-1;;;1658:31:4;;;;;;;;;;;;;;;1699:6;:13;;-1:-1:-1;;1699:13:4;;;;;8139:11;;8125:10;-1:-1:-1;;;;;8139:11:4;;;8125:25;8117:56;;;;;-1:-1:-1;;;8117:56:4;;;;;;;;;;;;-1:-1:-1;;;8117:56:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;8191:15:4;;;;;;:8;:15;;;;;:21;;;8183:47;;;;;-1:-1:-1;;;8183:47:4;;;;;;;;;;;;-1:-1:-1;;;8183:47:4;;;;;;;;;;;;;;;8249:10;;;;8248:11;8240:40;;;;;-1:-1:-1;;;8240:40:4;;;;;;;;;;;;-1:-1:-1;;;8240:40:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;8311:15:4;;8291:17;8311:15;;;:8;:15;;;;;:23;;;;8364:28;8311:23;8291:17;8364:4;:28::i;:::-;8423:12;;-1:-1:-1;;;;;8437:15:4;;;;;;:8;:15;;;;;:22;;;8344:48;;-1:-1:-1;8418:42:4;;:4;:42::i;:::-;8403:12;:57;-1:-1:-1;;;;;8579:15:4;;8566:10;8579:15;;;:8;:15;;;;;:21;;;8622:7;:14;;-1:-1:-1;;8622:18:4;;;:7;:18;;8667:13;;;;;;;;;;;;;;;;8650:7;:14;;-1:-1:-1;;;;;8667:13:4;;;;8658:5;;8650:14;;;;;;;;;;;;;;:30;;;;;-1:-1:-1;;;;;8650:30:4;;;;;-1:-1:-1;;;;;8650:30:4;;;;;;8723:5;8690:8;:24;8699:7;8707:5;8699:14;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8699:14:4;8690:24;;;;;;;;;;;;8699:14;8690:30;:38;8738:7;:13;;;;;;;;;;;;;;;-1:-1:-1;;8738:13:4;;;;;;;;;;;;;;;;;8779:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8761:15:4;;;;:8;:15;;;;;;;:131;;;;-1:-1:-1;;8761:131:4;;;;;;;;;-1:-1:-1;8761:131:4;;;;;;;;;;;;;;8903:68;8761:15;8926:10;8938:32;8943:12;8957;8938:4;:32::i;8903:68::-;9004:8;;8981:46;;8997:5;;9004:8;;;-1:-1:-1;;;;;9004:8:4;9014:12;8981:15;:46::i;4210:122::-;1801:6;;4290:4;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;4317:8:4;;4210:122;:::o;3625:248:5:-;3754:10;3692:4;3743:22;;;:10;:22;;;;;;;;-1:-1:-1;;;;;3743:27:5;;;;;;;;;;3738:38;;3772:3;3738:4;:38::i;:::-;3719:10;3708:22;;;;:10;:22;;;;;;;;-1:-1:-1;;;;;3708:27:5;;;;;;;;;;;;:68;;;3791:54;;;;;;3708:27;;3791:54;;;;;;;;;;;-1:-1:-1;3862:4:5;3625:248;;;;:::o;3117:118::-;-1:-1:-1;;;;;3208:15:5;;;3185:4;3208:15;;;:10;:15;;;;;;;;:20;;;;;;;;;;;;;3117:118::o;5696:713:4:-;1585:10;-1:-1:-1;;;;;1567:39:4;1576:7;;-1:-1:-1;;;;;;1576:7:4;-1:-1:-1;;;;;1567:39:4;;1597:8;;1567:39;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1567:39:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;1567:39:4;;;;-1:-1:-1;1567:39:4;;-1:-1:-1;;;;1567:39:4;5899:11;;-1:-1:-1;;;;;5899:11:4;5885:10;:25;5877:56;;;;;-1:-1:-1;;;5877:56:4;;;;;;;;;;;;-1:-1:-1;;;5877:56:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;5952:15:4;;;;;;:8;:15;;;;;:21;;;5951:22;5943:47;;;;;-1:-1:-1;;;5943:47:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;6009:10;;;;6008:11;6000:40;;;;;-1:-1:-1;;;6000:40:4;;;;;;;;;;;;-1:-1:-1;;;6000:40:4;;;;;;;;;;;;;;;6059:7;:14;868:1:1;-1:-1:-1;6051:60:4;;;;;-1:-1:-1;;;6051:60:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;6140:193;;;;;;;;6168:4;6140:193;;;6193:7;:14;;6140:193;;;;;;;-1:-1:-1;6140:193:4;;;;;;;;;;;;-1:-1:-1;;;;;6122:15:4;;;;;:8;:15;;;;;;:211;;;;-1:-1:-1;;6122:211:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;23:18;;;45:23;;6343:19:4;;;;;;;;;;;;;;6372:30;6122:15;6386:7;6395:6;6372;:30::i;:::-;5696:713;;;:::o;3724:266::-;1801:6;;3826:4;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;3855:15:4;;;;;;:8;:15;;;;;:21;;;3847:47;;;;;-1:-1:-1;;;3847:47:4;;;;;;;;;;;;-1:-1:-1;;;3847:47:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;3918:15:4;;3904:11;3918:15;;;:8;:15;;;;;:22;;;3970:12;;3957:26;;3918:22;;3957:4;:26::i;:::-;3950:33;3724:266;-1:-1:-1;;;3724:266:4:o;3996:208::-;1801:6;;4089:4;;1801:6;;;;;1800:7;1792:31;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;-1:-1:-1;;;1792:31:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;4118:15:4;;;;;;:8;:15;;;;;:21;;;4110:47;;;;;-1:-1:-1;;;4110:47:4;;;;;;;;;;;;-1:-1:-1;;;4110:47:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4174:15:4;;;;;:8;:15;;;;;:23;;;;3996:208::o;4806:653:2:-;5040:18;5074:16;5093:35;5098:14;5114:13;5093:4;:35::i;:::-;5074:54;;5138:9;5150:37;5155:15;5172:14;5150:4;:37::i;:::-;5138:49;;5197:6;5206:27;5211:15;5228:4;5206;:27::i;:::-;5197:36;;5243:8;5254:20;5259:1;5262:11;5254:4;:20::i;:::-;5243:31;;5290:15;5295:3;766:6:1;5290:4:2;:15::i;:::-;5284:21;;5331:19;766:6:1;5342:7:2;5331:4;:19::i;:::-;5315:35;;5376:46;5381:25;5386:14;5402:3;5381:4;:25::i;:::-;5408:13;5376:4;:46::i;:::-;5360:62;4806:653;-1:-1:-1;;;;;;;;;;;4806:653:2:o;2540:108:4:-;2630:11;;-1:-1:-1;;;2630:11:4;;;;;2540:108::o;1129:195:3:-;1198:4;1219:6;1227:9;1240:14;1249:1;1252;1240:8;:14::i;:::-;1218:36;;;;1273:4;1272:5;1264:35;;;;;-1:-1:-1;;;1264:35:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1316:1:3;1129:195;-1:-1:-1;;;1129:195:3:o;1550:301::-;1619:4;1649:5;;;1672:6;;;:21;;;1692:1;1687;1682:2;:6;;;;;;:11;1672:21;1664:50;;;;;-1:-1:-1;;;1664:50:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;1740:8;1734:15;;1767:8;;;;1759:37;;;;;-1:-1:-1;;;1759:37:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;1806:7;766:6:1;1816:2:3;:9;;;1550:301;-1:-1:-1;;;;;;1550:301:3:o;22369:108:4:-;22451:19;22457:4;22463:6;22451:5;:19::i;:::-;22369:108;;:::o;22687:88::-;22755:13;22761:6;22755:5;:13::i;:::-;22687:88;:::o;22483:104::-;22563:17;22569:2;22573:6;22563:5;:17::i;22172:191::-;22280:34;;;;;;-1:-1:-1;;;;;22280:34:4;;;;;;;;;;;;;;;22268:9;;22280:22;;;;;:34;;;;;;;;;;;;;;22268:9;22280:22;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;22280:34:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22280:34:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22280:34:4;;-1:-1:-1;22280:34:4;22324:32;;;;;-1:-1:-1;;;22324:32:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;22172:191;;;;:::o;2205:268:5:-;-1:-1:-1;;;;;2283:13:5;;:8;:13;;;;;;;;;;;:20;-1:-1:-1;2283:20:5;2275:53;;;;;-1:-1:-1;;;2275:53:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2359:13:5;;:8;:13;;;;;;;;;;;2354:24;;2374:3;2354:4;:24::i;:::-;-1:-1:-1;;;;;2338:13:5;;;:8;:13;;;;;;;;;;;:40;;;;2409:13;;;;;;;2404:24;;2424:3;2404:4;:24::i;:::-;-1:-1:-1;;;;;2388:13:5;;;:8;:13;;;;;;;;;;;;:40;;;;2443:23;;;;;;;2388:13;;2443:23;;;;;;;;;;;;;2205:268;;;:::o;950:173:3:-;1019:4;1048:5;;;1071:6;;;;1063:35;;;;;-1:-1:-1;;;1063:35:3;;;;;;;;;;;;;;;;;;;;;;;;;;;21952:214:4;22062:55;;;;;;-1:-1:-1;;;;;22062:55:4;;;;;;;22103:4;22062:55;;;;;;;;;;;;22050:9;;22062:26;;;;;:55;;;;;;;;;;;;;;22050:9;22062:26;:55;;;5:2:-1;;;;30:1;27;20:12;22593:88:4;22661:13;22667:6;22661:5;:13::i;1857:376:3:-;1926:4;1954:6;1946:31;;;;;-1:-1:-1;;;1946:31:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;766:6:1;1997:8:3;;2023:6;;;:24;;;766:6:1;2038:1:3;2033:2;:6;;;;;;:14;2023:24;2015:53;;;;;-1:-1:-1;;;2015:53:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;2115:1;2111:5;;2105:12;;2135:8;;;;2127:37;;;;;-1:-1:-1;;;2127:37:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;2191:7;2206:1;2201:2;:6;;;;2714:537;2788:4;1363:5:1;2816:4:3;:21;;2808:55;;;;;-1:-1:-1;;;2808:55:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;1415:18:1;2881:21:3;;;2873:56;;;;;-1:-1:-1;;;2873:56:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;2940:10;2954:11;2961:3;2954:6;:11::i;:::-;2940:25;;2978:11;2992:16;2997:3;3002:5;2992:4;:16::i;:::-;2978:30;;3019:13;3035:24;3041:4;3047:11;3052:5;3047:4;:11::i;:::-;3035:5;:24::i;:::-;3019:40;-1:-1:-1;3074:11:3;3070:57;;3108:8;-1:-1:-1;3101:15:3;;-1:-1:-1;;3101:15:3;3070:57;3137:18;3158:40;3169:4;3175:6;1480:13:1;3158:10:3;:40::i;:::-;3137:61;;3215:29;3220:8;3230:13;3215:4;:29::i;:::-;3208:36;2714:537;-1:-1:-1;;;;;;;2714:537:3:o;1330:214::-;1403:4;1409;1438:1;1433;:6;1429:109;;-1:-1:-1;;1463:5:3;;;1470;1455:21;;1429:109;-1:-1:-1;;1515:5:3;;;1522:4;1429:109;1330:214;;;;;:::o;2577:96:5:-;2635:31;2641:4;2655;2662:3;2635:5;:31::i;1912:287::-;1981:4;1964:8;:23;;;;;;;;;;;:30;-1:-1:-1;1964:30:5;1956:63;;;;;-1:-1:-1;;;1956:63:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;2077:4;2060:8;:23;;;;;;;;;;;2055:34;;2085:3;2055:4;:34::i;:::-;2046:4;2029:8;:23;;;;;;;;;;:60;2119:12;;2114:23;;2133:3;2114:4;:23::i;:::-;2099:12;:38;2152:40;;;;;;;;2184:1;;2169:4;;2152:40;;;;;;;;;1912:287;:::o;2479:92::-;2535:29;2549:4;2556:2;2560:3;2535:5;:29::i;1692:214::-;1784:4;1767:8;:23;;;;;;;;;;;1762:34;;1792:3;1762:4;:34::i;:::-;1753:4;1736:8;:23;;;;;;;;;;:60;1826:12;;1821:23;;1840:3;1821:4;:23::i;:::-;1806:12;:38;1859:40;;;;;;;;1888:4;;1876:1;;1859:40;;;;;;;;;1692:214;:::o;833:111:3:-;896:4;766:6:1;923:7:3;928:1;923:4;:7::i;:::-;:14;;833:111;-1:-1:-1;;833:111:3:o;723:104::-;766:6:1;812:8:3;;;723:104::o;2258:300::-;2328:4;;2361:1;2357;:5;:21;;766:6:1;2357:21:3;;;2370:1;2357:21;2348:30;-1:-1:-1;2399:1:3;2394:6;;;;2389:145;2402:6;;2389:145;;2436:10;2441:1;2444;2436:4;:10::i;:::-;2432:14;-1:-1:-1;2469:1:3;2465;:5;:10;2461:63;;2499:10;2504:1;2507;2499:4;:10::i;:::-;2495:14;;2461:63;2415:1;2410:6;;;;2389:145;;3257:1047;3353:4;3405:3;3353:4;;3441:20;3450:4;766:6:1;3441:8:3;:20::i;:::-;3418:43;;-1:-1:-1;3418:43:3;-1:-1:-1;766:6:1;;3471:9:3;3796:1;3782:495;3807:9;3799:4;:17;3782:495;;3837:9;766:6:1;3849:1:3;:8;3837:20;;3872:6;3880:9;3893:29;3902:1;3905:16;3910:4;766:6:1;3905:4:3;:16::i;:::-;3893:8;:29::i;:::-;3871:51;;;;3943:22;3948:4;3954:10;3959:1;3962;3954:4;:10::i;3943:22::-;3936:29;;3986:16;3991:4;3997;3986;:16::i;:::-;3979:23;-1:-1:-1;4020:9:3;4016:20;;4031:5;;;;;4016:20;4055:4;4051:30;;;4072:9;;;4051:30;4099:4;4095:30;;;4116:9;;;4095:30;4143:8;4139:128;;;4177:15;4182:3;4187:4;4177;:15::i;:::-;4171:21;;4139:128;;;4237:15;4242:3;4247:4;4237;:15::i;:::-;4231:21;;4139:128;-1:-1:-1;;;3818:3:3;;3782:495;;;-1:-1:-1;4294:3:3;;3257:1047;-1:-1:-1;;;;;;;;;3257:1047:3:o

Swarm Source

bzzr://120192900907c0b195c60a76498e04970fabc67e67977231022e7517bbe21675
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading

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.