ETH Price: $3,896.67 (-0.61%)

Contract

0x96C3F52E3Fd12F2F1B4D7Be18A882693c3C845C8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Base Rate111197932020-10-24 15:10:161512 days ago1603552216IN
0x96C3F52E...3c3C845C8
0 ETH0.0012088126
Set Base Rate111196402020-10-24 14:40:151512 days ago1603550415IN
0x96C3F52E...3c3C845C8
0 ETH0.0013253928.5
Set Base Rate111195452020-10-24 14:20:251512 days ago1603549225IN
0x96C3F52E...3c3C845C8
0 ETH0.001255727.0015
Set Base Rate111194552020-10-24 14:00:081512 days ago1603548008IN
0x96C3F52E...3c3C845C8
0 ETH0.0013021428
Set Base Rate111193762020-10-24 13:40:111512 days ago1603546811IN
0x96C3F52E...3c3C845C8
0 ETH0.0012556327
Set Base Rate111192762020-10-24 13:20:151512 days ago1603545615IN
0x96C3F52E...3c3C845C8
0 ETH0.0011161224
Set Base Rate111191782020-10-24 13:00:001512 days ago1603544400IN
0x96C3F52E...3c3C845C8
0 ETH0.000976621
Set Base Rate111190862020-10-24 12:40:081512 days ago1603543208IN
0x96C3F52E...3c3C845C8
0 ETH0.0008383122.00000156
Set Base Rate111189982020-10-24 12:20:101512 days ago1603542010IN
0x96C3F52E...3c3C845C8
0 ETH0.0011254224.2000016
Set Base Rate111189072020-10-24 12:01:511512 days ago1603540911IN
0x96C3F52E...3c3C845C8
0 ETH0.0010742623.1
Set Base Rate111188172020-10-24 11:39:571512 days ago1603539597IN
0x96C3F52E...3c3C845C8
0 ETH0.0009263324.31
Set Base Rate111187312020-10-24 11:20:571512 days ago1603538457IN
0x96C3F52E...3c3C845C8
0 ETH0.0010742623.1
Set Base Rate111186472020-10-24 11:00:191512 days ago1603537219IN
0x96C3F52E...3c3C845C8
0 ETH0.0010742623.1
Set Base Rate111185272020-10-24 10:30:071512 days ago1603535407IN
0x96C3F52E...3c3C845C8
0 ETH0.0010231122
Set Base Rate111184182020-10-24 10:00:021512 days ago1603533602IN
0x96C3F52E...3c3C845C8
0 ETH0.0009298620
Set Base Rate111183332020-10-24 9:40:301512 days ago1603532430IN
0x96C3F52E...3c3C845C8
0 ETH0.0008882419.1
Set Base Rate111182362020-10-24 9:20:231512 days ago1603531223IN
0x96C3F52E...3c3C845C8
0 ETH0.0009207919.8
Set Base Rate111181382020-10-24 9:00:121512 days ago1603530012IN
0x96C3F52E...3c3C845C8
0 ETH0.0010277622.1
Set Base Rate111180462020-10-24 8:41:111512 days ago1603528871IN
0x96C3F52E...3c3C845C8
0 ETH0.0011204824.1
Set Base Rate111179412020-10-24 8:20:261512 days ago1603527626IN
0x96C3F52E...3c3C845C8
0 ETH0.0012088126
Set Base Rate111178532020-10-24 8:01:131512 days ago1603526473IN
0x96C3F52E...3c3C845C8
0 ETH0.0012091326
Set Base Rate111177592020-10-24 7:40:161512 days ago1603525216IN
0x96C3F52E...3c3C845C8
0 ETH0.0012788827.5
Set Base Rate111176492020-10-24 7:10:181512 days ago1603523418IN
0x96C3F52E...3c3C845C8
0 ETH0.0012091326
Set Base Rate111175512020-10-24 6:50:131512 days ago1603522213IN
0x96C3F52E...3c3C845C8
0 ETH0.0012091326
Set Base Rate111174592020-10-24 6:30:161512 days ago1603521016IN
0x96C3F52E...3c3C845C8
0 ETH0.0012091326
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x6cA03d3e...65C5BDe86
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ConversionRates

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-12-18
*/

// File: contracts/ERC20Interface.sol

pragma solidity 0.4.18;


// https://github.com/ethereum/EIPs/issues/20
interface ERC20 {
    function totalSupply() public view returns (uint supply);
    function balanceOf(address _owner) public view returns (uint balance);
    function transfer(address _to, uint _value) public returns (bool success);
    function transferFrom(address _from, address _to, uint _value) public returns (bool success);
    function approve(address _spender, uint _value) public returns (bool success);
    function allowance(address _owner, address _spender) public view returns (uint remaining);
    function decimals() public view returns(uint digits);
    event Approval(address indexed _owner, address indexed _spender, uint _value);
}

// File: contracts/Utils.sol

pragma solidity 0.4.18;



/// @title Kyber constants contract
contract Utils {

    ERC20 constant internal ETH_TOKEN_ADDRESS = ERC20(0x00eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee);
    uint  constant internal PRECISION = (10**18);
    uint  constant internal MAX_QTY   = (10**28); // 10B tokens
    uint  constant internal MAX_RATE  = (PRECISION * 10**6); // up to 1M tokens per ETH
    uint  constant internal MAX_DECIMALS = 18;
    uint  constant internal ETH_DECIMALS = 18;
    mapping(address=>uint) internal decimals;

    function setDecimals(ERC20 token) internal {
        if (token == ETH_TOKEN_ADDRESS) decimals[token] = ETH_DECIMALS;
        else decimals[token] = token.decimals();
    }

    function getDecimals(ERC20 token) internal view returns(uint) {
        if (token == ETH_TOKEN_ADDRESS) return ETH_DECIMALS; // save storage access
        uint tokenDecimals = decimals[token];
        // technically, there might be token with decimals 0
        // moreover, very possible that old tokens have decimals 0
        // these tokens will just have higher gas fees.
        if(tokenDecimals == 0) return token.decimals();

        return tokenDecimals;
    }

    function calcDstQty(uint srcQty, uint srcDecimals, uint dstDecimals, uint rate) internal pure returns(uint) {
        require(srcQty <= MAX_QTY);
        require(rate <= MAX_RATE);

        if (dstDecimals >= srcDecimals) {
            require((dstDecimals - srcDecimals) <= MAX_DECIMALS);
            return (srcQty * rate * (10**(dstDecimals - srcDecimals))) / PRECISION;
        } else {
            require((srcDecimals - dstDecimals) <= MAX_DECIMALS);
            return (srcQty * rate) / (PRECISION * (10**(srcDecimals - dstDecimals)));
        }
    }

    function calcSrcQty(uint dstQty, uint srcDecimals, uint dstDecimals, uint rate) internal pure returns(uint) {
        require(dstQty <= MAX_QTY);
        require(rate <= MAX_RATE);
        
        //source quantity is rounded up. to avoid dest quantity being too low.
        uint numerator;
        uint denominator;
        if (srcDecimals >= dstDecimals) {
            require((srcDecimals - dstDecimals) <= MAX_DECIMALS);
            numerator = (PRECISION * dstQty * (10**(srcDecimals - dstDecimals)));
            denominator = rate;
        } else {
            require((dstDecimals - srcDecimals) <= MAX_DECIMALS);
            numerator = (PRECISION * dstQty);
            denominator = (rate * (10**(dstDecimals - srcDecimals)));
        }
        return (numerator + denominator - 1) / denominator; //avoid rounding down errors
    }
}

// File: contracts/ConversionRatesInterface.sol

pragma solidity 0.4.18;



interface ConversionRatesInterface {

    function recordImbalance(
        ERC20 token,
        int buyAmount,
        uint rateUpdateBlock,
        uint currentBlock
    )
        public;

    function getRate(ERC20 token, uint currentBlockNumber, bool buy, uint qty) public view returns(uint);
}

// File: contracts/PermissionGroups.sol

pragma solidity 0.4.18;


contract PermissionGroups {

    address public admin;
    address public pendingAdmin;
    mapping(address=>bool) internal operators;
    mapping(address=>bool) internal alerters;
    address[] internal operatorsGroup;
    address[] internal alertersGroup;
    uint constant internal MAX_GROUP_SIZE = 50;

    function PermissionGroups() public {
        admin = msg.sender;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin);
        _;
    }

    modifier onlyOperator() {
        require(operators[msg.sender]);
        _;
    }

    modifier onlyAlerter() {
        require(alerters[msg.sender]);
        _;
    }

    function getOperators () external view returns(address[]) {
        return operatorsGroup;
    }

    function getAlerters () external view returns(address[]) {
        return alertersGroup;
    }

    event TransferAdminPending(address pendingAdmin);

    /**
     * @dev Allows the current admin to set the pendingAdmin address.
     * @param newAdmin The address to transfer ownership to.
     */
    function transferAdmin(address newAdmin) public onlyAdmin {
        require(newAdmin != address(0));
        TransferAdminPending(pendingAdmin);
        pendingAdmin = newAdmin;
    }

    /**
     * @dev Allows the current admin to set the admin in one tx. Useful initial deployment.
     * @param newAdmin The address to transfer ownership to.
     */
    function transferAdminQuickly(address newAdmin) public onlyAdmin {
        require(newAdmin != address(0));
        TransferAdminPending(newAdmin);
        AdminClaimed(newAdmin, admin);
        admin = newAdmin;
    }

    event AdminClaimed( address newAdmin, address previousAdmin);

    /**
     * @dev Allows the pendingAdmin address to finalize the change admin process.
     */
    function claimAdmin() public {
        require(pendingAdmin == msg.sender);
        AdminClaimed(pendingAdmin, admin);
        admin = pendingAdmin;
        pendingAdmin = address(0);
    }

    event AlerterAdded (address newAlerter, bool isAdd);

    function addAlerter(address newAlerter) public onlyAdmin {
        require(!alerters[newAlerter]); // prevent duplicates.
        require(alertersGroup.length < MAX_GROUP_SIZE);

        AlerterAdded(newAlerter, true);
        alerters[newAlerter] = true;
        alertersGroup.push(newAlerter);
    }

    function removeAlerter (address alerter) public onlyAdmin {
        require(alerters[alerter]);
        alerters[alerter] = false;

        for (uint i = 0; i < alertersGroup.length; ++i) {
            if (alertersGroup[i] == alerter) {
                alertersGroup[i] = alertersGroup[alertersGroup.length - 1];
                alertersGroup.length--;
                AlerterAdded(alerter, false);
                break;
            }
        }
    }

    event OperatorAdded(address newOperator, bool isAdd);

    function addOperator(address newOperator) public onlyAdmin {
        require(!operators[newOperator]); // prevent duplicates.
        require(operatorsGroup.length < MAX_GROUP_SIZE);

        OperatorAdded(newOperator, true);
        operators[newOperator] = true;
        operatorsGroup.push(newOperator);
    }

    function removeOperator (address operator) public onlyAdmin {
        require(operators[operator]);
        operators[operator] = false;

        for (uint i = 0; i < operatorsGroup.length; ++i) {
            if (operatorsGroup[i] == operator) {
                operatorsGroup[i] = operatorsGroup[operatorsGroup.length - 1];
                operatorsGroup.length -= 1;
                OperatorAdded(operator, false);
                break;
            }
        }
    }
}

// File: contracts/Withdrawable.sol

pragma solidity 0.4.18;




/**
 * @title Contracts that should be able to recover tokens or ethers
 * @author Ilan Doron
 * @dev This allows to recover any tokens or Ethers received in a contract.
 * This will prevent any accidental loss of tokens.
 */
contract Withdrawable is PermissionGroups {

    event TokenWithdraw(ERC20 token, uint amount, address sendTo);

    /**
     * @dev Withdraw all ERC20 compatible tokens
     * @param token ERC20 The address of the token contract
     */
    function withdrawToken(ERC20 token, uint amount, address sendTo) external onlyAdmin {
        require(token.transfer(sendTo, amount));
        TokenWithdraw(token, amount, sendTo);
    }

    event EtherWithdraw(uint amount, address sendTo);

    /**
     * @dev Withdraw Ethers
     */
    function withdrawEther(uint amount, address sendTo) external onlyAdmin {
        sendTo.transfer(amount);
        EtherWithdraw(amount, sendTo);
    }
}

