ERC-20
Set Social Trading
Overview
Max Total Supply
2.143102838053 ICHIEMA
Holders
48 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xBD084431...06D82c45c The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
RebalancingSetTokenV2
Compiler Version
v0.5.7+commit.6da8b019
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-01-16 */ // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.2; pragma experimental "ABIEncoderV2"; /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } // File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.5.2; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol pragma solidity ^0.5.2; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://eips.ethereum.org/EIPS/eip-20 * Originally based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol * * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for * all accounts just by listening to said events. Note that this isn't required by the specification, and other * compliant implementations may not do it. */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return A uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token to a specified address * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public returns (bool) { _approve(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom(address from, address to, uint256 value) public returns (bool) { _transfer(from, to, value); _approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Approve an address to spend another addresses' tokens. * @param owner The address that owns the tokens. * @param spender The address that will spend the tokens. * @param value The number of tokens that can be spent. */ function _approve(address owner, address spender, uint256 value) internal { require(spender != address(0)); require(owner != address(0)); _allowed[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * Emits an Approval event (reflecting the reduced allowance). * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { _burn(account, value); _approve(account, msg.sender, _allowed[account][msg.sender].sub(value)); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol pragma solidity ^0.5.2; /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } } // File: zos-lib/contracts/Initializable.sol pragma solidity >=0.4.24 <0.6.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well * as extending an Initializable contract via inheritance. * WARNING: When used with inheritance, manual care must be taken to not invoke * a parent initializer twice, or ensure that all initializers are idempotent, * because this is not dealt with automatically as with constructors. */ contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private initializing; /** * @dev Modifier to use in the initializer function of a contract. */ modifier initializer() { require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized"); bool isTopLevelCall = !initializing; if (isTopLevelCall) { initializing = true; initialized = true; } _; if (isTopLevelCall) { initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. uint256 cs; assembly { cs := extcodesize(address) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; } // File: contracts/core/lib/RebalancingLibrary.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title RebalancingLibrary * @author Set Protocol * * The RebalancingLibrary contains functions for facilitating the rebalancing process for * Rebalancing Set Tokens. Removes the old calculation functions * */ library RebalancingLibrary { /* ============ Enums ============ */ enum State { Default, Proposal, Rebalance, Drawdown } /* ============ Structs ============ */ struct AuctionPriceParameters { uint256 auctionStartTime; uint256 auctionTimeToPivot; uint256 auctionStartPrice; uint256 auctionPivotPrice; } struct BiddingParameters { uint256 minimumBid; uint256 remainingCurrentSets; uint256[] combinedCurrentUnits; uint256[] combinedNextSetUnits; address[] combinedTokenArray; } } // File: contracts/core/interfaces/ICore.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title ICore * @author Set Protocol * * The ICore Contract defines all the functions exposed in the Core through its * various extensions and is a light weight way to interact with the contract. */ interface ICore { /** * Return transferProxy address. * * @return address transferProxy address */ function transferProxy() external view returns (address); /** * Return vault address. * * @return address vault address */ function vault() external view returns (address); /** * Return address belonging to given exchangeId. * * @param _exchangeId ExchangeId number * @return address Address belonging to given exchangeId */ function exchangeIds( uint8 _exchangeId ) external view returns (address); /* * Returns if valid set * * @return bool Returns true if Set created through Core and isn't disabled */ function validSets(address) external view returns (bool); /* * Returns if valid module * * @return bool Returns true if valid module */ function validModules(address) external view returns (bool); /** * Return boolean indicating if address is a valid Rebalancing Price Library. * * @param _priceLibrary Price library address * @return bool Boolean indicating if valid Price Library */ function validPriceLibraries( address _priceLibrary ) external view returns (bool); /** * Exchanges components for Set Tokens * * @param _set Address of set to issue * @param _quantity Quantity of set to issue */ function issue( address _set, uint256 _quantity ) external; /** * Issues a specified Set for a specified quantity to the recipient * using the caller's components from the wallet and vault. * * @param _recipient Address to issue to * @param _set Address of the Set to issue * @param _quantity Number of tokens to issue */ function issueTo( address _recipient, address _set, uint256 _quantity ) external; /** * Converts user's components into Set Tokens held directly in Vault instead of user's account * * @param _set Address of the Set * @param _quantity Number of tokens to redeem */ function issueInVault( address _set, uint256 _quantity ) external; /** * Function to convert Set Tokens into underlying components * * @param _set The address of the Set token * @param _quantity The number of tokens to redeem. Should be multiple of natural unit. */ function redeem( address _set, uint256 _quantity ) external; /** * Redeem Set token and return components to specified recipient. The components * are left in the vault * * @param _recipient Recipient of Set being issued * @param _set Address of the Set * @param _quantity Number of tokens to redeem */ function redeemTo( address _recipient, address _set, uint256 _quantity ) external; /** * Function to convert Set Tokens held in vault into underlying components * * @param _set The address of the Set token * @param _quantity The number of tokens to redeem. Should be multiple of natural unit. */ function redeemInVault( address _set, uint256 _quantity ) external; /** * Composite method to redeem and withdraw with a single transaction * * Normally, you should expect to be able to withdraw all of the tokens. * However, some have central abilities to freeze transfers (e.g. EOS). _toExclude * allows you to optionally specify which component tokens to exclude when * redeeming. They will remain in the vault under the users' addresses. * * @param _set Address of the Set * @param _to Address to withdraw or attribute tokens to * @param _quantity Number of tokens to redeem * @param _toExclude Mask of indexes of tokens to exclude from withdrawing */ function redeemAndWithdrawTo( address _set, address _to, uint256 _quantity, uint256 _toExclude ) external; /** * Deposit multiple tokens to the vault. Quantities should be in the * order of the addresses of the tokens being deposited. * * @param _tokens Array of the addresses of the ERC20 tokens * @param _quantities Array of the number of tokens to deposit */ function batchDeposit( address[] calldata _tokens, uint256[] calldata _quantities ) external; /** * Withdraw multiple tokens from the vault. Quantities should be in the * order of the addresses of the tokens being withdrawn. * * @param _tokens Array of the addresses of the ERC20 tokens * @param _quantities Array of the number of tokens to withdraw */ function batchWithdraw( address[] calldata _tokens, uint256[] calldata _quantities ) external; /** * Deposit any quantity of tokens into the vault. * * @param _token The address of the ERC20 token * @param _quantity The number of tokens to deposit */ function deposit( address _token, uint256 _quantity ) external; /** * Withdraw a quantity of tokens from the vault. * * @param _token The address of the ERC20 token * @param _quantity The number of tokens to withdraw */ function withdraw( address _token, uint256 _quantity ) external; /** * Transfer tokens associated with the sender's account in vault to another user's * account in vault. * * @param _token Address of token being transferred * @param _to Address of user receiving tokens * @param _quantity Amount of tokens being transferred */ function internalTransfer( address _token, address _to, uint256 _quantity ) external; /** * Deploys a new Set Token and adds it to the valid list of SetTokens * * @param _factory The address of the Factory to create from * @param _components The address of component tokens * @param _units The units of each component token * @param _naturalUnit The minimum unit to be issued or redeemed * @param _name The bytes32 encoded name of the new Set * @param _symbol The bytes32 encoded symbol of the new Set * @param _callData Byte string containing additional call parameters * @return setTokenAddress The address of the new Set */ function createSet( address _factory, address[] calldata _components, uint256[] calldata _units, uint256 _naturalUnit, bytes32 _name, bytes32 _symbol, bytes calldata _callData ) external returns (address); /** * Exposes internal function that deposits a quantity of tokens to the vault and attributes * the tokens respectively, to system modules. * * @param _from Address to transfer tokens from * @param _to Address to credit for deposit * @param _token Address of token being deposited * @param _quantity Amount of tokens to deposit */ function depositModule( address _from, address _to, address _token, uint256 _quantity ) external; /** * Exposes internal function that withdraws a quantity of tokens from the vault and * deattributes the tokens respectively, to system modules. * * @param _from Address to decredit for withdraw * @param _to Address to transfer tokens to * @param _token Address of token being withdrawn * @param _quantity Amount of tokens to withdraw */ function withdrawModule( address _from, address _to, address _token, uint256 _quantity ) external; /** * Exposes internal function that deposits multiple tokens to the vault, to system * modules. Quantities should be in the order of the addresses of the tokens being * deposited. * * @param _from Address to transfer tokens from * @param _to Address to credit for deposits * @param _tokens Array of the addresses of the tokens being deposited * @param _quantities Array of the amounts of tokens to deposit */ function batchDepositModule( address _from, address _to, address[] calldata _tokens, uint256[] calldata _quantities ) external; /** * Exposes internal function that withdraws multiple tokens from the vault, to system * modules. Quantities should be in the order of the addresses of the tokens being withdrawn. * * @param _from Address to decredit for withdrawals * @param _to Address to transfer tokens to * @param _tokens Array of the addresses of the tokens being withdrawn * @param _quantities Array of the amounts of tokens to withdraw */ function batchWithdrawModule( address _from, address _to, address[] calldata _tokens, uint256[] calldata _quantities ) external; /** * Expose internal function that exchanges components for Set tokens, * accepting any owner, to system modules * * @param _owner Address to use tokens from * @param _recipient Address to issue Set to * @param _set Address of the Set to issue * @param _quantity Number of tokens to issue */ function issueModule( address _owner, address _recipient, address _set, uint256 _quantity ) external; /** * Expose internal function that exchanges Set tokens for components, * accepting any owner, to system modules * * @param _burnAddress Address to burn token from * @param _incrementAddress Address to increment component tokens to * @param _set Address of the Set to redeem * @param _quantity Number of tokens to redeem */ function redeemModule( address _burnAddress, address _incrementAddress, address _set, uint256 _quantity ) external; /** * Expose vault function that increments user's balance in the vault. * Available to system modules * * @param _tokens The addresses of the ERC20 tokens * @param _owner The address of the token owner * @param _quantities The numbers of tokens to attribute to owner */ function batchIncrementTokenOwnerModule( address[] calldata _tokens, address _owner, uint256[] calldata _quantities ) external; /** * Expose vault function that decrement user's balance in the vault * Only available to system modules. * * @param _tokens The addresses of the ERC20 tokens * @param _owner The address of the token owner * @param _quantities The numbers of tokens to attribute to owner */ function batchDecrementTokenOwnerModule( address[] calldata _tokens, address _owner, uint256[] calldata _quantities ) external; /** * Expose vault function that transfer vault balances between users * Only available to system modules. * * @param _tokens Addresses of tokens being transferred * @param _from Address tokens being transferred from * @param _to Address tokens being transferred to * @param _quantities Amounts of tokens being transferred */ function batchTransferBalanceModule( address[] calldata _tokens, address _from, address _to, uint256[] calldata _quantities ) external; /** * Transfers token from one address to another using the transfer proxy. * Only available to system modules. * * @param _token The address of the ERC20 token * @param _quantity The number of tokens to transfer * @param _from The address to transfer from * @param _to The address to transfer to */ function transferModule( address _token, uint256 _quantity, address _from, address _to ) external; /** * Expose transfer proxy function to transfer tokens from one address to another * Only available to system modules. * * @param _tokens The addresses of the ERC20 token * @param _quantities The numbers of tokens to transfer * @param _from The address to transfer from * @param _to The address to transfer to */ function batchTransferModule( address[] calldata _tokens, uint256[] calldata _quantities, address _from, address _to ) external; } // File: contracts/core/interfaces/IFeeCalculator.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title IFeeCalculator * @author Set Protocol * */ interface IFeeCalculator { /* ============ External Functions ============ */ function initialize( bytes calldata _feeCalculatorData ) external; function getFee() external view returns(uint256); } // File: contracts/core/interfaces/ISetToken.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title ISetToken * @author Set Protocol * * The ISetToken interface provides a light-weight, structured way to interact with the * SetToken contract from another contract. */ interface ISetToken { /* ============ External Functions ============ */ /* * Get natural unit of Set * * @return uint256 Natural unit of Set */ function naturalUnit() external view returns (uint256); /* * Get addresses of all components in the Set * * @return componentAddresses Array of component tokens */ function getComponents() external view returns (address[] memory); /* * Get units of all tokens in Set * * @return units Array of component units */ function getUnits() external view returns (uint256[] memory); /* * Checks to make sure token is component of Set * * @param _tokenAddress Address of token being checked * @return bool True if token is component of Set */ function tokenIsComponent( address _tokenAddress ) external view returns (bool); /* * Mint set token for given address. * Can only be called by authorized contracts. * * @param _issuer The address of the issuing account * @param _quantity The number of sets to attribute to issuer */ function mint( address _issuer, uint256 _quantity ) external; /* * Burn set token for given address * Can only be called by authorized contracts * * @param _from The address of the redeeming account * @param _quantity The number of sets to burn from redeemer */ function burn( address _from, uint256 _quantity ) external; /** * Transfer token for a specified address * * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer( address to, uint256 value ) external; } // File: contracts/core/interfaces/IRebalancingSetToken.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title IRebalancingSetToken * @author Set Protocol * * The IRebalancingSetToken interface provides a light-weight, structured way to interact with the * RebalancingSetToken contract from another contract. */ interface IRebalancingSetToken { /* * Get the auction library contract used for the current rebalance * * @return address Address of auction library used in the upcoming auction */ function auctionLibrary() external view returns (address); /* * Get totalSupply of Rebalancing Set * * @return totalSupply */ function totalSupply() external view returns (uint256); /* * Get proposalTimeStamp of Rebalancing Set * * @return proposalTimeStamp */ function proposalStartTime() external view returns (uint256); /* * Get lastRebalanceTimestamp of Rebalancing Set * * @return lastRebalanceTimestamp */ function lastRebalanceTimestamp() external view returns (uint256); /* * Get rebalanceInterval of Rebalancing Set * * @return rebalanceInterval */ function rebalanceInterval() external view returns (uint256); /* * Get rebalanceState of Rebalancing Set * * @return RebalancingLibrary.State Current rebalance state of the RebalancingSetToken */ function rebalanceState() external view returns (RebalancingLibrary.State); /* * Get the starting amount of current SetToken for the current auction * * @return rebalanceState */ function startingCurrentSetAmount() external view returns (uint256); /** * Gets the balance of the specified address. * * @param owner The address to query the balance of. * @return A uint256 representing the amount owned by the passed address. */ function balanceOf( address owner ) external view returns (uint256); /** * Function used to set the terms of the next rebalance and start the proposal period * * @param _nextSet The Set to rebalance into * @param _auctionLibrary The library used to calculate the Dutch Auction price * @param _auctionTimeToPivot The amount of time for the auction to go ffrom start to pivot price * @param _auctionStartPrice The price to start the auction at * @param _auctionPivotPrice The price at which the price curve switches from linear to exponential */ function propose( address _nextSet, address _auctionLibrary, uint256 _auctionTimeToPivot, uint256 _auctionStartPrice, uint256 _auctionPivotPrice ) external; /* * Get natural unit of Set * * @return uint256 Natural unit of Set */ function naturalUnit() external view returns (uint256); /** * Returns the address of the current base SetToken with the current allocation * * @return A address representing the base SetToken */ function currentSet() external view returns (address); /** * Returns the address of the next base SetToken with the post auction allocation * * @return address Address representing the base SetToken */ function nextSet() external view returns (address); /* * Get the unit shares of the rebalancing Set * * @return unitShares Unit Shares of the base Set */ function unitShares() external view returns (uint256); /* * Burn set token for given address. * Can only be called by authorized contracts. * * @param _from The address of the redeeming account * @param _quantity The number of sets to burn from redeemer */ function burn( address _from, uint256 _quantity ) external; /* * Place bid during rebalance auction. Can only be called by Core. * * @param _quantity The amount of currentSet to be rebalanced * @return combinedTokenArray Array of token addresses invovled in rebalancing * @return inflowUnitArray Array of amount of tokens inserted into system in bid * @return outflowUnitArray Array of amount of tokens taken out of system in bid */ function placeBid( uint256 _quantity ) external returns (address[] memory, uint256[] memory, uint256[] memory); /* * Get combinedTokenArray of Rebalancing Set * * @return combinedTokenArray */ function getCombinedTokenArrayLength() external view returns (uint256); /* * Get combinedTokenArray of Rebalancing Set * * @return combinedTokenArray */ function getCombinedTokenArray() external view returns (address[] memory); /* * Get failedAuctionWithdrawComponents of Rebalancing Set * * @return failedAuctionWithdrawComponents */ function getFailedAuctionWithdrawComponents() external view returns (address[] memory); /* * Get auctionPriceParameters for current auction * * @return uint256[4] AuctionPriceParameters for current rebalance auction */ function getAuctionPriceParameters() external view returns (uint256[] memory); /* * Get biddingParameters for current auction * * @return uint256[2] BiddingParameters for current rebalance auction */ function getBiddingParameters() external view returns (uint256[] memory); /* * Get token inflows and outflows required for bid. Also the amount of Rebalancing * Sets that would be generated. * * @param _quantity The amount of currentSet to be rebalanced * @return inflowUnitArray Array of amount of tokens inserted into system in bid * @return outflowUnitArray Array of amount of tokens taken out of system in bid */ function getBidPrice( uint256 _quantity ) external view returns (uint256[] memory, uint256[] memory); } // File: contracts/core/lib/Rebalance.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title Rebalance * @author Set Protocol * * Types and functions for Rebalance-related data. */ library Rebalance { struct TokenFlow { address[] addresses; uint256[] inflow; uint256[] outflow; } function composeTokenFlow( address[] memory _addresses, uint256[] memory _inflow, uint256[] memory _outflow ) internal pure returns(TokenFlow memory) { return TokenFlow({addresses: _addresses, inflow: _inflow, outflow: _outflow }); } function decomposeTokenFlow(TokenFlow memory _tokenFlow) internal pure returns (address[] memory, uint256[] memory, uint256[] memory) { return (_tokenFlow.addresses, _tokenFlow.inflow, _tokenFlow.outflow); } function decomposeTokenFlowToBidPrice(TokenFlow memory _tokenFlow) internal pure returns (uint256[] memory, uint256[] memory) { return (_tokenFlow.inflow, _tokenFlow.outflow); } /** * Get token flows array of addresses, inflows and outflows * * @param _rebalancingSetToken The rebalancing Set Token instance * @param _quantity The amount of currentSet to be rebalanced * @return combinedTokenArray Array of token addresses * @return inflowArray Array of amount of tokens inserted into system in bid * @return outflowArray Array of amount of tokens returned from system in bid */ function getTokenFlows( IRebalancingSetToken _rebalancingSetToken, uint256 _quantity ) internal view returns (address[] memory, uint256[] memory, uint256[] memory) { // Get token addresses address[] memory combinedTokenArray = _rebalancingSetToken.getCombinedTokenArray(); // Get inflow and outflow arrays for the given bid quantity ( uint256[] memory inflowArray, uint256[] memory outflowArray ) = _rebalancingSetToken.getBidPrice(_quantity); return (combinedTokenArray, inflowArray, outflowArray); } } // File: contracts/core/interfaces/ILiquidator.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title ILiquidator * @author Set Protocol * */ interface ILiquidator { /* ============ External Functions ============ */ function startRebalance( ISetToken _currentSet, ISetToken _nextSet, uint256 _startingCurrentSetQuantity, bytes calldata _liquidatorData ) external; function getBidPrice( address _set, uint256 _quantity ) external view returns (Rebalance.TokenFlow memory); function placeBid( uint256 _quantity ) external returns (Rebalance.TokenFlow memory); function settleRebalance() external; function endFailedRebalance() external; // ---------------------------------------------------------------------- // Auction Price // ---------------------------------------------------------------------- function auctionPriceParameters(address _set) external view returns (RebalancingLibrary.AuctionPriceParameters memory); // ---------------------------------------------------------------------- // Auction // ---------------------------------------------------------------------- function hasRebalanceFailed(address _set) external view returns (bool); function minimumBid(address _set) external view returns (uint256); function startingCurrentSets(address _set) external view returns (uint256); function remainingCurrentSets(address _set) external view returns (uint256); function getCombinedCurrentSetUnits(address _set) external view returns (uint256[] memory); function getCombinedNextSetUnits(address _set) external view returns (uint256[] memory); function getCombinedTokenArray(address _set) external view returns (address[] memory); } // File: contracts/core/interfaces/ISetFactory.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title ISetFactory * @author Set Protocol * * The ISetFactory interface provides operability for authorized contracts * to interact with SetTokenFactory */ interface ISetFactory { /* ============ External Functions ============ */ /** * Return core address * * @return address core address */ function core() external returns (address); /** * Deploys a new Set Token and adds it to the valid list of SetTokens * * @param _components The address of component tokens * @param _units The units of each component token * @param _naturalUnit The minimum unit to be issued or redeemed * @param _name The bytes32 encoded name of the new Set * @param _symbol The bytes32 encoded symbol of the new Set * @param _callData Byte string containing additional call parameters * @return setTokenAddress The address of the new Set */ function createSet( address[] calldata _components, uint[] calldata _units, uint256 _naturalUnit, bytes32 _name, bytes32 _symbol, bytes calldata _callData ) external returns (address); } // File: contracts/core/interfaces/IWhiteList.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title IWhiteList * @author Set Protocol * * The IWhiteList interface exposes the whitelist mapping to check components */ interface IWhiteList { /* ============ External Functions ============ */ /** * Validates address against white list * * @param _address Address to check * @return bool Whether passed in address is whitelisted */ function whiteList( address _address ) external view returns (bool); /** * Verifies an array of addresses against the whitelist * * @param _addresses Array of addresses to verify * @return bool Whether all addresses in the list are whitelsited */ function areValidAddresses( address[] calldata _addresses ) external view returns (bool); } // File: contracts/core/interfaces/IRebalancingSetFactory.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title IRebalancingSetFactory * @author Set Protocol * * The IRebalancingSetFactory interface provides operability for authorized contracts * to interact with RebalancingSetTokenFactory */ contract IRebalancingSetFactory is ISetFactory { /** * Getter for minimumRebalanceInterval of RebalancingSetTokenFactory, used * to enforce rebalanceInterval when creating a RebalancingSetToken * * @return uint256 Minimum amount of time between rebalances in seconds */ function minimumRebalanceInterval() external returns (uint256); /** * Getter for minimumProposalPeriod of RebalancingSetTokenFactory, used * to enforce proposalPeriod when creating a RebalancingSetToken * * @return uint256 Minimum amount of time users can review proposals in seconds */ function minimumProposalPeriod() external returns (uint256); /** * Getter for minimumTimeToPivot of RebalancingSetTokenFactory, used * to enforce auctionTimeToPivot when proposing a rebalance * * @return uint256 Minimum amount of time before auction pivot reached */ function minimumTimeToPivot() external returns (uint256); /** * Getter for maximumTimeToPivot of RebalancingSetTokenFactory, used * to enforce auctionTimeToPivot when proposing a rebalance * * @return uint256 Maximum amount of time before auction pivot reached */ function maximumTimeToPivot() external returns (uint256); /** * Getter for minimumNaturalUnit of RebalancingSetTokenFactory * * @return uint256 Minimum natural unit */ function minimumNaturalUnit() external returns (uint256); /** * Getter for maximumNaturalUnit of RebalancingSetTokenFactory * * @return uint256 Maximum Minimum natural unit */ function maximumNaturalUnit() external returns (uint256); /** * Getter for rebalanceAuctionModule address on RebalancingSetTokenFactory * * @return address Address of rebalanceAuctionModule */ function rebalanceAuctionModule() external returns (address); } // File: contracts/core/interfaces/IVault.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title IVault * @author Set Protocol * * The IVault interface provides a light-weight, structured way to interact with the Vault * contract from another contract. */ interface IVault { /* * Withdraws user's unassociated tokens to user account. Can only be * called by authorized core contracts. * * @param _token The address of the ERC20 token * @param _to The address to transfer token to * @param _quantity The number of tokens to transfer */ function withdrawTo( address _token, address _to, uint256 _quantity ) external; /* * Increment quantity owned of a token for a given address. Can * only be called by authorized core contracts. * * @param _token The address of the ERC20 token * @param _owner The address of the token owner * @param _quantity The number of tokens to attribute to owner */ function incrementTokenOwner( address _token, address _owner, uint256 _quantity ) external; /* * Decrement quantity owned of a token for a given address. Can only * be called by authorized core contracts. * * @param _token The address of the ERC20 token * @param _owner The address of the token owner * @param _quantity The number of tokens to deattribute to owner */ function decrementTokenOwner( address _token, address _owner, uint256 _quantity ) external; /** * Transfers tokens associated with one account to another account in the vault * * @param _token Address of token being transferred * @param _from Address token being transferred from * @param _to Address token being transferred to * @param _quantity Amount of tokens being transferred */ function transferBalance( address _token, address _from, address _to, uint256 _quantity ) external; /* * Withdraws user's unassociated tokens to user account. Can only be * called by authorized core contracts. * * @param _tokens The addresses of the ERC20 tokens * @param _owner The address of the token owner * @param _quantities The numbers of tokens to attribute to owner */ function batchWithdrawTo( address[] calldata _tokens, address _to, uint256[] calldata _quantities ) external; /* * Increment quantites owned of a collection of tokens for a given address. Can * only be called by authorized core contracts. * * @param _tokens The addresses of the ERC20 tokens * @param _owner The address of the token owner * @param _quantities The numbers of tokens to attribute to owner */ function batchIncrementTokenOwner( address[] calldata _tokens, address _owner, uint256[] calldata _quantities ) external; /* * Decrements quantites owned of a collection of tokens for a given address. Can * only be called by authorized core contracts. * * @param _tokens The addresses of the ERC20 tokens * @param _owner The address of the token owner * @param _quantities The numbers of tokens to attribute to owner */ function batchDecrementTokenOwner( address[] calldata _tokens, address _owner, uint256[] calldata _quantities ) external; /** * Transfers tokens associated with one account to another account in the vault * * @param _tokens Addresses of tokens being transferred * @param _from Address tokens being transferred from * @param _to Address tokens being transferred to * @param _quantities Amounts of tokens being transferred */ function batchTransferBalance( address[] calldata _tokens, address _from, address _to, uint256[] calldata _quantities ) external; /* * Get balance of particular contract for owner. * * @param _token The address of the ERC20 token * @param _owner The address of the token owner */ function getOwnerBalance( address _token, address _owner ) external view returns (uint256); } // File: contracts/lib/ScaleValidations.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; library ScaleValidations { using SafeMath for uint256; uint256 private constant ONE_HUNDRED_PERCENT = 1e18; uint256 private constant ONE_BASIS_POINT = 1e14; function validateLessThanEqualOneHundredPercent(uint256 _value) internal view { require(_value <= ONE_HUNDRED_PERCENT, "Must be <= 100%"); } function validateMultipleOfBasisPoint(uint256 _value) internal view { require( _value.mod(ONE_BASIS_POINT) == 0, "Must be multiple of 0.01%" ); } } // File: contracts/core/tokens/rebalancing-v2/RebalancingSetState.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title RebalancingSetState * @author Set Protocol * */ contract RebalancingSetState { /* ============ State Variables ============ */ // ---------------------------------------------------------------------- // System Related // ---------------------------------------------------------------------- // Set Protocol's Core Contract ICore public core; // The Factory that created this Set IRebalancingSetFactory public factory; // Set Protocol's Vault contract IVault public vault; // The token whitelist that components are checked against during proposals IWhiteList public componentWhiteList; // WhiteList of liquidator contracts IWhiteList public liquidatorWhiteList; // Contract holding the state and logic required for rebalance liquidation // The Liquidator interacts closely with the Set during rebalances. ILiquidator public liquidator; // Contract responsible for calculation of rebalance fees IFeeCalculator public rebalanceFeeCalculator; // The account that is allowed to make proposals address public manager; // The account that receives any fees address public feeRecipient; // ---------------------------------------------------------------------- // Configuration // ---------------------------------------------------------------------- // Time in seconds that must elapsed from last rebalance to propose uint256 public rebalanceInterval; // Time in seconds after rebalanceStartTime before the Set believes the auction has failed uint256 public rebalanceFailPeriod; // Fee levied to feeRecipient every mint operation, paid during minting // Represents a decimal value scaled by 1e18 (e.g. 100% = 1e18 and 1% = 1e16) uint256 public entryFee; // ---------------------------------------------------------------------- // Current State // ---------------------------------------------------------------------- // The Set currently collateralizing the Rebalancing Set ISetToken public currentSet; // The number of currentSet per naturalUnit of the Rebalancing Set uint256 public unitShares; // The minimum issuable value of a Set uint256 public naturalUnit; // The current state of the Set (e.g. Default, Proposal, Rebalance, Drawdown) // Proposal is unused RebalancingLibrary.State public rebalanceState; // The number of rebalances in the Set's history; starts at index 0 uint256 public rebalanceIndex; // The timestamp of the last completed rebalance uint256 public lastRebalanceTimestamp; // ---------------------------------------------------------------------- // Live Rebalance State // ---------------------------------------------------------------------- // The proposal's SetToken to rebalance into ISetToken public nextSet; // The timestamp of the last rebalance was initiated at uint256 public rebalanceStartTime; // Whether a successful bid has been made during the rebalance. // In the case that the rebalance has failed, hasBidded is used // to determine whether the Set should be put into Drawdown or Default state. bool public hasBidded; // In the event a Set is put into the Drawdown state, these components // that can be withdrawn by users address[] internal failedRebalanceComponents; /* ============ Modifier ============ */ modifier onlyManager() { validateManager(); _; } /* ============ Events ============ */ event NewManagerAdded( address newManager, address oldManager ); event NewLiquidatorAdded( address newLiquidator, address oldLiquidator ); event NewEntryFee( uint256 newEntryFee, uint256 oldEntryFee ); event NewFeeRecipient( address newFeeRecipient, address oldFeeRecipient ); event EntryFeePaid( address indexed feeRecipient, uint256 feeQuantity ); event RebalanceStarted( address oldSet, address newSet, uint256 rebalanceIndex, uint256 currentSetQuantity ); event RebalanceSettled( address indexed feeRecipient, uint256 feeQuantity, uint256 feePercentage, uint256 rebalanceIndex, uint256 issueQuantity, uint256 unitShares ); /* ============ Setter Functions ============ */ /* * Set new manager address. */ function setManager( address _newManager ) external onlyManager { emit NewManagerAdded(_newManager, manager); manager = _newManager; } function setEntryFee( uint256 _newEntryFee ) external onlyManager { ScaleValidations.validateLessThanEqualOneHundredPercent(_newEntryFee); ScaleValidations.validateMultipleOfBasisPoint(_newEntryFee); emit NewEntryFee(_newEntryFee, entryFee); entryFee = _newEntryFee; } /* * Set new liquidator address. Only whitelisted addresses are valid. */ function setLiquidator( ILiquidator _newLiquidator ) external onlyManager { require( rebalanceState != RebalancingLibrary.State.Rebalance, "Invalid state" ); require( liquidatorWhiteList.whiteList(address(_newLiquidator)), "Not whitelisted" ); emit NewLiquidatorAdded(address(_newLiquidator), address(liquidator)); liquidator = _newLiquidator; } function setFeeRecipient( address _newFeeRecipient ) external onlyManager { emit NewFeeRecipient(_newFeeRecipient, feeRecipient); feeRecipient = _newFeeRecipient; } /* ============ Getter Functions ============ */ /* * Retrieves the current expected fee from the fee calculator * Value is returned as a scale decimal figure. */ function rebalanceFee() external view returns (uint256) { return rebalanceFeeCalculator.getFee(); } /* * Function for compatability with ISetToken interface. Returns currentSet. */ function getComponents() external view returns (address[] memory) { address[] memory components = new address[](1); components[0] = address(currentSet); return components; } /* * Function for compatability with ISetToken interface. Returns unitShares. */ function getUnits() external view returns (uint256[] memory) { uint256[] memory units = new uint256[](1); units[0] = unitShares; return units; } /* * Returns whether the address is the current set of the RebalancingSetToken. * Conforms to the ISetToken Interface. */ function tokenIsComponent( address _tokenAddress ) external view returns (bool) { return _tokenAddress == address(currentSet); } /* ============ Validations ============ */ function validateManager() internal view { require( msg.sender == manager, "Not manager" ); } function validateCallerIsCore() internal view { require( msg.sender == address(core), "Not Core" ); } function validateCallerIsModule() internal view { require( core.validModules(msg.sender), "Not approved module" ); } function validateRebalanceStateIs(RebalancingLibrary.State _requiredState) internal view { require( rebalanceState == _requiredState, "Invalid state" ); } function validateRebalanceStateIsNot(RebalancingLibrary.State _requiredState) internal view { require( rebalanceState != _requiredState, "Invalid state" ); } } // File: contracts/core/tokens/rebalancing-v2/BackwardCompatibility.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title BackwardCompatibility * @author Set Protocol * * This module allows full backwards compatability with RebalancingSetTokenV1. It implements * all the same getter functions to allow upstream applications to make minimized changes * to support the new version. * * The following interfaces are not included: * - propose(address, address, uint256, uint256, uint256): Implementation would have *. been a revert. * - biddingParameters: RebalancingSetToken V1 biddingParameters reverts on call */ contract BackwardCompatibility is RebalancingSetState { /* ============ Empty Variables ============ */ // Deprecated auctionLibrary. Returns 0x00 to prevent reverts address public auctionLibrary; // Deprecated proposal period. Returns 0 to prevent reverts uint256 public proposalPeriod; // Deprecated proposal start time. Returns 0 to prevent reverts uint256 public proposalStartTime; /* ============ Getters ============ */ function getAuctionPriceParameters() external view returns (uint256[] memory) { RebalancingLibrary.AuctionPriceParameters memory params = liquidator.auctionPriceParameters( address(this) ); uint256[] memory auctionPriceParams = new uint256[](4); auctionPriceParams[0] = params.auctionStartTime; auctionPriceParams[1] = params.auctionTimeToPivot; auctionPriceParams[2] = params.auctionStartPrice; auctionPriceParams[3] = params.auctionPivotPrice; return auctionPriceParams; } function getCombinedCurrentUnits() external view returns (uint256[] memory) { return liquidator.getCombinedCurrentSetUnits(address(this)); } function getCombinedNextSetUnits() external view returns (uint256[] memory) { return liquidator.getCombinedNextSetUnits(address(this)); } function getCombinedTokenArray() external view returns (address[] memory) { return liquidator.getCombinedTokenArray(address(this)); } function getCombinedTokenArrayLength() external view returns (uint256) { return liquidator.getCombinedTokenArray(address(this)).length; } function startingCurrentSetAmount() external view returns (uint256) { return liquidator.startingCurrentSets(address(this)); } function auctionPriceParameters() external view returns (RebalancingLibrary.AuctionPriceParameters memory) { return liquidator.auctionPriceParameters(address(this)); } /* * Since structs with arrays cannot be retrieved, we return * minimumBid and remainingCurrentSets separately. * * @return biddingParams Array with minimumBid and remainingCurrentSets */ function getBiddingParameters() public view returns (uint256[] memory) { uint256[] memory biddingParams = new uint256[](2); biddingParams[0] = liquidator.minimumBid(address(this)); biddingParams[1] = liquidator.remainingCurrentSets(address(this)); return biddingParams; } function biddingParameters() external view returns (uint256, uint256) { uint256[] memory biddingParams = getBiddingParameters(); return (biddingParams[0], biddingParams[1]); } function getFailedAuctionWithdrawComponents() external view returns (address[] memory) { return failedRebalanceComponents; } } // File: openzeppelin-solidity/contracts/math/Math.sol pragma solidity ^0.5.2; /** * @title Math * @dev Assorted math operations */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Calculates the average of two numbers. Since these are integers, * averages of an even and odd number cannot be represented, and will be * rounded down. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: contracts/lib/AddressArrayUtils.sol // Pulled in from Cryptofin Solidity package in order to control Solidity compiler version // https://github.com/cryptofinlabs/cryptofin-solidity/blob/master/contracts/array-utils/AddressArrayUtils.sol pragma solidity 0.5.7; library AddressArrayUtils { /** * Finds the index of the first occurrence of the given element. * @param A The input array to search * @param a The value to find * @return Returns (index and isIn) for the first occurrence starting from index 0 */ function indexOf(address[] memory A, address a) internal pure returns (uint256, bool) { uint256 length = A.length; for (uint256 i = 0; i < length; i++) { if (A[i] == a) { return (i, true); } } return (0, false); } /** * Returns true if the value is present in the list. Uses indexOf internally. * @param A The input array to search * @param a The value to find * @return Returns isIn for the first occurrence starting from index 0 */ function contains(address[] memory A, address a) internal pure returns (bool) { bool isIn; (, isIn) = indexOf(A, a); return isIn; } /** * Returns the combination of the two arrays * @param A The first array * @param B The second array * @return Returns A extended by B */ function extend(address[] memory A, address[] memory B) internal pure returns (address[] memory) { uint256 aLength = A.length; uint256 bLength = B.length; address[] memory newAddresses = new address[](aLength + bLength); for (uint256 i = 0; i < aLength; i++) { newAddresses[i] = A[i]; } for (uint256 j = 0; j < bLength; j++) { newAddresses[aLength + j] = B[j]; } return newAddresses; } /** * Returns the array with a appended to A. * @param A The first array * @param a The value to append * @return Returns A appended by a */ function append(address[] memory A, address a) internal pure returns (address[] memory) { address[] memory newAddresses = new address[](A.length + 1); for (uint256 i = 0; i < A.length; i++) { newAddresses[i] = A[i]; } newAddresses[A.length] = a; return newAddresses; } /** * Returns the intersection of two arrays. Arrays are treated as collections, so duplicates are kept. * @param A The first array * @param B The second array * @return The intersection of the two arrays */ function intersect(address[] memory A, address[] memory B) internal pure returns (address[] memory) { uint256 length = A.length; bool[] memory includeMap = new bool[](length); uint256 newLength = 0; for (uint256 i = 0; i < length; i++) { if (contains(B, A[i])) { includeMap[i] = true; newLength++; } } address[] memory newAddresses = new address[](newLength); uint256 j = 0; for (uint256 k = 0; k < length; k++) { if (includeMap[k]) { newAddresses[j] = A[k]; j++; } } return newAddresses; } /** * Returns the union of the two arrays. Order is not guaranteed. * @param A The first array * @param B The second array * @return The union of the two arrays */ function union(address[] memory A, address[] memory B) internal pure returns (address[] memory) { address[] memory leftDifference = difference(A, B); address[] memory rightDifference = difference(B, A); address[] memory intersection = intersect(A, B); return extend(leftDifference, extend(intersection, rightDifference)); } /** * Computes the difference of two arrays. Assumes there are no duplicates. * @param A The first array * @param B The second array * @return The difference of the two arrays */ function difference(address[] memory A, address[] memory B) internal pure returns (address[] memory) { uint256 length = A.length; bool[] memory includeMap = new bool[](length); uint256 count = 0; // First count the new length because can't push for in-memory arrays for (uint256 i = 0; i < length; i++) { address e = A[i]; if (!contains(B, e)) { includeMap[i] = true; count++; } } address[] memory newAddresses = new address[](count); uint256 j = 0; for (uint256 k = 0; k < length; k++) { if (includeMap[k]) { newAddresses[j] = A[k]; j++; } } return newAddresses; } /** * Removes specified index from array * Resulting ordering is not guaranteed * @return Returns the new array and the removed entry */ function pop(address[] memory A, uint256 index) internal pure returns (address[] memory, address) { uint256 length = A.length; address[] memory newAddresses = new address[](length - 1); for (uint256 i = 0; i < index; i++) { newAddresses[i] = A[i]; } for (uint256 j = index + 1; j < length; j++) { newAddresses[j - 1] = A[j]; } return (newAddresses, A[index]); } /** * @return Returns the new array */ function remove(address[] memory A, address a) internal pure returns (address[] memory) { (uint256 index, bool isIn) = indexOf(A, a); if (!isIn) { revert(); } else { (address[] memory _A,) = pop(A, index); return _A; } } /** * Returns whether or not there's a duplicate. Runs in O(n^2). * @param A Array to search * @return Returns true if duplicate, false otherwise */ function hasDuplicate(address[] memory A) internal pure returns (bool) { if (A.length == 0) { return false; } for (uint256 i = 0; i < A.length - 1; i++) { for (uint256 j = i + 1; j < A.length; j++) { if (A[i] == A[j]) { return true; } } } return false; } /** * Returns whether the two arrays are equal. * @param A The first array * @param B The second array * @return True is the arrays are equal, false if not. */ function isEqual(address[] memory A, address[] memory B) internal pure returns (bool) { if (A.length != B.length) { return false; } for (uint256 i = 0; i < A.length; i++) { if (A[i] != B[i]) { return false; } } return true; } } // File: contracts/lib/CommonMath.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; library CommonMath { using SafeMath for uint256; uint256 public constant SCALE_FACTOR = 10 ** 18; uint256 public constant MAX_UINT_256 = 2 ** 256 - 1; /** * Returns scale factor equal to 10 ** 18 * * @return 10 ** 18 */ function scaleFactor() internal pure returns (uint256) { return SCALE_FACTOR; } /** * Calculates and returns the maximum value for a uint256 * * @return The maximum value for uint256 */ function maxUInt256() internal pure returns (uint256) { return MAX_UINT_256; } /** * Increases a value by the scale factor to allow for additional precision * during mathematical operations */ function scale( uint256 a ) internal pure returns (uint256) { return a.mul(SCALE_FACTOR); } /** * Divides a value by the scale factor to allow for additional precision * during mathematical operations */ function deScale( uint256 a ) internal pure returns (uint256) { return a.div(SCALE_FACTOR); } /** * @dev Performs the power on a specified value, reverts on overflow. */ function safePower( uint256 a, uint256 pow ) internal pure returns (uint256) { require(a > 0); uint256 result = 1; for (uint256 i = 0; i < pow; i++){ uint256 previousResult = result; // Using safemath multiplication prevents overflows result = previousResult.mul(a); } return result; } /** * @dev Performs division where if there is a modulo, the value is rounded up */ function divCeil(uint256 a, uint256 b) internal pure returns(uint256) { return a.mod(b) > 0 ? a.div(b).add(1) : a.div(b); } /** * Checks for rounding errors and returns value of potential partial amounts of a principal * * @param _principal Number fractional amount is derived from * @param _numerator Numerator of fraction * @param _denominator Denominator of fraction * @return uint256 Fractional amount of principal calculated */ function getPartialAmount( uint256 _principal, uint256 _numerator, uint256 _denominator ) internal pure returns (uint256) { // Get remainder of partial amount (if 0 not a partial amount) uint256 remainder = mulmod(_principal, _numerator, _denominator); // Return if not a partial amount if (remainder == 0) { return _principal.mul(_numerator).div(_denominator); } // Calculate error percentage uint256 errPercentageTimes1000000 = remainder.mul(1000000).div(_numerator.mul(_principal)); // Require error percentage is less than 0.1%. require( errPercentageTimes1000000 < 1000, "CommonMath.getPartialAmount: Rounding error exceeds bounds" ); return _principal.mul(_numerator).div(_denominator); } /* * Gets the rounded up log10 of passed value * * @param _value Value to calculate ceil(log()) on * @return uint256 Output value */ function ceilLog10( uint256 _value ) internal pure returns (uint256) { // Make sure passed value is greater than 0 require ( _value > 0, "CommonMath.ceilLog10: Value must be greater than zero." ); // Since log10(1) = 0, if _value = 1 return 0 if (_value == 1) return 0; // Calcualte ceil(log10()) uint256 x = _value - 1; uint256 result = 0; if (x >= 10 ** 64) { x /= 10 ** 64; result += 64; } if (x >= 10 ** 32) { x /= 10 ** 32; result += 32; } if (x >= 10 ** 16) { x /= 10 ** 16; result += 16; } if (x >= 10 ** 8) { x /= 10 ** 8; result += 8; } if (x >= 10 ** 4) { x /= 10 ** 4; result += 4; } if (x >= 100) { x /= 100; result += 2; } if (x >= 10) { result += 1; } return result + 1; } } // File: contracts/core/lib/SetTokenLibrary.sol /* Copyright 2018 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; library SetTokenLibrary { using SafeMath for uint256; struct SetDetails { uint256 naturalUnit; address[] components; uint256[] units; } /** * Validates that passed in tokens are all components of the Set * * @param _set Address of the Set * @param _tokens List of tokens to check */ function validateTokensAreComponents( address _set, address[] calldata _tokens ) external view { for (uint256 i = 0; i < _tokens.length; i++) { // Make sure all tokens are members of the Set require( ISetToken(_set).tokenIsComponent(_tokens[i]), "SetTokenLibrary.validateTokensAreComponents: Component must be a member of Set" ); } } /** * Validates that passed in quantity is a multiple of the natural unit of the Set. * * @param _set Address of the Set * @param _quantity Quantity to validate */ function isMultipleOfSetNaturalUnit( address _set, uint256 _quantity ) external view { require( _quantity.mod(ISetToken(_set).naturalUnit()) == 0, "SetTokenLibrary.isMultipleOfSetNaturalUnit: Quantity is not a multiple of nat unit" ); } /** * Validates that passed in quantity is a multiple of the natural unit of the Set. * * @param _core Address of Core * @param _set Address of the Set */ function requireValidSet( ICore _core, address _set ) internal view { require( _core.validSets(_set), "SetTokenLibrary: Must be an approved SetToken address" ); } /** * Retrieves the Set's natural unit, components, and units. * * @param _set Address of the Set * @return SetDetails Struct containing the natural unit, components, and units */ function getSetDetails( address _set ) internal view returns (SetDetails memory) { // Declare interface variables ISetToken setToken = ISetToken(_set); // Fetch set token properties uint256 naturalUnit = setToken.naturalUnit(); address[] memory components = setToken.getComponents(); uint256[] memory units = setToken.getUnits(); return SetDetails({ naturalUnit: naturalUnit, components: components, units: units }); } } // File: contracts/core/tokens/rebalancing-v2/RebalancingSettlement.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title RebalancingSettlement * @author Set Protocol * */ contract RebalancingSettlement is ERC20, RebalancingSetState { using SafeMath for uint256; uint256 public constant SCALE_FACTOR = 10 ** 18; /* ============ Internal Functions ============ */ /* * Validates that the settle function can be called. */ function validateRebalancingSettlement() internal view { validateRebalanceStateIs(RebalancingLibrary.State.Rebalance); } /* * Issue nextSet to RebalancingSetToken; The issued Set is held in the Vault * * @param _issueQuantity Quantity of next Set to issue */ function issueNextSet( uint256 _issueQuantity ) internal { core.issueInVault( address(nextSet), _issueQuantity ); } /* * Updates state post-settlement. * * @param _nextUnitShares The new implied unit shares */ function transitionToDefault( uint256 _newUnitShares ) internal { rebalanceState = RebalancingLibrary.State.Default; lastRebalanceTimestamp = block.timestamp; currentSet = nextSet; unitShares = _newUnitShares; rebalanceIndex = rebalanceIndex.add(1); nextSet = ISetToken(address(0)); hasBidded = false; } /** * Calculate the amount of Sets to issue by using the component amounts in the * vault. */ function calculateSetIssueQuantity( ISetToken _setToken ) internal view returns (uint256) { // Collect data necessary to compute issueAmounts SetTokenLibrary.SetDetails memory setToken = SetTokenLibrary.getSetDetails(address(_setToken)); uint256 maxIssueAmount = calculateMaxIssueAmount(setToken); // Issue amount of Sets that is closest multiple of nextNaturalUnit to the maxIssueAmount // Since the initial division will round down to the nearest whole number when we multiply // by that same number we will return the closest multiple less than the maxIssueAmount uint256 issueAmount = maxIssueAmount.sub(maxIssueAmount.mod(setToken.naturalUnit)); return issueAmount; } /** * Calculates the fee and mints the rebalancing SetToken quantity to the recipient. * The minting is done without an increase to the total collateral controlled by the * rebalancing SetToken. In effect, the existing holders are paying the fee via inflation. * * @return feePercentage * @return feeQuantity */ function handleFees() internal returns (uint256, uint256) { // Represents a decimal value scaled by 1e18 (e.g. 100% = 1e18 and 1% = 1e16) uint256 feePercent = rebalanceFeeCalculator.getFee(); uint256 feeQuantity = calculateRebalanceFeeInflation(feePercent); if (feeQuantity > 0) { ERC20._mint(feeRecipient, feeQuantity); } return (feePercent, feeQuantity); } /** * Returns the new rebalance fee. The calculation for the fee involves implying * mint quantity so that the feeRecipient owns the fee percentage of the entire * supply of the Set. * * The formula to solve for fee is: * feeQuantity / feeQuantity + totalSupply = fee / scaleFactor * * The simplified formula utilized below is: * feeQuantity = fee * totalSupply / (scaleFactor - fee) * * @param _rebalanceFeePercent Fee levied to feeRecipient every rebalance, paid during settlement * @return uint256 New RebalancingSet issue quantity */ function calculateRebalanceFeeInflation( uint256 _rebalanceFeePercent ) internal view returns(uint256) { // fee * totalSupply uint256 a = _rebalanceFeePercent.mul(totalSupply()); // ScaleFactor (10e18) - fee uint256 b = SCALE_FACTOR.sub(_rebalanceFeePercent); return a.div(b); } /** * Calculates the new unitShares, defined as issueQuantity / naturalUnitsOutstanding * * @param _issueQuantity Amount of nextSets to issue * * @return uint256 New unitShares for the rebalancingSetToken */ function calculateNextSetNewUnitShares( uint256 _issueQuantity ) internal view returns (uint256) { // Calculate the amount of naturalUnits worth of rebalancingSetToken outstanding. uint256 naturalUnitsOutstanding = totalSupply().div(naturalUnit); // Divide final issueAmount by naturalUnitsOutstanding to get newUnitShares return _issueQuantity.div(naturalUnitsOutstanding); } /* ============ Private Functions ============ */ /** * Get the maximum possible issue amount of nextSet based on number of components owned by rebalancing * set token. * * @param _setToken Struct of Set Token details */ function calculateMaxIssueAmount( SetTokenLibrary.SetDetails memory _setToken ) private view returns (uint256) { uint256 maxIssueAmount = CommonMath.maxUInt256(); for (uint256 i = 0; i < _setToken.components.length; i++) { // Get amount of components in vault owned by rebalancingSetToken uint256 componentAmount = vault.getOwnerBalance( _setToken.components[i], address(this) ); // Calculate amount of Sets that can be issued from those components, if less than amount for other // components then set that as maxIssueAmount. We divide before multiplying so that we don't get // an amount that isn't a multiple of the naturalUnit uint256 componentIssueAmount = componentAmount.div(_setToken.units[i]).mul(_setToken.naturalUnit); if (componentIssueAmount < maxIssueAmount) { maxIssueAmount = componentIssueAmount; } } return maxIssueAmount; } } // File: contracts/core/tokens/rebalancing-v2/RebalancingFailure.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title RebalancingFailure * @author Set Protocol * */ contract RebalancingFailure is RebalancingSetState, RebalancingSettlement { using SafeMath for uint256; using AddressArrayUtils for address[]; /* ============ Internal Functions ============ */ /* * Validations for failRebalance: * - State is Rebalance * - Either liquidator recognizes failure OR fail period breached on RB Set * * @param _quantity The amount of currentSet to be rebalanced */ function validateFailRebalance() internal view { // Token must be in Rebalance State validateRebalanceStateIs(RebalancingLibrary.State.Rebalance); // Failure triggers must be met require( liquidatorBreached() || failPeriodBreached(), "Triggers not breached" ); } /* * Determine the new Rebalance State. If there has been a bid, then we put it to * Drawdown, where the Set is effectively killed. If no bids, we reissue the currentSet. */ function getNewRebalanceState() internal view returns (RebalancingLibrary.State) { return hasBidded ? RebalancingLibrary.State.Drawdown : RebalancingLibrary.State.Default; } /* * Update state based on new Rebalance State. * * @param _newRebalanceState The new State to transition to */ function transitionToNewState( RebalancingLibrary.State _newRebalanceState ) internal { reissueSetIfRevertToDefault(_newRebalanceState); setWithdrawComponentsIfDrawdown(_newRebalanceState); rebalanceState = _newRebalanceState; rebalanceIndex = rebalanceIndex.add(1); lastRebalanceTimestamp = block.timestamp; nextSet = ISetToken(address(0)); hasBidded = false; } /* ============ Private Functions ============ */ /* * Returns whether the liquidator believes the rebalance has failed. * * @return If liquidator thinks rebalance failed */ function liquidatorBreached() private view returns (bool) { return liquidator.hasRebalanceFailed(address(this)); } /* * Returns whether the the fail time has elapsed, which means that a period * of time where the auction should have succeeded has not. * * @return If fail period has passed on Rebalancing Set Token */ function failPeriodBreached() private view returns(bool) { uint256 rebalanceFailTime = rebalanceStartTime.add(rebalanceFailPeriod); return block.timestamp >= rebalanceFailTime; } /* * If the determination is Default State, reissue the Set. */ function reissueSetIfRevertToDefault( RebalancingLibrary.State _newRebalanceState ) private { if (_newRebalanceState == RebalancingLibrary.State.Default) { uint256 issueQuantity = calculateSetIssueQuantity(currentSet); // If bid not placed, reissue current Set core.issueInVault( address(currentSet), issueQuantity ); } } /* * If the determination is Drawdown State, set the drawdown components which is the union of * the current and next Set components. */ function setWithdrawComponentsIfDrawdown( RebalancingLibrary.State _newRebalanceState ) private { if (_newRebalanceState == RebalancingLibrary.State.Drawdown) { address[] memory currentSetComponents = currentSet.getComponents(); address[] memory nextSetComponents = nextSet.getComponents(); failedRebalanceComponents = currentSetComponents.union(nextSetComponents); } } } // File: contracts/core/tokens/rebalancing-v2/Issuance.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title Issuance * @author Set Protocol * * Default implementation of Rebalancing Set Token propose function */ contract Issuance is ERC20, RebalancingSetState { using SafeMath for uint256; using CommonMath for uint256; /* ============ Internal Functions ============ */ /* * Validate call to mint new Rebalancing Set Token * * - Make sure caller is Core * - Make sure state is not Rebalance or Drawdown */ function validateMint() internal view { validateCallerIsCore(); validateRebalanceStateIs(RebalancingLibrary.State.Default); } /* * Validate call to burn Rebalancing Set Token * * - Make sure state is not Rebalance or Drawdown * - Make sure sender is module when in drawdown, core otherwise */ function validateBurn() internal view { validateRebalanceStateIsNot(RebalancingLibrary.State.Rebalance); if (rebalanceState == RebalancingLibrary.State.Drawdown) { // In Drawdown Sets can only be burned as part of the withdrawal process validateCallerIsModule(); } else { // When in non-Rebalance or Drawdown state, check that function caller is Core // so that Sets can be redeemed validateCallerIsCore(); } } /* * Calculates entry fees and mints the feeRecipient a portion of the issue quantity. * * @param _quantity The number of rebalancing SetTokens the issuer mints * @return issueQuantityNetOfFees Quantity of rebalancing SetToken to mint issuer net of fees */ function handleEntryFees( uint256 _quantity ) internal returns(uint256) { // The entryFee is a scaled decimal figure by 10e18. We multiply the fee by the quantity // Then descale by 10e18 uint256 fee = _quantity.mul(entryFee).deScale(); if (fee > 0) { ERC20._mint(feeRecipient, fee); emit EntryFeePaid(feeRecipient, fee); } // Return the issue quantity less fees return _quantity.sub(fee); } } // File: contracts/core/tokens/rebalancing-v2/RebalancingBid.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title RebalancingBid * @author Set Protocol * * Implementation of Rebalancing Set Token V2 bidding-related functionality. */ contract RebalancingBid is RebalancingSetState { using SafeMath for uint256; /* ============ Internal Functions ============ */ /* * Validates conditions to retrieve a Bid Price: * - State is Rebalance * - Quanity is greater than zero * * @param _quantity The amount of currentSet to be rebalanced */ function validateGetBidPrice( uint256 _quantity ) internal view { validateRebalanceStateIs(RebalancingLibrary.State.Rebalance); require( _quantity > 0, "Bid not > 0" ); } /* * Validations for placeBid: * - Module is sender * - getBidPrice validations * * @param _quantity The amount of currentSet to be rebalanced */ function validatePlaceBid( uint256 _quantity ) internal view { validateCallerIsModule(); validateGetBidPrice(_quantity); } /* * If a successful bid has been made, flip the hasBidded boolean. */ function updateHasBiddedIfNecessary() internal { if (!hasBidded) { hasBidded = true; } } } // File: contracts/core/tokens/rebalancing-v2/RebalancingStart.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title RebalancingStart * @author Set Protocol * * Implementation of Rebalancing Set Token V2 start rebalance functionality */ contract RebalancingStart is ERC20, RebalancingSetState { using SafeMath for uint256; /* ============ Internal Functions ============ */ /** * Validate that start rebalance can be called: * - Current state is Default * - rebalanceInterval has elapsed * - Proposed set is valid in Core * - Components in set are all valid * - NaturalUnits are multiples of each other * * @param _nextSet The Set to rebalance into */ function validateStartRebalance( ISetToken _nextSet ) internal view { validateRebalanceStateIs(RebalancingLibrary.State.Default); // Enough time must have passed from last rebalance to start a new proposal require( block.timestamp >= lastRebalanceTimestamp.add(rebalanceInterval), "Interval not elapsed" ); // Must be a positive supply of the Set require( totalSupply() > 0, "Invalid supply" ); // New proposed Set must be a valid Set created by Core require( core.validSets(address(_nextSet)), "Invalid Set" ); // Check proposed components on whitelist. This is to ensure managers are unable to add contract addresses // to a propose that prohibit the set from carrying out an auction i.e. a token that only the manager possesses require( componentWhiteList.areValidAddresses(_nextSet.getComponents()), "Invalid component" ); // Check that the proposed set natural unit is a multiple of current set natural unit, or vice versa. // Done to make sure that when calculating token units there will are be rounding errors. require( naturalUnitsAreValid(currentSet, _nextSet), "Invalid natural unit" ); } /** * Calculates the maximum quantity of the currentSet that can be redeemed. This is defined * by how many naturalUnits worth of the Set there are. * * @return Maximum quantity of the current Set that can be redeemed */ function calculateStartingSetQuantity() internal view returns (uint256) { uint256 currentSetBalance = vault.getOwnerBalance(address(currentSet), address(this)); uint256 currentSetNaturalUnit = currentSet.naturalUnit(); // Rounds the redemption quantity to a multiple of the current Set natural unit return currentSetBalance.sub(currentSetBalance.mod(currentSetNaturalUnit)); } /** * Signals to the Liquidator to initiate the rebalance. * * @param _nextSet Next set instance * @param _startingCurrentSetQuantity Amount of currentSets the rebalance is initiated with * @param _liquidatorData Bytecode formatted data with liquidator-specific arguments */ function liquidatorRebalancingStart( ISetToken _nextSet, uint256 _startingCurrentSetQuantity, bytes memory _liquidatorData ) internal { liquidator.startRebalance( currentSet, _nextSet, _startingCurrentSetQuantity, _liquidatorData ); } /** * Updates rebalance-related state parameters. * * @param _nextSet The Set to rebalance into */ function transitionToRebalance(ISetToken _nextSet) internal { nextSet = _nextSet; rebalanceState = RebalancingLibrary.State.Rebalance; rebalanceStartTime = block.timestamp; } /* ============ Private Functions ============ */ /** * Check that the proposed set natural unit is a multiple of current set natural unit, or vice versa. * Done to make sure that when calculating token units there will be no rounding errors. * * @param _currentSet The current base SetToken * @param _nextSet The proposed SetToken */ function naturalUnitsAreValid( ISetToken _currentSet, ISetToken _nextSet ) private view returns (bool) { uint256 currentNaturalUnit = _currentSet.naturalUnit(); uint256 nextSetNaturalUnit = _nextSet.naturalUnit(); return Math.max(currentNaturalUnit, nextSetNaturalUnit).mod( Math.min(currentNaturalUnit, nextSetNaturalUnit) ) == 0; } } // File: contracts/core/tokens/RebalancingSetTokenV2.sol /* Copyright 2019 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ pragma solidity 0.5.7; /** * @title RebalancingSetTokenV2 * @author Set Protocol * * Implementation of Rebalancing Set token V2. Major improvements vs. V1 include: * - Decouple the Rebalancing Set state and rebalance state from the rebalance execution (e.g. auction) * This allows us to rapidly iterate and build new liquidation mechanisms for rebalances. * - Proposals are removed in favor of starting an auction directly. * - The Set retains ability to fail an auction if the minimum fail time has elapsed. * - RebalanceAuctionModule execution should be backwards compatible with V1. * - Bidding and auction parameters state no longer live on this contract. They live on the liquidator * BackwardsComptability is used to allow retrieving of previous supported states. * - Introduces entry and rebalance fees, where rebalance fees are configurable based on an external * fee calculator contract */ contract RebalancingSetTokenV2 is ERC20, ERC20Detailed, Initializable, RebalancingSetState, BackwardCompatibility, Issuance, RebalancingStart, RebalancingBid, RebalancingSettlement, RebalancingFailure { /* ============ Constructor ============ */ /** * Constructor function for Rebalancing Set Token * * addressConfig [factory, manager, liquidator, initialSet, componentWhiteList, * liquidatorWhiteList, feeRecipient, rebalanceFeeCalculator] * [0]factory Factory used to create the Rebalancing Set * [1]manager Address that is able to propose the next Set * [2]liquidator Address of the liquidator contract * [3]initialSet Initial set that collateralizes the Rebalancing set * [4]componentWhiteList Whitelist that nextSet components are checked against during propose * [5]liquidatorWhiteList Whitelist of valid liquidators * [6]feeRecipient Address that receives any incentive fees * [7]rebalanceFeeCalculator Address to retrieve rebalance fee during settlement * * uintConfig [initialUnitShares, naturalUnit, rebalanceInterval, rebalanceFailPeriod, * lastRebalanceTimestamp, entryFee] * [0]initialUnitShares Units of currentSet that equals one share * [1]naturalUnit The minimum multiple of Sets that can be issued or redeemed * [2]rebalanceInterval: Minimum amount of time between rebalances * [3]rebalanceFailPeriod: Time after auctionStart where something in the rebalance has gone wrong * [4]lastRebalanceTimestamp: Time of the last rebalance; Allows customized deployments * [5]entryFee: Mint fee represented in a scaled decimal value (e.g. 100% = 1e18, 1% = 1e16) * * @param _addressConfig List of configuration addresses * @param _uintConfig List of uint addresses * @param _name The name of the new RebalancingSetTokenV2 * @param _symbol The symbol of the new RebalancingSetTokenV2 */ constructor( address[8] memory _addressConfig, uint256[6] memory _uintConfig, string memory _name, string memory _symbol ) public ERC20Detailed( _name, _symbol, 18 ) { factory = IRebalancingSetFactory(_addressConfig[0]); manager = _addressConfig[1]; liquidator = ILiquidator(_addressConfig[2]); currentSet = ISetToken(_addressConfig[3]); componentWhiteList = IWhiteList(_addressConfig[4]); liquidatorWhiteList = IWhiteList(_addressConfig[5]); feeRecipient = _addressConfig[6]; rebalanceFeeCalculator = IFeeCalculator(_addressConfig[7]); unitShares = _uintConfig[0]; naturalUnit = _uintConfig[1]; rebalanceInterval = _uintConfig[2]; rebalanceFailPeriod = _uintConfig[3]; lastRebalanceTimestamp = _uintConfig[4]; entryFee = _uintConfig[5]; core = ICore(factory.core()); vault = IVault(core.vault()); rebalanceState = RebalancingLibrary.State.Default; } /* * Intended to be called during creation by the RebalancingSetTokenFactory. Can only be initialized * once. This implementation initializes the rebalance fee. * * * @param _rebalanceFeeCalldata Bytes encoded rebalance fee represented as a scaled percentage value */ function initialize( bytes calldata _rebalanceFeeCalldata ) external initializer { rebalanceFeeCalculator.initialize(_rebalanceFeeCalldata); } /* ============ External Functions ============ */ /* * Initiates the rebalance in coordination with the Liquidator contract. * In this step, we redeem the currentSet and pass relevant information * to the liquidator. * * @param _nextSet The Set to rebalance into * @param _liquidatorData Bytecode formatted data with liquidator-specific arguments * * Can only be called if the rebalance interval has elapsed. * Can only be called by manager. */ function startRebalance( ISetToken _nextSet, bytes calldata _liquidatorData ) external onlyManager { RebalancingStart.validateStartRebalance(_nextSet); uint256 startingCurrentSetQuantity = RebalancingStart.calculateStartingSetQuantity(); core.redeemInVault(address(currentSet), startingCurrentSetQuantity); RebalancingStart.liquidatorRebalancingStart(_nextSet, startingCurrentSetQuantity, _liquidatorData); RebalancingStart.transitionToRebalance(_nextSet); emit RebalanceStarted( address(currentSet), address(nextSet), rebalanceIndex, startingCurrentSetQuantity ); } /* * Get token inflows and outflows required for bid from the Liquidator. * * @param _quantity The amount of currentSet to be rebalanced * @return inflowUnitArray Array of amount of tokens inserted into system in bid * @return outflowUnitArray Array of amount of tokens taken out of system in bid */ function getBidPrice( uint256 _quantity ) public view returns (uint256[] memory, uint256[] memory) { RebalancingBid.validateGetBidPrice(_quantity); return Rebalance.decomposeTokenFlowToBidPrice( liquidator.getBidPrice(address(this), _quantity) ); } /* * Place bid during rebalance auction. * * The intended caller is the RebalanceAuctionModule, which must be approved by Core. * Call Flow: * RebalanceAuctionModule -> RebalancingSetTokenV2 -> Liquidator * * @param _quantity The amount of currentSet to be rebalanced * @return combinedTokenArray Array of token addresses invovled in rebalancing * @return inflowUnitArray Array of amount of tokens inserted into system in bid * @return outflowUnitArray Array of amount of tokens taken out of system in bid */ function placeBid( uint256 _quantity ) external returns (address[] memory, uint256[] memory, uint256[] memory) { RebalancingBid.validatePlaceBid(_quantity); // Place bid and get back inflow and outflow arrays Rebalance.TokenFlow memory tokenFlow = liquidator.placeBid(_quantity); RebalancingBid.updateHasBiddedIfNecessary(); return Rebalance.decomposeTokenFlow(tokenFlow); } /* * After a successful rebalance, the new Set is issued. If there is a rebalance fee, * the fee is paid via inflation of the Rebalancing Set to the feeRecipient. * Full issuance functionality is now returned to set owners. * * Anyone can call this function. */ function settleRebalance() external { RebalancingSettlement.validateRebalancingSettlement(); uint256 issueQuantity = RebalancingSettlement.calculateSetIssueQuantity(nextSet); // Calculates fees and mints Rebalancing Set to the feeRecipient, increasing supply (uint256 feePercent, uint256 feeQuantity) = RebalancingSettlement.handleFees(); uint256 newUnitShares = RebalancingSettlement.calculateNextSetNewUnitShares(issueQuantity); // The unit shares must result in a quantity greater than the number of natural units outstanding require( newUnitShares > 0, "Failed: unitshares is 0." ); RebalancingSettlement.issueNextSet(issueQuantity); liquidator.settleRebalance(); // Rebalance index is the current vs next rebalance emit RebalanceSettled( feeRecipient, feeQuantity, feePercent, rebalanceIndex, issueQuantity, newUnitShares ); RebalancingSettlement.transitionToDefault(newUnitShares); } /* * Ends a rebalance if there are any signs that there is a failure. * Possible failure reasons: * 1. The rebalance has elapsed the failRebalancePeriod * 2. The liquidator responds that the rebalance has failed * * Move to Drawdown state if bids have been placed. Reset to Default state if no bids placed. */ function endFailedRebalance() public { RebalancingFailure.validateFailRebalance(); RebalancingLibrary.State newRebalanceState = RebalancingFailure.getNewRebalanceState(); liquidator.endFailedRebalance(); RebalancingFailure.transitionToNewState(newRebalanceState); } /* * Mint set token for given address. If there if is an entryFee, calculates the fee and mints * the rebalancing SetToken to the feeRecipient. * * Can only be called by Core contract. * * @param _issuer The address of the issuing account * @param _quantity The number of sets to attribute to issuer */ function mint( address _issuer, uint256 _quantity ) external { Issuance.validateMint(); uint256 issueQuantityNetOfFees = Issuance.handleEntryFees(_quantity); ERC20._mint(_issuer, issueQuantityNetOfFees); } /* * Burn set token for given address. Can only be called by authorized contracts. * * @param _from The address of the redeeming account * @param _quantity The number of sets to burn from redeemer */ function burn( address _from, uint256 _quantity ) external { Issuance.validateBurn(); ERC20._burn(_from, _quantity); } /* ============ Backwards Compatability ============ */ /* * Alias for endFailedRebalance */ function endFailedAuction() external { endFailedRebalance(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"unitShares","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newLiquidator","type":"address"}],"name":"setLiquidator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getUnits","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"entryFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"liquidatorWhiteList","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebalanceInterval","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebalanceFailPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenAddress","type":"address"}],"name":"tokenIsComponent","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"proposalPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebalanceFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentSet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"liquidator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_issuer","type":"address"},{"name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"naturalUnit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startingCurrentSetAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_rebalanceFeeCalldata","type":"bytes"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rebalanceFeeCalculator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeRecipient","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"manager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"componentWhiteList","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCombinedTokenArrayLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"biddingParameters","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endFailedAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_nextSet","type":"address"},{"name":"_liquidatorData","type":"bytes"}],"name":"startRebalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getCombinedTokenArray","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebalanceIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endFailedRebalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"auctionLibrary","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_quantity","type":"uint256"}],"name":"placeBid","outputs":[{"name":"","type":"address[]"},{"name":"","type":"uint256[]"},{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getComponents","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebalanceStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_quantity","type":"uint256"}],"name":"getBidPrice","outputs":[{"name":"","type":"uint256[]"},{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_quantity","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getAuctionPriceParameters","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBiddingParameters","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"proposalStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastRebalanceTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextSet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCombinedNextSetUnits","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"SCALE_FACTOR","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newManager","type":"address"}],"name":"setManager","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"auctionPriceParameters","outputs":[{"components":[{"name":"auctionStartTime","type":"uint256"},{"name":"auctionTimeToPivot","type":"uint256"},{"name":"auctionStartPrice","type":"uint256"},{"name":"auctionPivotPrice","type":"uint256"}],"name":"","type":"tuple"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newFeeRecipient","type":"address"}],"name":"setFeeRecipient","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newEntryFee","type":"uint256"}],"name":"setEntryFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getFailedAuctionWithdrawComponents","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCombinedCurrentUnits","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hasBidded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"core","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebalanceState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"settleRebalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_addressConfig","type":"address[8]"},{"name":"_uintConfig","type":"uint256[6]"},{"name":"_name","type":"string"},{"name":"_symbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newManager","type":"address"},{"indexed":false,"name":"oldManager","type":"address"}],"name":"NewManagerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newLiquidator","type":"address"},{"indexed":false,"name":"oldLiquidator","type":"address"}],"name":"NewLiquidatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newEntryFee","type":"uint256"},{"indexed":false,"name":"oldEntryFee","type":"uint256"}],"name":"NewEntryFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newFeeRecipient","type":"address"},{"indexed":false,"name":"oldFeeRecipient","type":"address"}],"name":"NewFeeRecipient","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"feeRecipient","type":"address"},{"indexed":false,"name":"feeQuantity","type":"uint256"}],"name":"EntryFeePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"oldSet","type":"address"},{"indexed":false,"name":"newSet","type":"address"},{"indexed":false,"name":"rebalanceIndex","type":"uint256"},{"indexed":false,"name":"currentSetQuantity","type":"uint256"}],"name":"RebalanceStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"feeRecipient","type":"address"},{"indexed":false,"name":"feeQuantity","type":"uint256"},{"indexed":false,"name":"feePercentage","type":"uint256"},{"indexed":false,"name":"rebalanceIndex","type":"uint256"},{"indexed":false,"name":"issueQuantity","type":"uint256"},{"indexed":false,"name":"unitShares","type":"uint256"}],"name":"RebalanceSettled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004b1738038062004b178339810180604052620000379190810190620004eb565b81816012826003908051906020019062000053929190620002c0565b50815162000069906004906020850190620002c0565b506005805460ff191660ff929092169190911790555050835160398054600160a060020a0319908116600160a060020a039384161791829055602080880151603f80548416918616919091179055604080890151603d805485169187169190911790556060808a01516044805486169188169190911790556080808b0151603b8054871691891691909117905560a0808c0151603c80548816918a1691909117905560c08c01518454871690891617845560e08c0151603e80549097169089161790955589516045558984015160465589830151604155908901516042558801516049559187015160435581517ff2f4eb260000000000000000000000000000000000000000000000000000000081529151929093169263f2f4eb26926004838101938290030181600087803b158015620001a357600080fd5b505af1158015620001b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250620001de9190810190620004c2565b60388054600160a060020a031916600160a060020a039283161790819055604080517ffbfa77cf0000000000000000000000000000000000000000000000000000000081529051919092169163fbfa77cf916004808301926020929190829003018186803b1580156200025057600080fd5b505afa15801562000265573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506200028b9190810190620004c2565b603a8054600160a060020a031916600160a060020a039290921691909117905550506047805460ff1916905550620006489050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200030357805160ff191683800117855562000333565b8280016001018555821562000333579182015b828111156200033357825182559160200191906001019062000316565b506200034192915062000345565b5090565b6200036291905b808211156200034157600081556001016200034c565b90565b6000620003738251620005f6565b9392505050565b600082601f8301126200038c57600080fd5b6008620003a36200039d82620005b0565b62000589565b91508183856020840282011115620003ba57600080fd5b60005b83811015620003ea5781620003d3888262000365565b8452506020928301929190910190600101620003bd565b5050505092915050565b600082601f8301126200040657600080fd5b6006620004176200039d82620005b0565b915081838560208402820111156200042e57600080fd5b60005b83811015620003ea5781620004478882620004b4565b845250602092830192919091019060010162000431565b600082601f8301126200047057600080fd5b8151620004816200039d82620005ce565b915080825260208301602083018583830111156200049e57600080fd5b620004ab83828462000615565b50505092915050565b600062000373825162000362565b600060208284031215620004d557600080fd5b6000620004e3848462000365565b949350505050565b60008060008061020085870312156200050357600080fd5b60006200051187876200037a565b9450506101006200052587828801620003f4565b9350506101c08501516001604060020a038111156200054357600080fd5b62000551878288016200045e565b9250506101e08501516001604060020a038111156200056f57600080fd5b6200057d878288016200045e565b91505092959194509250565b6040518181016001604060020a0381118282101715620005a857600080fd5b604052919050565b60006001604060020a03821115620005c757600080fd5b5060200290565b60006001604060020a03821115620005e557600080fd5b506020601f91909101601f19160190565b6000620006038262000609565b92915050565b600160a060020a031690565b60005b838110156200063257818101518382015260200162000618565b8381111562000642576000848401525b50505050565b6144bf80620006586000396000f3fe608060405234801561001057600080fd5b50600436106103c95760003560e060020a900480638618711c11610203578063c45a01551161011e578063eb770d0c116100b1578063f2f4eb2611610080578063f2f4eb2614610717578063f75af97f1461071f578063fa2d8c9014610734578063fbfa77cf1461073c576103c9565b8063eb770d0c146106ec578063f0284b1c146106ff578063f056a9ae14610707578063f1560b3f1461070f576103c9565b8063d0ebdbe7116100ed578063d0ebdbe71461069e578063d600ae48146106b1578063dd62ed3e146106c6578063e74b981b146106d9576103c9565b8063c45a01551461067e578063cb63169914610686578063cdb026a11461068e578063ce4b5bbe14610696576103c9565b80639b013aee11610196578063a457c2d711610165578063a457c2d714610648578063a9059cbb1461065b578063a9faafd91461066e578063b83d815714610676576103c9565b80639b013aee146106045780639dc29fac14610625578063a065172b14610638578063a2e59c9114610640576103c9565b806396213fc7116101d257806396213fc7146105ca5780639979ef45146105d257806399d50d5d146105f45780639ae1f4a9146105fc576103c9565b80638618711c1461059d57806388bd49a1146105b25780638a411b76146105ba57806395d89b41146105c2576103c9565b8063313ce567116102f3578063469048401161028657806357d3810e1161025557806357d3810e1461055957806370a082311461056f57806375aff3c114610582578063770d0c5d1461058a576103c9565b8063469048401461052c578063481c6a7514610541578063506ab57a14610549578063570f316714610551576103c9565b806342a7cfd5116102c257806342a7cfd5146105015780634394380b14610509578063439fab91146105115780634655309714610524576103c9565b8063313ce567146104be57806339509351146104d35780634046ebae146104e657806340c10f19146104ee576103c9565b806316d1d9161161036b57806323b872dd1161033a57806323b872dd146104935780632c103c79146104a65780632e35bcca146104ae57806330b86627146104b6576103c9565b806316d1d9161461046857806318160ddd14610470578063188b36c51461047857806318c53aca14610480576103c9565b806306fdde03116103a757806306fdde0314610416578063072ea61c1461042b578063095ea7b3146104335780631698c58414610453576103c9565b80630193aea2146103ce57806301c76f81146103ec578063027aa9f514610401575b600080fd5b6103d6610744565b6040516103e3919061432d565b60405180910390f35b6103ff6103fa366004613a33565b61074a565b005b6104096108ae565b6040516103e39190614162565b61041e6108f4565b6040516103e3919061420e565b6103d661098a565b610446610441366004613939565b610990565b6040516103e39190614198565b61045b6109a7565b6040516103e391906141b8565b6103d66109b6565b6103d66109bc565b6103d66109c2565b61044661048e366004613894565b6109c8565b6104466104a13660046138ec565b6109dc565b6103d6610a34565b6103d6610a3a565b61045b610ad5565b6104c6610ae4565b6040516103e3919061438b565b6104466104e1366004613939565b610aed565b61045b610b29565b6103ff6104fc366004613939565b610b38565b6103d6610b5c565b6103d6610b62565b6103ff61051f3660046139f1565b610bc4565b61045b610cd4565b610534610ce3565b6040516103e39190614091565b610534610cf2565b61045b610d01565b6103d6610d10565b610561610db4565b6040516103e392919061433b565b6103d661057d366004613894565b610df6565b6103ff610e11565b6103ff610598366004613a51565b610e1b565b6105a5610f59565b6040516103e39190614118565b6103d6610ff7565b6103ff610ffd565b61041e611088565b6105346110e9565b6105e56105e0366004613afa565b6110f8565b6040516103e393929190614129565b6105a56111ce565b6103d661122a565b610617610612366004613afa565b611230565b6040516103e3929190614173565b6103ff610633366004613939565b6112eb565b610409611301565b610409611448565b610446610656366004613939565b6115c1565b610446610669366004613939565b6115fd565b6103d661160a565b6103d6611610565b61045b611616565b61045b611625565b610409611634565b6103d66116d2565b6103ff6106ac366004613894565b6116de565b6106b961174d565b6040516103e3919061431f565b6103d66106d43660046138b2565b6117ee565b6103ff6106e7366004613894565b611819565b6103ff6106fa366004613afa565b611888565b6105a56118e2565b610409611943565b61044661198d565b61045b611996565b6107276119a5565b6040516103e39190614200565b6103ff6119ae565b61045b611ae3565b60455481565b610752611af2565b600260475460ff16600381111561076557fe5b141561078f5760405160e560020a62461bcd0281526004016107869061428f565b60405180910390fd5b603c546040517f372c12b1000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063372c12b1906107d8908490600401614091565b60206040518083038186803b1580156107f057600080fd5b505afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061082891908101906139d3565b6108475760405160e560020a62461bcd0281526004016107869061427f565b603d546040517fe26fceb0d040e26e9c96b5be39f9a7b88bc48ce7a787f1e3cfd08e7f97626de691610884918491600160a060020a0316906140ad565b60405180910390a1603d8054600160a060020a031916600160a060020a0392909216919091179055565b60408051600180825281830190925260609182919060208083019080388339019050509050604554816000815181106108e357fe5b602090810291909101015290505b90565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b60435481565b600061099d338484611b1f565b5060015b92915050565b603c54600160a060020a031681565b60415481565b60025490565b60425481565b604454600160a060020a0390811691161490565b60006109e9848484611bad565b600160a060020a038416600090815260016020908152604080832033808552925290912054610a29918691610a24908663ffffffff611c7016565b611b1f565b5060015b9392505050565b604f5481565b603e54604080517fced72f870000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163ced72f87916004808301926020929190829003018186803b158015610a9857600080fd5b505afa158015610aac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610ad09190810190613b18565b905090565b604454600160a060020a031681565b60055460ff1690565b336000818152600160209081526040808320600160a060020a0387168452909152812054909161099d918590610a24908663ffffffff611c8516565b603d54600160a060020a031681565b610b40611c97565b6000610b4b82611ca9565b9050610b578382611d3f565b505050565b60465481565b603d546040517f57dc13ec000000000000000000000000000000000000000000000000000000008152600091600160a060020a0316906357dc13ec90610bac903090600401614091565b60206040518083038186803b158015610a9857600080fd5b60055462010000900460ff1680610bde5750610bde611dec565b80610bf15750600554610100900460ff16155b610c105760405160e560020a62461bcd0281526004016107869061429f565b60055462010000900460ff16158015610c40576005805461ff001962ff0000199091166201000017166101001790555b603e546040517f439fab91000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063439fab9190610c8b90869086906004016141a6565b600060405180830381600087803b158015610ca557600080fd5b505af1158015610cb9573d6000803e3d6000fd5b505050508015610b57576005805462ff000019169055505050565b603e54600160a060020a031681565b604054600160a060020a031681565b603f54600160a060020a031681565b603b54600160a060020a031681565b603d546040517f77b7a8d8000000000000000000000000000000000000000000000000000000008152600091600160a060020a0316906377b7a8d890610d5a903090600401614091565b60006040518083038186803b158015610d7257600080fd5b505afa158015610d86573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dae9190810190613969565b51905090565b6000806060610dc1611448565b905080600081518110610dd057fe5b602002602001015181600181518110610de557fe5b602002602001015192509250509091565b600160a060020a031660009081526020819052604090205490565b610e19610ffd565b565b610e23611af2565b610e2c83611df2565b6000610e36612074565b6038546044546040517fa782132c000000000000000000000000000000000000000000000000000000008152929350600160a060020a039182169263a782132c92610e8792169085906004016140fd565b600060405180830381600087803b158015610ea157600080fd5b505af1158015610eb5573d6000803e3d6000fd5b50505050610efa848285858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506121cd92505050565b610f0384612257565b604454604a546048546040517f9c6ae00de948f7b7024af2cf50454197682e662953f3c8b35e74ce63ec5fcd8f93610f4b93600160a060020a039182169391169186906140c8565b60405180910390a150505050565b603d546040517f77b7a8d8000000000000000000000000000000000000000000000000000000008152606091600160a060020a0316906377b7a8d890610fa3903090600401614091565b60006040518083038186803b158015610fbb57600080fd5b505afa158015610fcf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad09190810190613969565b60485481565b61100561228d565b600061100f6122cc565b9050603d60009054906101000a9004600160a060020a0316600160a060020a0316638a411b766040518163ffffffff1660e060020a028152600401600060405180830381600087803b15801561106457600080fd5b505af1158015611078573d6000803e3d6000fd5b50505050611085816122e6565b50565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109805780601f1061095557610100808354040283529160200191610980565b604e54600160a060020a031681565b60608060606111068461234e565b61110e613436565b603d546040517f9979ef45000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690639979ef459061115790889060040161432d565b600060405180830381600087803b15801561117157600080fd5b505af1158015611185573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111ad9190810190613ac5565b90506111b761235f565b6111c081612378565b935093509350509193909250565b6040805160018082528183019092526060918291906020808301908038833950506044548251929350600160a060020a03169183915060009061120d57fe5b600160a060020a0390921660209283029190910190910152905090565b604b5481565b60608061123c83612389565b603d546040517f102d32c00000000000000000000000000000000000000000000000000000000081526112e291600160a060020a03169063102d32c09061128990309088906004016140fd565b60006040518083038186803b1580156112a157600080fd5b505afa1580156112b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112dd9190810190613ac5565b6123b6565b91509150915091565b6112f36123c5565b6112fd82826123fd565b5050565b606061130b613457565b603d546040517f558a7c06000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063558a7c0690611354903090600401614091565b60806040518083038186803b15801561136c57600080fd5b505afa158015611380573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506113a49190810190613aa7565b60408051600480825260a0820190925291925060609190602082016080803883390190505090508160000151816000815181106113dd57fe5b6020026020010181815250508160200151816001815181106113fb57fe5b60200260200101818152505081604001518160028151811061141957fe5b60200260200101818152505081606001518160038151811061143757fe5b602090810291909101015291505090565b6040805160028082526060808301845292839291906020830190803883395050603d546040517f060f0203000000000000000000000000000000000000000000000000000000008152929350600160a060020a03169163060f020391506114b3903090600401614091565b60206040518083038186803b1580156114cb57600080fd5b505afa1580156114df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115039190810190613b18565b8160008151811061151057fe5b6020908102919091010152603d546040517f48454433000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690634845443390611564903090600401614091565b60206040518083038186803b15801561157c57600080fd5b505afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115b49190810190613b18565b816001815181106108e357fe5b336000818152600160209081526040808320600160a060020a0387168452909152812054909161099d918590610a24908663ffffffff611c7016565b600061099d338484611bad565b60505481565b60495481565b603954600160a060020a031681565b604a54600160a060020a031681565b603d546040517f22c1107a000000000000000000000000000000000000000000000000000000008152606091600160a060020a0316906322c1107a9061167e903090600401614091565b60006040518083038186803b15801561169657600080fd5b505afa1580156116aa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad0919081019061399e565b670de0b6b3a764000081565b6116e6611af2565b603f546040517ff9c15f5b74b4e002e8881b2d9810116b1d4d45461e6dd7ac8111381b592e2c6591611723918491600160a060020a0316906140ad565b60405180910390a1603f8054600160a060020a031916600160a060020a0392909216919091179055565b611755613457565b603d546040517f558a7c06000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063558a7c069061179e903090600401614091565b60806040518083038186803b1580156117b657600080fd5b505afa1580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610ad09190810190613aa7565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b611821611af2565b6040805490517f2d63d620fb255d563fc112849cc79d42a367a3c51694709297b3ef80b28a89299161185e918491600160a060020a0316906140ad565b60405180910390a160408054600160a060020a031916600160a060020a0392909216919091179055565b611890611af2565b6118998161249b565b6118a2816124c6565b7fbf7417a972a6451dbb2afbe07f2846cb433f2c3ab380fecbf70e38684eda554a816043546040516118d592919061433b565b60405180910390a1604355565b6060604d80548060200260200160405190810160405280929190818152602001828054801561098057602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161191c575050505050905090565b603d546040517f1273a666000000000000000000000000000000000000000000000000000000008152606091600160a060020a031690631273a6669061167e903090600401614091565b604c5460ff1681565b603854600160a060020a031681565b60475460ff1681565b6119b66124fc565b604a546000906119ce90600160a060020a0316612506565b90506000806119db61254d565b9150915060006119ea8461260f565b905060008111611a0f5760405160e560020a62461bcd028152600401610786906142ff565b611a188461263e565b603d60009054906101000a9004600160a060020a0316600160a060020a031663fa2d8c906040518163ffffffff1660e060020a028152600401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b5050604080546048549151600160a060020a0390911693507f973319ae5c915d7b31c697261193cb1acf72a6b9286dc987e24cbe0d2e784b5c9250611acc9186918891908a908890614349565b60405180910390a2611add816126c2565b50505050565b603a54600160a060020a031681565b603f54600160a060020a03163314610e195760405160e560020a62461bcd0281526004016107869061421f565b600160a060020a038216611b3257600080fd5b600160a060020a038316611b4557600080fd5b600160a060020a0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611ba090859061432d565b60405180910390a3505050565b600160a060020a038216611bc057600080fd5b600160a060020a038316600090815260208190526040902054611be9908263ffffffff611c7016565b600160a060020a038085166000908152602081905260408082209390935590841681522054611c1e908263ffffffff611c8516565b600160a060020a0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ba090859061432d565b600082821115611c7f57600080fd5b50900390565b600082820183811015610a2d57600080fd5b611c9f612725565b610e196000612752565b600080611cc9611cc46043548561278f90919063ffffffff16565b6127b6565b90508015611d2f57604054611ce790600160a060020a031682611d3f565b604080549051600160a060020a03909116907f4f97c4974c69e34351de4be43b70406a96a48f940ec7d8853b4be6e7e6d98c7b90611d2690849061432d565b60405180910390a25b610a2d838263ffffffff611c7016565b600160a060020a038216611d5257600080fd5b600254611d65908263ffffffff611c8516565b600255600160a060020a038216600090815260208190526040902054611d91908263ffffffff611c8516565b600160a060020a0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611de090859061432d565b60405180910390a35050565b303b1590565b611dfc6000612752565b604154604954611e119163ffffffff611c8516565b421015611e335760405160e560020a62461bcd0281526004016107869061425f565b6000611e3d6109bc565b11611e5d5760405160e560020a62461bcd0281526004016107869061430f565b6038546040517ffef3ee73000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063fef3ee7390611ea6908490600401614091565b60206040518083038186803b158015611ebe57600080fd5b505afa158015611ed2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611ef691908101906139d3565b611f155760405160e560020a62461bcd028152600401610786906142cf565b603b60009054906101000a9004600160a060020a0316600160a060020a03166332ed010e82600160a060020a03166399d50d5d6040518163ffffffff1660e060020a02815260040160006040518083038186803b158015611f7557600080fd5b505afa158015611f89573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fb19190810190613969565b6040518263ffffffff1660e060020a028152600401611fd09190614118565b60206040518083038186803b158015611fe857600080fd5b505afa158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061202091908101906139d3565b61203f5760405160e560020a62461bcd0281526004016107869061422f565b60445461205590600160a060020a0316826127d0565b6110855760405160e560020a62461bcd028152600401610786906142df565b603a546044546040517f1f98ade30000000000000000000000000000000000000000000000000000000081526000928392600160a060020a0391821692631f98ade3926120c792169030906004016140ad565b60206040518083038186803b1580156120df57600080fd5b505afa1580156120f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121179190810190613b18565b90506000604460009054906101000a9004600160a060020a0316600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561216c57600080fd5b505afa158015612180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121a49190810190613b18565b90506121c66121b9838363ffffffff6128ee16565b839063ffffffff611c7016565b9250505090565b603d546044546040517fffd9cc35000000000000000000000000000000000000000000000000000000008152600160a060020a039283169263ffd9cc3592612220929116908790879087906004016141c6565b600060405180830381600087803b15801561223a57600080fd5b505af115801561224e573d6000803e3d6000fd5b50505050505050565b604a8054600160a060020a031916600160a060020a038316179055604780546002919060ff191660018302179055505042604b55565b6122976002612752565b61229f61290b565b806122ad57506122ad6129a5565b610e195760405160e560020a62461bcd0281526004016107869061426f565b604c5460009060ff166122e0576000610ad0565b50600390565b6122ef816129c8565b6122f881612a7b565b6047805482919060ff1916600183600381111561231157fe5b021790555060485461232a90600163ffffffff611c8516565b6048555042604955604a8054600160a060020a0319169055604c805460ff19169055565b612356612be0565b61108581612389565b604c5460ff16610e1957604c805460ff19166001179055565b805160208201516040909201519092565b6123936002612752565b600081116110855760405160e560020a62461bcd0281526004016107869061424f565b60208101516040820151915091565b6123cf6002612c98565b600360475460ff1660038111156123e257fe5b14156123f5576123f0612be0565b610e19565b610e19612725565b600160a060020a03821661241057600080fd5b600254612423908263ffffffff611c7016565b600255600160a060020a03821660009081526020819052604090205461244f908263ffffffff611c7016565b600160a060020a0383166000818152602081905260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611de090859061432d565b670de0b6b3a76400008111156110855760405160e560020a62461bcd028152600401610786906142ef565b6124dc81655af3107a400063ffffffff6128ee16565b156110855760405160e560020a62461bcd0281526004016107869061423f565b610e196002612752565b600061251061347f565b61251983612cd6565b9050600061252682612e75565b905060006125446121b98460000151846128ee90919063ffffffff16565b95945050505050565b6000806000603e60009054906101000a9004600160a060020a0316600160a060020a031663ced72f876040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156125a357600080fd5b505afa1580156125b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506125db9190810190613b18565b905060006125e882612f93565b905080156126065760405461260690600160a060020a031682611d3f565b90925090509091565b60008061262c6046546126206109bc565b9063ffffffff612fe416565b9050610a2d838263ffffffff612fe416565b603854604a546040517fa57de4cf000000000000000000000000000000000000000000000000000000008152600160a060020a039283169263a57de4cf9261268d9291169085906004016140fd565b600060405180830381600087803b1580156126a757600080fd5b505af11580156126bb573d6000803e3d6000fd5b5050505050565b6047805460ff1916905542604955604a5460448054600160a060020a031916600160a060020a039092169190911790556045819055604854612705906001611c85565b60485550604a8054600160a060020a0319169055604c805460ff19169055565b603854600160a060020a03163314610e195760405160e560020a62461bcd028152600401610786906142bf565b80600381111561275e57fe5b60475460ff16600381111561276f57fe5b146110855760405160e560020a62461bcd0281526004016107869061428f565b60008261279e575060006109a1565b828202828482816127ab57fe5b0414610a2d57600080fd5b60006109a182670de0b6b3a764000063ffffffff612fe416565b60008083600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561280f57600080fd5b505afa158015612823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506128479190810190613b18565b9050600083600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561288757600080fd5b505afa15801561289b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506128bf9190810190613b18565b90506128e46128ce8383613006565b6128d8848461301c565b9063ffffffff6128ee16565b1595945050505050565b6000816128fa57600080fd5b81838161290357fe5b069392505050565b603d546040517f3b52de3b000000000000000000000000000000000000000000000000000000008152600091600160a060020a031690633b52de3b90612955903090600401614091565b60206040518083038186803b15801561296d57600080fd5b505afa158015612981573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610ad091908101906139d3565b6000806129bf604254604b54611c8590919063ffffffff16565b42101591505090565b60008160038111156129d657fe5b1415611085576044546000906129f490600160a060020a0316612506565b6038546044546040517fa57de4cf000000000000000000000000000000000000000000000000000000008152929350600160a060020a039182169263a57de4cf92612a4592169085906004016140fd565b600060405180830381600087803b158015612a5f57600080fd5b505af1158015612a73573d6000803e3d6000fd5b505050505050565b6003816003811115612a8957fe5b141561108557604454604080517f99d50d5d0000000000000000000000000000000000000000000000000000000081529051606092600160a060020a0316916399d50d5d916004808301926000929190829003018186803b158015612aed57600080fd5b505afa158015612b01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b299190810190613969565b90506060604a60009054906101000a9004600160a060020a0316600160a060020a03166399d50d5d6040518163ffffffff1660e060020a02815260040160006040518083038186803b158015612b7e57600080fd5b505afa158015612b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bba9190810190613969565b9050612bcc828263ffffffff61302c16565b8051611add91604d916020909101906134a0565b6038546040517f5e633498000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690635e63349890612c2990339060040161409f565b60206040518083038186803b158015612c4157600080fd5b505afa158015612c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612c7991908101906139d3565b610e195760405160e560020a62461bcd028152600401610786906142af565b806003811115612ca457fe5b60475460ff166003811115612cb557fe5b14156110855760405160e560020a62461bcd0281526004016107869061428f565b612cde61347f565b6000829050600081600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b158015612d2157600080fd5b505afa158015612d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612d599190810190613b18565b9050606082600160a060020a03166399d50d5d6040518163ffffffff1660e060020a02815260040160006040518083038186803b158015612d9957600080fd5b505afa158015612dad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612dd59190810190613969565b9050606083600160a060020a031663027aa9f56040518163ffffffff1660e060020a02815260040160006040518083038186803b158015612e1557600080fd5b505afa158015612e29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e51919081019061399e565b60408051606081018252948552602085019390935291830191909152509392505050565b600080612e80613074565b905060005b836020015151811015612f8c57603a5460208501518051600092600160a060020a031691631f98ade39185908110612eb957fe5b6020026020010151306040518363ffffffff1660e060020a028152600401612ee29291906140ad565b60206040518083038186803b158015612efa57600080fd5b505afa158015612f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612f329190810190613b18565b90506000612f748660000151612f6888604001518681518110612f5157fe5b602002602001015185612fe490919063ffffffff16565b9063ffffffff61278f16565b905083811015612f82578093505b5050600101612e85565b5092915050565b600080612fae612fa16109bc565b849063ffffffff61278f16565b90506000612fca670de0b6b3a76400008563ffffffff611c7016565b9050612fdc828263ffffffff612fe416565b949350505050565b6000808211612ff257600080fd5b6000828481612ffd57fe5b04949350505050565b60008183106130155781610a2d565b5090919050565b6000818310156130155781610a2d565b606080613039848461307a565b90506060613047848661307a565b9050606061305586866131ba565b905061306a8361306583856132e8565b6132e8565b9695505050505050565b60001990565b60606000835190506060816040519080825280602002602001820160405280156130ae578160200160208202803883390190505b5090506000805b838110156131115760008782815181106130cb57fe5b602002602001015190506130df87826133ca565b6131085760018483815181106130f157fe5b911515602092830291909101909101526001909201915b506001016130b5565b5060608160405190808252806020026020018201604052801561313e578160200160208202803883390190505b5090506000805b858110156131ad5784818151811061315957fe5b6020026020010151156131a55788818151811061317257fe5b602002602001015183838151811061318657fe5b600160a060020a03909216602092830291909101909101526001909101905b600101613145565b5090979650505050505050565b60606000835190506060816040519080825280602002602001820160405280156131ee578160200160208202803883390190505b5090506000805b8381101561324c5761321a8688838151811061320d57fe5b60200260200101516133ca565b1561324457600183828151811061322d57fe5b911515602092830291909101909101526001909101905b6001016131f5565b50606081604051908082528060200260200182016040528015613279578160200160208202803883390190505b5090506000805b858110156131ad5784818151811061329457fe5b6020026020010151156132e0578881815181106132ad57fe5b60200260200101518383815181106132c157fe5b600160a060020a03909216602092830291909101909101526001909101905b600101613280565b60606000835190506000835190506060818301604051908082528060200260200182016040528015613324578160200160208202803883390190505b50905060005b838110156133725786818151811061333e57fe5b602002602001015182828151811061335257fe5b600160a060020a039092166020928302919091019091015260010161332a565b5060005b828110156133c05785818151811061338a57fe5b602002602001015182828601815181106133a057fe5b600160a060020a0390921660209283029190910190910152600101613376565b5095945050505050565b600080612544848481516000908190815b818110156134255784600160a060020a03168682815181106133f957fe5b6020026020010151600160a060020a0316141561341d5792506001915061342f9050565b6001016133db565b5060009250829150505b9250929050565b60405180606001604052806060815260200160608152602001606081525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b60405180606001604052806000815260200160608152602001606081525090565b8280548282559060005260206000209081019282156134f5579160200282015b828111156134f55782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906134c0565b50613501929150613505565b5090565b6108f191905b80821115613501578054600160a060020a031916815560010161350b565b6000610a2d82356143f4565b6000610a2d82516143f4565b600082601f83011261355257600080fd5b8151613565613560826143c0565b614399565b9150818183526020840193506020810190508385602084028201111561358a57600080fd5b60005b838110156135b657816135a08882613535565b845250602092830192919091019060010161358d565b5050505092915050565b600082601f8301126135d157600080fd5b81516135df613560826143c0565b9150818183526020840193506020810190508385602084028201111561360457600080fd5b60005b838110156135b6578161361a8882613535565b8452506020928301929190910190600101613607565b600082601f83011261364157600080fd5b815161364f613560826143c0565b9150818183526020840193506020810190508385602084028201111561367457600080fd5b60005b838110156135b6578161368a8882613888565b8452506020928301929190910190600101613677565b600082601f8301126136b157600080fd5b81516136bf613560826143c0565b915081818352602084019350602081019050838560208402820111156136e457600080fd5b60005b838110156135b657816136fa8882613888565b84525060209283019291909101906001016136e7565b6000610a2d82516143ff565b60008083601f84011261372e57600080fd5b50813567ffffffffffffffff81111561374657600080fd5b60208301915083600182028301111561342f57600080fd5b6000610a2d8235614422565b60006080828403121561377c57600080fd5b6137866080614399565b905060006137948484613888565b82525060206137a584848301613888565b60208301525060406137b984828501613888565b60408301525060606137cd84828501613888565b60608301525092915050565b6000606082840312156137eb57600080fd5b6137f56060614399565b825190915067ffffffffffffffff81111561380f57600080fd5b61381b84828501613541565b825250602082015167ffffffffffffffff81111561383857600080fd5b61384484828501613630565b602083015250604082015167ffffffffffffffff81111561386457600080fd5b61387084828501613630565b60408301525092915050565b6000610a2d82356108f1565b6000610a2d82516108f1565b6000602082840312156138a657600080fd5b6000612fdc8484613529565b600080604083850312156138c557600080fd5b60006138d18585613529565b92505060206138e285828601613529565b9150509250929050565b60008060006060848603121561390157600080fd5b600061390d8686613529565b935050602061391e86828701613529565b925050604061392f8682870161387c565b9150509250925092565b6000806040838503121561394c57600080fd5b60006139588585613529565b92505060206138e28582860161387c565b60006020828403121561397b57600080fd5b815167ffffffffffffffff81111561399257600080fd5b612fdc848285016135c0565b6000602082840312156139b057600080fd5b815167ffffffffffffffff8111156139c757600080fd5b612fdc848285016136a0565b6000602082840312156139e557600080fd5b6000612fdc8484613710565b60008060208385031215613a0457600080fd5b823567ffffffffffffffff811115613a1b57600080fd5b613a278582860161371c565b92509250509250929050565b600060208284031215613a4557600080fd5b6000612fdc848461375e565b600080600060408486031215613a6657600080fd5b6000613a72868661375e565b935050602084013567ffffffffffffffff811115613a8f57600080fd5b613a9b8682870161371c565b92509250509250925092565b600060808284031215613ab957600080fd5b6000612fdc848461376a565b600060208284031215613ad757600080fd5b815167ffffffffffffffff811115613aee57600080fd5b612fdc848285016137d9565b600060208284031215613b0c57600080fd5b6000612fdc848461387c565b600060208284031215613b2a57600080fd5b6000612fdc8484613888565b6000613b428383613b65565b505060200190565b6000613b42838361407f565b613b5f8161442d565b82525050565b613b5f816143f4565b6000613b79826143e7565b613b8381856143eb565b9350613b8e836143e1565b60005b82811015613bb957613ba4868351613b36565b9550613baf826143e1565b9150600101613b91565b5093949350505050565b6000613bce826143e7565b613bd881856143eb565b9350613be3836143e1565b60005b82811015613bb957613bf9868351613b4a565b9550613c04826143e1565b9150600101613be6565b613b5f816143ff565b6000613c2383856143eb565b9350613c30838584614443565b613c398361447b565b9093019392505050565b6000613c4e826143e7565b613c5881856143eb565b9350613c6881856020860161444f565b613c398161447b565b613b5f81614422565b613b5f81614438565b6000613c90600b836143eb565b7f4e6f74206d616e61676572000000000000000000000000000000000000000000815260200192915050565b6000613cc96011836143eb565b7f496e76616c696420636f6d706f6e656e74000000000000000000000000000000815260200192915050565b6000613d026019836143eb565b7f4d757374206265206d756c7469706c65206f6620302e30312500000000000000815260200192915050565b6000613d3b600b836143eb565b7f426964206e6f74203e2030000000000000000000000000000000000000000000815260200192915050565b6000613d746014836143eb565b7f496e74657276616c206e6f7420656c6170736564000000000000000000000000815260200192915050565b6000613dad6015836143eb565b7f5472696767657273206e6f742062726561636865640000000000000000000000815260200192915050565b6000613de6600f836143eb565b7f4e6f742077686974656c69737465640000000000000000000000000000000000815260200192915050565b6000613e1f600d836143eb565b7f496e76616c696420737461746500000000000000000000000000000000000000815260200192915050565b6000613e58602e836143eb565b7f436f6e747261637420696e7374616e63652068617320616c726561647920626581527f656e20696e697469616c697a6564000000000000000000000000000000000000602082015260400192915050565b6000613eb76013836143eb565b7f4e6f7420617070726f766564206d6f64756c6500000000000000000000000000815260200192915050565b6000613ef06008836143eb565b7f4e6f7420436f7265000000000000000000000000000000000000000000000000815260200192915050565b6000613f29600b836143eb565b7f496e76616c696420536574000000000000000000000000000000000000000000815260200192915050565b6000613f626014836143eb565b7f496e76616c6964206e61747572616c20756e6974000000000000000000000000815260200192915050565b6000613f9b600f836143eb565b7f4d757374206265203c3d20313030250000000000000000000000000000000000815260200192915050565b6000613fd46018836143eb565b7f4661696c65643a20756e697473686172657320697320302e0000000000000000815260200192915050565b600061400d600e836143eb565b7f496e76616c696420737570706c79000000000000000000000000000000000000815260200192915050565b8051608083019061404a848261407f565b50602082015161405d602085018261407f565b506040820151614070604085018261407f565b506060820151611add60608501825b613b5f816108f1565b613b5f8161441c565b602081016109a18284613b65565b602081016109a18284613b56565b604081016140bb8285613b65565b610a2d6020830184613b65565b608081016140d68287613b65565b6140e36020830186613b65565b6140f0604083018561407f565b612544606083018461407f565b6040810161410b8285613b65565b610a2d602083018461407f565b60208082528101610a2d8184613b6e565b6060808252810161413a8186613b6e565b9050818103602083015261414e8185613bc3565b905081810360408301526125448184613bc3565b60208082528101610a2d8184613bc3565b604080825281016141848185613bc3565b90508181036020830152612fdc8184613bc3565b602081016109a18284613c0e565b60208082528101612fdc818486613c17565b602081016109a18284613c71565b608081016141d48287613c71565b6141e16020830186613c71565b6141ee604083018561407f565b818103606083015261306a8184613c43565b602081016109a18284613c7a565b60208082528101610a2d8184613c43565b602080825281016109a181613c83565b602080825281016109a181613cbc565b602080825281016109a181613cf5565b602080825281016109a181613d2e565b602080825281016109a181613d67565b602080825281016109a181613da0565b602080825281016109a181613dd9565b602080825281016109a181613e12565b602080825281016109a181613e4b565b602080825281016109a181613eaa565b602080825281016109a181613ee3565b602080825281016109a181613f1c565b602080825281016109a181613f55565b602080825281016109a181613f8e565b602080825281016109a181613fc7565b602080825281016109a181614000565b608081016109a18284614039565b602081016109a1828461407f565b6040810161410b828561407f565b60a08101614357828861407f565b614364602083018761407f565b614371604083018661407f565b61437e606083018561407f565b61306a608083018461407f565b602081016109a18284614088565b60405181810167ffffffffffffffff811182821017156143b857600080fd5b604052919050565b600067ffffffffffffffff8211156143d757600080fd5b5060209081020190565b60200190565b5190565b90815260200190565b60006109a182614410565b151590565b60006004821061350157fe5b600160a060020a031690565b60ff1690565b60006109a1826143f4565b60006109a182614422565b60006109a182614404565b82818337506000910152565b60005b8381101561446a578181015183820152602001614452565b83811115611add5750506000910152565b601f01601f19169056fea265627a7a7230582048bd9e2feeffd6c5a46d9d3a62a03a0e33f25bd06e0142b5a0aab3a1c342a5e46c6578706572696d656e74616cf500370000000000000000000000007b636d4102b85a13c3e1d9ad30a4e705423fb65e000000000000000000000000d2fc0ca8220ecfe767e324fa3085f70cbbf965880000000000000000000000003a2f286ac96051489a544fb91b2e1e5ebbcea34f000000000000000000000000239a4858884a60996762637794a6ffe465f9220c000000000000000000000000c6449473be76ab2a70329fa66cbe504a25005338000000000000000000000000ffbfdcc6dc2724082272d23236b6deaf15ce2691000000000000000000000000d3d555bb655acba9452bfc6d7cea8cc7b3628c5500000000000000000000000066fc395972c26e8cf3277721e97f70735c373aaf00000000000000000000000000000000000000000000000000000000000254b100000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000546000000000000000000000000000000000000000000000000000000000000151800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000b536574204554485553444300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074554485553444300000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103c95760003560e060020a900480638618711c11610203578063c45a01551161011e578063eb770d0c116100b1578063f2f4eb2611610080578063f2f4eb2614610717578063f75af97f1461071f578063fa2d8c9014610734578063fbfa77cf1461073c576103c9565b8063eb770d0c146106ec578063f0284b1c146106ff578063f056a9ae14610707578063f1560b3f1461070f576103c9565b8063d0ebdbe7116100ed578063d0ebdbe71461069e578063d600ae48146106b1578063dd62ed3e146106c6578063e74b981b146106d9576103c9565b8063c45a01551461067e578063cb63169914610686578063cdb026a11461068e578063ce4b5bbe14610696576103c9565b80639b013aee11610196578063a457c2d711610165578063a457c2d714610648578063a9059cbb1461065b578063a9faafd91461066e578063b83d815714610676576103c9565b80639b013aee146106045780639dc29fac14610625578063a065172b14610638578063a2e59c9114610640576103c9565b806396213fc7116101d257806396213fc7146105ca5780639979ef45146105d257806399d50d5d146105f45780639ae1f4a9146105fc576103c9565b80638618711c1461059d57806388bd49a1146105b25780638a411b76146105ba57806395d89b41146105c2576103c9565b8063313ce567116102f3578063469048401161028657806357d3810e1161025557806357d3810e1461055957806370a082311461056f57806375aff3c114610582578063770d0c5d1461058a576103c9565b8063469048401461052c578063481c6a7514610541578063506ab57a14610549578063570f316714610551576103c9565b806342a7cfd5116102c257806342a7cfd5146105015780634394380b14610509578063439fab91146105115780634655309714610524576103c9565b8063313ce567146104be57806339509351146104d35780634046ebae146104e657806340c10f19146104ee576103c9565b806316d1d9161161036b57806323b872dd1161033a57806323b872dd146104935780632c103c79146104a65780632e35bcca146104ae57806330b86627146104b6576103c9565b806316d1d9161461046857806318160ddd14610470578063188b36c51461047857806318c53aca14610480576103c9565b806306fdde03116103a757806306fdde0314610416578063072ea61c1461042b578063095ea7b3146104335780631698c58414610453576103c9565b80630193aea2146103ce57806301c76f81146103ec578063027aa9f514610401575b600080fd5b6103d6610744565b6040516103e3919061432d565b60405180910390f35b6103ff6103fa366004613a33565b61074a565b005b6104096108ae565b6040516103e39190614162565b61041e6108f4565b6040516103e3919061420e565b6103d661098a565b610446610441366004613939565b610990565b6040516103e39190614198565b61045b6109a7565b6040516103e391906141b8565b6103d66109b6565b6103d66109bc565b6103d66109c2565b61044661048e366004613894565b6109c8565b6104466104a13660046138ec565b6109dc565b6103d6610a34565b6103d6610a3a565b61045b610ad5565b6104c6610ae4565b6040516103e3919061438b565b6104466104e1366004613939565b610aed565b61045b610b29565b6103ff6104fc366004613939565b610b38565b6103d6610b5c565b6103d6610b62565b6103ff61051f3660046139f1565b610bc4565b61045b610cd4565b610534610ce3565b6040516103e39190614091565b610534610cf2565b61045b610d01565b6103d6610d10565b610561610db4565b6040516103e392919061433b565b6103d661057d366004613894565b610df6565b6103ff610e11565b6103ff610598366004613a51565b610e1b565b6105a5610f59565b6040516103e39190614118565b6103d6610ff7565b6103ff610ffd565b61041e611088565b6105346110e9565b6105e56105e0366004613afa565b6110f8565b6040516103e393929190614129565b6105a56111ce565b6103d661122a565b610617610612366004613afa565b611230565b6040516103e3929190614173565b6103ff610633366004613939565b6112eb565b610409611301565b610409611448565b610446610656366004613939565b6115c1565b610446610669366004613939565b6115fd565b6103d661160a565b6103d6611610565b61045b611616565b61045b611625565b610409611634565b6103d66116d2565b6103ff6106ac366004613894565b6116de565b6106b961174d565b6040516103e3919061431f565b6103d66106d43660046138b2565b6117ee565b6103ff6106e7366004613894565b611819565b6103ff6106fa366004613afa565b611888565b6105a56118e2565b610409611943565b61044661198d565b61045b611996565b6107276119a5565b6040516103e39190614200565b6103ff6119ae565b61045b611ae3565b60455481565b610752611af2565b600260475460ff16600381111561076557fe5b141561078f5760405160e560020a62461bcd0281526004016107869061428f565b60405180910390fd5b603c546040517f372c12b1000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063372c12b1906107d8908490600401614091565b60206040518083038186803b1580156107f057600080fd5b505afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061082891908101906139d3565b6108475760405160e560020a62461bcd0281526004016107869061427f565b603d546040517fe26fceb0d040e26e9c96b5be39f9a7b88bc48ce7a787f1e3cfd08e7f97626de691610884918491600160a060020a0316906140ad565b60405180910390a1603d8054600160a060020a031916600160a060020a0392909216919091179055565b60408051600180825281830190925260609182919060208083019080388339019050509050604554816000815181106108e357fe5b602090810291909101015290505b90565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b60435481565b600061099d338484611b1f565b5060015b92915050565b603c54600160a060020a031681565b60415481565b60025490565b60425481565b604454600160a060020a0390811691161490565b60006109e9848484611bad565b600160a060020a038416600090815260016020908152604080832033808552925290912054610a29918691610a24908663ffffffff611c7016565b611b1f565b5060015b9392505050565b604f5481565b603e54604080517fced72f870000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163ced72f87916004808301926020929190829003018186803b158015610a9857600080fd5b505afa158015610aac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610ad09190810190613b18565b905090565b604454600160a060020a031681565b60055460ff1690565b336000818152600160209081526040808320600160a060020a0387168452909152812054909161099d918590610a24908663ffffffff611c8516565b603d54600160a060020a031681565b610b40611c97565b6000610b4b82611ca9565b9050610b578382611d3f565b505050565b60465481565b603d546040517f57dc13ec000000000000000000000000000000000000000000000000000000008152600091600160a060020a0316906357dc13ec90610bac903090600401614091565b60206040518083038186803b158015610a9857600080fd5b60055462010000900460ff1680610bde5750610bde611dec565b80610bf15750600554610100900460ff16155b610c105760405160e560020a62461bcd0281526004016107869061429f565b60055462010000900460ff16158015610c40576005805461ff001962ff0000199091166201000017166101001790555b603e546040517f439fab91000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063439fab9190610c8b90869086906004016141a6565b600060405180830381600087803b158015610ca557600080fd5b505af1158015610cb9573d6000803e3d6000fd5b505050508015610b57576005805462ff000019169055505050565b603e54600160a060020a031681565b604054600160a060020a031681565b603f54600160a060020a031681565b603b54600160a060020a031681565b603d546040517f77b7a8d8000000000000000000000000000000000000000000000000000000008152600091600160a060020a0316906377b7a8d890610d5a903090600401614091565b60006040518083038186803b158015610d7257600080fd5b505afa158015610d86573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dae9190810190613969565b51905090565b6000806060610dc1611448565b905080600081518110610dd057fe5b602002602001015181600181518110610de557fe5b602002602001015192509250509091565b600160a060020a031660009081526020819052604090205490565b610e19610ffd565b565b610e23611af2565b610e2c83611df2565b6000610e36612074565b6038546044546040517fa782132c000000000000000000000000000000000000000000000000000000008152929350600160a060020a039182169263a782132c92610e8792169085906004016140fd565b600060405180830381600087803b158015610ea157600080fd5b505af1158015610eb5573d6000803e3d6000fd5b50505050610efa848285858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506121cd92505050565b610f0384612257565b604454604a546048546040517f9c6ae00de948f7b7024af2cf50454197682e662953f3c8b35e74ce63ec5fcd8f93610f4b93600160a060020a039182169391169186906140c8565b60405180910390a150505050565b603d546040517f77b7a8d8000000000000000000000000000000000000000000000000000000008152606091600160a060020a0316906377b7a8d890610fa3903090600401614091565b60006040518083038186803b158015610fbb57600080fd5b505afa158015610fcf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad09190810190613969565b60485481565b61100561228d565b600061100f6122cc565b9050603d60009054906101000a9004600160a060020a0316600160a060020a0316638a411b766040518163ffffffff1660e060020a028152600401600060405180830381600087803b15801561106457600080fd5b505af1158015611078573d6000803e3d6000fd5b50505050611085816122e6565b50565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109805780601f1061095557610100808354040283529160200191610980565b604e54600160a060020a031681565b60608060606111068461234e565b61110e613436565b603d546040517f9979ef45000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690639979ef459061115790889060040161432d565b600060405180830381600087803b15801561117157600080fd5b505af1158015611185573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111ad9190810190613ac5565b90506111b761235f565b6111c081612378565b935093509350509193909250565b6040805160018082528183019092526060918291906020808301908038833950506044548251929350600160a060020a03169183915060009061120d57fe5b600160a060020a0390921660209283029190910190910152905090565b604b5481565b60608061123c83612389565b603d546040517f102d32c00000000000000000000000000000000000000000000000000000000081526112e291600160a060020a03169063102d32c09061128990309088906004016140fd565b60006040518083038186803b1580156112a157600080fd5b505afa1580156112b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112dd9190810190613ac5565b6123b6565b91509150915091565b6112f36123c5565b6112fd82826123fd565b5050565b606061130b613457565b603d546040517f558a7c06000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063558a7c0690611354903090600401614091565b60806040518083038186803b15801561136c57600080fd5b505afa158015611380573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506113a49190810190613aa7565b60408051600480825260a0820190925291925060609190602082016080803883390190505090508160000151816000815181106113dd57fe5b6020026020010181815250508160200151816001815181106113fb57fe5b60200260200101818152505081604001518160028151811061141957fe5b60200260200101818152505081606001518160038151811061143757fe5b602090810291909101015291505090565b6040805160028082526060808301845292839291906020830190803883395050603d546040517f060f0203000000000000000000000000000000000000000000000000000000008152929350600160a060020a03169163060f020391506114b3903090600401614091565b60206040518083038186803b1580156114cb57600080fd5b505afa1580156114df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115039190810190613b18565b8160008151811061151057fe5b6020908102919091010152603d546040517f48454433000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690634845443390611564903090600401614091565b60206040518083038186803b15801561157c57600080fd5b505afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115b49190810190613b18565b816001815181106108e357fe5b336000818152600160209081526040808320600160a060020a0387168452909152812054909161099d918590610a24908663ffffffff611c7016565b600061099d338484611bad565b60505481565b60495481565b603954600160a060020a031681565b604a54600160a060020a031681565b603d546040517f22c1107a000000000000000000000000000000000000000000000000000000008152606091600160a060020a0316906322c1107a9061167e903090600401614091565b60006040518083038186803b15801561169657600080fd5b505afa1580156116aa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad0919081019061399e565b670de0b6b3a764000081565b6116e6611af2565b603f546040517ff9c15f5b74b4e002e8881b2d9810116b1d4d45461e6dd7ac8111381b592e2c6591611723918491600160a060020a0316906140ad565b60405180910390a1603f8054600160a060020a031916600160a060020a0392909216919091179055565b611755613457565b603d546040517f558a7c06000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063558a7c069061179e903090600401614091565b60806040518083038186803b1580156117b657600080fd5b505afa1580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610ad09190810190613aa7565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b611821611af2565b6040805490517f2d63d620fb255d563fc112849cc79d42a367a3c51694709297b3ef80b28a89299161185e918491600160a060020a0316906140ad565b60405180910390a160408054600160a060020a031916600160a060020a0392909216919091179055565b611890611af2565b6118998161249b565b6118a2816124c6565b7fbf7417a972a6451dbb2afbe07f2846cb433f2c3ab380fecbf70e38684eda554a816043546040516118d592919061433b565b60405180910390a1604355565b6060604d80548060200260200160405190810160405280929190818152602001828054801561098057602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161191c575050505050905090565b603d546040517f1273a666000000000000000000000000000000000000000000000000000000008152606091600160a060020a031690631273a6669061167e903090600401614091565b604c5460ff1681565b603854600160a060020a031681565b60475460ff1681565b6119b66124fc565b604a546000906119ce90600160a060020a0316612506565b90506000806119db61254d565b9150915060006119ea8461260f565b905060008111611a0f5760405160e560020a62461bcd028152600401610786906142ff565b611a188461263e565b603d60009054906101000a9004600160a060020a0316600160a060020a031663fa2d8c906040518163ffffffff1660e060020a028152600401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b5050604080546048549151600160a060020a0390911693507f973319ae5c915d7b31c697261193cb1acf72a6b9286dc987e24cbe0d2e784b5c9250611acc9186918891908a908890614349565b60405180910390a2611add816126c2565b50505050565b603a54600160a060020a031681565b603f54600160a060020a03163314610e195760405160e560020a62461bcd0281526004016107869061421f565b600160a060020a038216611b3257600080fd5b600160a060020a038316611b4557600080fd5b600160a060020a0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611ba090859061432d565b60405180910390a3505050565b600160a060020a038216611bc057600080fd5b600160a060020a038316600090815260208190526040902054611be9908263ffffffff611c7016565b600160a060020a038085166000908152602081905260408082209390935590841681522054611c1e908263ffffffff611c8516565b600160a060020a0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ba090859061432d565b600082821115611c7f57600080fd5b50900390565b600082820183811015610a2d57600080fd5b611c9f612725565b610e196000612752565b600080611cc9611cc46043548561278f90919063ffffffff16565b6127b6565b90508015611d2f57604054611ce790600160a060020a031682611d3f565b604080549051600160a060020a03909116907f4f97c4974c69e34351de4be43b70406a96a48f940ec7d8853b4be6e7e6d98c7b90611d2690849061432d565b60405180910390a25b610a2d838263ffffffff611c7016565b600160a060020a038216611d5257600080fd5b600254611d65908263ffffffff611c8516565b600255600160a060020a038216600090815260208190526040902054611d91908263ffffffff611c8516565b600160a060020a0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611de090859061432d565b60405180910390a35050565b303b1590565b611dfc6000612752565b604154604954611e119163ffffffff611c8516565b421015611e335760405160e560020a62461bcd0281526004016107869061425f565b6000611e3d6109bc565b11611e5d5760405160e560020a62461bcd0281526004016107869061430f565b6038546040517ffef3ee73000000000000000000000000000000000000000000000000000000008152600160a060020a039091169063fef3ee7390611ea6908490600401614091565b60206040518083038186803b158015611ebe57600080fd5b505afa158015611ed2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611ef691908101906139d3565b611f155760405160e560020a62461bcd028152600401610786906142cf565b603b60009054906101000a9004600160a060020a0316600160a060020a03166332ed010e82600160a060020a03166399d50d5d6040518163ffffffff1660e060020a02815260040160006040518083038186803b158015611f7557600080fd5b505afa158015611f89573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fb19190810190613969565b6040518263ffffffff1660e060020a028152600401611fd09190614118565b60206040518083038186803b158015611fe857600080fd5b505afa158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061202091908101906139d3565b61203f5760405160e560020a62461bcd0281526004016107869061422f565b60445461205590600160a060020a0316826127d0565b6110855760405160e560020a62461bcd028152600401610786906142df565b603a546044546040517f1f98ade30000000000000000000000000000000000000000000000000000000081526000928392600160a060020a0391821692631f98ade3926120c792169030906004016140ad565b60206040518083038186803b1580156120df57600080fd5b505afa1580156120f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121179190810190613b18565b90506000604460009054906101000a9004600160a060020a0316600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561216c57600080fd5b505afa158015612180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506121a49190810190613b18565b90506121c66121b9838363ffffffff6128ee16565b839063ffffffff611c7016565b9250505090565b603d546044546040517fffd9cc35000000000000000000000000000000000000000000000000000000008152600160a060020a039283169263ffd9cc3592612220929116908790879087906004016141c6565b600060405180830381600087803b15801561223a57600080fd5b505af115801561224e573d6000803e3d6000fd5b50505050505050565b604a8054600160a060020a031916600160a060020a038316179055604780546002919060ff191660018302179055505042604b55565b6122976002612752565b61229f61290b565b806122ad57506122ad6129a5565b610e195760405160e560020a62461bcd0281526004016107869061426f565b604c5460009060ff166122e0576000610ad0565b50600390565b6122ef816129c8565b6122f881612a7b565b6047805482919060ff1916600183600381111561231157fe5b021790555060485461232a90600163ffffffff611c8516565b6048555042604955604a8054600160a060020a0319169055604c805460ff19169055565b612356612be0565b61108581612389565b604c5460ff16610e1957604c805460ff19166001179055565b805160208201516040909201519092565b6123936002612752565b600081116110855760405160e560020a62461bcd0281526004016107869061424f565b60208101516040820151915091565b6123cf6002612c98565b600360475460ff1660038111156123e257fe5b14156123f5576123f0612be0565b610e19565b610e19612725565b600160a060020a03821661241057600080fd5b600254612423908263ffffffff611c7016565b600255600160a060020a03821660009081526020819052604090205461244f908263ffffffff611c7016565b600160a060020a0383166000818152602081905260408082209390935591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611de090859061432d565b670de0b6b3a76400008111156110855760405160e560020a62461bcd028152600401610786906142ef565b6124dc81655af3107a400063ffffffff6128ee16565b156110855760405160e560020a62461bcd0281526004016107869061423f565b610e196002612752565b600061251061347f565b61251983612cd6565b9050600061252682612e75565b905060006125446121b98460000151846128ee90919063ffffffff16565b95945050505050565b6000806000603e60009054906101000a9004600160a060020a0316600160a060020a031663ced72f876040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156125a357600080fd5b505afa1580156125b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506125db9190810190613b18565b905060006125e882612f93565b905080156126065760405461260690600160a060020a031682611d3f565b90925090509091565b60008061262c6046546126206109bc565b9063ffffffff612fe416565b9050610a2d838263ffffffff612fe416565b603854604a546040517fa57de4cf000000000000000000000000000000000000000000000000000000008152600160a060020a039283169263a57de4cf9261268d9291169085906004016140fd565b600060405180830381600087803b1580156126a757600080fd5b505af11580156126bb573d6000803e3d6000fd5b5050505050565b6047805460ff1916905542604955604a5460448054600160a060020a031916600160a060020a039092169190911790556045819055604854612705906001611c85565b60485550604a8054600160a060020a0319169055604c805460ff19169055565b603854600160a060020a03163314610e195760405160e560020a62461bcd028152600401610786906142bf565b80600381111561275e57fe5b60475460ff16600381111561276f57fe5b146110855760405160e560020a62461bcd0281526004016107869061428f565b60008261279e575060006109a1565b828202828482816127ab57fe5b0414610a2d57600080fd5b60006109a182670de0b6b3a764000063ffffffff612fe416565b60008083600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561280f57600080fd5b505afa158015612823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506128479190810190613b18565b9050600083600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561288757600080fd5b505afa15801561289b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506128bf9190810190613b18565b90506128e46128ce8383613006565b6128d8848461301c565b9063ffffffff6128ee16565b1595945050505050565b6000816128fa57600080fd5b81838161290357fe5b069392505050565b603d546040517f3b52de3b000000000000000000000000000000000000000000000000000000008152600091600160a060020a031690633b52de3b90612955903090600401614091565b60206040518083038186803b15801561296d57600080fd5b505afa158015612981573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610ad091908101906139d3565b6000806129bf604254604b54611c8590919063ffffffff16565b42101591505090565b60008160038111156129d657fe5b1415611085576044546000906129f490600160a060020a0316612506565b6038546044546040517fa57de4cf000000000000000000000000000000000000000000000000000000008152929350600160a060020a039182169263a57de4cf92612a4592169085906004016140fd565b600060405180830381600087803b158015612a5f57600080fd5b505af1158015612a73573d6000803e3d6000fd5b505050505050565b6003816003811115612a8957fe5b141561108557604454604080517f99d50d5d0000000000000000000000000000000000000000000000000000000081529051606092600160a060020a0316916399d50d5d916004808301926000929190829003018186803b158015612aed57600080fd5b505afa158015612b01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b299190810190613969565b90506060604a60009054906101000a9004600160a060020a0316600160a060020a03166399d50d5d6040518163ffffffff1660e060020a02815260040160006040518083038186803b158015612b7e57600080fd5b505afa158015612b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bba9190810190613969565b9050612bcc828263ffffffff61302c16565b8051611add91604d916020909101906134a0565b6038546040517f5e633498000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690635e63349890612c2990339060040161409f565b60206040518083038186803b158015612c4157600080fd5b505afa158015612c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612c7991908101906139d3565b610e195760405160e560020a62461bcd028152600401610786906142af565b806003811115612ca457fe5b60475460ff166003811115612cb557fe5b14156110855760405160e560020a62461bcd0281526004016107869061428f565b612cde61347f565b6000829050600081600160a060020a03166342a7cfd56040518163ffffffff1660e060020a02815260040160206040518083038186803b158015612d2157600080fd5b505afa158015612d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612d599190810190613b18565b9050606082600160a060020a03166399d50d5d6040518163ffffffff1660e060020a02815260040160006040518083038186803b158015612d9957600080fd5b505afa158015612dad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612dd59190810190613969565b9050606083600160a060020a031663027aa9f56040518163ffffffff1660e060020a02815260040160006040518083038186803b158015612e1557600080fd5b505afa158015612e29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e51919081019061399e565b60408051606081018252948552602085019390935291830191909152509392505050565b600080612e80613074565b905060005b836020015151811015612f8c57603a5460208501518051600092600160a060020a031691631f98ade39185908110612eb957fe5b6020026020010151306040518363ffffffff1660e060020a028152600401612ee29291906140ad565b60206040518083038186803b158015612efa57600080fd5b505afa158015612f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612f329190810190613b18565b90506000612f748660000151612f6888604001518681518110612f5157fe5b602002602001015185612fe490919063ffffffff16565b9063ffffffff61278f16565b905083811015612f82578093505b5050600101612e85565b5092915050565b600080612fae612fa16109bc565b849063ffffffff61278f16565b90506000612fca670de0b6b3a76400008563ffffffff611c7016565b9050612fdc828263ffffffff612fe416565b949350505050565b6000808211612ff257600080fd5b6000828481612ffd57fe5b04949350505050565b60008183106130155781610a2d565b5090919050565b6000818310156130155781610a2d565b606080613039848461307a565b90506060613047848661307a565b9050606061305586866131ba565b905061306a8361306583856132e8565b6132e8565b9695505050505050565b60001990565b60606000835190506060816040519080825280602002602001820160405280156130ae578160200160208202803883390190505b5090506000805b838110156131115760008782815181106130cb57fe5b602002602001015190506130df87826133ca565b6131085760018483815181106130f157fe5b911515602092830291909101909101526001909201915b506001016130b5565b5060608160405190808252806020026020018201604052801561313e578160200160208202803883390190505b5090506000805b858110156131ad5784818151811061315957fe5b6020026020010151156131a55788818151811061317257fe5b602002602001015183838151811061318657fe5b600160a060020a03909216602092830291909101909101526001909101905b600101613145565b5090979650505050505050565b60606000835190506060816040519080825280602002602001820160405280156131ee578160200160208202803883390190505b5090506000805b8381101561324c5761321a8688838151811061320d57fe5b60200260200101516133ca565b1561324457600183828151811061322d57fe5b911515602092830291909101909101526001909101905b6001016131f5565b50606081604051908082528060200260200182016040528015613279578160200160208202803883390190505b5090506000805b858110156131ad5784818151811061329457fe5b6020026020010151156132e0578881815181106132ad57fe5b60200260200101518383815181106132c157fe5b600160a060020a03909216602092830291909101909101526001909101905b600101613280565b60606000835190506000835190506060818301604051908082528060200260200182016040528015613324578160200160208202803883390190505b50905060005b838110156133725786818151811061333e57fe5b602002602001015182828151811061335257fe5b600160a060020a039092166020928302919091019091015260010161332a565b5060005b828110156133c05785818151811061338a57fe5b602002602001015182828601815181106133a057fe5b600160a060020a0390921660209283029190910190910152600101613376565b5095945050505050565b600080612544848481516000908190815b818110156134255784600160a060020a03168682815181106133f957fe5b6020026020010151600160a060020a0316141561341d5792506001915061342f9050565b6001016133db565b5060009250829150505b9250929050565b60405180606001604052806060815260200160608152602001606081525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b60405180606001604052806000815260200160608152602001606081525090565b8280548282559060005260206000209081019282156134f5579160200282015b828111156134f55782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906134c0565b50613501929150613505565b5090565b6108f191905b80821115613501578054600160a060020a031916815560010161350b565b6000610a2d82356143f4565b6000610a2d82516143f4565b600082601f83011261355257600080fd5b8151613565613560826143c0565b614399565b9150818183526020840193506020810190508385602084028201111561358a57600080fd5b60005b838110156135b657816135a08882613535565b845250602092830192919091019060010161358d565b5050505092915050565b600082601f8301126135d157600080fd5b81516135df613560826143c0565b9150818183526020840193506020810190508385602084028201111561360457600080fd5b60005b838110156135b6578161361a8882613535565b8452506020928301929190910190600101613607565b600082601f83011261364157600080fd5b815161364f613560826143c0565b9150818183526020840193506020810190508385602084028201111561367457600080fd5b60005b838110156135b6578161368a8882613888565b8452506020928301929190910190600101613677565b600082601f8301126136b157600080fd5b81516136bf613560826143c0565b915081818352602084019350602081019050838560208402820111156136e457600080fd5b60005b838110156135b657816136fa8882613888565b84525060209283019291909101906001016136e7565b6000610a2d82516143ff565b60008083601f84011261372e57600080fd5b50813567ffffffffffffffff81111561374657600080fd5b60208301915083600182028301111561342f57600080fd5b6000610a2d8235614422565b60006080828403121561377c57600080fd5b6137866080614399565b905060006137948484613888565b82525060206137a584848301613888565b60208301525060406137b984828501613888565b60408301525060606137cd84828501613888565b60608301525092915050565b6000606082840312156137eb57600080fd5b6137f56060614399565b825190915067ffffffffffffffff81111561380f57600080fd5b61381b84828501613541565b825250602082015167ffffffffffffffff81111561383857600080fd5b61384484828501613630565b602083015250604082015167ffffffffffffffff81111561386457600080fd5b61387084828501613630565b60408301525092915050565b6000610a2d82356108f1565b6000610a2d82516108f1565b6000602082840312156138a657600080fd5b6000612fdc8484613529565b600080604083850312156138c557600080fd5b60006138d18585613529565b92505060206138e285828601613529565b9150509250929050565b60008060006060848603121561390157600080fd5b600061390d8686613529565b935050602061391e86828701613529565b925050604061392f8682870161387c565b9150509250925092565b6000806040838503121561394c57600080fd5b60006139588585613529565b92505060206138e28582860161387c565b60006020828403121561397b57600080fd5b815167ffffffffffffffff81111561399257600080fd5b612fdc848285016135c0565b6000602082840312156139b057600080fd5b815167ffffffffffffffff8111156139c757600080fd5b612fdc848285016136a0565b6000602082840312156139e557600080fd5b6000612fdc8484613710565b60008060208385031215613a0457600080fd5b823567ffffffffffffffff811115613a1b57600080fd5b613a278582860161371c565b92509250509250929050565b600060208284031215613a4557600080fd5b6000612fdc848461375e565b600080600060408486031215613a6657600080fd5b6000613a72868661375e565b935050602084013567ffffffffffffffff811115613a8f57600080fd5b613a9b8682870161371c565b92509250509250925092565b600060808284031215613ab957600080fd5b6000612fdc848461376a565b600060208284031215613ad757600080fd5b815167ffffffffffffffff811115613aee57600080fd5b612fdc848285016137d9565b600060208284031215613b0c57600080fd5b6000612fdc848461387c565b600060208284031215613b2a57600080fd5b6000612fdc8484613888565b6000613b428383613b65565b505060200190565b6000613b42838361407f565b613b5f8161442d565b82525050565b613b5f816143f4565b6000613b79826143e7565b613b8381856143eb565b9350613b8e836143e1565b60005b82811015613bb957613ba4868351613b36565b9550613baf826143e1565b9150600101613b91565b5093949350505050565b6000613bce826143e7565b613bd881856143eb565b9350613be3836143e1565b60005b82811015613bb957613bf9868351613b4a565b9550613c04826143e1565b9150600101613be6565b613b5f816143ff565b6000613c2383856143eb565b9350613c30838584614443565b613c398361447b565b9093019392505050565b6000613c4e826143e7565b613c5881856143eb565b9350613c6881856020860161444f565b613c398161447b565b613b5f81614422565b613b5f81614438565b6000613c90600b836143eb565b7f4e6f74206d616e61676572000000000000000000000000000000000000000000815260200192915050565b6000613cc96011836143eb565b7f496e76616c696420636f6d706f6e656e74000000000000000000000000000000815260200192915050565b6000613d026019836143eb565b7f4d757374206265206d756c7469706c65206f6620302e30312500000000000000815260200192915050565b6000613d3b600b836143eb565b7f426964206e6f74203e2030000000000000000000000000000000000000000000815260200192915050565b6000613d746014836143eb565b7f496e74657276616c206e6f7420656c6170736564000000000000000000000000815260200192915050565b6000613dad6015836143eb565b7f5472696767657273206e6f742062726561636865640000000000000000000000815260200192915050565b6000613de6600f836143eb565b7f4e6f742077686974656c69737465640000000000000000000000000000000000815260200192915050565b6000613e1f600d836143eb565b7f496e76616c696420737461746500000000000000000000000000000000000000815260200192915050565b6000613e58602e836143eb565b7f436f6e747261637420696e7374616e63652068617320616c726561647920626581527f656e20696e697469616c697a6564000000000000000000000000000000000000602082015260400192915050565b6000613eb76013836143eb565b7f4e6f7420617070726f766564206d6f64756c6500000000000000000000000000815260200192915050565b6000613ef06008836143eb565b7f4e6f7420436f7265000000000000000000000000000000000000000000000000815260200192915050565b6000613f29600b836143eb565b7f496e76616c696420536574000000000000000000000000000000000000000000815260200192915050565b6000613f626014836143eb565b7f496e76616c6964206e61747572616c20756e6974000000000000000000000000815260200192915050565b6000613f9b600f836143eb565b7f4d757374206265203c3d20313030250000000000000000000000000000000000815260200192915050565b6000613fd46018836143eb565b7f4661696c65643a20756e697473686172657320697320302e0000000000000000815260200192915050565b600061400d600e836143eb565b7f496e76616c696420737570706c79000000000000000000000000000000000000815260200192915050565b8051608083019061404a848261407f565b50602082015161405d602085018261407f565b506040820151614070604085018261407f565b506060820151611add60608501825b613b5f816108f1565b613b5f8161441c565b602081016109a18284613b65565b602081016109a18284613b56565b604081016140bb8285613b65565b610a2d6020830184613b65565b608081016140d68287613b65565b6140e36020830186613b65565b6140f0604083018561407f565b612544606083018461407f565b6040810161410b8285613b65565b610a2d602083018461407f565b60208082528101610a2d8184613b6e565b6060808252810161413a8186613b6e565b9050818103602083015261414e8185613bc3565b905081810360408301526125448184613bc3565b60208082528101610a2d8184613bc3565b604080825281016141848185613bc3565b90508181036020830152612fdc8184613bc3565b602081016109a18284613c0e565b60208082528101612fdc818486613c17565b602081016109a18284613c71565b608081016141d48287613c71565b6141e16020830186613c71565b6141ee604083018561407f565b818103606083015261306a8184613c43565b602081016109a18284613c7a565b60208082528101610a2d8184613c43565b602080825281016109a181613c83565b602080825281016109a181613cbc565b602080825281016109a181613cf5565b602080825281016109a181613d2e565b602080825281016109a181613d67565b602080825281016109a181613da0565b602080825281016109a181613dd9565b602080825281016109a181613e12565b602080825281016109a181613e4b565b602080825281016109a181613eaa565b602080825281016109a181613ee3565b602080825281016109a181613f1c565b602080825281016109a181613f55565b602080825281016109a181613f8e565b602080825281016109a181613fc7565b602080825281016109a181614000565b608081016109a18284614039565b602081016109a1828461407f565b6040810161410b828561407f565b60a08101614357828861407f565b614364602083018761407f565b614371604083018661407f565b61437e606083018561407f565b61306a608083018461407f565b602081016109a18284614088565b60405181810167ffffffffffffffff811182821017156143b857600080fd5b604052919050565b600067ffffffffffffffff8211156143d757600080fd5b5060209081020190565b60200190565b5190565b90815260200190565b60006109a182614410565b151590565b60006004821061350157fe5b600160a060020a031690565b60ff1690565b60006109a1826143f4565b60006109a182614422565b60006109a182614404565b82818337506000910152565b60005b8381101561446a578181015183820152602001614452565b83811115611add5750506000910152565b601f01601f19169056fea265627a7a7230582048bd9e2feeffd6c5a46d9d3a62a03a0e33f25bd06e0142b5a0aab3a1c342a5e46c6578706572696d656e74616cf50037
Deployed Bytecode Sourcemap
115225:10474:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;115225:10474:0;;;;;;;;-1:-1:-1;;;115225:10474:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63693:25;;;:::i;:::-;;;;;;;;;;;;;;;;66797:497;;;;;;;;;:::i;:::-;;68321:208;;;:::i;:::-;;;;;;;;11432:83;;;:::i;:::-;;;;;;;;63309:23;;;:::i;5680:148::-;;;;;;;;;:::i;:::-;;;;;;;;62197:37;;;:::i;:::-;;;;;;;;62969:32;;;:::i;3833:91::-;;;:::i;63106:34::-;;;:::i;68682:188::-;;;;;;;;;:::i;6301:228::-;;;;;;;;;:::i;71375:29::-;;;:::i;67727:145::-;;;:::i;63585:27::-;;;:::i;11748:83::-;;;:::i;:::-;;;;;;;;7055:203;;;;;;;;;:::i;62396:29::-;;;:::i;124782:278::-;;;;;;;;;:::i;63771:26::-;;;:::i;72781:139::-;;;:::i;118940:193::-;;;;;;;;;:::i;62497:44::-;;;:::i;62678:27::-;;;:::i;:::-;;;;;;;;62604:22;;;:::i;62110:36::-;;;:::i;72622:151::-;;;:::i;73681:230::-;;;:::i;:::-;;;;;;;;;4143:106;;;;;;;;;:::i;125620:76::-;;;:::i;119693:742::-;;;;;;;;;:::i;72467:147::-;;;:::i;:::-;;;;;;;;64044:29;;;:::i;124082:326::-;;;:::i;11582:87::-;;;:::i;71272:29::-;;;:::i;121783:467::-;;;;;;;;;:::i;:::-;;;;;;;;;;67978:237;;;:::i;64515:33::-;;;:::i;120815:341::-;;;;;;;;;:::i;:::-;;;;;;;;;125315:180;;;;;;;;;:::i;71570:568::-;;;:::i;73361:312::-;;;:::i;7789:213::-;;;;;;;;;:::i;4893:140::-;;;;;;;;;:::i;71482:32::-;;;:::i;64136:37::-;;;:::i;61917:::-;;;:::i;64421:24::-;;;:::i;72308:151::-;;;:::i;92017:47::-;;;:::i;66146:194::-;;;;;;;;;:::i;72928:195::-;;;:::i;:::-;;;;;;;;4588:131;;;;;;;;;:::i;67302:224::-;;;;;;;;;:::i;66348:350::-;;;;;;;;;:::i;73919:138::-;;;:::i;72146:154::-;;;:::i;64778:21::-;;;:::i;61849:17::-;;;:::i;63916:46::-;;;:::i;:::-;;;;;;;;122561:1156;;;:::i;62001:19::-;;;:::i;63693:25::-;;;;:::o;66797:497::-;65058:17;:15;:17::i;:::-;66959:34;66941:14;;;;:52;;;;;;;;;;66919:115;;;;-1:-1:-1;;;;;66919:115:0;;;;;;;;;;;;;;;;;67069:19;;:54;;;;;-1:-1:-1;;;;;67069:19:0;;;;:29;;:54;;67107:14;;67069:54;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;67069:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67069:54:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;67069:54:0;;;;;;;;;67047:119;;;;-1:-1:-1;;;;;67047:119:0;;;;;;;;;67236:10;;67184:64;;;;;;67211:14;;-1:-1:-1;;;;;67236:10:0;;67184:64;;;;;;;;;;67259:10;:27;;-1:-1:-1;;;;;;67259:27:0;-1:-1:-1;;;;;67259:27:0;;;;;;;;;;66797:497::o;68321:208::-;68450:16;;;68464:1;68450:16;;;;;;;;;68391;;;;68450;;;;;;;105:10:-1;68450:16:0;88:34:-1;136:17;;-1:-1;68450:16:0;68425:41;;68488:10;;68477:5;68483:1;68477:8;;;;;;;;;;;;;;;;;:21;68516:5;-1:-1:-1;68321:208:0;;:::o;11432:83::-;11502:5;11495:12;;;;;;;;-1:-1:-1;;11495:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11469:13;;11495:12;;11502:5;;11495:12;;11502:5;11495:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11432:83;:::o;63309:23::-;;;;:::o;5680:148::-;5745:4;5762:36;5771:10;5783:7;5792:5;5762:8;:36::i;:::-;-1:-1:-1;5816:4:0;5680:148;;;;;:::o;62197:37::-;;;-1:-1:-1;;;;;62197:37:0;;:::o;62969:32::-;;;;:::o;3833:91::-;3904:12;;3833:91;:::o;63106:34::-;;;;:::o;68682:188::-;68851:10;;-1:-1:-1;;;;;68851:10:0;;;68826:36;;;;68682:188::o;6301:228::-;6380:4;6397:26;6407:4;6413:2;6417:5;6397:9;:26::i;:::-;-1:-1:-1;;;;;6461:14:0;;;;;;:8;:14;;;;;;;;6449:10;6461:26;;;;;;;;;6434:65;;6443:4;;6461:37;;6492:5;6461:37;:30;:37;:::i;:::-;6434:8;:65::i;:::-;-1:-1:-1;6517:4:0;6301:228;;;;;;:::o;71375:29::-;;;;:::o;67727:145::-;67833:22;;:31;;;;;;;;67801:7;;-1:-1:-1;;;;;67833:22:0;;:29;;:31;;;;;;;;;;;;;;:22;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;67833:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67833:31:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;67833:31:0;;;;;;;;;67826:38;;67727:145;:::o;63585:27::-;;;-1:-1:-1;;;;;63585:27:0;;:::o;11748:83::-;11814:9;;;;11748:83;:::o;7055:203::-;7161:10;7135:4;7182:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7182:29:0;;;;;;;;;;7135:4;;7152:76;;7173:7;;7182:45;;7216:10;7182:45;:33;:45;:::i;62396:29::-;;;-1:-1:-1;;;;;62396:29:0;;:::o;124782:278::-;124891:23;:21;:23::i;:::-;124927:30;124960:35;124985:9;124960:24;:35::i;:::-;124927:68;;125008:44;125020:7;125029:22;125008:11;:44::i;:::-;124782:278;;;:::o;63771:26::-;;;;:::o;72781:139::-;72867:10;;:45;;;;;72840:7;;-1:-1:-1;;;;;72867:10:0;;:30;;:45;;72906:4;;72867:45;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;118940:193:0;12941:12;;;;;;;;:31;;;12957:15;:13;:15::i;:::-;12941:47;;;-1:-1:-1;12977:11:0;;;;;;;12976:12;12941:47;12933:106;;;;-1:-1:-1;;;;;12933:106:0;;;;;;;;;13071:12;;;;;;;13070:13;13090:83;;;;13119:12;:19;;-1:-1:-1;;;;13119:19:0;;;;;13147:18;13119:19;13147:18;;;13090:83;119069:22;;:56;;;;;-1:-1:-1;;;;;119069:22:0;;;;:33;;:56;;119103:21;;;;119069:56;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;119069:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;119069:56:0;;;;13195:14;13191:57;;;13220:12;:20;;-1:-1:-1;;13220:20:0;;;118940:193;;;:::o;62497:44::-;;;-1:-1:-1;;;;;62497:44:0;;:::o;62678:27::-;;;-1:-1:-1;;;;;62678:27:0;;:::o;62604:22::-;;;-1:-1:-1;;;;;62604:22:0;;:::o;62110:36::-;;;-1:-1:-1;;;;;62110:36:0;;:::o;72622:151::-;72711:10;;:47;;;;;72684:7;;-1:-1:-1;;;;;72711:10:0;;:32;;:47;;72752:4;;72711:47;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;72711:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;72711:47:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;72711:47:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;72711:47:0;;;;;;;;;:54;72704:61;;72622:151;:::o;73681:230::-;73760:7;73769;73794:30;73827:22;:20;:22::i;:::-;73794:55;;73868:13;73882:1;73868:16;;;;;;;;;;;;;;73886:13;73900:1;73886:16;;;;;;;;;;;;;;73860:43;;;;;73681:230;;:::o;4143:106::-;-1:-1:-1;;;;;4225:16:0;4198:7;4225:16;;;;;;;;;;;;4143:106::o;125620:76::-;125668:20;:18;:20::i;:::-;125620:76::o;119693:742::-;65058:17;:15;:17::i;:::-;119849:49;119889:8;119849:39;:49::i;:::-;119911:34;119948:47;:45;:47::i;:::-;120008:4;;120035:10;;120008:67;;;;;119911:84;;-1:-1:-1;;;;;;120008:4:0;;;;:18;;:67;;120035:10;;119911:84;;120008:67;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;120008:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;120008:67:0;;;;120088:98;120132:8;120142:26;120170:15;;120088:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;120088:43:0;;-1:-1:-1;;;120088:98:0:i;:::-;120199:48;120238:8;120199:38;:48::i;:::-;120304:10;;120338:7;;120361:14;;120265:162;;;;;;-1:-1:-1;;;;;120304:10:0;;;;120338:7;;;120390:26;;120265:162;;;;;;;;;;65086:1;119693:742;;;:::o;72467:147::-;72559:10;;:47;;;;;72523:16;;-1:-1:-1;;;;;72559:10:0;;:32;;:47;;72600:4;;72559:47;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;72559:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;72559:47:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;72559:47:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;72559:47:0;;;;;;;;64044:29;;;;:::o;124082:326::-;124144:42;:40;:42::i;:::-;124199;124244:41;:39;:41::i;:::-;124199:86;;124298:10;;;;;;;;;-1:-1:-1;;;;;124298:10:0;-1:-1:-1;;;;;124298:29:0;;:31;;;;;-1:-1:-1;;;124298:31:0;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;124298:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;124298:31:0;;;;124342:58;124382:17;124342:39;:58::i;:::-;124082:326;:::o;11582:87::-;11654:7;11647:14;;;;;;;;-1:-1:-1;;11647:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11621:13;;11647:14;;11654:7;;11647:14;;11654:7;11647:14;;;;;;;;;;;;;;;;;;;;;;;;71272:29;;;-1:-1:-1;;;;;71272:29:0;;:::o;121783:467::-;121872:16;121890;121908;121942:42;121974:9;121942:31;:42::i;:::-;122058:36;;:::i;:::-;122097:10;;:30;;;;;-1:-1:-1;;;;;122097:10:0;;;;:19;;:30;;122117:9;;122097:30;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;122097:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;122097:30:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;122097:30:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;122097:30:0;;;;;;;;;122058:69;;122140:43;:41;:43::i;:::-;122203:39;122232:9;122203:28;:39::i;:::-;122196:46;;;;;;;121783:467;;;;;:::o;67978:237::-;68117:16;;;68131:1;68117:16;;;;;;;;;68053;;;;68117;;;;;;;105:10:-1;68117:16:0;88:34:-1;-1:-1;;68168:10:0;;68144:13;;;;-1:-1:-1;;;;;;68168:10:0;;68144:13;;-1:-1:-1;68168:10:0;;68144:13;;;;-1:-1:-1;;;;;68144:35:0;;;:13;;;;;;;;;;;:35;68197:10;-1:-1:-1;67978:237:0;:::o;64515:33::-;;;;:::o;120815:341::-;120919:16;120937;120971:45;121006:9;120971:34;:45::i;:::-;121089:10;;:48;;;;;121036:112;;-1:-1:-1;;;;;121089:10:0;;:22;;:48;;121120:4;;121127:9;;121089:48;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;121089:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;121089:48:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;121089:48:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;121089:48:0;;;;;;;;;121036:38;:112::i;:::-;121029:119;;;;120815:341;;;:::o;125315:180::-;125422:23;:21;:23::i;:::-;125458:29;125470:5;125477:9;125458:11;:29::i;:::-;125315:180;;:::o;71570:568::-;71630:16;71659:55;;:::i;:::-;71717:10;;:72;;;;;-1:-1:-1;;;;;71717:10:0;;;;:33;;:72;;71773:4;;71717:72;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;71717:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;71717:72:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;71717:72:0;;;;;;;;;71840:16;;;71854:1;71840:16;;;;;;;;;71659:130;;-1:-1:-1;71802:35:0;;71840:16;;;;17:15:-1;;105:10;71840:16:0;88:34:-1;136:17;;-1:-1;71840:16:0;71802:54;;71891:6;:23;;;71867:18;71886:1;71867:21;;;;;;;;;;;;;:47;;;;;71949:6;:25;;;71925:18;71944:1;71925:21;;;;;;;;;;;;;:49;;;;;72009:6;:24;;;71985:18;72004:1;71985:21;;;;;;;;;;;;;:48;;;;;72068:6;:24;;;72044:18;72063:1;72044:21;;;;;;;;;;;;;;;;;:48;72112:18;-1:-1:-1;;71570:568:0;:::o;73361:312::-;73476:16;;;73490:1;73476:16;;;73414;73476;;;;;73414;;;73476;73490:1;73476:16;;;;;105:10:-1;73476:16:0;88:34:-1;-1:-1;;73522:10:0;;:36;;;;;73443:49;;-1:-1:-1;;;;;;73522:10:0;;:21;;-1:-1:-1;73522:36:0;;73552:4;;73522:36;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73522:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73522:36:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;73522:36:0;;;;;;;;;73503:13;73517:1;73503:16;;;;;;;;;;;;;;;;;:55;73588:10;;:46;;;;;-1:-1:-1;;;;;73588:10:0;;;;:31;;:46;;73628:4;;73588:46;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73588:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73588:46:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;73588:46:0;;;;;;;;;73569:13;73583:1;73569:16;;;;;;;7789:213;7900:10;7874:4;7921:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7921:29:0;;;;;;;;;;7874:4;;7891:81;;7912:7;;7921:50;;7955:15;7921:50;:33;:50;:::i;4893:140::-;4954:4;4971:32;4981:10;4993:2;4997:5;4971:9;:32::i;71482:::-;;;;:::o;64136:37::-;;;;:::o;61917:::-;;;-1:-1:-1;;;;;61917:37:0;;:::o;64421:24::-;;;-1:-1:-1;;;;;64421:24:0;;:::o;72308:151::-;72402:10;;:49;;;;;72366:16;;-1:-1:-1;;;;;72402:10:0;;:34;;:49;;72445:4;;72402:49;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;72402:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;72402:49:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;72402:49:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;72402:49:0;;;;;;;;92017:47;92056:8;92017:47;:::o;66146:194::-;65058:17;:15;:17::i;:::-;66292:7;;66263:37;;;;;;66279:11;;-1:-1:-1;;;;;66292:7:0;;66263:37;;;;;;;;;;66311:7;:21;;-1:-1:-1;;;;;;66311:21:0;-1:-1:-1;;;;;66311:21:0;;;;;;;;;;66146:194::o;72928:195::-;72994:48;;:::i;:::-;73067:10;;:48;;;;;-1:-1:-1;;;;;73067:10:0;;;;:33;;:48;;73109:4;;73067:48;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73067:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73067:48:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;73067:48:0;;;;;;;;4588:131;-1:-1:-1;;;;;4687:15:0;;;4660:7;4687:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;4588:131::o;67302:224::-;65058:17;:15;:17::i;:::-;67463:12;;;67429:47;;;;;;67445:16;;-1:-1:-1;;;;;67463:12:0;;67429:47;;;;;;;;;;67487:12;:31;;-1:-1:-1;;;;;;67487:31:0;-1:-1:-1;;;;;67487:31:0;;;;;;;;;;67302:224::o;66348:350::-;65058:17;:15;:17::i;:::-;66462:69;66518:12;66462:55;:69::i;:::-;66544:59;66590:12;66544:45;:59::i;:::-;66621:35;66633:12;66647:8;;66621:35;;;;;;;;;;;;;;;;66667:8;:23;66348:350::o;73919:138::-;73988:16;74024:25;74017:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;74017:32:0;;;;;;;;;;;;;;;;;;;;;;73919:138;:::o;72146:154::-;72240:10;;:52;;;;;72204:16;;-1:-1:-1;;;;;72240:10:0;;:37;;:52;;72286:4;;72240:52;;;;64778:21;;;;;;:::o;61849:17::-;;;-1:-1:-1;;;;;61849:17:0;;:::o;63916:46::-;;;;;;:::o;122561:1156::-;122622:53;:51;:53::i;:::-;122760:7;;122688:21;;122712:56;;-1:-1:-1;;;;;122760:7:0;122712:47;:56::i;:::-;122688:80;;122875:18;122895:19;122918:34;:32;:34::i;:::-;122874:78;;;;122965:21;122989:66;123041:13;122989:51;:66::i;:::-;122965:90;;123213:1;123197:13;:17;123175:91;;;;-1:-1:-1;;;;;123175:91:0;;;;;;;;;123279:49;123314:13;123279:34;:49::i;:::-;123341:10;;;;;;;;;-1:-1:-1;;;;;123341:10:0;-1:-1:-1;;;;;123341:26:0;;:28;;;;;-1:-1:-1;;;123341:28:0;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;123341:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;123479:12:0;;;123557:14;;123448:190;;-1:-1:-1;;;;;123479:12:0;;;;-1:-1:-1;123448:190:0;;-1:-1:-1;123448:190:0;;123506:11;;123532:10;;123557:14;123586:13;;123614;;123448:190;;;;;;;;;;123651:56;123693:13;123651:41;:56::i;:::-;122561:1156;;;;:::o;62001:19::-;;;-1:-1:-1;;;;;62001:19:0;;:::o;68927:142::-;69015:7;;-1:-1:-1;;;;;69015:7:0;69001:10;:21;68979:82;;;;-1:-1:-1;;;;;68979:82:0;;;;;;;;9888:254;-1:-1:-1;;;;;9981:21:0;;9973:30;;;;;;-1:-1:-1;;;;;10022:19:0;;10014:28;;;;;;-1:-1:-1;;;;;10055:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;;:32;;;10103:31;;;;;10082:5;;10103:31;;;;;;;;;;9888:254;;;:::o;8229:262::-;-1:-1:-1;;;;;8317:16:0;;8309:25;;;;;;-1:-1:-1;;;;;8365:15:0;;:9;:15;;;;;;;;;;;:26;;8385:5;8365:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;8347:15:0;;;:9;:15;;;;;;;;;;;:44;;;;8418:13;;;;;;;:24;;8436:5;8418:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;8402:13:0;;;:9;:13;;;;;;;;;;;;:40;;;;8458:25;;;;;;;;;;8477:5;;8458:25;;2199:150;2257:7;2290:1;2285;:6;;2277:15;;;;;;-1:-1:-1;2315:5:0;;;2199:150::o;2437:::-;2495:7;2527:5;;;2551:6;;;;2543:15;;;;;104130:173;104202:22;:20;:22::i;:::-;104237:58;104262:32;104237:24;:58::i;105368:528::-;105463:7;105620:11;105634:33;:23;105648:8;;105634:9;:13;;:23;;;;:::i;:::-;:31;:33::i;:::-;105620:47;-1:-1:-1;105684:7:0;;105680:123;;105720:12;;105708:30;;-1:-1:-1;;;;;105720:12:0;105734:3;105708:11;:30::i;:::-;105773:12;;;105760:31;;-1:-1:-1;;;;;105773:12:0;;;;105760:31;;;;105787:3;;105760:31;;;;;;;;;;105680:123;105870:18;:9;105884:3;105870:18;:13;:18;:::i;8843:269::-;-1:-1:-1;;;;;8918:21:0;;8910:30;;;;;;8968:12;;:23;;8985:5;8968:23;:16;:23;:::i;:::-;8953:12;:38;-1:-1:-1;;;;;9023:18:0;;:9;:18;;;;;;;;;;;:29;;9046:5;9023:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;9002:18:0;;:9;:18;;;;;;;;;;;:50;;;;9068:36;;9002:18;;:9;9068:36;;;;9098:5;;9068:36;;;;;;;;;;8843:269;;:::o;13342:476::-;13782:7;13770:20;13805:7;13342:476;:::o;109452:1443::-;109568:58;109593:32;109568:24;:58::i;:::-;109792:17;;109765:22;;:45;;;:26;:45;:::i;:::-;109746:15;:64;;109724:134;;;;-1:-1:-1;;;;;109724:134:0;;;;;;;;;109958:1;109942:13;:11;:13::i;:::-;:17;109920:81;;;;-1:-1:-1;;;;;109920:81:0;;;;;;;;;110101:4;;:33;;;;;-1:-1:-1;;;;;110101:4:0;;;;:14;;:33;;110124:8;;110101:33;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;110101:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;110101:33:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;110101:33:0;;;;;;;;;110079:94;;;;-1:-1:-1;;;;;110079:94:0;;;;;;;;;110445:18;;;;;;;;;-1:-1:-1;;;;;110445:18:0;-1:-1:-1;;;;;110445:36:0;;110482:8;-1:-1:-1;;;;;110482:22:0;;:24;;;;;-1:-1:-1;;;110482:24:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;110482:24:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;110482:24:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;110482:24:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;110482:24:0;;;;;;;;;110445:62;;;;;-1:-1:-1;;;110445:62:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;110445:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;110445:62:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;110445:62:0;;;;;;;;;110423:129;;;;-1:-1:-1;;;;;110423:129:0;;;;;;;;;110818:10;;110797:42;;-1:-1:-1;;;;;110818:10:0;110830:8;110797:20;:42::i;:::-;110775:112;;;;-1:-1:-1;;;;;110775:112:0;;;;;;;;111161:451;111304:5;;111334:10;;111304:57;;;;;111251:7;;;;-1:-1:-1;;;;;111304:5:0;;;;:21;;:57;;111334:10;;111355:4;;111304:57;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111304:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;111304:57:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;111304:57:0;;;;;;;;;111276:85;;111372:29;111404:10;;;;;;;;;-1:-1:-1;;;;;111404:10:0;-1:-1:-1;;;;;111404:22:0;;:24;;;;;-1:-1:-1;;;111404:24:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111404:24:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;111404:24:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;111404:24:0;;;;;;;;;111372:56;-1:-1:-1;111537:67:0;111559:44;:17;111372:56;111559:44;:21;:44;:::i;:::-;111537:17;;:67;:21;:67;:::i;:::-;111530:74;;;;111161:451;:::o;111982:355::-;112173:10;;112213;;112173:156;;;;;-1:-1:-1;;;;;112173:10:0;;;;:25;;:156;;112213:10;;;112238:8;;112261:27;;112303:15;;112173:156;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112173:156:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;112173:156:0;;;;111982:355;;;:::o;112492:206::-;112563:7;:18;;-1:-1:-1;;;;;;112563:18:0;-1:-1:-1;;;;;112563:18:0;;;;;112592:14;:51;;112609:34;;112592:14;-1:-1:-1;;112592:51:0;-1:-1:-1;112609:34:0;112592:51;;;;-1:-1:-1;;112675:15:0;112654:18;:36;112492:206::o;99452:363::-;99578:60;99603:34;99578:24;:60::i;:::-;99714:20;:18;:20::i;:::-;:44;;;;99738:20;:18;:20::i;:::-;99692:115;;;;-1:-1:-1;;;;;99692:115:0;;;;;;;;100020:219;100151:9;;100102:24;;100151:9;;:80;;100199:32;100151:80;;;-1:-1:-1;100163:33:0;;100020:219::o;100394:464::-;100519:47;100547:18;100519:27;:47::i;:::-;100579:51;100611:18;100579:31;:51::i;:::-;100643:14;:35;;100660:18;;100643:14;-1:-1:-1;;100643:35:0;;100660:18;100643:35;;;;;;;;;;;;-1:-1:-1;100706:14:0;;:21;;100725:1;100706:21;:18;:21;:::i;:::-;100689:14;:38;-1:-1:-1;100763:15:0;100738:22;:40;100791:7;:31;;-1:-1:-1;;;;;;100791:31:0;;;100833:9;:17;;-1:-1:-1;;100833:17:0;;;100394:464::o;107630:184::-;107739:24;:22;:24::i;:::-;107776:30;107796:9;107776:19;:30::i;107910:138::-;107987:9;;;;107982:59;;108013:9;:16;;-1:-1:-1;;108013:16:0;108025:4;108013:16;;;107910:138::o;43231:253::-;43416:20;;43438:17;;;;43457:18;;;;;43416:20;;43231:253::o;107150:267::-;107262:60;107287:34;107262:24;:60::i;:::-;107369:1;107357:9;:13;107335:74;;;;-1:-1:-1;;;;;107335:74:0;;;;;;;;43492:223;43669:17;;;;43688:18;;;;43492:223;;;:::o;104515:541::-;104587:63;104615:34;104587:27;:63::i;:::-;104685:33;104667:14;;;;:51;;;;;;;;;104663:386;;;104821:24;:22;:24::i;:::-;104663:386;;;105015:22;:20;:22::i;9346:269::-;-1:-1:-1;;;;;9421:21:0;;9413:30;;;;;;9471:12;;:23;;9488:5;9471:23;:16;:23;:::i;:::-;9456:12;:38;-1:-1:-1;;;;;9526:18:0;;:9;:18;;;;;;;;;;;:29;;9549:5;9526:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;9505:18:0;;:9;:18;;;;;;;;;;;:50;;;;9571:36;;;;;;9601:5;;9571:36;;60371:154;60304:4;60468:6;:29;;60460:57;;;;-1:-1:-1;;;;;60460:57:0;;;;;;;;60533:194;60634:27;:6;60358:4;60634:27;:10;:27;:::i;:::-;:32;60612:107;;;;-1:-1:-1;;;;;60612:107:0;;;;;;;;92206:157;92295:60;92320:34;92295:24;:60::i;93393:799::-;93515:7;93599:42;;:::i;:::-;93644:49;93682:9;93644:29;:49::i;:::-;93599:94;;93704:22;93729:33;93753:8;93729:23;:33::i;:::-;93704:58;;94071:19;94093:60;94112:40;94131:8;:20;;;94112:14;:18;;:40;;;;:::i;94093:60::-;94071:82;93393:799;-1:-1:-1;;;;;93393:799:0:o;94559:457::-;94617:7;94626;94738:18;94759:22;;;;;;;;;-1:-1:-1;;;;;94759:22:0;-1:-1:-1;;;;;94759:29:0;;:31;;;;;-1:-1:-1;;;94759:31:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94759:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94759:31:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;94759:31:0;;;;;;;;;94738:52;;94801:19;94823:42;94854:10;94823:30;:42::i;:::-;94801:64;-1:-1:-1;94882:15:0;;94878:86;;94926:12;;94914:38;;-1:-1:-1;;;;;94926:12:0;94940:11;94914;:38::i;:::-;94984:10;;-1:-1:-1;94996:11:0;-1:-1:-1;94559:457:0;;:::o;96318:465::-;96447:7;96563:31;96597:30;96615:11;;96597:13;:11;:13::i;:::-;:17;:30;:17;:30;:::i;:::-;96563:64;-1:-1:-1;96732:43:0;:14;96563:64;96732:43;:18;:43;:::i;92541:192::-;92637:4;;92677:7;;92637:88;;;;;-1:-1:-1;;;;;92637:4:0;;;;:17;;:88;;92677:7;;;92700:14;;92637:88;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;92637:88:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;92637:88:0;;;;92541:192;:::o;92867:401::-;92970:14;:49;;-1:-1:-1;;92970:49:0;;;93055:15;93030:22;:40;93094:7;;93081:10;:20;;-1:-1:-1;;;;;;93081:20:0;-1:-1:-1;;;;;93094:7:0;;;93081:20;;;;;;93112:10;:27;;;93167:14;;:21;;-1:-1:-1;93167:18:0;:21::i;:::-;93150:14;:38;-1:-1:-1;93201:7:0;:31;;-1:-1:-1;;;;;;93201:31:0;;;93243:9;:17;;-1:-1:-1;;93243:17:0;;;92867:401::o;69077:150::-;69178:4;;-1:-1:-1;;;;;69178:4:0;69156:10;:27;69134:85;;;;-1:-1:-1;;;;;69134:85:0;;;;;;;;69408:203;69548:14;69530:32;;;;;;;;:14;;;;:32;;;;;;;;;69508:95;;;;-1:-1:-1;;;;;69508:95:0;;;;;;;;1190:433;1248:7;1492:6;1488:47;;-1:-1:-1;1522:1:0;1515:8;;1488:47;1559:5;;;1563:1;1559;:5;:1;1583:5;;;;;:10;1575:19;;;;;83982:153;84076:7;84108:19;:1;82977:8;84108:19;:5;:19;:::i;113124:444::-;113271:4;113293:26;113322:11;-1:-1:-1;;;;;113322:23:0;;:25;;;;;-1:-1:-1;;;113322:25:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;113322:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;113322:25:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;113322:25:0;;;;;;;;;113293:54;;113358:26;113387:8;-1:-1:-1;;;;;113387:20:0;;:22;;;;;-1:-1:-1;;;113387:22:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;113387:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;113387:22:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;113387:22:0;;;;;;;;;113358:51;;113429:126;113496:48;113505:18;113525;113496:8;:48::i;:::-;113429;113438:18;113458;113429:8;:48::i;:::-;:52;:126;:52;:126;:::i;:::-;:131;;113124:444;-1:-1:-1;;;;;113124:444:0:o;2748:124::-;2806:7;2834:6;2826:15;;;;;;2863:1;2859;:5;;;;;;;2748:124;-1:-1:-1;;;2748:124:0:o;101083:160::-;101191:10;;:44;;;;;101162:4;;-1:-1:-1;;;;;101191:10:0;;:29;;:44;;101229:4;;101191:44;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;101191:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;101191:44:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;101191:44:0;;;;;;;;101496:235;101574:4;101596:25;101624:43;101647:19;;101624:18;;:22;;:43;;;;:::i;:::-;101687:15;:36;;;-1:-1:-1;;101496:235:0;:::o;101820:461::-;101978:32;101955:18;:55;;;;;;;;;101951:323;;;102077:10;;102027:21;;102051:37;;-1:-1:-1;;;;;102077:10:0;102051:25;:37::i;:::-;102160:4;;102204:10;;102160:102;;;;;102027:61;;-1:-1:-1;;;;;;102160:4:0;;;;:17;;:102;;102204:10;;102027:61;;102160:102;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;102160:102:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;102160:102:0;;;;101951:323;101820:461;:::o;102449:462::-;102611:33;102588:18;:56;;;;;;;;;102584:320;;;102701:10;;:26;;;;;;;;102661:37;;-1:-1:-1;;;;;102701:10:0;;:24;;:26;;;;;:10;;:26;;;;;;;:10;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;102701:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;102701:26:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;102701:26:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;102701:26:0;;;;;;;;;102661:66;;102742:34;102779:7;;;;;;;;;-1:-1:-1;;;;;102779:7:0;-1:-1:-1;;;;;102779:21:0;;:23;;;;;-1:-1:-1;;;102779:23:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;102779:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;102779:23:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;102779:23:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;102779:23:0;;;;;;;;;102742:60;-1:-1:-1;102847:45:0;:20;102742:60;102847:45;:26;:45;:::i;:::-;102819:73;;;;:25;;:73;;;;;;:::i;69235:165::-;69316:4;;:29;;;;;-1:-1:-1;;;;;69316:4:0;;;;:17;;:29;;69334:10;;69316:29;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;69316:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;69316:29:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;69316:29:0;;;;;;;;;69294:98;;;;-1:-1:-1;;;;;69294:98:0;;;;;;;;69619:206;69762:14;69744:32;;;;;;;;:14;;;;:32;;;;;;;;;;69722:95;;;;-1:-1:-1;;;;;69722:95:0;;;;;;;;90506:584;90609:17;;:::i;:::-;90684:18;90715:4;90684:36;;90772:19;90794:8;-1:-1:-1;;;;;90794:20:0;;:22;;;;;-1:-1:-1;;;90794:22:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90794:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;90794:22:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;90794:22:0;;;;;;;;;90772:44;;90827:27;90857:8;-1:-1:-1;;;;;90857:22:0;;:24;;;;;-1:-1:-1;;;90857:24:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90857:24:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;90857:24:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;90857:24:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;90857:24:0;;;;;;;;;90827:54;;90892:22;90917:8;-1:-1:-1;;;;;90917:17:0;;:19;;;;;-1:-1:-1;;;90917:19:0;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90917:19:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;90917:19:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;90917:19:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;90917:19:0;;;;;;;;;90956:126;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90956:126:0;90506:584;-1:-1:-1;;;90506:584:0:o;97058:1103::-;97201:7;97226:22;97251:23;:21;:23::i;:::-;97226:48;-1:-1:-1;97292:9:0;97287:833;97311:9;:20;;;:27;97307:1;:31;97287:833;;;97465:5;;97505:20;;;;:23;;97439;;-1:-1:-1;;;;;97465:5:0;;:21;;97526:1;;97505:23;;;;;;;;;;;;97555:4;97465:110;;;;;-1:-1:-1;;;97465:110:0;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;97465:110:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97465:110:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;97465:110:0;;;;;;;;;97439:136;;97882:28;97913:66;97957:9;:21;;;97913:39;97933:9;:15;;;97949:1;97933:18;;;;;;;;;;;;;;97913:15;:19;;:39;;;;:::i;:::-;:43;:66;:43;:66;:::i;:::-;97882:97;;98021:14;97998:20;:37;97994:115;;;98073:20;98056:37;;97994:115;-1:-1:-1;;97340:3:0;;97287:833;;;-1:-1:-1;98139:14:0;97058:1103;-1:-1:-1;;97058:1103:0:o;95667:378::-;95802:7;95857:9;95869:39;95894:13;:11;:13::i;:::-;95869:20;;:39;:24;:39;:::i;:::-;95857:51;-1:-1:-1;95959:9:0;95971:38;92056:8;95988:20;95971:38;:16;:38;:::i;:::-;95959:50;-1:-1:-1;96029:8:0;:1;95959:50;96029:8;:5;:8;:::i;:::-;96022:15;95667:378;-1:-1:-1;;;;95667:378:0:o;1758:303::-;1816:7;1915:1;1911;:5;1903:14;;;;;;1928:9;1944:1;1940;:5;;;;;;;1758:303;-1:-1:-1;;;;1758:303:0:o;74479:106::-;74537:7;74568:1;74564;:5;:13;;74576:1;74564:13;;;-1:-1:-1;74572:1:0;;74557:20;-1:-1:-1;74479:106:0:o;74296:107::-;74354:7;74386:1;74381;:6;;:14;;74394:1;74381:14;;78627:364;78705:16;78734:31;78768:16;78779:1;78782;78768:10;:16::i;:::-;78734:50;;78795:32;78830:16;78841:1;78844;78830:10;:16::i;:::-;78795:51;;78857:29;78889:15;78899:1;78902;78889:9;:15::i;:::-;78857:47;;78922:61;78929:14;78945:37;78952:12;78966:15;78945:6;:37::i;:::-;78922:6;:61::i;:::-;78915:68;78627:364;-1:-1:-1;;;;;;78627:364:0:o;83420:124::-;-1:-1:-1;;83420:124:0;:::o;79213:802::-;79296:16;79325:14;79342:1;:8;79325:25;;79361:24;79399:6;79388:18;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;79388:18:0;-1:-1:-1;79361:45:0;-1:-1:-1;79417:13:0;;79524:196;79548:6;79544:1;:10;79524:196;;;79576:9;79588:1;79590;79588:4;;;;;;;;;;;;;;79576:16;;79612:14;79621:1;79624;79612:8;:14::i;:::-;79607:102;;79663:4;79647:10;79658:1;79647:13;;;;;;;;:20;;;:13;;;;;;;;;;;:20;79686:7;;;;;79607:102;-1:-1:-1;79556:3:0;;79524:196;;;;79730:29;79776:5;79762:20;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;79762:20:0;-1:-1:-1;79730:52:0;-1:-1:-1;79793:9:0;;79817:161;79841:6;79837:1;:10;79817:161;;;79873:10;79884:1;79873:13;;;;;;;;;;;;;;79869:98;;;79925:1;79927;79925:4;;;;;;;;;;;;;;79907:12;79920:1;79907:15;;;;;;;;-1:-1:-1;;;;;79907:22:0;;;:15;;;;;;;;;;;:22;79948:3;;;;;79869:98;79849:3;;79817:161;;;-1:-1:-1;79995:12:0;;79213:802;-1:-1:-1;;;;;;;79213:802:0:o;77715:705::-;77797:16;77826:14;77843:1;:8;77826:25;;77862:24;77900:6;77889:18;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;77889:18:0;-1:-1:-1;77862:45:0;-1:-1:-1;77918:17:0;;77950:171;77974:6;77970:1;:10;77950:171;;;78006:17;78015:1;78018;78020;78018:4;;;;;;;;;;;;;;78006:8;:17::i;:::-;78002:108;;;78060:4;78044:10;78055:1;78044:13;;;;;;;;:20;;;:13;;;;;;;;;;;:20;78083:11;;;;;78002:108;77982:3;;77950:171;;;;78131:29;78177:9;78163:24;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;78163:24:0;-1:-1:-1;78131:56:0;-1:-1:-1;78198:9:0;;78222:161;78246:6;78242:1;:10;78222:161;;;78278:10;78289:1;78278:13;;;;;;;;;;;;;;78274:98;;;78330:1;78332;78330:4;;;;;;;;;;;;;;78312:12;78325:1;78312:15;;;;;;;;-1:-1:-1;;;;;78312:22:0;;;:15;;;;;;;;;;;:22;78353:3;;;;;78274:98;78254:3;;78222:161;;76461:488;76540:16;76569:15;76587:1;:8;76569:26;;76606:15;76624:1;:8;76606:26;;76643:29;76699:7;76689;:17;76675:32;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;76675:32:0;-1:-1:-1;76643:64:0;-1:-1:-1;76723:9:0;76718:87;76742:7;76738:1;:11;76718:87;;;76789:1;76791;76789:4;;;;;;;;;;;;;;76771:12;76784:1;76771:15;;;;;;;;-1:-1:-1;;;;;76771:22:0;;;:15;;;;;;;;;;;:22;76751:3;;76718:87;;;-1:-1:-1;76820:9:0;76815:97;76839:7;76835:1;:11;76815:97;;;76896:1;76898;76896:4;;;;;;;;;;;;;;76868:12;76891:1;76881:7;:11;76868:25;;;;;;;;-1:-1:-1;;;;;76868:32:0;;;:25;;;;;;;;;;;:32;76848:3;;76815:97;;;-1:-1:-1;76929:12:0;76461:488;-1:-1:-1;;;;;76461:488:0:o;76115:163::-;76187:4;76204:9;76235:13;76243:1;76246;75674:8;;75631:7;;;;;75693:129;75717:6;75713:1;:10;75693:129;;;75757:1;-1:-1:-1;;;;;75749:9:0;:1;75751;75749:4;;;;;;;;;;;;;;-1:-1:-1;;;;;75749:9:0;;75745:66;;;75787:1;-1:-1:-1;75790:4:0;;-1:-1:-1;75779:16:0;;-1:-1:-1;75779:16:0;75745:66;75725:3;;75693:129;;;-1:-1:-1;75840:1:0;;-1:-1:-1;75840:1:0;;-1:-1:-1;;75560:297:0;;;;;;:::o;115225:10474::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;115225:10474:0;-1:-1:-1;;;;;115225:10474:0;;;;;;;;;;;-1:-1:-1;115225:10474:0;;;;;;;-1:-1:-1;115225:10474:0;;;-1:-1:-1;115225:10474:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;;115225:10474:0;;;;;;;5:118:-1;;72:46;110:6;97:20;72:46;;130:122;;208:39;239:6;233:13;208:39;;277:714;;401:3;394:4;386:6;382:17;378:27;368:2;;419:1;416;409:12;368:2;449:6;443:13;471:76;486:60;539:6;486:60;;;471:76;;;462:85;;564:5;589:6;582:5;575:21;619:4;611:6;607:17;597:27;;641:4;636:3;632:14;625:21;;694:6;741:3;733:4;725:6;721:17;716:3;712:27;709:36;706:2;;;758:1;755;748:12;706:2;783:1;768:217;793:6;790:1;787:13;768:217;;;851:3;873:48;917:3;905:10;873:48;;;861:61;;-1:-1;945:4;936:14;;;;964;;;;;815:1;808:9;768:217;;;772:14;361:630;;;;;;;;1017:722;;1145:3;1138:4;1130:6;1126:17;1122:27;1112:2;;1163:1;1160;1153:12;1112:2;1193:6;1187:13;1215:80;1230:64;1287:6;1230:64;;1215:80;1206:89;;1312:5;1337:6;1330:5;1323:21;1367:4;1359:6;1355:17;1345:27;;1389:4;1384:3;1380:14;1373:21;;1442:6;1489:3;1481:4;1473:6;1469:17;1464:3;1460:27;1457:36;1454:2;;;1506:1;1503;1496:12;1454:2;1531:1;1516:217;1541:6;1538:1;1535:13;1516:217;;;1599:3;1621:48;1665:3;1653:10;1621:48;;;1609:61;;-1:-1;1693:4;1684:14;;;;1712;;;;;1563:1;1556:9;1516:217;;1765:714;;1889:3;1882:4;1874:6;1870:17;1866:27;1856:2;;1907:1;1904;1897:12;1856:2;1937:6;1931:13;1959:76;1974:60;2027:6;1974:60;;1959:76;1950:85;;2052:5;2077:6;2070:5;2063:21;2107:4;2099:6;2095:17;2085:27;;2129:4;2124:3;2120:14;2113:21;;2182:6;2229:3;2221:4;2213:6;2209:17;2204:3;2200:27;2197:36;2194:2;;;2246:1;2243;2236:12;2194:2;2271:1;2256:217;2281:6;2278:1;2275:13;2256:217;;;2339:3;2361:48;2405:3;2393:10;2361:48;;;2349:61;;-1:-1;2433:4;2424:14;;;;2452;;;;;2303:1;2296:9;2256:217;;2505:722;;2633:3;2626:4;2618:6;2614:17;2610:27;2600:2;;2651:1;2648;2641:12;2600:2;2681:6;2675:13;2703:80;2718:64;2775:6;2718:64;;2703:80;2694:89;;2800:5;2825:6;2818:5;2811:21;2855:4;2847:6;2843:17;2833:27;;2877:4;2872:3;2868:14;2861:21;;2930:6;2977:3;2969:4;2961:6;2957:17;2952:3;2948:27;2945:36;2942:2;;;2994:1;2991;2984:12;2942:2;3019:1;3004:217;3029:6;3026:1;3023:13;3004:217;;;3087:3;3109:48;3153:3;3141:10;3109:48;;;3097:61;;-1:-1;3181:4;3172:14;;;;3200;;;;;3051:1;3044:9;3004:217;;3235:116;;3310:36;3338:6;3332:13;3310:36;;3372:335;;;3486:3;3479:4;3471:6;3467:17;3463:27;3453:2;;3504:1;3501;3494:12;3453:2;-1:-1;3524:20;;3564:18;3553:30;;3550:2;;;3596:1;3593;3586:12;3550:2;3630:4;3622:6;3618:17;3606:29;;3680:3;3673;3665:6;3661:16;3651:8;3647:31;3644:40;3641:2;;;3697:1;3694;3687:12;3715:158;;3802:66;3860:6;3847:20;3802:66;;4096:875;;4235:4;4223:9;4218:3;4214:19;4210:30;4207:2;;;4253:1;4250;4243:12;4207:2;4271:20;4286:4;4271:20;;;4262:29;-1:-1;4353:1;4384:60;4440:3;4420:9;4384:60;;;4360:85;;-1:-1;4520:2;4553:60;4609:3;4585:22;;;4553:60;;;4546:4;4539:5;4535:16;4528:86;4466:159;4688:2;4721:60;4777:3;4768:6;4757:9;4753:22;4721:60;;;4714:4;4707:5;4703:16;4696:86;4635:158;4856:2;4889:60;4945:3;4936:6;4925:9;4921:22;4889:60;;;4882:4;4875:5;4871:16;4864:86;4803:158;4201:770;;;;;5011:966;;5138:4;5126:9;5121:3;5117:19;5113:30;5110:2;;;5156:1;5153;5146:12;5110:2;5174:20;5189:4;5174:20;;;5249:24;;5165:29;;-1:-1;5293:18;5282:30;;5279:2;;;5325:1;5322;5315:12;5279:2;5359:81;5436:3;5427:6;5416:9;5412:22;5359:81;;;5335:106;;-1:-1;5525:2;5510:18;;5504:25;5549:18;5538:30;;5535:2;;;5581:1;5578;5571:12;5535:2;5616:81;5693:3;5684:6;5673:9;5669:22;5616:81;;;5609:4;5602:5;5598:16;5591:107;5462:247;5783:2;5772:9;5768:18;5762:25;5807:18;5799:6;5796:30;5793:2;;;5839:1;5836;5829:12;5793:2;5874:81;5951:3;5942:6;5931:9;5927:22;5874:81;;;5867:4;5860:5;5856:16;5849:107;5719:248;5104:873;;;;;5984:118;;6051:46;6089:6;6076:20;6051:46;;6109:122;;6187:39;6218:6;6212:13;6187:39;;6238:241;;6342:2;6330:9;6321:7;6317:23;6313:32;6310:2;;;6358:1;6355;6348:12;6310:2;6393:1;6410:53;6455:7;6435:9;6410:53;;6486:366;;;6607:2;6595:9;6586:7;6582:23;6578:32;6575:2;;;6623:1;6620;6613:12;6575:2;6658:1;6675:53;6720:7;6700:9;6675:53;;;6665:63;;6637:97;6765:2;6783:53;6828:7;6819:6;6808:9;6804:22;6783:53;;;6773:63;;6744:98;6569:283;;;;;;6859:491;;;;6997:2;6985:9;6976:7;6972:23;6968:32;6965:2;;;7013:1;7010;7003:12;6965:2;7048:1;7065:53;7110:7;7090:9;7065:53;;;7055:63;;7027:97;7155:2;7173:53;7218:7;7209:6;7198:9;7194:22;7173:53;;;7163:63;;7134:98;7263:2;7281:53;7326:7;7317:6;7306:9;7302:22;7281:53;;;7271:63;;7242:98;6959:391;;;;;;7357:366;;;7478:2;7466:9;7457:7;7453:23;7449:32;7446:2;;;7494:1;7491;7484:12;7446:2;7529:1;7546:53;7591:7;7571:9;7546:53;;;7536:63;;7508:97;7636:2;7654:53;7699:7;7690:6;7679:9;7675:22;7654:53;;7730:392;;7870:2;7858:9;7849:7;7845:23;7841:32;7838:2;;;7886:1;7883;7876:12;7838:2;7921:24;;7965:18;7954:30;;7951:2;;;7997:1;7994;7987:12;7951:2;8017:89;8098:7;8089:6;8078:9;8074:22;8017:89;;8129:392;;8269:2;8257:9;8248:7;8244:23;8240:32;8237:2;;;8285:1;8282;8275:12;8237:2;8320:24;;8364:18;8353:30;;8350:2;;;8396:1;8393;8386:12;8350:2;8416:89;8497:7;8488:6;8477:9;8473:22;8416:89;;8528:257;;8640:2;8628:9;8619:7;8615:23;8611:32;8608:2;;;8656:1;8653;8646:12;8608:2;8691:1;8708:61;8761:7;8741:9;8708:61;;8792:365;;;8915:2;8903:9;8894:7;8890:23;8886:32;8883:2;;;8931:1;8928;8921:12;8883:2;8966:31;;9017:18;9006:30;;9003:2;;;9049:1;9046;9039:12;9003:2;9077:64;9133:7;9124:6;9113:9;9109:22;9077:64;;;9067:74;;;;8945:202;8877:280;;;;;;9164:281;;9288:2;9276:9;9267:7;9263:23;9259:32;9256:2;;;9304:1;9301;9294:12;9256:2;9339:1;9356:73;9421:7;9401:9;9356:73;;9452:526;;;;9610:2;9598:9;9589:7;9585:23;9581:32;9578:2;;;9626:1;9623;9616:12;9578:2;9661:1;9678:71;9741:7;9721:9;9678:71;;;9668:81;;9640:115;9814:2;9803:9;9799:18;9786:32;9838:18;9830:6;9827:30;9824:2;;;9870:1;9867;9860:12;9824:2;9898:64;9954:7;9945:6;9934:9;9930:22;9898:64;;;9888:74;;;;9765:203;9572:406;;;;;;9985:342;;10139:3;10127:9;10118:7;10114:23;10110:33;10107:2;;;10156:1;10153;10146:12;10107:2;10191:1;10208:103;10303:7;10283:9;10208:103;;10334:396;;10476:2;10464:9;10455:7;10451:23;10447:32;10444:2;;;10492:1;10489;10482:12;10444:2;10527:24;;10571:18;10560:30;;10557:2;;;10603:1;10600;10593:12;10557:2;10623:91;10706:7;10697:6;10686:9;10682:22;10623:91;;10737:241;;10841:2;10829:9;10820:7;10816:23;10812:32;10809:2;;;10857:1;10854;10847:12;10809:2;10892:1;10909:53;10954:7;10934:9;10909:53;;10985:263;;11100:2;11088:9;11079:7;11075:23;11071:32;11068:2;;;11116:1;11113;11106:12;11068:2;11151:1;11168:64;11224:7;11204:9;11168:64;;11256:173;;11343:46;11385:3;11377:6;11343:46;;;-1:-1;;11418:4;11409:14;;11336:93;11438:173;;11525:46;11567:3;11559:6;11525:46;;11619:142;11710:45;11749:5;11710:45;;;11705:3;11698:58;11692:69;;;11768:110;11841:31;11866:5;11841:31;;12043:621;;12188:54;12236:5;12188:54;;;12255:86;12334:6;12329:3;12255:86;;;12248:93;;12361:56;12411:5;12361:56;;;12438:1;12423:219;12448:6;12445:1;12442:13;12423:219;;;12495:63;12554:3;12545:6;12539:13;12495:63;;;12488:70;;12575:60;12628:6;12575:60;;;12565:70;-1:-1;12470:1;12463:9;12423:219;;;-1:-1;12655:3;;12167:497;-1:-1;;;;12167:497;12703:621;;12848:54;12896:5;12848:54;;;12915:86;12994:6;12989:3;12915:86;;;12908:93;;13021:56;13071:5;13021:56;;;13098:1;13083:219;13108:6;13105:1;13102:13;13083:219;;;13155:63;13214:3;13205:6;13199:13;13155:63;;;13148:70;;13235:60;13288:6;13235:60;;;13225:70;-1:-1;13130:1;13123:9;13083:219;;13332:111;13409:28;13431:5;13409:28;;13471:287;;13584:70;13647:6;13642:3;13584:70;;;13577:77;;13659:43;13695:6;13690:3;13683:5;13659:43;;;13723:29;13745:6;13723:29;;;13714:39;;;;13571:187;-1:-1;;;13571:187;13765:343;;13875:38;13907:5;13875:38;;;13925:70;13988:6;13983:3;13925:70;;;13918:77;;14000:52;14045:6;14040:3;14033:4;14026:5;14022:16;14000:52;;;14073:29;14095:6;14073:29;;14115:154;14212:51;14257:5;14212:51;;15326:140;15416:44;15454:5;15416:44;;15828:364;;15988:67;16052:2;16047:3;15988:67;;;16088:66;16068:87;;16183:2;16174:12;;15974:218;-1:-1;;15974:218;16201:364;;16361:67;16425:2;16420:3;16361:67;;;16461:66;16441:87;;16556:2;16547:12;;16347:218;-1:-1;;16347:218;16574:364;;16734:67;16798:2;16793:3;16734:67;;;16834:66;16814:87;;16929:2;16920:12;;16720:218;-1:-1;;16720:218;16947:364;;17107:67;17171:2;17166:3;17107:67;;;17207:66;17187:87;;17302:2;17293:12;;17093:218;-1:-1;;17093:218;17320:364;;17480:67;17544:2;17539:3;17480:67;;;17580:66;17560:87;;17675:2;17666:12;;17466:218;-1:-1;;17466:218;17693:364;;17853:67;17917:2;17912:3;17853:67;;;17953:66;17933:87;;18048:2;18039:12;;17839:218;-1:-1;;17839:218;18066:364;;18226:67;18290:2;18285:3;18226:67;;;18326:66;18306:87;;18421:2;18412:12;;18212:218;-1:-1;;18212:218;18439:364;;18599:67;18663:2;18658:3;18599:67;;;18699:66;18679:87;;18794:2;18785:12;;18585:218;-1:-1;;18585:218;18812:465;;18972:67;19036:2;19031:3;18972:67;;;19072:66;19052:87;;19173:66;19168:2;19159:12;;19152:88;19268:2;19259:12;;18958:319;-1:-1;;18958:319;19286:364;;19446:67;19510:2;19505:3;19446:67;;;19546:66;19526:87;;19641:2;19632:12;;19432:218;-1:-1;;19432:218;19659:363;;19819:66;19883:1;19878:3;19819:66;;;19918;19898:87;;20013:2;20004:12;;19805:217;-1:-1;;19805:217;20031:364;;20191:67;20255:2;20250:3;20191:67;;;20291:66;20271:87;;20386:2;20377:12;;20177:218;-1:-1;;20177:218;20404:364;;20564:67;20628:2;20623:3;20564:67;;;20664:66;20644:87;;20759:2;20750:12;;20550:218;-1:-1;;20550:218;20777:364;;20937:67;21001:2;20996:3;20937:67;;;21037:66;21017:87;;21132:2;21123:12;;20923:218;-1:-1;;20923:218;21150:364;;21310:67;21374:2;21369:3;21310:67;;;21410:66;21390:87;;21505:2;21496:12;;21296:218;-1:-1;;21296:218;21523:364;;21683:67;21747:2;21742:3;21683:67;;;21783:66;21763:87;;21878:2;21869:12;;21669:218;-1:-1;;21669:218;22002:854;22250:22;;22173:4;22164:14;;;22278:61;22168:3;22250:22;22278:61;;;22193:152;22431:4;22424:5;22420:16;22414:23;22443:62;22499:4;22494:3;22490:14;22477:11;22443:62;;;22355:156;22596:4;22589:5;22585:16;22579:23;22608:62;22664:4;22659:3;22655:14;22642:11;22608:62;;;22521:155;22761:4;22754:5;22750:16;22744:23;22773:62;22829:4;22824:3;22820:14;22807:11;22863:110;22936:31;22961:5;22936:31;;23107:114;23186:29;23209:5;23186:29;;23228:213;23346:2;23331:18;;23360:71;23335:9;23404:6;23360:71;;23448:229;23574:2;23559:18;;23588:79;23563:9;23640:6;23588:79;;23684:324;23830:2;23815:18;;23844:71;23819:9;23888:6;23844:71;;;23926:72;23994:2;23983:9;23979:18;23970:6;23926:72;;24015:547;24217:3;24202:19;;24232:71;24206:9;24276:6;24232:71;;;24314:72;24382:2;24371:9;24367:18;24358:6;24314:72;;;24397;24465:2;24454:9;24450:18;24441:6;24397:72;;;24480;24548:2;24537:9;24533:18;24524:6;24480:72;;24569:324;24715:2;24700:18;;24729:71;24704:9;24773:6;24729:71;;;24811:72;24879:2;24868:9;24864:18;24855:6;24811:72;;24900:361;25068:2;25082:47;;;25053:18;;25143:108;25053:18;25237:6;25143:108;;25268:879;25592:2;25606:47;;;25577:18;;25667:108;25577:18;25761:6;25667:108;;;25659:116;;25823:9;25817:4;25813:20;25808:2;25797:9;25793:18;25786:48;25848:108;25951:4;25942:6;25848:108;;;25840:116;;26004:9;25998:4;25994:20;25989:2;25978:9;25974:18;25967:48;26029:108;26132:4;26123:6;26029:108;;26154:361;26322:2;26336:47;;;26307:18;;26397:108;26307:18;26491:6;26397:108;;26522:620;26768:2;26782:47;;;26753:18;;26843:108;26753:18;26937:6;26843:108;;;26835:116;;26999:9;26993:4;26989:20;26984:2;26973:9;26969:18;26962:48;27024:108;27127:4;27118:6;27024:108;;27149:201;27261:2;27246:18;;27275:65;27250:9;27313:6;27275:65;;27357:317;27503:2;27517:47;;;27488:18;;27578:86;27488:18;27650:6;27642;27578:86;;27681:241;27813:2;27798:18;;27827:85;27802:9;27885:6;27827:85;;28993:703;29249:3;29234:19;;29264:89;29238:9;29326:6;29264:89;;;29364:90;29450:2;29439:9;29435:18;29426:6;29364:90;;;29465:72;29533:2;29522:9;29518:18;29509:6;29465:72;;;29585:9;29579:4;29575:20;29570:2;29559:9;29555:18;29548:48;29610:76;29681:4;29672:6;29610:76;;30211:227;30336:2;30321:18;;30350:78;30325:9;30401:6;30350:78;;30445:301;30583:2;30597:47;;;30568:18;;30658:78;30568:18;30722:6;30658:78;;30753:407;30944:2;30958:47;;;30929:18;;31019:131;30929:18;31019:131;;31167:407;31358:2;31372:47;;;31343:18;;31433:131;31343:18;31433:131;;31581:407;31772:2;31786:47;;;31757:18;;31847:131;31757:18;31847:131;;31995:407;32186:2;32200:47;;;32171:18;;32261:131;32171:18;32261:131;;32409:407;32600:2;32614:47;;;32585:18;;32675:131;32585:18;32675:131;;32823:407;33014:2;33028:47;;;32999:18;;33089:131;32999:18;33089:131;;33237:407;33428:2;33442:47;;;33413:18;;33503:131;33413:18;33503:131;;33651:407;33842:2;33856:47;;;33827:18;;33917:131;33827:18;33917:131;;34065:407;34256:2;34270:47;;;34241:18;;34331:131;34241:18;34331:131;;34479:407;34670:2;34684:47;;;34655:18;;34745:131;34655:18;34745:131;;34893:407;35084:2;35098:47;;;35069:18;;35159:131;35069:18;35159:131;;35307:407;35498:2;35512:47;;;35483:18;;35573:131;35483:18;35573:131;;35721:407;35912:2;35926:47;;;35897:18;;35987:131;35897:18;35987:131;;36135:407;36326:2;36340:47;;;36311:18;;36401:131;36311:18;36401:131;;36549:407;36740:2;36754:47;;;36725:18;;36815:131;36725:18;36815:131;;36963:407;37154:2;37168:47;;;37139:18;;37229:131;37139:18;37229:131;;37377:370;37573:3;37558:19;;37588:149;37562:9;37710:6;37588:149;;37754:213;37872:2;37857:18;;37886:71;37861:9;37930:6;37886:71;;37974:324;38120:2;38105:18;;38134:71;38109:9;38178:6;38134:71;;38305:659;38535:3;38520:19;;38550:71;38524:9;38594:6;38550:71;;;38632:72;38700:2;38689:9;38685:18;38676:6;38632:72;;;38715;38783:2;38772:9;38768:18;38759:6;38715:72;;;38798;38866:2;38855:9;38851:18;38842:6;38798:72;;;38881:73;38949:3;38938:9;38934:19;38925:6;38881:73;;38971:205;39085:2;39070:18;;39099:67;39074:9;39139:6;39099:67;;39183:256;39245:2;39239:9;39271:17;;;39346:18;39331:34;;39367:22;;;39328:62;39325:2;;;39403:1;39400;39393:12;39325:2;39419;39412:22;39223:216;;-1:-1;39223:216;39446:254;;39601:18;39593:6;39590:30;39587:2;;;39633:1;39630;39623:12;39587:2;-1:-1;39662:4;39650:17;;;39680:15;;39524:176;40500:121;40609:4;40597:17;;40578:43;40762:107;40852:12;;40836:33;41450:178;41568:19;;;41617:4;41608:14;;41561:67;42166:105;;42235:31;42260:5;42235:31;;42278:92;42351:13;42344:21;;42327:43;42377:126;;42464:1;42457:5;42454:12;42444:2;;42470:9;42510:128;-1:-1;;;;;42579:54;;42562:76;42731:88;42809:4;42798:16;;42781:38;43037:125;;43126:31;43151:5;43126:31;;43520:129;;43607:37;43638:5;43607:37;;45826:131;;45912:40;45946:5;45912:40;;46215:145;46296:6;46291:3;46286;46273:30;-1:-1;46352:1;46334:16;;46327:27;46266:94;46369:268;46434:1;46441:101;46455:6;46452:1;46449:13;46441:101;;;46522:11;;;46516:18;46503:11;;;46496:39;46477:2;46470:10;46441:101;;;46557:6;46554:1;46551:13;46548:2;;;-1:-1;;46622:1;46604:16;;46597:27;46418:219;46645:97;46733:2;46713:14;-1:-1;;46709:28;;46693:49
Swarm Source
bzzr://48bd9e2feeffd6c5a46d9d3a62a03a0e33f25bd06e0142b5a0aab3a1c342a5e4
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.