// File: contracts/reserves/VolumeImbalanceRecorder.sol

pragma solidity 0.4.18;




contract VolumeImbalanceRecorder is Withdrawable {

    uint constant internal SLIDING_WINDOW_SIZE = 5;
    uint constant internal POW_2_64 = 2 ** 64;

    struct TokenControlInfo {
        uint minimalRecordResolution; // can be roughly 1 cent
        uint maxPerBlockImbalance; // in twei resolution
        uint maxTotalImbalance; // max total imbalance (between rate updates)
                            // before halting trade
    }

    mapping(address => TokenControlInfo) internal tokenControlInfo;

    struct TokenImbalanceData {
        int  lastBlockBuyUnitsImbalance;
        uint lastBlock;

        int  totalBuyUnitsImbalance;
        uint lastRateUpdateBlock;
    }

    mapping(address => mapping(uint=>uint)) public tokenImbalanceData;

    function VolumeImbalanceRecorder(address _admin) public {
        require(_admin != address(0));
        admin = _admin;
    }

    function setTokenControlInfo(
        ERC20 token,
        uint minimalRecordResolution,
        uint maxPerBlockImbalance,
        uint maxTotalImbalance
    )
        public
        onlyAdmin
    {
        tokenControlInfo[token] =
            TokenControlInfo(
                minimalRecordResolution,
                maxPerBlockImbalance,
                maxTotalImbalance
            );
    }

    function getTokenControlInfo(ERC20 token) public view returns(uint, uint, uint) {
        return (tokenControlInfo[token].minimalRecordResolution,
                tokenControlInfo[token].maxPerBlockImbalance,
                tokenControlInfo[token].maxTotalImbalance);
    }

    function addImbalance(
        ERC20 token,
        int buyAmount,
        uint rateUpdateBlock,
        uint currentBlock
    )
        internal
    {
        uint currentBlockIndex = currentBlock % SLIDING_WINDOW_SIZE;
        int recordedBuyAmount = int(buyAmount / int(tokenControlInfo[token].minimalRecordResolution));

        int prevImbalance = 0;

        TokenImbalanceData memory currentBlockData =
            decodeTokenImbalanceData(tokenImbalanceData[token][currentBlockIndex]);

        // first scenario - this is not the first tx in the current block
        if (currentBlockData.lastBlock == currentBlock) {
            if (uint(currentBlockData.lastRateUpdateBlock) == rateUpdateBlock) {
                // just increase imbalance
                currentBlockData.lastBlockBuyUnitsImbalance += recordedBuyAmount;
                currentBlockData.totalBuyUnitsImbalance += recordedBuyAmount;
            } else {
                // imbalance was changed in the middle of the block
                prevImbalance = getImbalanceInRange(token, rateUpdateBlock, currentBlock);
                currentBlockData.totalBuyUnitsImbalance = int(prevImbalance) + recordedBuyAmount;
                currentBlockData.lastBlockBuyUnitsImbalance += recordedBuyAmount;
                currentBlockData.lastRateUpdateBlock = uint(rateUpdateBlock);
            }
        } else {
            // first tx in the current block
            int currentBlockImbalance;
            (prevImbalance, currentBlockImbalance) = getImbalanceSinceRateUpdate(token, rateUpdateBlock, currentBlock);

            currentBlockData.lastBlockBuyUnitsImbalance = recordedBuyAmount;
            currentBlockData.lastBlock = uint(currentBlock);
            currentBlockData.lastRateUpdateBlock = uint(rateUpdateBlock);
            currentBlockData.totalBuyUnitsImbalance = int(prevImbalance) + recordedBuyAmount;
        }

        tokenImbalanceData[token][currentBlockIndex] = encodeTokenImbalanceData(currentBlockData);
    }

    function setGarbageToVolumeRecorder(ERC20 token) internal {
        for (uint i = 0; i < SLIDING_WINDOW_SIZE; i++) {
            tokenImbalanceData[token][i] = 0x1;
        }
    }

    function getImbalanceInRange(ERC20 token, uint startBlock, uint endBlock) internal view returns(int buyImbalance) {
        // check the imbalance in the sliding window
        require(startBlock <= endBlock);

        buyImbalance = 0;

        for (uint windowInd = 0; windowInd < SLIDING_WINDOW_SIZE; windowInd++) {
            TokenImbalanceData memory perBlockData = decodeTokenImbalanceData(tokenImbalanceData[token][windowInd]);

            if (perBlockData.lastBlock <= endBlock && perBlockData.lastBlock >= startBlock) {
                buyImbalance += int(perBlockData.lastBlockBuyUnitsImbalance);
            }
        }
    }

    function getImbalanceSinceRateUpdate(ERC20 token, uint rateUpdateBlock, uint currentBlock)
        internal view
        returns(int buyImbalance, int currentBlockImbalance)
    {
        buyImbalance = 0;
        currentBlockImbalance = 0;
        uint latestBlock = 0;
        int imbalanceInRange = 0;
        uint startBlock = rateUpdateBlock;
        uint endBlock = currentBlock;

        for (uint windowInd = 0; windowInd < SLIDING_WINDOW_SIZE; windowInd++) {
            TokenImbalanceData memory perBlockData = decodeTokenImbalanceData(tokenImbalanceData[token][windowInd]);

            if (perBlockData.lastBlock <= endBlock && perBlockData.lastBlock >= startBlock) {
                imbalanceInRange += perBlockData.lastBlockBuyUnitsImbalance;
            }

            if (perBlockData.lastRateUpdateBlock != rateUpdateBlock) continue;
            if (perBlockData.lastBlock < latestBlock) continue;

            latestBlock = perBlockData.lastBlock;
            buyImbalance = perBlockData.totalBuyUnitsImbalance;
            if (uint(perBlockData.lastBlock) == currentBlock) {
                currentBlockImbalance = perBlockData.lastBlockBuyUnitsImbalance;
            }
        }

        if (buyImbalance == 0) {
            buyImbalance = imbalanceInRange;
        }
    }

    function getImbalance(ERC20 token, uint rateUpdateBlock, uint currentBlock)
        internal view
        returns(int totalImbalance, int currentBlockImbalance)
    {

        int resolution = int(tokenControlInfo[token].minimalRecordResolution);

        (totalImbalance, currentBlockImbalance) =
            getImbalanceSinceRateUpdate(
                token,
                rateUpdateBlock,
                currentBlock);

        totalImbalance *= resolution;
        currentBlockImbalance *= resolution;
    }

    function getMaxPerBlockImbalance(ERC20 token) internal view returns(uint) {
        return tokenControlInfo[token].maxPerBlockImbalance;
    }

    function getMaxTotalImbalance(ERC20 token) internal view returns(uint) {
        return tokenControlInfo[token].maxTotalImbalance;
    }

    function encodeTokenImbalanceData(TokenImbalanceData data) internal pure returns(uint) {
        // check for overflows
        require(data.lastBlockBuyUnitsImbalance < int(POW_2_64 / 2));
        require(data.lastBlockBuyUnitsImbalance > int(-1 * int(POW_2_64) / 2));
        require(data.lastBlock < POW_2_64);
        require(data.totalBuyUnitsImbalance < int(POW_2_64 / 2));
        require(data.totalBuyUnitsImbalance > int(-1 * int(POW_2_64) / 2));
        require(data.lastRateUpdateBlock < POW_2_64);

        // do encoding
        uint result = uint(data.lastBlockBuyUnitsImbalance) & (POW_2_64 - 1);
        result |= data.lastBlock * POW_2_64;
        result |= (uint(data.totalBuyUnitsImbalance) & (POW_2_64 - 1)) * POW_2_64 * POW_2_64;
        result |= data.lastRateUpdateBlock * POW_2_64 * POW_2_64 * POW_2_64;

        return result;
    }

    function decodeTokenImbalanceData(uint input) internal pure returns(TokenImbalanceData) {
        TokenImbalanceData memory data;

        data.lastBlockBuyUnitsImbalance = int(int64(input & (POW_2_64 - 1)));
        data.lastBlock = uint(uint64((input / POW_2_64) & (POW_2_64 - 1)));
        data.totalBuyUnitsImbalance = int(int64((input / (POW_2_64 * POW_2_64)) & (POW_2_64 - 1)));
        data.lastRateUpdateBlock = uint(uint64((input / (POW_2_64 * POW_2_64 * POW_2_64))));

        return data;
    }
}

// File: contracts/reserves/fprConversionRate/ConversionRates.sol

pragma solidity 0.4.18;






contract ConversionRates is ConversionRatesInterface, VolumeImbalanceRecorder, Utils {

    // bps - basic rate steps. one step is 1 / 10000 of the rate.
    struct StepFunction {
        int[] x; // quantity for each step. Quantity of each step includes previous steps.
        int[] y; // rate change per quantity step  in bps.
    }

    struct TokenData {
        bool listed;  // was added to reserve
        bool enabled; // whether trade is enabled

        // position in the compact data
        uint compactDataArrayIndex;
        uint compactDataFieldIndex;

        // rate data. base and changes according to quantity and reserve balance.
        // generally speaking. Sell rate is 1 / buy rate i.e. the buy in the other direction.
        uint baseBuyRate;  // in PRECISION units. see KyberConstants
        uint baseSellRate; // PRECISION units. without (sell / buy) spread it is 1 / baseBuyRate
        StepFunction buyRateQtyStepFunction; // in bps. higher quantity - bigger the rate.
        StepFunction sellRateQtyStepFunction;// in bps. higher the qua
        StepFunction buyRateImbalanceStepFunction; // in BPS. higher reserve imbalance - bigger the rate.
        StepFunction sellRateImbalanceStepFunction;
    }

    /*
    this is the data for tokenRatesCompactData
    but solidity compiler optimizer is sub-optimal, and cannot write this structure in a single storage write
    so we represent it as bytes32 and do the byte tricks ourselves.
    struct TokenRatesCompactData {
        bytes14 buy;  // change buy rate of token from baseBuyRate in 10 bps
        bytes14 sell; // change sell rate of token from baseSellRate in 10 bps

        uint32 blockNumber;
    } */
    uint public validRateDurationInBlocks = 10; // rates are valid for this amount of blocks
    ERC20[] internal listedTokens;
    mapping(address=>TokenData) internal tokenData;
    bytes32[] internal tokenRatesCompactData;
    uint public numTokensInCurrentCompactData = 0;
    address public reserveContract;
    uint constant internal NUM_TOKENS_IN_COMPACT_DATA = 14;
    uint constant internal BYTES_14_OFFSET = (2 ** (8 * NUM_TOKENS_IN_COMPACT_DATA));
    uint constant internal MAX_STEPS_IN_FUNCTION = 10;
    int  constant internal MAX_BPS_ADJUSTMENT = 10 ** 11; // 1B %
    int  constant internal MIN_BPS_ADJUSTMENT = -100 * 100; // cannot go down by more than 100%

    function ConversionRates(address _admin) public VolumeImbalanceRecorder(_admin)
        { } // solhint-disable-line no-empty-blocks

    function addToken(ERC20 token) public onlyAdmin {

        require(!tokenData[token].listed);
        tokenData[token].listed = true;
        listedTokens.push(token);

        if (numTokensInCurrentCompactData == 0) {
            tokenRatesCompactData.length++; // add new structure
        }

        tokenData[token].compactDataArrayIndex = tokenRatesCompactData.length - 1;
        tokenData[token].compactDataFieldIndex = numTokensInCurrentCompactData;

        numTokensInCurrentCompactData = (numTokensInCurrentCompactData + 1) % NUM_TOKENS_IN_COMPACT_DATA;

        setGarbageToVolumeRecorder(token);

        setDecimals(token);
    }

    function setCompactData(bytes14[] buy, bytes14[] sell, uint blockNumber, uint[] indices) public onlyOperator {

        require(buy.length == sell.length);
        require(indices.length == buy.length);
        require(blockNumber <= 0xFFFFFFFF);

        uint bytes14Offset = BYTES_14_OFFSET;

        for (uint i = 0; i < indices.length; i++) {
            require(indices[i] < tokenRatesCompactData.length);
            uint data = uint(buy[i]) | uint(sell[i]) * bytes14Offset | (blockNumber * (bytes14Offset * bytes14Offset));
            tokenRatesCompactData[indices[i]] = bytes32(data);
        }
    }

    function setBaseRate(
        ERC20[] tokens,
        uint[] baseBuy,
        uint[] baseSell,
        bytes14[] buy,
        bytes14[] sell,
        uint blockNumber,
        uint[] indices
    )
        public
        onlyOperator
    {
        require(tokens.length == baseBuy.length);
        require(tokens.length == baseSell.length);
        require(sell.length == buy.length);
        require(sell.length == indices.length);

        for (uint ind = 0; ind < tokens.length; ind++) {
            require(tokenData[tokens[ind]].listed);
            tokenData[tokens[ind]].baseBuyRate = baseBuy[ind];
            tokenData[tokens[ind]].baseSellRate = baseSell[ind];
        }

        setCompactData(buy, sell, blockNumber, indices);
    }

    function setQtyStepFunction(
        ERC20 token,
        int[] xBuy,
        int[] yBuy,
        int[] xSell,
        int[] ySell
    )
        public
        onlyOperator
    {
        require(xBuy.length == yBuy.length);
        require(xSell.length == ySell.length);
        require(xBuy.length <= MAX_STEPS_IN_FUNCTION);
        require(xSell.length <= MAX_STEPS_IN_FUNCTION);
        require(tokenData[token].listed);

        tokenData[token].buyRateQtyStepFunction = StepFunction(xBuy, yBuy);
        tokenData[token].sellRateQtyStepFunction = StepFunction(xSell, ySell);
    }

    function setImbalanceStepFunction(
        ERC20 token,
        int[] xBuy,
        int[] yBuy,
        int[] xSell,
        int[] ySell
    )
        public
        onlyOperator
    {
        require(xBuy.length == yBuy.length);
        require(xSell.length == ySell.length);
        require(xBuy.length <= MAX_STEPS_IN_FUNCTION);
        require(xSell.length <= MAX_STEPS_IN_FUNCTION);
        require(tokenData[token].listed);

        tokenData[token].buyRateImbalanceStepFunction = StepFunction(xBuy, yBuy);
        tokenData[token].sellRateImbalanceStepFunction = StepFunction(xSell, ySell);
    }

    function setValidRateDurationInBlocks(uint duration) public onlyAdmin {
        validRateDurationInBlocks = duration;
    }

    function enableTokenTrade(ERC20 token) public onlyAdmin {
        require(tokenData[token].listed);
        require(tokenControlInfo[token].minimalRecordResolution != 0);
        tokenData[token].enabled = true;
    }

    function disableTokenTrade(ERC20 token) public onlyAlerter {
        require(tokenData[token].listed);
        tokenData[token].enabled = false;
    }

    function setReserveAddress(address reserve) public onlyAdmin {
        reserveContract = reserve;
    }

    function recordImbalance(
        ERC20 token,
        int buyAmount,
        uint rateUpdateBlock,
        uint currentBlock
    )
        public
    {
        require(msg.sender == reserveContract);

        if (rateUpdateBlock == 0) rateUpdateBlock = getRateUpdateBlock(token);

        return addImbalance(token, buyAmount, rateUpdateBlock, currentBlock);
    }

    /* solhint-disable function-max-lines */
    function getRate(ERC20 token, uint currentBlockNumber, bool buy, uint qty) public view returns(uint) {
        // check if trade is enabled
        if (!tokenData[token].enabled) return 0;
        if (tokenControlInfo[token].minimalRecordResolution == 0) return 0; // token control info not set

        // get rate update block
        bytes32 compactData = tokenRatesCompactData[tokenData[token].compactDataArrayIndex];

        uint updateRateBlock = getLast4Bytes(compactData);
        if (currentBlockNumber >= updateRateBlock + validRateDurationInBlocks) return 0; // rate is expired
        // check imbalance
        int totalImbalance;
        int blockImbalance;
        (totalImbalance, blockImbalance) = getImbalance(token, updateRateBlock, currentBlockNumber);

        // calculate actual rate
        int imbalanceQty;
        int extraBps;
        int8 rateUpdate;
        uint rate;

        if (buy) {
            // start with base rate
            rate = tokenData[token].baseBuyRate;

            // add rate update
            rateUpdate = getRateByteFromCompactData(compactData, token, true);
            extraBps = int(rateUpdate) * 10;
            rate = addBps(rate, extraBps);

            // compute token qty
            qty = getTokenQty(token, rate, qty);
            imbalanceQty = int(qty);
            totalImbalance += imbalanceQty;

            // add qty overhead
            extraBps = executeStepFunction(tokenData[token].buyRateQtyStepFunction, int(qty));
            rate = addBps(rate, extraBps);

            // add imbalance overhead
            extraBps = executeStepFunction(tokenData[token].buyRateImbalanceStepFunction, totalImbalance);
            rate = addBps(rate, extraBps);
        } else {
            // start with base rate
            rate = tokenData[token].baseSellRate;

            // add rate update
            rateUpdate = getRateByteFromCompactData(compactData, token, false);
            extraBps = int(rateUpdate) * 10;
            rate = addBps(rate, extraBps);

            // compute token qty
            imbalanceQty = -1 * int(qty);
            totalImbalance += imbalanceQty;

            // add qty overhead
            extraBps = executeStepFunction(tokenData[token].sellRateQtyStepFunction, int(qty));
            rate = addBps(rate, extraBps);

            // add imbalance overhead
            extraBps = executeStepFunction(tokenData[token].sellRateImbalanceStepFunction, totalImbalance);
            rate = addBps(rate, extraBps);
        }

        if (abs(totalImbalance) >= getMaxTotalImbalance(token)) return 0;
        if (abs(blockImbalance + imbalanceQty) >= getMaxPerBlockImbalance(token)) return 0;

        return rate;
    }
    /* solhint-enable function-max-lines */

    function getBasicRate(ERC20 token, bool buy) public view returns(uint) {
        if (buy)
            return tokenData[token].baseBuyRate;
        else
            return tokenData[token].baseSellRate;
    }

    function getCompactData(ERC20 token) public view returns(uint, uint, byte, byte) {
        require(tokenData[token].listed);

        uint arrayIndex = tokenData[token].compactDataArrayIndex;
        uint fieldOffset = tokenData[token].compactDataFieldIndex;

        return (
            arrayIndex,
            fieldOffset,
            byte(getRateByteFromCompactData(tokenRatesCompactData[arrayIndex], token, true)),
            byte(getRateByteFromCompactData(tokenRatesCompactData[arrayIndex], token, false))
        );
    }

    function getTokenBasicData(ERC20 token) public view returns(bool, bool) {
        return (tokenData[token].listed, tokenData[token].enabled);
    }

    /* solhint-disable code-complexity */
    function getStepFunctionData(ERC20 token, uint command, uint param) public view returns(int) {
        if (command == 0) return int(tokenData[token].buyRateQtyStepFunction.x.length);
        if (command == 1) return tokenData[token].buyRateQtyStepFunction.x[param];
        if (command == 2) return int(tokenData[token].buyRateQtyStepFunction.y.length);
        if (command == 3) return tokenData[token].buyRateQtyStepFunction.y[param];

        if (command == 4) return int(tokenData[token].sellRateQtyStepFunction.x.length);
        if (command == 5) return tokenData[token].sellRateQtyStepFunction.x[param];
        if (command == 6) return int(tokenData[token].sellRateQtyStepFunction.y.length);
        if (command == 7) return tokenData[token].sellRateQtyStepFunction.y[param];

        if (command == 8) return int(tokenData[token].buyRateImbalanceStepFunction.x.length);
        if (command == 9) return tokenData[token].buyRateImbalanceStepFunction.x[param];
        if (command == 10) return int(tokenData[token].buyRateImbalanceStepFunction.y.length);
        if (command == 11) return tokenData[token].buyRateImbalanceStepFunction.y[param];

        if (command == 12) return int(tokenData[token].sellRateImbalanceStepFunction.x.length);
        if (command == 13) return tokenData[token].sellRateImbalanceStepFunction.x[param];
        if (command == 14) return int(tokenData[token].sellRateImbalanceStepFunction.y.length);
        if (command == 15) return tokenData[token].sellRateImbalanceStepFunction.y[param];

        revert();
    }
    /* solhint-enable code-complexity */

    function getRateUpdateBlock(ERC20 token) public view returns(uint) {
        bytes32 compactData = tokenRatesCompactData[tokenData[token].compactDataArrayIndex];
        return getLast4Bytes(compactData);
    }

    function getListedTokens() public view returns(ERC20[]) {
        return listedTokens;
    }

    function getTokenQty(ERC20 token, uint ethQty, uint rate) internal view returns(uint) {
        uint dstDecimals = getDecimals(token);
        uint srcDecimals = ETH_DECIMALS;

        return calcDstQty(ethQty, srcDecimals, dstDecimals, rate);
    }

    function getLast4Bytes(bytes32 b) internal pure returns(uint) {
        // cannot trust compiler with not turning bit operations into EXP opcode
        return uint(b) / (BYTES_14_OFFSET * BYTES_14_OFFSET);
    }

    function getRateByteFromCompactData(bytes32 data, ERC20 token, bool buy) internal view returns(int8) {
        uint fieldOffset = tokenData[token].compactDataFieldIndex;
        uint byteOffset;
        if (buy)
            byteOffset = 32 - NUM_TOKENS_IN_COMPACT_DATA + fieldOffset;
        else
            byteOffset = 4 + fieldOffset;

        return int8(data[byteOffset]);
    }

    function executeStepFunction(StepFunction f, int x) internal pure returns(int) {
        uint len = f.y.length;
        for (uint ind = 0; ind < len; ind++) {
            if (x <= f.x[ind]) return f.y[ind];
        }

        return f.y[len-1];
    }

    function addBps(uint rate, int bps) internal pure returns(uint) {
        require(rate <= MAX_RATE);
        require(bps >= MIN_BPS_ADJUSTMENT);
        require(bps <= MAX_BPS_ADJUSTMENT);

        uint maxBps = 100 * 100;
        return (rate * uint(int(maxBps) + bps)) / maxBps;
    }

    function abs(int x) internal pure returns(uint) {
        if (x < 0)
            return uint(-1 * x);
        else
            return uint(x);
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"alerter","type":"address"}],"name":"removeAlerter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"reserve","type":"address"}],"name":"setReserveAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"disableTokenTrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"validRateDurationInBlocks","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokens","type":"address[]"},{"name":"baseBuy","type":"uint256[]"},{"name":"baseSell","type":"uint256[]"},{"name":"buy","type":"bytes14[]"},{"name":"sell","type":"bytes14[]"},{"name":"blockNumber","type":"uint256"},{"name":"indices","type":"uint256[]"}],"name":"setBaseRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"enableTokenTrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pendingAdmin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getOperators","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getListedTokens","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"},{"name":"sendTo","type":"address"}],"name":"withdrawToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAlerter","type":"address"}],"name":"addAlerter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"numTokensInCurrentCompactData","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"},{"name":"command","type":"uint256"},{"name":"param","type":"uint256"}],"name":"getStepFunctionData","outputs":[{"name":"","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"buy","type":"bytes14[]"},{"name":"sell","type":"bytes14[]"},{"name":"blockNumber","type":"uint256"},{"name":"indices","type":"uint256[]"}],"name":"setCompactData","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"duration","type":"uint256"}],"name":"setValidRateDurationInBlocks","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"getTokenBasicData","outputs":[{"name":"","type":"bool"},{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newAdmin","type":"address"}],"name":"transferAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAdmin","type":"address"}],"name":"transferAdminQuickly","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getAlerters","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"getRateUpdateBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"xBuy","type":"int256[]"},{"name":"yBuy","type":"int256[]"},{"name":"xSell","type":"int256[]"},{"name":"ySell","type":"int256[]"}],"name":"setQtyStepFunction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOperator","type":"address"}],"name":"addOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"tokenImbalanceData","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"operator","type":"address"}],"name":"removeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"},{"name":"currentBlockNumber","type":"uint256"},{"name":"buy","type":"bool"},{"name":"qty","type":"uint256"}],"name":"getRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"xBuy","type":"int256[]"},{"name":"yBuy","type":"int256[]"},{"name":"xSell","type":"int256[]"},{"name":"ySell","type":"int256[]"}],"name":"setImbalanceStepFunction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"minimalRecordResolution","type":"uint256"},{"name":"maxPerBlockImbalance","type":"uint256"},{"name":"maxTotalImbalance","type":"uint256"}],"name":"setTokenControlInfo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"buyAmount","type":"int256"},{"name":"rateUpdateBlock","type":"uint256"},{"name":"currentBlock","type":"uint256"}],"name":"recordImbalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"},{"name":"sendTo","type":"address"}],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"},{"name":"buy","type":"bool"}],"name":"getBasicRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"addToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"getCompactData","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"bytes1"},{"name":"","type":"bytes1"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"getTokenControlInfo","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_admin","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"sendTo","type":"address"}],"name":"TokenWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"sendTo","type":"address"}],"name":"EtherWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"pendingAdmin","type":"address"}],"name":"TransferAdminPending","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newAdmin","type":"address"},{"indexed":false,"name":"previousAdmin","type":"address"}],"name":"AdminClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newAlerter","type":"address"},{"indexed":false,"name":"isAdd","type":"bool"}],"name":"AlerterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newOperator","type":"address"},{"indexed":false,"name":"isAdd","type":"bool"}],"name":"OperatorAdded","type":"event"}]

Deployed Bytecode

0x6060604052600436106101a85763ffffffff60e060020a60003504166301a12fd381146101ad57806314673d31146101ce578063158859f7146101ed578063162656941461020c5780631a4813d7146102315780631d6a8bda146103c957806326782247146103e857806327a099d8146104175780632ba996a51461047d5780633ccdbb2814610490578063408ee7fe146104b95780635085c9f1146104d857806362674e93146104eb57806364887334146105105780636c6295b8146105e8578063721bba59146105fe57806375829def1461063957806377f50f97146106585780637acc86781461066b5780637c423f541461068a5780638036d7571461069d57806380d8b380146106bc5780639870d7fe146107d9578063a7f43acd146107f8578063a80c609e1461080b578063ac8a584a1461082d578063b8e9c22e1461084c578063bc9cbcc814610876578063bfee356914610993578063c6fd2103146109bb578063ce56c454146109e3578063cf8fee1114610a05578063d48bfca714610a29578063e4a2ac6214610a48578063e7d4fd9114610ab6578063f851a44014610af9575b600080fd5b34156101b857600080fd5b6101cc600160a060020a0360043516610b0c565b005b34156101d957600080fd5b6101cc600160a060020a0360043516610c7c565b34156101f857600080fd5b6101cc600160a060020a0360043516610cb9565b341561021757600080fd5b61021f610d29565b60405190815260200160405180910390f35b341561023c57600080fd5b6101cc60046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001909190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750949650610d2f95505050505050565b34156103d457600080fd5b6101cc600160a060020a0360043516610e95565b34156103f357600080fd5b6103fb610f21565b604051600160a060020a03909116815260200160405180910390f35b341561042257600080fd5b61042a610f30565b60405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610469578082015183820152602001610451565b505050509050019250505060405180910390f35b341561048857600080fd5b61042a610f99565b341561049b57600080fd5b6101cc600160a060020a036004358116906024359060443516610fff565b34156104c457600080fd5b6101cc600160a060020a03600435166110f6565b34156104e357600080fd5b61021f6111f2565b34156104f657600080fd5b61021f600160a060020a03600435166024356044356111f8565b341561051b57600080fd5b6101cc600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437509496506114ec95505050505050565b34156105f357600080fd5b6101cc60043561162d565b341561060957600080fd5b61061d600160a060020a036004351661164d565b6040519115158252151560208201526040908101905180910390f35b341561064457600080fd5b6101cc600160a060020a0360043516611675565b341561066357600080fd5b6101cc611710565b341561067657600080fd5b6101cc600160a060020a03600435166117aa565b341561069557600080fd5b61042a61188c565b34156106a857600080fd5b61021f600160a060020a03600435166118f2565b34156106c757600080fd5b6101cc60048035600160a060020a031690604460248035908101908301358060208082020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284375094965061193d95505050505050565b34156107e457600080fd5b6101cc600160a060020a0360043516611a85565b341561080357600080fd5b6103fb611b55565b341561081657600080fd5b61021f600160a060020a0360043516602435611b64565b341561083857600080fd5b6101cc600160a060020a0360043516611b81565b341561085757600080fd5b61021f600160a060020a03600435166024356044351515606435611ced565b341561088157600080fd5b6101cc60048035600160a060020a031690604460248035908101908301358060208082020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284375094965061228395505050505050565b341561099e57600080fd5b6101cc600160a060020a03600435166024356044356064356123b2565b34156109c657600080fd5b6101cc600160a060020a0360043516602435604435606435612420565b34156109ee57600080fd5b6101cc600435600160a060020a0360243516612460565b3415610a1057600080fd5b61021f600160a060020a036004351660243515156124f3565b3415610a3457600080fd5b6101cc600160a060020a0360043516612541565b3415610a5357600080fd5b610a67600160a060020a036004351661264e565b60405193845260208401929092527fff00000000000000000000000000000000000000000000000000000000000000908116604080850191909152911660608301526080909101905180910390f35b3415610ac157600080fd5b610ad5600160a060020a0360043516612712565b60405180848152602001838152602001828152602001935050505060405180910390f35b3415610b0457600080fd5b6103fb61273a565b6000805433600160a060020a03908116911614610b2857600080fd5b600160a060020a03821660009081526003602052604090205460ff161515610b4f57600080fd5b50600160a060020a0381166000908152600360205260408120805460ff191690555b600554811015610c785781600160a060020a0316600582815481101515610b9457fe5b600091825260209091200154600160a060020a03161415610c7057600580546000198101908110610bc157fe5b60009182526020909120015460058054600160a060020a039092169183908110610be757fe5b60009182526020909120018054600160a060020a031916600160a060020a03929092169190911790556005805490610c23906000198301612fa5565b507f5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762826000604051600160a060020a039092168252151560208201526040908101905180910390a1610c78565b600101610b71565b5050565b60005433600160a060020a03908116911614610c9757600080fd5b600e8054600160a060020a031916600160a060020a0392909216919091179055565b600160a060020a03331660009081526003602052604090205460ff161515610ce057600080fd5b600160a060020a0381166000908152600b602052604090205460ff161515610d0757600080fd5b600160a060020a03166000908152600b60205260409020805461ff0019169055565b60095481565b600160a060020a03331660009081526002602052604081205460ff161515610d5657600080fd5b8651885114610d6457600080fd5b8551885114610d7257600080fd5b8451845114610d8057600080fd5b8151845114610d8e57600080fd5b5060005b8751811015610e7f57600b6000898381518110610dab57fe5b90602001906020020151600160a060020a0316815260208101919091526040016000205460ff161515610ddd57600080fd5b868181518110610de957fe5b90602001906020020151600b60008a8481518110610e0357fe5b90602001906020020151600160a060020a03168152602081019190915260400160002060030155858181518110610e3657fe5b90602001906020020151600b60008a8481518110610e5057fe5b90602001906020020151600160a060020a03168152602081019190915260400160002060040155600101610d92565b610e8b858585856114ec565b5050505050505050565b60005433600160a060020a03908116911614610eb057600080fd5b600160a060020a0381166000908152600b602052604090205460ff161515610ed757600080fd5b600160a060020a0381166000908152600660205260409020541515610efb57600080fd5b600160a060020a03166000908152600b60205260409020805461ff001916610100179055565b600154600160a060020a031681565b610f38612fce565b6004805480602002602001604051908101604052809291908181526020018280548015610f8e57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610f70575b505050505090505b90565b610fa1612fce565b600a805480602002602001604051908101604052809291908181526020018280548015610f8e57602002820191906000526020600020908154600160a060020a03168152600190910190602001808311610f70575050505050905090565b60005433600160a060020a0390811691161461101a57600080fd5b82600160a060020a031663a9059cbb828460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561107757600080fd5b6102c65a03f1151561108857600080fd5b50505060405180519050151561109d57600080fd5b7f72cb8a894ddb372ceec3d2a7648d86f17d5a15caae0e986c53109b8a9a9385e6838383604051600160a060020a03938416815260208101929092529091166040808301919091526060909101905180910390a1505050565b60005433600160a060020a0390811691161461111157600080fd5b600160a060020a03811660009081526003602052604090205460ff161561113757600080fd5b6005546032901061114757600080fd5b7f5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762816001604051600160a060020a039092168252151560208201526040908101905180910390a1600160a060020a0381166000908152600360205260409020805460ff1916600190811790915560058054909181016111c68382612fa5565b5060009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055565b600d5481565b60008215156112235750600160a060020a0383166000908152600b60205260409020600501546114e5565b826001141561126657600160a060020a0384166000908152600b6020526040902060050180548390811061125357fe5b90600052602060002090015490506114e5565b82600214156112915750600160a060020a0383166000908152600b60205260409020600601546114e5565b82600314156112c157600160a060020a0384166000908152600b6020526040902060060180548390811061125357fe5b82600414156112ec5750600160a060020a0383166000908152600b60205260409020600701546114e5565b826005141561131c57600160a060020a0384166000908152600b6020526040902060070180548390811061125357fe5b82600614156113475750600160a060020a0383166000908152600b60205260409020600801546114e5565b826007141561137757600160a060020a0384166000908152600b6020526040902060080180548390811061125357fe5b82600814156113a25750600160a060020a0383166000908152600b60205260409020600901546114e5565b82600914156113d257600160a060020a0384166000908152600b6020526040902060090180548390811061125357fe5b82600a14156113fd5750600160a060020a0383166000908152600b60205260409020600a01546114e5565b82600b141561142d57600160a060020a0384166000908152600b60205260409020600a0180548390811061125357fe5b82600c14156114595750600160a060020a0383166000908152600b6020819052604090912001546114e5565b82600d141561148a57600160a060020a0384166000908152600b602081905260409091200180548390811061125357fe5b82600e14156114b55750600160a060020a0383166000908152600b60205260409020600c01546114e5565b82600f14156101a857600160a060020a0384166000908152600b60205260409020600c0180548390811061125357fe5b9392505050565b600160a060020a0333166000908152600260205260408120548190819060ff16151561151757600080fd5b855187511461152557600080fd5b865184511461153357600080fd5b63ffffffff85111561154457600080fd5b6e0100000000000000000000000000009250600091505b835182101561162457600c5484838151811061157357fe5b906020019060200201511061158757600080fd5b82830285028387848151811061159957fe5b9060200190602002015172010000000000000000000000000000000000009004028884815181106115c657fe5b90602001906020020151720100000000000000000000000000000000000090041717905080600c8584815181106115f957fe5b906020019060200201518154811061160d57fe5b60009182526020909120015560019091019061155b565b50505050505050565b60005433600160a060020a0390811691161461164857600080fd5b600955565b600160a060020a03166000908152600b602052604090205460ff808216926101009092041690565b60005433600160a060020a0390811691161461169057600080fd5b600160a060020a03811615156116a557600080fd5b6001547f3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc4090600160a060020a0316604051600160a060020a03909116815260200160405180910390a160018054600160a060020a031916600160a060020a0392909216919091179055565b60015433600160a060020a0390811691161461172b57600080fd5b6001546000547f65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed91600160a060020a039081169116604051600160a060020a039283168152911660208201526040908101905180910390a16001805460008054600160a060020a0319908116600160a060020a03841617909155169055565b60005433600160a060020a039081169116146117c557600080fd5b600160a060020a03811615156117da57600080fd5b7f3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc4081604051600160a060020a03909116815260200160405180910390a16000547f65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed908290600160a060020a0316604051600160a060020a039283168152911660208201526040908101905180910390a160008054600160a060020a031916600160a060020a0392909216919091179055565b611894612fce565b6005805480602002602001604051908101604052809291908181526020018280548015610f8e57602002820191906000526020600020908154600160a060020a03168152600190910190602001808311610f70575050505050905090565b600160a060020a0381166000908152600b6020526040812060010154600c8054839290811061191d57fe5b906000526020600020900154905061193481612749565b91505b50919050565b600160a060020a03331660009081526002602052604090205460ff16151561196457600080fd5b825184511461197257600080fd5b805182511461198057600080fd5b600a8451111561198f57600080fd5b600a8251111561199e57600080fd5b600160a060020a0385166000908152600b602052604090205460ff1615156119c557600080fd5b6040805190810160409081528582526020808301869052600160a060020a0388166000908152600b90915220600501815181908051611a08929160200190612fe0565b50602082015181600101908051611a23929160200190612fe0565b509050506040805190810160409081528382526020808301849052600160a060020a0388166000908152600b90915220600701815181908051611a6a929160200190612fe0565b50602082015181600101908051610e8b929160200190612fe0565b60005433600160a060020a03908116911614611aa057600080fd5b600160a060020a03811660009081526002602052604090205460ff1615611ac657600080fd5b60045460329010611ad657600080fd5b7f091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b816001604051600160a060020a039092168252151560208201526040908101905180910390a1600160a060020a0381166000908152600260205260409020805460ff1916600190811790915560048054909181016111c68382612fa5565b600e54600160a060020a031681565b600760209081526000928352604080842090915290825290205481565b6000805433600160a060020a03908116911614611b9d57600080fd5b600160a060020a03821660009081526002602052604090205460ff161515611bc457600080fd5b50600160a060020a0381166000908152600260205260408120805460ff191690555b600454811015610c785781600160a060020a0316600482815481101515611c0957fe5b600091825260209091200154600160a060020a03161415611ce557600480546000198101908110611c3657fe5b60009182526020909120015460048054600160a060020a039092169183908110611c5c57fe5b60009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055600480546000190190611c989082612fa5565b507f091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b826000604051600160a060020a039092168252151560208201526040908101905180910390a1610c78565b600101611be6565b600160a060020a0384166000908152600b602052604081205481908190819081908190819081908190610100900460ff161515611d2d5760009850612273565b600160a060020a038d166000908152600660205260409020541515611d555760009850612273565b600160a060020a038d166000908152600b6020526040902060010154600c80549091908110611d8057fe5b9060005260206000209001549750611d9788612749565b60095490975087018c10611dae5760009850612273565b611db98d888e612756565b90965094508a15611ffd5750600160a060020a038c166000908152600b6020526040902060030154611ded888e600161278b565b91508160000b600a029250611e0281846127e4565b9050611e0f8d828c612830565b600160a060020a038e166000908152600b602052604090819020919b50968b01968b9550611efa91600501908051908101604052908160008201805480602002602001604051908101604052809291908181526020018280548015611e9357602002820191906000526020600020905b815481526020019060010190808311611e7f575b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015611eeb57602002820191906000526020600020905b815481526020019060010190808311611ed7575b5050505050815250508b61285a565b9250611f0681846127e4565b600160a060020a038e166000908152600b602052604090819020919250611fea91600901908051908101604052908160008201805480602002602001604051908101604052809291908181526020018280548015611f8357602002820191906000526020600020905b815481526020019060010190808311611f6f575b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015611fdb57602002820191906000526020600020905b815481526020019060010190808311611fc7575b5050505050815250508761285a565b9250611ff681846127e4565b905061222d565b50600160a060020a038c166000908152600b6020526040812060040154906120289089908f9061278b565b91508160000b600a02925061203d81846127e4565b600160a060020a038e166000908152600b6020526040908190206000198d0298890198965091925061212891600701908051908101604052908160008201805480602002602001604051908101604052809291908181526020018280548015611e935760200282019190600052602060002090815481526020019060010190808311611e7f575050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015611eeb5760200282019190600052602060002090815481526020019060010190808311611ed7575050505050815250508b61285a565b925061213481846127e4565b905061221e600b60008f600160a060020a0316600160a060020a03168152602001908152602001600020600b0160408051908101604052908160008201805480602002602001604051908101604052809291908181526020018280548015611f835760200282019190600052602060002090815481526020019060010190808311611f6f575050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015611fdb5760200282019190600052602060002090815481526020019060010190808311611fc7575050505050815250508761285a565b925061222a81846127e4565b90505b6122368d6128e2565b61223f87612900565b1061224d5760009850612273565b6122568d61291c565b612261858701612900565b1061226f5760009850612273565b8098505b5050505050505050949350505050565b600160a060020a03331660009081526002602052604090205460ff1615156122aa57600080fd5b82518451146122b857600080fd5b80518251146122c657600080fd5b600a845111156122d557600080fd5b600a825111156122e457600080fd5b600160a060020a0385166000908152600b602052604090205460ff16151561230b57600080fd5b6040805190810160409081528582526020808301869052600160a060020a0388166000908152600b9091522060090181518190805161234e929160200190612fe0565b50602082015181600101908051612369929160200190612fe0565b509050506040805190810160409081528382526020808301849052600160a060020a0388166000908152600b918290529190912001815181908051611a6a929160200190612fe0565b60005433600160a060020a039081169116146123cd57600080fd5b606060405190810160409081528482526020808301859052818301849052600160a060020a0387166000908152600690915220815181556020820151816001015560408201516002909101555050505050565b600e5433600160a060020a0390811691161461243b57600080fd5b81151561244e5761244b846118f2565b91505b61245a8484848461293a565b50505050565b60005433600160a060020a0390811691161461247b57600080fd5b600160a060020a03811682156108fc0283604051600060405180830381858888f1935050505015156124ac57600080fd5b7fec47e7ed86c86774d1a72c19f35c639911393fe7c1a34031fdbd260890da90de8282604051918252600160a060020a031660208201526040908101905180910390a15050565b6000811561251d5750600160a060020a0382166000908152600b602052604090206003015461253b565b50600160a060020a0382166000908152600b60205260409020600401545b92915050565b60005433600160a060020a0390811691161461255c57600080fd5b600160a060020a0381166000908152600b602052604090205460ff161561258257600080fd5b600160a060020a0381166000908152600b60205260409020805460ff19166001908117909155600a8054909181016125ba8382612fa5565b5060009182526020909120018054600160a060020a031916600160a060020a038316179055600d5415156125fc57600c8054906125fa9060018301612fa5565b505b600c54600160a060020a0382166000908152600b60205260409020600019909101600182810191909155600d546002909201829055600e910106600d5561264281612a6a565b61264b81612aa5565b50565b600160a060020a0381166000908152600b60205260408120548190819081908190819060ff16151561267f57600080fd5b5050600160a060020a0385166000908152600b602052604090206001810154600290910154600c8054839183916126cf9190849081106126bb57fe5b9060005260206000209001548a600161278b565b60f860020a026126fb600c868154811015156126e757fe5b9060005260206000209001548b600061278b565b60f860020a02955095509550955050509193509193565b600160a060020a03166000908152600660205260409020805460018201546002909201549092565b600054600160a060020a031681565b60e060020a81045b919050565b600160a060020a038316600090815260066020526040812054819061277c868686612b67565b90820297910295509350505050565b600160a060020a0382166000908152600b60205260408120600201548183156127b85750601281016127be565b50600481015b8581602081106127ca57fe5b1a60f860020a0260f860020a900492505b50509392505050565b60008069d3c21bcecceda10000008411156127fe57600080fd5b61270f1983121561280e57600080fd5b64174876e80083131561282057600080fd5b5050612710908101919091020490565b600080600061283e86612c55565b91506012905061285085828487612d0f565b9695505050505050565b60008060008460200151519150600090505b818110156128ba578451818151811061288157fe5b9060200190602002015184136128b257846020015181815181106128a157fe5b9060200190602002015192506128da565b60010161286c565b846020015160018303815181106128cd57fe5b9060200190602002015192505b505092915050565b600160a060020a031660009081526006602052604090206002015490565b60008082121561291557506000198102612751565b5080612751565b600160a060020a031660009081526006602052604090206001015490565b600080600061294761302b565b600160a060020a0388166000908152600660205260408120546005870695508881151561297057fe5b600160a060020a038b1660009081526007602090815260408083208a845290915281205492909105955093506129a590612da8565b91508582602001511415612a045786826060015114156129d9578382818151019052508360408301818151019052506129ff565b6129e4898888612e35565b84810160408401529250838281815101905250606082018790525b612a2e565b612a0f898888612b67565b8584526020840188905260608401899052858201604085015290935090505b612a3782612ebd565b600160a060020a039099166000908152600760209081526040808320978352969052949094209790975550505050505050565b60005b6005811015610c7857600160a060020a0382166000908152600760209081526040808320848452909152902060019081905501612a6d565b600160a060020a03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612aeb57600160a060020a03811660009081526008602052604090206012905561264b565b80600160a060020a031663313ce5676000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515612b3157600080fd5b6102c65a03f11515612b4257600080fd5b5050506040518051600160a060020a0383166000908152600860205260409020555050565b6000806000806000806000612b7a61302b565b60009750600096506000955060009450899350889250600091505b6005821015612c3c57600160a060020a038b166000908152600760209081526040808320858452909152902054612bcb90612da8565b905082816020015111158015612be5575083816020015110155b15612bf1578051850194505b89816060015114612c0157612c31565b8581602001511015612c1257612c31565b80602001519550806040015197508881602001511415612c3157805196505b600190910190612b95565b871515612c47578497505b505050505050935093915050565b600080600160a060020a03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612c865760129150611937565b50600160a060020a03821660009081526008602052604090205480151561253b5782600160a060020a031663313ce5676000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515612ced57600080fd5b6102c65a03f11515612cfe57600080fd5b505050604051805190509150611937565b60006b204fce5e3e25026110000000851115612d2a57600080fd5b69d3c21bcecceda1000000821115612d4157600080fd5b838310612d745760128484031115612d5857600080fd5b670de0b6b3a7640000858302858503600a0a025b049050612da0565b60128385031115612d8457600080fd5b828403600a0a670de0b6b3a764000002828602811515612d6c57fe5b949350505050565b612db061302b565b612db861302b565b67ffffffffffffffff83811660070b82526801000000000000000084041667ffffffffffffffff908116602083015270010000000000000000000000000000000084041660070b60408201527801000000000000000000000000000000000000000000000000830467ffffffffffffffff16606082015292915050565b600080612e4061302b565b83851115612e4d57600080fd5b60009250600091505b60058210156127db57600160a060020a0386166000908152600760209081526040808320858452909152902054612e8c90612da8565b905083816020015111158015612ea6575084816020015110155b15612eb2578051830192505b600190910190612e56565b600080678000000000000000835112612ed557600080fd5b677fffffffffffffff19835113612eeb57600080fd5b68010000000000000000836020015110612f0457600080fd5b678000000000000000604084015112612f1c57600080fd5b677fffffffffffffff19604084015113612f3557600080fd5b68010000000000000000836060015110612f4e57600080fd5b67ffffffffffffffff83511690506801000000000000000083602001510217680100000000000000008067ffffffffffffffff60408601511602021768010000000000000000808060608601510202021792915050565b815481835581811511612fc957600083815260209020612fc9918101908301613054565b505050565b60206040519081016040526000815290565b82805482825590600052602060002090810192821561301b579160200282015b8281111561301b578251825591602001919060010190613000565b50613027929150613054565b5090565b608060405190810160405280600081526020016000815260200160008152602001600081525090565b610f9691905b80821115613027576000815560010161305a5600a165627a7a72305820be694f9e710df19155c15f9d5340c6a97082138e94b8fef3ca7071d0ec898e840029

Deployed Bytecode Sourcemap

17040:14314:0:-;;;;;;;;;-1:-1:-1;;;17040:14314:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6377:463;;;;;;;;;;-1:-1:-1;;;;;6377:463:0;;;;;;;23446:105;;;;;;;;;;-1:-1:-1;;;;;23446:105:0;;;;;23285:153;;;;;;;;;;-1:-1:-1;;;;;23285:153:0;;;;;18780:42;;;;;;;;;;;;;;;;;;;;;;;;;;;20908:767;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20908:767:0;;-1:-1:-1;20908:767:0;;-1:-1:-1;;;;;;20908:767:0;23056:221;;;;;;;;;;-1:-1:-1;;;;;23056:221:0;;;;;4001:27;;;;;;;;;;;;;;;-1:-1:-1;;;;;4001:27:0;;;;;;;;;;;;;;4612:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;29644:94:0;;;;;;;;;;;;8278:189;;;;;;;;;;-1:-1:-1;;;;;8278:189:0;;;;;;;;;;;;;6061:308;;;;;;;;;;-1:-1:-1;;;;;6061:308:0;;;;;19010:45;;;;;;;;;;;;27799:1574;;;;;;;;;;-1:-1:-1;;;;;27799:1574:0;;;;;;;;;20278:622;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20278:622:0;;-1:-1:-1;20278:622:0;;-1:-1:-1;;;;;;20278:622:0;22923:125;;;;;;;;;;;;;;27599:149;;;;;;;;;;-1:-1:-1;;;;;27599:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5030:187;;;;;;;;;;-1:-1:-1;;;;;5030:187:0;;;;;5799:194;;;;;;;;;;;;5398:223;;;;;;;;;;-1:-1:-1;;;;;5398:223:0;;;;;4718:96;;;;;;;;;;;;29423:213;;;;;;;;;;-1:-1:-1;;;;;29423:213:0;;;;;21683:603;;;;;;;;;;;;;-1:-1:-1;;;;;21683:603:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21683:603:0;;-1:-1:-1;21683:603:0;;-1:-1:-1;;;;;;21683:603:0;6909:319;;;;;;;;;;-1:-1:-1;;;;;6909:319:0;;;;;19062:30;;;;;;;;;;;;9541:65;;;;;;;;;;-1:-1:-1;;;;;9541:65:0;;;;;;;7236:481;;;;;;;;;;-1:-1:-1;;;;;7236:481:0;;;;;23991:2785;;;;;;;;;;-1:-1:-1;;;;;23991:2785:0;;;;;;;;;;;;;22294:621;;;;;;;;;;;;;-1:-1:-1;;;;;22294:621:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22294:621:0;;-1:-1:-1;22294:621:0;;-1:-1:-1;;;;;;22294:621:0;9752:412;;;;;;;;;;-1:-1:-1;;;;;9752:412:0;;;;;;;;;;;23559:378;;;;;;;;;;-1:-1:-1;;;;;23559:378:0;;;;;;;;;;;8579:153;;;;;;;;;;;;-1:-1:-1;;;;;8579:153:0;;;;;26829:212;;;;;;;;;;-1:-1:-1;;;;;26829:212:0;;;;;;;;;19609:661;;;;;;;;;;-1:-1:-1;;;;;19609:661:0;;;;;27049:542;;;;;;;;;;-1:-1:-1;;;;;27049:542:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10172:278;;;;;;;;;;-1:-1:-1;;;;;10172:278:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3974:20;;;;;;;;;;;;6377:463;6526:6;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;6454:17:0;;;;;;:8;:17;;;;;;;;6446:26;;;;;;;;-1:-1:-1;;;;;;6483:17:0;;6503:5;6483:17;;;:8;:17;;;;;:25;;-1:-1:-1;;6483:25:0;;;6521:312;6542:13;:20;6538:24;;6521:312;;;6608:7;-1:-1:-1;;;;;6588:27:0;:13;6602:1;6588:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6588:16:0;:27;6584:238;;;6655:13;6669:20;;-1:-1:-1;;6669:24:0;;;6655:39;;;;;;;;;;;;;;;;6636:13;:16;;-1:-1:-1;;;;;6655:39:0;;;;6650:1;;6636:16;;;;;;;;;;;;;;;:58;;-1:-1:-1;;;;;;6636:58:0;-1:-1:-1;;;;;6636:58:0;;;;;;;;;;6713:13;:22;;;;;-1:-1:-1;;6713:22:0;;;:::i;:::-;;6754:28;6767:7;6776:5;6754:28;;-1:-1:-1;;;;;6754:28:0;;;;;;;;;;;;;;;;;;;;;;6801:5;;6584:238;6564:3;;6521:312;;;6377:463;;:::o;23446:105::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;23518:15;:25;;-1:-1:-1;;;;;;23518:25:0;-1:-1:-1;;;;;23518:25:0;;;;;;;;;;23446:105::o;23285:153::-;-1:-1:-1;;;;;4572:10:0;4563:20;;;;;:8;:20;;;;;;;;4555:29;;;;;;;;-1:-1:-1;;;;;23363:16:0;;;;;;:9;:16;;;;;:23;;;23355:32;;;;;;;;-1:-1:-1;;;;;23398:16:0;23425:5;23398:16;;;:9;:16;;;;;:32;;-1:-1:-1;;23398:32:0;;;23285:153::o;18780:42::-;;;;:::o;20908:767::-;-1:-1:-1;;;;;4481:10:0;4471:21;21371:8;4471:21;;;:9;:21;;;;;;;;4463:30;;;;;;;;21192:7;:14;21175:6;:13;:31;21167:40;;;;;;21243:8;:15;21226:6;:13;:32;21218:41;;;;;;21293:3;:10;21278:4;:11;:25;21270:34;;;;;;21338:7;:14;21323:4;:11;:29;21315:38;;;;;;-1:-1:-1;21382:1:0;21366:242;21391:6;:13;21385:3;:19;21366:242;;;21436:9;:22;21446:6;21453:3;21446:11;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21436:22:0;;;;;;;;;;;;-1:-1:-1;21436:22:0;:29;;;21428:38;;;;;;;;21518:7;21526:3;21518:12;;;;;;;;;;;;;;;;21481:9;:22;21491:6;21498:3;21491:11;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21481:22:0;;;;;;;;;;;;-1:-1:-1;21481:22:0;:34;;:49;21583:8;21592:3;21583:8;:13;;;;;;;;;;;;;;;21545:9;:22;21555:6;21562:3;21555:11;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21545:22:0;;;;;;;;;;;;-1:-1:-1;21545:22:0;:35;;:51;21406:5;;21366:242;;;21620:47;21635:3;21640:4;21646:11;21659:7;21620:14;:47::i;:::-;20908:767;;;;;;;;:::o;23056:221::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;23131:16:0;;;;;;:9;:16;;;;;:23;;;23123:32;;;;;;;;-1:-1:-1;;;;;23174:23:0;;;;;;:16;:23;;;;;:47;:52;;23166:61;;;;;;-1:-1:-1;;;;;23238:16:0;;;;;:9;:16;;;;;:31;;-1:-1:-1;;23238:31:0;;;;;23056:221::o;4001:27::-;;;-1:-1:-1;;;;;4001:27:0;;:::o;4612:98::-;4659:9;;:::i;:::-;4688:14;4681:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4681:21:0;;;;;;;;;;;;;;;;;;;;;;;4612:98;;:::o;29644:94::-;29691:7;;:::i;:::-;29718:12;29711:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29711:19:0;;;;;;;;;;;;;;;;;;;;;;29644:94;:::o;8278:189::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;8381:5;-1:-1:-1;;;;;8381:14:0;;8396:6;8404;8381:30;;;;;;;;-1:-1:-1;;;8381:30:0;;;;;;-1:-1:-1;;;;;8381:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8373:39;;;;;;;;8423:36;8437:5;8444:6;8452;8423:36;;-1:-1:-1;;;;;8423:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8278:189;;;:::o;6061:308::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;6138:20:0;;;;;;:8;:20;;;;;;;;6137:21;6129:30;;;;;;6201:13;:20;4249:2;6201:37;;6193:46;;;;;;6252:30;6265:10;6277:4;6252:30;;-1:-1:-1;;;;;6252:30:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6293:20:0;;;;;;:8;:20;;;;;:27;;-1:-1:-1;;6293:27:0;6316:4;6293:27;;;;;;6331:13;:30;;:13;;:30;;;:13;:30;;:::i;:::-;-1:-1:-1;6331:30:0;;;;;;;;;;;-1:-1:-1;;;;;;6331:30:0;-1:-1:-1;;;;;6331:30:0;;;;;;;;;;6061:308::o;19010:45::-;;;;:::o;27799:1574::-;27887:3;27907:12;;27903:78;;;-1:-1:-1;;;;;;27932:16:0;;;;;;:9;:16;;;;;:39;;:48;27921:60;;27903:78;27996:7;28007:1;27996:12;27992:73;;;-1:-1:-1;;;;;28017:16:0;;;;;;:9;:16;;;;;:39;;:48;;28059:5;;28017:48;;;;;;;;;;;;;;;28010:55;;;;27992:73;28080:7;28091:1;28080:12;28076:78;;;-1:-1:-1;;;;;;28105:16:0;;;;;;:9;:16;;;;;:41;;:48;28094:60;;28076:78;28169:7;28180:1;28169:12;28165:73;;;-1:-1:-1;;;;;28190:16:0;;;;;;:9;:16;;;;;:41;;:48;;28232:5;;28190:48;;;;;28165:73;28255:7;28266:1;28255:12;28251:79;;;-1:-1:-1;;;;;;28280:16:0;;;;;;:9;:16;;;;;:40;;:49;28269:61;;28251:79;28345:7;28356:1;28345:12;28341:74;;;-1:-1:-1;;;;;28366:16:0;;;;;;:9;:16;;;;;:40;;:49;;28409:5;;28366:49;;;;;28341:74;28430:7;28441:1;28430:12;28426:79;;;-1:-1:-1;;;;;;28455:16:0;;;;;;:9;:16;;;;;:42;;:49;28444:61;;28426:79;28520:7;28531:1;28520:12;28516:74;;;-1:-1:-1;;;;;28541:16:0;;;;;;:9;:16;;;;;:42;;:49;;28584:5;;28541:49;;;;;28516:74;28607:7;28618:1;28607:12;28603:84;;;-1:-1:-1;;;;;;28632:16:0;;;;;;:9;:16;;;;;:45;;:54;28621:66;;28603:84;28702:7;28713:1;28702:12;28698:79;;;-1:-1:-1;;;;;28723:16:0;;;;;;:9;:16;;;;;:45;;:54;;28771:5;;28723:54;;;;;28698:79;28792:7;28803:2;28792:13;28788:85;;;-1:-1:-1;;;;;;28818:16:0;;;;;;:9;:16;;;;;:47;;:54;28807:66;;28788:85;28888:7;28899:2;28888:13;28884:80;;;-1:-1:-1;;;;;28910:16:0;;;;;;:9;:16;;;;;:47;;:54;;28958:5;;28910:54;;;;;28884:80;28981:7;28992:2;28981:13;28977:86;;;-1:-1:-1;;;;;;29007:16:0;;;;;;:9;:16;;;;;;;;:46;:55;28996:67;;28977:86;29078:7;29089:2;29078:13;29074:81;;;-1:-1:-1;;;;;29100:16:0;;;;;;:9;:16;;;;;;;;:46;:55;;29149:5;;29100:55;;;;;29074:81;29170:7;29181:2;29170:13;29166:86;;;-1:-1:-1;;;;;;29196:16:0;;;;;;:9;:16;;;;;:48;;:55;29185:67;;29166:86;29267:7;29278:2;29267:13;29263:81;;;-1:-1:-1;;;;;29289:16:0;;;;;;:9;:16;;;;;:48;;:55;;29338:5;;29289:55;;;;;27799:1574;;;;;;:::o;20278:622::-;-1:-1:-1;;;;;4481:10:0;4471:21;20540:18;4471:21;;;:9;:21;;;;;;20540:18;;;;4471:21;;4463:30;;;;;;;;20422:4;:11;20408:3;:10;:25;20400:34;;;;;;20471:3;:10;20453:7;:14;:28;20445:37;;;;;;20516:10;20501:25;;;20493:34;;;;;;19202:37;;-1:-1:-1;20603:1:0;;-1:-1:-1;20589:304:0;20610:7;:14;20606:1;:18;20589:304;;;20667:21;:28;20654:7;20662:1;20654:7;:10;;;;;;;;;;;;;;;:41;20646:50;;;;;;20802:13;20786;:29;20771:11;:45;20754:13;20743:4;20748:1;20743:7;;;;;;;;;;;;;;;;20738:13;;;:29;20728:3;20732:1;20728:6;;;;;;;;;;;;;;;;20723:12;;;:44;:94;;-1:-1:-1;20723:94:0;20832:21;20854:7;20862:1;20854:7;:10;;;;;;;;;;;;;;;20832:33;;;;;;;;;;;;;;;;;:49;20626:3;;;;;20589:304;;;20278:622;;;;;;;:::o;22923:125::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;23004:25;:36;22923:125::o;27599:149::-;-1:-1:-1;;;;;27690:16:0;27659:4;27690:16;;;:9;:16;;;;;:23;;;;;;;27715:24;;;;;27599:149::o;5030:187::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;5107:22:0;;;;5099:31;;;;;;5162:12;;5141:34;;-1:-1:-1;;;;;5162:12:0;5141:34;;-1:-1:-1;;;;;5141:34:0;;;;;;;;;;;;;;5186:12;:23;;-1:-1:-1;;;;;;5186:23:0;-1:-1:-1;;;;;5186:23:0;;;;;;;;;;5030:187::o;5799:194::-;5847:12;;5863:10;-1:-1:-1;;;;;5847:26:0;;;:12;;:26;5839:35;;;;;;5898:12;;;5912:5;5885:33;;-1:-1:-1;;;;;5898:12:0;;;;5912:5;5885:33;;-1:-1:-1;;;;;5885:33:0;;;;;;;;;;;;;;;;;;;;;;5937:12;;;;5929:20;;-1:-1:-1;;;;;;5929:20:0;;;-1:-1:-1;;;;;5937:12:0;;5929:20;;;;5960:25;;;5799:194::o;5398:223::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;5482:22:0;;;;5474:31;;;;;;5516:30;5537:8;5516:30;;-1:-1:-1;;;;;5516:30:0;;;;;;;;;;;;;;5580:5;;5557:29;;5570:8;;-1:-1:-1;;;;;5580:5:0;5557:29;;-1:-1:-1;;;;;5557:29:0;;;;;;;;;;;;;;;;;;;;;;5597:5;:16;;-1:-1:-1;;;;;;5597:16:0;-1:-1:-1;;;;;5597:16:0;;;;;;;;;;5398:223::o;4718:96::-;4764:9;;:::i;:::-;4793:13;4786:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4786:20:0;;;;;;;;;;;;;;;;;;;;;;4718:96;:::o;29423:213::-;-1:-1:-1;;;;;29545:16:0;;29484:4;29545:16;;;:9;:16;;;;;:38;;;29523:21;:61;;29484:4;;29545:38;29523:61;;;;;;;;;;;;;;;29501:83;;29602:26;29616:11;29602:13;:26::i;:::-;29595:33;;29423:213;;;;;:::o;21683:603::-;-1:-1:-1;;;;;4481:10:0;4471:21;;;;;:9;:21;;;;;;;;4463:30;;;;;;;;21903:4;:11;21888:4;:11;:26;21880:35;;;;;;21950:5;:12;21934:5;:12;:28;21926:37;;;;;;19294:2;21982:4;:11;:36;;21974:45;;;;;;19294:2;22038:5;:12;:37;;22030:46;;;;;;-1:-1:-1;;;;;22095:16:0;;;;;;:9;:16;;;;;:23;;;22087:32;;;;;;;;22174:24;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22132:16:0;;-1:-1:-1;22132:16:0;;;:9;:16;;;;:39;;22174:24;22132:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;22252:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22209:16:0;;-1:-1:-1;22209:16:0;;;:9;:16;;;;:40;;22252:26;22209:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;6909:319::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;6988:22:0;;;;;;:9;:22;;;;;;;;6987:23;6979:32;;;;;;7053:14;:21;4249:2;7053:38;;7045:47;;;;;;7105:32;7119:11;7132:4;7105:32;;-1:-1:-1;;;;;7105:32:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7148:22:0;;;;;;:9;:22;;;;;:29;;-1:-1:-1;;7148:29:0;7173:4;7148:29;;;;;;7188:14;:32;;:14;;:32;;;:14;:32;;:::i;19062:30::-;;;-1:-1:-1;;;;;19062:30:0;;:::o;9541:65::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;7236:481::-;7391:6;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;7315:19:0;;;;;;:9;:19;;;;;;;;7307:28;;;;;;;;-1:-1:-1;;;;;;7346:19:0;;7368:5;7346:19;;;:9;:19;;;;;:27;;-1:-1:-1;;7346:27:0;;;7386:324;7407:14;:21;7403:25;;7386:324;;;7475:8;-1:-1:-1;;;;;7454:29:0;:14;7469:1;7454:17;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7454:17:0;:29;7450:249;;;7524:14;7539:21;;-1:-1:-1;;7539:25:0;;;7524:41;;;;;;;;;;;;;;;;7504:14;:17;;-1:-1:-1;;;;;7524:41:0;;;;7519:1;;7504:17;;;;;;;;;;;;;;;:61;;-1:-1:-1;;;;;;7504:61:0;-1:-1:-1;;;;;7504:61:0;;;;;;;;;;7584:14;:26;;-1:-1:-1;;7584:26:0;;;;;;:::i;:::-;;7629:30;7643:8;7653:5;7629:30;;-1:-1:-1;;;;;7629:30:0;;;;;;;;;;;;;;;;;;;;;;7678:5;;7450:249;7430:3;;7386:324;;23991:2785;-1:-1:-1;;;;;24146:16:0;;24086:4;24146:16;;;:9;:16;;;;;:24;24086:4;;;;;;;;;;;;;;;;24146:24;;;;;24145:25;24141:39;;;24179:1;24172:8;;;;24141:39;-1:-1:-1;;;;;24195:23:0;;;;;;:16;:23;;;;;:47;:52;24191:66;;;24256:1;24249:8;;;;24191:66;-1:-1:-1;;;;;24378:16:0;;;;;;:9;:16;;;;;:38;;;24356:21;:61;;:21;;24378:38;24356:61;;;;;;;;;;;;;;;24334:83;;24453:26;24467:11;24453:13;:26::i;:::-;24534:25;;24430:49;;-1:-1:-1;24516:43:0;;24494:65;;24490:79;;24568:1;24561:8;;;;24490:79;24720:56;24733:5;24740:15;24757:18;24720:12;:56::i;:::-;24685:91;;-1:-1:-1;24685:91:0;-1:-1:-1;24921:1654:0;;;;-1:-1:-1;;;;;;24989:16:0;;;;;;:9;:16;;;;;:28;;;25079:52;25106:11;24999:5;25126:4;25079:26;:52::i;:::-;25066:65;;25161:10;25157:15;;25175:2;25157:20;25146:31;;25199:22;25206:4;25212:8;25199:6;:22::i;:::-;25192:29;;25278;25290:5;25297:4;25303:3;25278:11;:29::i;:::-;-1:-1:-1;;;;;25471:16:0;;;;;;:9;:16;;;;;;;25272:35;;-1:-1:-1;25360:30:0;;;;25272:35;;-1:-1:-1;25451:70:0;;25471:39;;;:16;25451:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25516:3;25451:19;:70::i;:::-;25440:81;;25543:22;25550:4;25556:8;25543:6;:22::i;:::-;-1:-1:-1;;;;;25652:16:0;;;;;;:9;:16;;;;;;;25536:29;;-1:-1:-1;25632:82:0;;25652:45;;;:16;25632:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25699:14;25632:19;:82::i;:::-;25621:93;;25736:22;25743:4;25749:8;25736:6;:22::i;:::-;25729:29;;24921:1654;;;-1:-1:-1;;;;;;25835:16:0;;;;;;:9;:16;;;;;:29;;;;25926:53;;25953:11;;25845:5;;25926:26;:53::i;:::-;25913:66;;26009:10;26005:15;;26023:2;26005:20;25994:31;;26047:22;26054:4;26060:8;26047:6;:22::i;:::-;-1:-1:-1;;;;;26274:16:0;;;;;;:9;:16;;;;;;;-1:-1:-1;;26135:13:0;;26163:30;;;;26135:13;-1:-1:-1;26040:29:0;;-1:-1:-1;26254:71:0;;26274:40;;;:16;26254:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26320:3;26254:19;:71::i;:::-;26243:82;;26347:22;26354:4;26360:8;26347:6;:22::i;:::-;26340:29;;26436:83;26456:9;:16;26466:5;-1:-1:-1;;;;;26456:16:0;-1:-1:-1;;;;;26456:16:0;;;;;;;;;;;;:46;;26436:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26504:14;26436:19;:83::i;:::-;26425:94;;26541:22;26548:4;26554:8;26541:6;:22::i;:::-;26534:29;;24921:1654;26614:27;26635:5;26614:20;:27::i;:::-;26591:19;26595:14;26591:3;:19::i;:::-;:50;26587:64;;26650:1;26643:8;;;;26587:64;26704:30;26728:5;26704:23;:30::i;:::-;26666:34;26687:12;26670:14;:29;26666:3;:34::i;:::-;:68;26662:82;;26743:1;26736:8;;;;26662:82;26764:4;26757:11;;23991:2785;;;;;;;;;;;;;;;:::o;22294:621::-;-1:-1:-1;;;;;4481:10:0;4471:21;;;;;:9;:21;;;;;;;;4463:30;;;;;;;;22520:4;:11;22505:4;:11;:26;22497:35;;;;;;22567:5;:12;22551:5;:12;:28;22543:37;;;;;;19294:2;22599:4;:11;:36;;22591:45;;;;;;19294:2;22655:5;:12;:37;;22647:46;;;;;;-1:-1:-1;;;;;22712:16:0;;;;;;:9;:16;;;;;:23;;;22704:32;;;;;;;;22797:24;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22749:16:0;;-1:-1:-1;22749:16:0;;;:9;:16;;;;:45;;22797:24;22749:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;22881:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22832:16:0;;-1:-1:-1;22832:16:0;;;:9;:16;;;;;;;;:46;22881:26;22832:75;;;;;;;;;;;;:::i;9752:412::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;10008:148;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9969:23:0;;-1:-1:-1;9969:23:0;;;:16;:23;;;;10008:148;9969:187;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9752:412:0:o;23559:378::-;23750:15;;23736:10;-1:-1:-1;;;;;23736:29:0;;;23750:15;;23736:29;23728:38;;;;;;23783:20;;23779:69;;;23823:25;23842:5;23823:18;:25::i;:::-;23805:43;;23779:69;23868:61;23881:5;23888:9;23899:15;23916:12;23868;:61::i;:::-;23559:378;;;;:::o;8579:153::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;8661:15:0;;:23;;;;8677:6;8661:23;;;;;;;;;;;;;;;;;;;;;;;;;;8695:29;8709:6;8717;8695:29;;;;;-1:-1:-1;;;;;8695:29:0;;;;;;;;;;;;;;;;8579:153;;:::o;26829:212::-;26894:4;26915:3;26911:122;;;-1:-1:-1;;;;;;26940:16:0;;;;;;:9;:16;;;;;:28;;;26933:35;;26911:122;-1:-1:-1;;;;;;27004:16:0;;;;;;:9;:16;;;;;:29;;;26911:122;26829:212;;;;:::o;19609:661::-;4394:5;;4380:10;-1:-1:-1;;;;;4380:19:0;;;4394:5;;4380:19;4372:28;;;;;;-1:-1:-1;;;;;19679:16:0;;;;;;:9;:16;;;;;:23;;;19678:24;19670:33;;;;;;-1:-1:-1;;;;;19714:16:0;;;;;;:9;:16;;;;;:30;;-1:-1:-1;;19714:30:0;19740:4;19714:30;;;;;;19755:12;:24;;:12;;:24;;;:12;:24;;:::i;:::-;-1:-1:-1;19755:24:0;;;;;;;;;;;-1:-1:-1;;;;;;19755:24:0;-1:-1:-1;;;;;19755:24:0;;;;;19796:29;;:34;19792:118;;;19847:21;:30;;;;;;;;;:::i;:::-;;19792:118;19963:21;:28;-1:-1:-1;;;;;19922:16:0;;;;;;:9;:16;;;;;-1:-1:-1;;19963:32:0;;;19994:1;19922:38;;;:73;;;;20047:29;;20006:38;;;;:70;;;19151:2;;20122:33;20121:64;20089:29;:96;20198:33;20225:5;20198:26;:33::i;:::-;20244:18;20256:5;20244:11;:18::i;:::-;19609:661;:::o;27049:542::-;-1:-1:-1;;;;;27149:16:0;;27106:4;27149:16;;;:9;:16;;;;;:23;27106:4;;;;;;;;;;27149:23;;27141:32;;;;;;;;-1:-1:-1;;;;;;;27204:16:0;;;;;;:9;:16;;;;;:38;;;;27272;;;;;27428:21;:33;;27204:38;;27272;;27401:74;;27428:21;27204:38;;27428:33;;;;;;;;;;;;;;;27463:5;27470:4;27401:26;:74::i;:::-;-1:-1:-1;;;27396:80:0;27496:75;27523:21;27545:10;27523:33;;;;;;;;;;;;;;;;;;;27558:5;27565;27496:26;:75::i;:::-;-1:-1:-1;;;27491:81:0;27323:260;;;;;;;;27049:542;;;;;;;:::o;10172:278::-;-1:-1:-1;;;;;10271:23:0;10234:4;10271:23;;;:16;:23;;;;;:47;;10337:44;;;;10400:41;;;;;10271:47;;10172:278::o;3974:20::-;;;-1:-1:-1;;;;;3974:20:0;;:::o;30008:215::-;-1:-1:-1;;;30170:45:0;;30008:215;;;;:::o;14696:530::-;-1:-1:-1;;;;;14898:23:0;;14812:18;14898:23;;;:16;:23;;;;;:47;14812:18;;15014:117;14915:5;15084:15;15118:12;15014:27;:117::i;:::-;15144:28;;;;15183:35;;;-1:-1:-1;14696:530:0;-1:-1:-1;;;;14696:530:0:o;30231:393::-;-1:-1:-1;;;;;30362:16:0;;30326:4;30362:16;;;:9;:16;;;;;:38;;;30326:4;30437:137;;;;-1:-1:-1;30472:31:0;:45;;30437:137;;;-1:-1:-1;30559:1:0;:15;;30437:137;30599:4;30604:10;30599:16;;;;;;;;-1:-1:-1;;;30599:16:0;-1:-1:-1;;;30594:22:0;;30587:29;;30231:393;;;;;;;;:::o;30897:293::-;30955:4;;1161:17;30980:16;;;30972:25;;;;;;-1:-1:-1;;31016:25:0;;;31008:34;;;;;;19347:8;31061:25;;;31053:34;;;;;;-1:-1:-1;;31114:9:0;31154:17;;;31142:30;;;;31141:41;;30897:293::o;29746:254::-;29826:4;29843:16;29891;29862:18;29874:5;29862:11;:18::i;:::-;29843:37;;1300:2;29891:31;;29942:50;29953:6;29961:11;29974;29987:4;29942:10;:50::i;:::-;29935:57;29746:254;-1:-1:-1;;;;;;29746:254:0:o;30632:257::-;30706:3;30722:8;30759;30733:1;:3;;;:10;30722:21;;30770:1;30759:12;;30754:98;30779:3;30773;:9;30754:98;;;30815:1;:3;30819;30815:8;;;;;;;;;;;;;;;;30810:13;;30806:34;;30832:1;:3;;;30836;30832:8;;;;;;;;;;;;;;;;30825:15;;;;30806:34;30784:5;;30754:98;;;30871:1;:3;;;30879:1;30875:3;:5;30871:10;;;;;;;;;;;;;;;;30864:17;;30632:257;;;;;;;:::o;15386:138::-;-1:-1:-1;;;;;15475:23:0;15451:4;15475:23;;;:16;:23;;;;;:41;;;;15386:138::o;31198:153::-;31240:4;31265:1;31261;:5;31257:86;;;-1:-1:-1;;;31293:6:0;;31281:19;;31257:86;-1:-1:-1;31341:1:0;31329:14;;15234:144;-1:-1:-1;;;;;15326:23:0;15302:4;15326:23;;;:16;:23;;;;;:44;;;;15234:144::o;10458:2047::-;10626:22;10696:21;10802:17;10836:42;;:::i;:::-;-1:-1:-1;;;;;10740:23:0;;11926:25;10740:23;;;:16;:23;;;;;:47;8934:1;10651:34;;;-1:-1:-1;10724:9:0;:64;;;;;;;-1:-1:-1;;;;;10919:25:0;;10822:1;10919:25;;;:18;:25;;;;;;;;:44;;;;;;;;;10724:64;;;;;-1:-1:-1;10822:1:0;-1:-1:-1;10894:70:0;;:24;:70::i;:::-;10836:128;;11086:12;11056:16;:26;;;:42;11052:1344;;;11165:15;11124:16;:36;;;11119:61;11115:733;;;11292:17;11245:16;11292:17;11245:16;:64;;;;-1:-1:-1;11371:17:0;11328:39;;;11371:17;11328:39;:60;;;;-1:-1:-1;11115:733:0;;;11514:57;11534:5;11541:15;11558:12;11514:19;:57::i;:::-;11632:38;;;11590:39;;;:80;11498:73;-1:-1:-1;11653:17:0;11590:16;11653:17;11590:16;11689:64;;;;-1:-1:-1;11772:36:0;;;:60;;;11115:733;11052:1344;;;12007:65;12035:5;12042:15;12059:12;12007:27;:65::i;:::-;12089:63;;;12167:26;;;:47;;;12229:36;;;:60;;;12346:38;;;12304:39;;;:80;11966:106;;-1:-1:-1;11966:106:0;-1:-1:-1;11052:1344:0;12455:42;12480:16;12455:24;:42::i;:::-;-1:-1:-1;;;;;12408:25:0;;;;;;;:18;:25;;;;;;;;:44;;;;;;;;;;:89;;;;-1:-1:-1;;;;;;;10458:2047:0:o;12513:184::-;12587:6;12582:108;8934:1;12599;:23;12582:108;;;-1:-1:-1;;;;;12644:25:0;;;;;;:18;:25;;;;;;;;:28;;;;;;;;12675:3;12644:34;;;;12624:3;12582:108;;1358:174;-1:-1:-1;;;;;1416:26:0;;956:44;1416:26;1412:112;;;-1:-1:-1;;;;;1444:15:0;;;;;;:8;:15;;;;;1300:2;1444:30;;1412:112;;;1508:5;-1:-1:-1;;;;;1508:14:0;;:16;;;;;;;;;;;-1:-1:-1;;;1508:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1490:15:0;;;;;;:8;:15;;;;;:34;-1:-1:-1;1358:174:0;:::o;13364:1324::-;13495:16;13513:25;13619:16;13650:20;13685:15;13729:13;13775:14;13856:38;;:::i;:::-;13571:1;13556:16;;13607:1;13583:25;;13638:1;13619:20;;13673:1;13650:24;;13703:15;13685:33;;13745:12;13729:28;;13792:1;13775:18;;13770:818;8934:1;13795:9;:31;13770:818;;;-1:-1:-1;;;;;13922:25:0;;;;;;:18;:25;;;;;;;;:36;;;;;;;;;13897:62;;:24;:62::i;:::-;13856:103;;14006:8;13980:12;:22;;;:34;;:74;;;;;14044:10;14018:12;:22;;;:36;;13980:74;13976:174;;;14095:12;:39;14075:59;;;;13976:174;14206:15;14170:12;:32;;;:51;14166:65;;14223:8;;14166:65;14275:11;14250:12;:22;;;:36;14246:50;;;14288:8;;14246:50;14327:12;:22;;;14313:36;;14379:12;:35;;;14364:50;;14465:12;14438;:22;;;14433:44;14429:148;;;14522:12;:39;14498:63;;14429:148;13828:11;;;;;13770:818;;;14604:17;;14600:81;;;14653:16;14638:31;;14600:81;13364:1324;;;;;;;;;;;;:::o;1540:479::-;1596:4;;-1:-1:-1;;;;;1617:26:0;;956:44;1617:26;1613:51;;;1300:2;1645:19;;;;1613:51;-1:-1:-1;;;;;;1719:15:0;;;;;;:8;:15;;;;;;1935:18;;1932:46;;;1962:5;-1:-1:-1;;;;;1962:14:0;;:16;;;;;;;;;;;-1:-1:-1;;;1962:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1955:23;;;;2027:569;2129:4;1096:6;2154:17;;;2146:26;;;;;;1161:17;2191:16;;;2183:25;;;;;;2225:26;;;2221:368;;1252:2;2277:25;;;2276:43;;2268:52;;;;;;1045:6;2343:13;;;2365:25;;;2360:2;:31;2343:49;2342:63;;2335:70;;;;2221:368;1252:2;2447:25;;;2446:43;;2438:52;;;;;;2563:11;2549;:25;2544:2;:31;1045:6;2531:45;2522:4;2513:6;:13;2512:65;;;;;;2221:368;2027:569;;;;;;:::o;16413:514::-;16481:18;;:::i;:::-;16512:30;;:::i;:::-;16608:12;16599:22;;;16589:34;;16555:68;;8976:7;16599:5;16664:16;16663:35;16651:49;;;;16634:14;;;:66;16761:19;16752:5;:29;16751:48;16741:60;;16711:27;;;:90;16861:30;16852:5;:40;16839:56;;16812:24;;;:83;:24;16413:514;-1:-1:-1;;16413:514:0:o;12705:651::-;12801:16;12962:14;13043:38;;:::i;:::-;12892:22;;;;12884:31;;;;;;12943:1;12928:16;;12979:1;12962:18;;12957:392;8934:1;12982:9;:31;12957:392;;;-1:-1:-1;;;;;13109:25:0;;;;;;:18;:25;;;;;;;;:36;;;;;;;;;13084:62;;:24;:62::i;:::-;13043:103;;13193:8;13167:12;:22;;;:34;;:74;;;;;13231:10;13205:12;:22;;;:36;;13167:74;13163:175;;;13282:12;:39;13262:60;;;;13163:175;13015:11;;;;;12957:392;;15532:873;15613:4;;15708:12;15670:4;:31;:51;15662:60;;;;;;-1:-1:-1;;15741:4:0;:31;:61;15733:70;;;;;;8976:7;15822:4;:14;;;:25;15814:34;;;;;;15901:12;15867:27;;;;:47;15859:56;;;;;;-1:-1:-1;;15934:27:0;;;;:57;15926:66;;;;;;8976:7;16011:4;:24;;;:35;16003:44;;;;;;16139:12;16103:4;:31;16098:54;16084:68;;8976:7;16173:4;:14;;;:25;16163:35;8976:7;;16257:12;16225:27;;;;16220:50;16219:63;:74;16209:84;8976:7;;;16314:24;;;;:35;:46;:57;16304:67;;15532:873;-1:-1:-1;;15532:873:0:o;17040:14314::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17040:14314:0;;;-1:-1:-1;17040:14314:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://be694f9e710df19155c15f9d5340c6a97082138e94b8fef3ca7071d0ec898e84

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.