Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
Implementation
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-01-24 */ pragma solidity ^0.5.17; pragma experimental ABIEncoderV2; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /* Copyright 2019 dYdX Trading Inc. Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /** * @title Decimal * @author dYdX * * Library that defines a fixed-point number with 18 decimal places. */ library Decimal { using SafeMath for uint256; // ============ Constants ============ uint256 constant BASE = 10**18; // ============ Structs ============ struct D256 { uint256 value; } // ============ Static Functions ============ function zero() internal pure returns (D256 memory) { return D256({ value: 0 }); } function one() internal pure returns (D256 memory) { return D256({ value: BASE }); } function from( uint256 a ) internal pure returns (D256 memory) { return D256({ value: a.mul(BASE) }); } function ratio( uint256 a, uint256 b ) internal pure returns (D256 memory) { return D256({ value: getPartial(a, BASE, b) }); } // ============ Self Functions ============ function add( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.add(b.mul(BASE)) }); } function sub( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.mul(BASE)) }); } function sub( D256 memory self, uint256 b, string memory reason ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.mul(BASE), reason) }); } function mul( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.mul(b) }); } function div( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.div(b) }); } function pow( D256 memory self, uint256 b ) internal pure returns (D256 memory) { if (b == 0) { return from(1); } D256 memory temp = D256({ value: self.value }); for (uint256 i = 1; i < b; i++) { temp = mul(temp, self); } return temp; } function add( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: self.value.add(b.value) }); } function sub( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.value) }); } function sub( D256 memory self, D256 memory b, string memory reason ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.value, reason) }); } function mul( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: getPartial(self.value, b.value, BASE) }); } function div( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: getPartial(self.value, BASE, b.value) }); } function equals(D256 memory self, D256 memory b) internal pure returns (bool) { return self.value == b.value; } function greaterThan(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) == 2; } function lessThan(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) == 0; } function greaterThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) > 0; } function lessThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) < 2; } function isZero(D256 memory self) internal pure returns (bool) { return self.value == 0; } function asUint256(D256 memory self) internal pure returns (uint256) { return self.value.div(BASE); } // ============ Core Methods ============ function getPartial( uint256 target, uint256 numerator, uint256 denominator ) private pure returns (uint256) { return target.mul(numerator).div(denominator); } function compareTo( D256 memory a, D256 memory b ) private pure returns (uint256) { if (a.value == b.value) { return 1; } return a.value > b.value ? 2 : 0; } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ library Constants { /* Chain */ uint256 private constant CHAIN_ID = 1; // Mainnet /* Bootstrapping */ uint256 private constant BOOTSTRAPPING_PERIOD = 168; uint256 private constant BOOTSTRAPPING_PRICE = 220e16; // 2.2 USDC (targeting 5% inflation) /* Oracle */ address private constant USDC = address(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48); address private constant DAO = address(0x590d0fC2096f0bB063d7033Fe97f6C1C512ba2B2); address private constant DOLLAR = address(0xD27af03cb73a29eE2f37194c70c4Ee13B68fE8cb); uint256 private constant ORACLE_RESERVE_MINIMUM = 1e9; // 1000 USDC /* Bonding */ uint256 private constant INITIAL_STAKE_MULTIPLE = 1e6; // 100 FSD -> 100M FSDS /* Epoch */ struct EpochStrategy { uint256 offset; uint256 start; uint256 period; } uint256 private constant EPOCH_OFFSET = 0; uint256 private constant EPOCH_START = 1609905600; uint256 private constant EPOCH_PERIOD = 3600; // 60 min /* Governance */ uint256 private constant GOVERNANCE_PERIOD = 24; // 24 epochs uint256 private constant GOVERNANCE_QUORUM = 20e16; // 20% uint256 private constant GOVERNANCE_SUPER_MAJORITY = 66e16; // 66% uint256 private constant GOVERNANCE_EMERGENCY_DELAY = 6; // 6 epochs uint256 private constant GOVERNANCE_PROPOSAL_THRESHOLD = 1e16; // 1% /* DAO */ uint256 private constant ADVANCE_INCENTIVE = 1e21; // 1000 FSD uint256 private constant DAO_EXIT_LOCKUP_EPOCHS = 12; // 12 epochs fluid /* Pool */ uint256 private constant POOL_EXIT_LOCKUP_EPOCHS = 6; // 6 epochs fluid /* Market */ uint256 private constant COUPON_EXPIRATION = 720; //720 epoch uint256 private constant DEBT_RATIO_CAP = 50e16; // 50% uint256 private constant INITIAL_COUPON_REDEMPTION_PENALTY = 65e16; // 65% uint256 private constant COUPON_REDEMPTION_PENALTY_DECAY = 1800; // 30 minutes /* Regulator */ uint256 private constant SUPPLY_CHANGE_DIVISOR = 24e18; // 24 //10% supply limit uint256 private constant SUPPLY_CHANGE_LIMIT = 10e16; // 10% uint256 private constant ORACLE_POOL_RATIO = 50; // 50% /* bonds */ uint256 private constant BOND_REDEEMABLE_TWAP_CAP = 120e16; // 1.2USDC uint256 private constant BOND_REDEEMABLE_TWAP_FLOOR = 1e18; // 1USDC //bond pool : coupon pool = 4:1 uint256 private constant BOND_POOL_RATIO = 80; // 80% /** * Getters */ function getUsdcAddress() internal pure returns (address) { return USDC; } function getDaoAddress() internal pure returns (address) { return DAO; } function getDollarAddress() internal pure returns (address) { return DOLLAR; } function getOracleReserveMinimum() internal pure returns (uint256) { return ORACLE_RESERVE_MINIMUM; } function getEpochStrategy() internal pure returns (EpochStrategy memory) { return EpochStrategy({ offset: EPOCH_OFFSET, start: EPOCH_START, period: EPOCH_PERIOD }); } function getInitialStakeMultiple() internal pure returns (uint256) { return INITIAL_STAKE_MULTIPLE; } function getBootstrappingPeriod() internal pure returns (uint256) { return BOOTSTRAPPING_PERIOD; } function getBootstrappingPrice() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: BOOTSTRAPPING_PRICE}); } function getGovernancePeriod() internal pure returns (uint256) { return GOVERNANCE_PERIOD; } function getGovernanceQuorum() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: GOVERNANCE_QUORUM}); } function getGovernanceSuperMajority() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: GOVERNANCE_SUPER_MAJORITY}); } function getGovernanceEmergencyDelay() internal pure returns (uint256) { return GOVERNANCE_EMERGENCY_DELAY; } function getGovernanceProposalThreshold() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: GOVERNANCE_PROPOSAL_THRESHOLD}); } function getAdvanceIncentive() internal pure returns (uint256) { return ADVANCE_INCENTIVE; } function getDAOExitLockupEpochs() internal pure returns (uint256) { return DAO_EXIT_LOCKUP_EPOCHS; } function getPoolExitLockupEpochs() internal pure returns (uint256) { return POOL_EXIT_LOCKUP_EPOCHS; } function getCouponExpiration() internal pure returns (uint256) { return COUPON_EXPIRATION; } function getDebtRatioCap() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: DEBT_RATIO_CAP}); } function getInitialCouponRedemptionPenalty() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: INITIAL_COUPON_REDEMPTION_PENALTY}); } function getCouponRedemptionPenaltyDecay() internal pure returns (uint256) { return COUPON_REDEMPTION_PENALTY_DECAY; } function getSupplyChangeLimit() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: SUPPLY_CHANGE_LIMIT}); } function getSupplyChangeDivisor() internal pure returns (Decimal.D256 memory) { return Decimal.D256({value: SUPPLY_CHANGE_DIVISOR}); } function getOraclePoolRatio() internal pure returns (uint256) { return ORACLE_POOL_RATIO; } function getChainId() internal pure returns (uint256) { return CHAIN_ID; } function getBondRedeemableTWAPCap() internal pure returns (Decimal.D256 memory) { return Decimal.D256({ value: BOND_REDEEMABLE_TWAP_CAP }); } function getBondRedeemableTWAPFloor() internal pure returns (Decimal.D256 memory) { return Decimal.D256({ value: BOND_REDEEMABLE_TWAP_FLOOR }); } function getBondPoolRatio() internal pure returns (uint256) { return BOND_POOL_RATIO; } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Curve { using SafeMath for uint256; using Decimal for Decimal.D256; function calculateCouponPremium( uint256 totalSupply, uint256 totalDebt, uint256 amount ) internal pure returns (uint256) { return effectivePremium(totalSupply, totalDebt, amount).mul(amount).asUint256(); } function effectivePremium( uint256 totalSupply, uint256 totalDebt, uint256 amount ) private pure returns (Decimal.D256 memory) { Decimal.D256 memory debtRatio = Decimal.ratio(totalDebt, totalSupply); Decimal.D256 memory debtRatioUpperBound = Constants.getDebtRatioCap(); uint256 totalSupplyEnd = totalSupply.sub(amount); uint256 totalDebtEnd = totalDebt.sub(amount); Decimal.D256 memory debtRatioEnd = Decimal.ratio(totalDebtEnd, totalSupplyEnd); if (debtRatio.greaterThan(debtRatioUpperBound)) { if (debtRatioEnd.greaterThan(debtRatioUpperBound)) { return curve(debtRatioUpperBound); } Decimal.D256 memory premiumCurve = curveMean(debtRatioEnd, debtRatioUpperBound); Decimal.D256 memory premiumCurveDelta = debtRatioUpperBound.sub(debtRatioEnd); Decimal.D256 memory premiumFlat = curve(debtRatioUpperBound); Decimal.D256 memory premiumFlatDelta = debtRatio.sub(debtRatioUpperBound); return (premiumCurve.mul(premiumCurveDelta)).add(premiumFlat.mul(premiumFlatDelta)) .div(premiumCurveDelta.add(premiumFlatDelta)); } return curveMean(debtRatioEnd, debtRatio); } // 1/(3(1-R)^2)-1/3 function curve(Decimal.D256 memory debtRatio) private pure returns (Decimal.D256 memory) { return Decimal.one().div( Decimal.from(3).mul((Decimal.one().sub(debtRatio)).pow(2)) ).sub(Decimal.ratio(1, 3)); } // 1/(3(1-R)(1-R'))-1/3 function curveMean( Decimal.D256 memory lower, Decimal.D256 memory upper ) private pure returns (Decimal.D256 memory) { if (lower.equals(upper)) { return curve(lower); } return Decimal.one().div( Decimal.from(3).mul(Decimal.one().sub(upper)).mul(Decimal.one().sub(lower)) ).sub(Decimal.ratio(1, 3)); } } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract IDollar is IERC20 { function burn(uint256 amount) public; function burnFrom(address account, uint256 amount) public; function mint(address account, uint256 amount) public returns (bool); } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract IOracle { function capture() public returns (Decimal.D256 memory, bool); function pair() external view returns (address); } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Account { enum Status { Frozen, Fluid, Locked } struct State { uint256 staged; uint256 balance; mapping(uint256 => uint256) coupons; mapping(address => uint256) couponAllowances; uint256 fluidUntil; uint256 lockedUntil; } } contract Epoch { struct Global { uint256 start; uint256 period; uint256 current; } struct Coupons { uint256 outstanding; uint256 expiration; uint256[] expiring; } struct State { uint256 bonded; Coupons coupons; } } contract Candidate { enum Vote { UNDECIDED, APPROVE, REJECT } struct State { uint256 start; uint256 period; uint256 approve; uint256 reject; mapping(address => Vote) votes; bool initialized; } } contract Storage { struct Provider { IDollar dollar; IOracle oracle; address pool; } struct Balance { uint256 supply; uint256 bonded; uint256 staged; uint256 redeemable; uint256 debt; uint256 coupons; } struct State { Epoch.Global epoch; Balance balance; Provider provider; mapping(address => Account.State) accounts; mapping(uint256 => Epoch.State) epochs; mapping(address => Candidate.State) candidates; } } contract State { Storage.State _state; } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract AccountExtension1 { struct State { mapping(uint256 => uint256) bonds; // no need for allowances, bonds are not transferable } } contract EpochExtension1 { struct Bonds { uint256 outstanding; } struct State { Bonds bonds; Decimal.D256 price; } } contract StorageExtension1 { struct Balance { uint256 bondRedeemable; uint256 bonds; } struct State { Balance balance; mapping(address => AccountExtension1.State) accounts; mapping(uint256 => EpochExtension1.State) epochs; } } contract StateExtension1 { StorageExtension1.State _stateExtension1; } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Getters is State, StateExtension1 { using SafeMath for uint256; using Decimal for Decimal.D256; bytes32 private constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * ERC20 Interface */ function name() public view returns (string memory) { return "Freq Set Dollar Stake"; } function symbol() public view returns (string memory) { return "FSDS"; } function decimals() public view returns (uint8) { return 18; } function balanceOf(address account) public view returns (uint256) { return _state.accounts[account].balance; } function totalSupply() public view returns (uint256) { return _state.balance.supply; } function allowance(address owner, address spender) external view returns (uint256) { return 0; } /** * Global */ function dollar() public view returns (IDollar) { return _state.provider.dollar; } function oracle() public view returns (IOracle) { return _state.provider.oracle; } function pool() public view returns (address) { return _state.provider.pool; } function totalBonded() public view returns (uint256) { return _state.balance.bonded; } function totalStaged() public view returns (uint256) { return _state.balance.staged; } function totalDebt() public view returns (uint256) { return _state.balance.debt; } function totalRedeemable() public view returns (uint256) { return _state.balance.redeemable; } function totalBonds() public view returns (uint256) { return _stateExtension1.balance.bonds; } function totalBondRedeemable() public view returns (uint256) { return _stateExtension1.balance.bondRedeemable; } function totalCoupons() public view returns (uint256) { return _state.balance.coupons; } function totalNet() public view returns (uint256) { return dollar().totalSupply().sub(totalDebt()); } /** * Account */ function balanceOfStaged(address account) public view returns (uint256) { return _state.accounts[account].staged; } function balanceOfBonded(address account) public view returns (uint256) { uint256 totalSupply = totalSupply(); if (totalSupply == 0) { return 0; } return totalBonded().mul(balanceOf(account)).div(totalSupply); } function balanceOfCoupons(address account, uint256 epoch) public view returns (uint256) { if (outstandingCoupons(epoch) == 0) { return 0; } return _state.accounts[account].coupons[epoch]; } function balanceOfBonds(address account, uint256 epoch) public view returns (uint256) { if (outstandingBonds(epoch) == 0) { return 0; } return _stateExtension1.accounts[account].bonds[epoch]; } function statusOf(address account) public view returns (Account.Status) { if (_state.accounts[account].lockedUntil > epoch()) { return Account.Status.Locked; } return epoch() >= _state.accounts[account].fluidUntil ? Account.Status.Frozen : Account.Status.Fluid; } function fluidUntil(address account) public view returns (uint256) { return _state.accounts[account].fluidUntil; } function lockedUntil(address account) public view returns (uint256) { return _state.accounts[account].lockedUntil; } function allowanceCoupons(address owner, address spender) public view returns (uint256) { return _state.accounts[owner].couponAllowances[spender]; } /** * Epoch */ function epoch() public view returns (uint256) { return _state.epoch.current; } function epochTime() public view returns (uint256) { Constants.EpochStrategy memory current = Constants.getEpochStrategy(); return epochTimeWithStrategy(current); } // bonds logic function epochPrice(uint256 epoch) public view returns (Decimal.D256 memory) { return _stateExtension1.epochs[epoch].price; } function getRedeemablePrice(uint256 epoch) public view returns (Decimal.D256 memory) { // RedeemableTWAP = (1 - Burnt TWAP) * (Cap - Floor) + Floor Decimal.D256 memory price = epochPrice(epoch); require(price.lessThan(Decimal.one()) && !price.isZero(), "Redeemable price not available"); return Decimal.one() .sub(epochPrice(epoch)) .mul(Constants.getBondRedeemableTWAPCap().sub(Constants.getBondRedeemableTWAPFloor())) .add(Constants.getBondRedeemableTWAPFloor()); } function getBondPremium(uint256 epoch) public view returns (Decimal.D256 memory) { // Premium = RedeemableTWAP ^ 2 - 1 Decimal.D256 memory redeemablePrice = getRedeemablePrice(epoch); return redeemablePrice.pow(2).sub(Decimal.one()); } function epochTimeWithStrategy(Constants.EpochStrategy memory strategy) private view returns (uint256) { return blockTimestamp() .sub(strategy.start) .div(strategy.period) .add(strategy.offset); } // Overridable for testing function blockTimestamp() internal view returns (uint256) { return block.timestamp; } function outstandingCoupons(uint256 epoch) public view returns (uint256) { return _state.epochs[epoch].coupons.outstanding; } function couponsExpiration(uint256 epoch) public view returns (uint256) { return _state.epochs[epoch].coupons.expiration; } function expiringCoupons(uint256 epoch) public view returns (uint256) { return _state.epochs[epoch].coupons.expiring.length; } function expiringCouponsAtIndex(uint256 epoch, uint256 i) public view returns (uint256) { return _state.epochs[epoch].coupons.expiring[i]; } function totalBondedAt(uint256 epoch) public view returns (uint256) { return _state.epochs[epoch].bonded; } function bootstrappingAt(uint256 epoch) public view returns (bool) { return epoch <= Constants.getBootstrappingPeriod(); } // bonds logic function outstandingBonds(uint256 epoch) public view returns (uint256) { return _stateExtension1.epochs[epoch].bonds.outstanding; } /** * Governance */ function recordedVote(address account, address candidate) public view returns (Candidate.Vote) { return _state.candidates[candidate].votes[account]; } function startFor(address candidate) public view returns (uint256) { return _state.candidates[candidate].start; } function periodFor(address candidate) public view returns (uint256) { return _state.candidates[candidate].period; } function approveFor(address candidate) public view returns (uint256) { return _state.candidates[candidate].approve; } function rejectFor(address candidate) public view returns (uint256) { return _state.candidates[candidate].reject; } function votesFor(address candidate) public view returns (uint256) { return approveFor(candidate).add(rejectFor(candidate)); } function isNominated(address candidate) public view returns (bool) { return _state.candidates[candidate].start > 0; } function isInitialized(address candidate) public view returns (bool) { return _state.candidates[candidate].initialized; } function implementation() public view returns (address impl) { bytes32 slot = IMPLEMENTATION_SLOT; assembly { impl := sload(slot) } } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Setters is State, Getters { using SafeMath for uint256; event Transfer(address indexed from, address indexed to, uint256 value); /** * ERC20 Interface */ function transfer(address recipient, uint256 amount) external returns (bool) { return false; } function approve(address spender, uint256 amount) external returns (bool) { return false; } function transferFrom(address sender, address recipient, uint256 amount) external returns (bool) { return false; } /** * Global */ function incrementTotalBonded(uint256 amount) internal { _state.balance.bonded = _state.balance.bonded.add(amount); } function decrementTotalBonded(uint256 amount, string memory reason) internal { _state.balance.bonded = _state.balance.bonded.sub(amount, reason); } function incrementTotalDebt(uint256 amount) internal { _state.balance.debt = _state.balance.debt.add(amount); } function decrementTotalDebt(uint256 amount, string memory reason) internal { _state.balance.debt = _state.balance.debt.sub(amount, reason); } function setDebtToZero() internal { _state.balance.debt = 0; } function incrementTotalRedeemable(uint256 amount) internal { _state.balance.redeemable = _state.balance.redeemable.add(amount); } function decrementTotalRedeemable(uint256 amount, string memory reason) internal { _state.balance.redeemable = _state.balance.redeemable.sub(amount, reason); } // bonds logic function incrementTotalBondRedeemable(uint256 amount) internal { _stateExtension1.balance.bondRedeemable = _stateExtension1.balance.bondRedeemable.add(amount); } function decrementTotalBondRedeemable(uint256 amount, string memory reason) internal { _stateExtension1.balance.bondRedeemable = _stateExtension1.balance.bondRedeemable.sub(amount, reason); } /** * Account */ function incrementBalanceOf(address account, uint256 amount) internal { _state.accounts[account].balance = _state.accounts[account].balance.add(amount); _state.balance.supply = _state.balance.supply.add(amount); emit Transfer(address(0), account, amount); } function decrementBalanceOf(address account, uint256 amount, string memory reason) internal { _state.accounts[account].balance = _state.accounts[account].balance.sub(amount, reason); _state.balance.supply = _state.balance.supply.sub(amount, reason); emit Transfer(account, address(0), amount); } function incrementBalanceOfStaged(address account, uint256 amount) internal { _state.accounts[account].staged = _state.accounts[account].staged.add(amount); _state.balance.staged = _state.balance.staged.add(amount); } function decrementBalanceOfStaged(address account, uint256 amount, string memory reason) internal { _state.accounts[account].staged = _state.accounts[account].staged.sub(amount, reason); _state.balance.staged = _state.balance.staged.sub(amount, reason); } function incrementBalanceOfCoupons(address account, uint256 epoch, uint256 amount) internal { _state.accounts[account].coupons[epoch] = _state.accounts[account].coupons[epoch].add(amount); _state.epochs[epoch].coupons.outstanding = _state.epochs[epoch].coupons.outstanding.add(amount); _state.balance.coupons = _state.balance.coupons.add(amount); } function decrementBalanceOfCoupons(address account, uint256 epoch, uint256 amount, string memory reason) internal { _state.accounts[account].coupons[epoch] = _state.accounts[account].coupons[epoch].sub(amount, reason); _state.epochs[epoch].coupons.outstanding = _state.epochs[epoch].coupons.outstanding.sub(amount, reason); _state.balance.coupons = _state.balance.coupons.sub(amount, reason); } // bonds logic function incrementBalanceOfBonds(address account, uint256 epoch, uint256 amount) internal { _stateExtension1.accounts[account].bonds[epoch] = _stateExtension1.accounts[account].bonds[epoch].add(amount); _stateExtension1.epochs[epoch].bonds.outstanding = _stateExtension1.epochs[epoch].bonds.outstanding.add(amount); _stateExtension1.balance.bonds = _stateExtension1.balance.bonds.add(amount); } function decrementBalanceOfBonds(address account, uint256 epoch, uint256 amount, string memory reason) internal { _stateExtension1.accounts[account].bonds[epoch] = _stateExtension1.accounts[account].bonds[epoch].sub(amount, reason); _stateExtension1.epochs[epoch].bonds.outstanding = _stateExtension1.epochs[epoch].bonds.outstanding.sub(amount, reason); _stateExtension1.balance.bonds = _stateExtension1.balance.bonds.sub(amount, reason); } function unfreeze(address account) internal { _state.accounts[account].fluidUntil = epoch().add(Constants.getDAOExitLockupEpochs()); } function updateAllowanceCoupons(address owner, address spender, uint256 amount) internal { _state.accounts[owner].couponAllowances[spender] = amount; } function decrementAllowanceCoupons(address owner, address spender, uint256 amount, string memory reason) internal { _state.accounts[owner].couponAllowances[spender] = _state.accounts[owner].couponAllowances[spender].sub(amount, reason); } /** * Epoch */ function incrementEpoch() internal { _state.epoch.current = _state.epoch.current.add(1); } function snapshotTotalBonded() internal { _state.epochs[epoch()].bonded = totalSupply(); } function initializeCouponsExpiration(uint256 epoch, uint256 expiration) internal { _state.epochs[epoch].coupons.expiration = expiration; _state.epochs[expiration].coupons.expiring.push(epoch); } function eliminateOutstandingCoupons(uint256 epoch) internal { uint256 outstandingCouponsForEpoch = outstandingCoupons(epoch); if(outstandingCouponsForEpoch == 0) { return; } _state.balance.coupons = _state.balance.coupons.sub(outstandingCouponsForEpoch); _state.epochs[epoch].coupons.outstanding = 0; } // bonds logic function setEpochPrice(uint256 epoch, Decimal.D256 memory price) internal { _stateExtension1.epochs[epoch].price = price; } /** * Governance */ function createCandidate(address candidate, uint256 period) internal { _state.candidates[candidate].start = epoch(); _state.candidates[candidate].period = period; } function recordVote(address account, address candidate, Candidate.Vote vote) internal { _state.candidates[candidate].votes[account] = vote; } function incrementApproveFor(address candidate, uint256 amount) internal { _state.candidates[candidate].approve = _state.candidates[candidate].approve.add(amount); } function decrementApproveFor(address candidate, uint256 amount, string memory reason) internal { _state.candidates[candidate].approve = _state.candidates[candidate].approve.sub(amount, reason); } function incrementRejectFor(address candidate, uint256 amount) internal { _state.candidates[candidate].reject = _state.candidates[candidate].reject.add(amount); } function decrementRejectFor(address candidate, uint256 amount, string memory reason) internal { _state.candidates[candidate].reject = _state.candidates[candidate].reject.sub(amount, reason); } function placeLock(address account, address candidate) internal { uint256 currentLock = _state.accounts[account].lockedUntil; uint256 newLock = startFor(candidate).add(periodFor(candidate)); if (newLock > currentLock) { _state.accounts[account].lockedUntil = newLock; } } function initialized(address candidate) internal { _state.candidates[candidate].initialized = true; } } /* Copyright 2019 dYdX Trading Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /** * @title Require * @author dYdX * * Stringifies parameters to pretty-print revert messages. Costs more gas than regular require() */ library Require { // ============ Constants ============ uint256 constant ASCII_ZERO = 48; // '0' uint256 constant ASCII_RELATIVE_ZERO = 87; // 'a' - 10 uint256 constant ASCII_LOWER_EX = 120; // 'x' bytes2 constant COLON = 0x3a20; // ': ' bytes2 constant COMMA = 0x2c20; // ', ' bytes2 constant LPAREN = 0x203c; // ' <' byte constant RPAREN = 0x3e; // '>' uint256 constant FOUR_BIT_MASK = 0xf; // ============ Library Functions ============ function that( bool must, bytes32 file, bytes32 reason ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason) ) ) ); } } function that( bool must, bytes32 file, bytes32 reason, uint256 payloadA ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason), LPAREN, stringify(payloadA), RPAREN ) ) ); } } function that( bool must, bytes32 file, bytes32 reason, uint256 payloadA, uint256 payloadB ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason), LPAREN, stringify(payloadA), COMMA, stringify(payloadB), RPAREN ) ) ); } } function that( bool must, bytes32 file, bytes32 reason, address payloadA ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason), LPAREN, stringify(payloadA), RPAREN ) ) ); } } function that( bool must, bytes32 file, bytes32 reason, address payloadA, uint256 payloadB ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason), LPAREN, stringify(payloadA), COMMA, stringify(payloadB), RPAREN ) ) ); } } function that( bool must, bytes32 file, bytes32 reason, address payloadA, uint256 payloadB, uint256 payloadC ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason), LPAREN, stringify(payloadA), COMMA, stringify(payloadB), COMMA, stringify(payloadC), RPAREN ) ) ); } } function that( bool must, bytes32 file, bytes32 reason, bytes32 payloadA ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason), LPAREN, stringify(payloadA), RPAREN ) ) ); } } function that( bool must, bytes32 file, bytes32 reason, bytes32 payloadA, uint256 payloadB, uint256 payloadC ) internal pure { if (!must) { revert( string( abi.encodePacked( stringifyTruncated(file), COLON, stringifyTruncated(reason), LPAREN, stringify(payloadA), COMMA, stringify(payloadB), COMMA, stringify(payloadC), RPAREN ) ) ); } } // ============ Private Functions ============ function stringifyTruncated( bytes32 input ) private pure returns (bytes memory) { // put the input bytes into the result bytes memory result = abi.encodePacked(input); // determine the length of the input by finding the location of the last non-zero byte for (uint256 i = 32; i > 0; ) { // reverse-for-loops with unsigned integer /* solium-disable-next-line security/no-modify-for-iter-var */ i--; // find the last non-zero byte in order to determine the length if (result[i] != 0) { uint256 length = i + 1; /* solium-disable-next-line security/no-inline-assembly */ assembly { mstore(result, length) // r.length = length; } return result; } } // all bytes are zero return new bytes(0); } function stringify( uint256 input ) private pure returns (bytes memory) { if (input == 0) { return "0"; } // get the final string length uint256 j = input; uint256 length; while (j != 0) { length++; j /= 10; } // allocate the string bytes memory bstr = new bytes(length); // populate the string starting with the least-significant character j = input; for (uint256 i = length; i > 0; ) { // reverse-for-loops with unsigned integer /* solium-disable-next-line security/no-modify-for-iter-var */ i--; // take last decimal digit bstr[i] = byte(uint8(ASCII_ZERO + (j % 10))); // remove the last decimal digit j /= 10; } return bstr; } function stringify( address input ) private pure returns (bytes memory) { uint256 z = uint256(input); // addresses are "0x" followed by 20 bytes of data which take up 2 characters each bytes memory result = new bytes(42); // populate the result with "0x" result[0] = byte(uint8(ASCII_ZERO)); result[1] = byte(uint8(ASCII_LOWER_EX)); // for each byte (starting from the lowest byte), populate the result with two characters for (uint256 i = 0; i < 20; i++) { // each byte takes two characters uint256 shift = i * 2; // populate the least-significant character result[41 - shift] = char(z & FOUR_BIT_MASK); z = z >> 4; // populate the most-significant character result[40 - shift] = char(z & FOUR_BIT_MASK); z = z >> 4; } return result; } function stringify( bytes32 input ) private pure returns (bytes memory) { uint256 z = uint256(input); // bytes32 are "0x" followed by 32 bytes of data which take up 2 characters each bytes memory result = new bytes(66); // populate the result with "0x" result[0] = byte(uint8(ASCII_ZERO)); result[1] = byte(uint8(ASCII_LOWER_EX)); // for each byte (starting from the lowest byte), populate the result with two characters for (uint256 i = 0; i < 32; i++) { // each byte takes two characters uint256 shift = i * 2; // populate the least-significant character result[65 - shift] = char(z & FOUR_BIT_MASK); z = z >> 4; // populate the most-significant character result[64 - shift] = char(z & FOUR_BIT_MASK); z = z >> 4; } return result; } function char( uint256 input ) private pure returns (byte) { // return ASCII digit (0-9) if (input < 10) { return byte(uint8(input + ASCII_ZERO)); } // return ASCII letter (a-f) return byte(uint8(input + ASCII_RELATIVE_ZERO)); } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Permission is Setters { bytes32 private constant FILE = "Permission"; // Can modify account state modifier onlyFrozenOrFluid(address account) { Require.that( statusOf(account) != Account.Status.Locked, FILE, "Not frozen or fluid" ); _; } // Can participate in balance-dependant activities modifier onlyFrozenOrLocked(address account) { Require.that( statusOf(account) != Account.Status.Fluid, FILE, "Not frozen or locked" ); _; } modifier initializer() { Require.that( !isInitialized(implementation()), FILE, "Already initialized" ); initialized(implementation()); _; } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Comptroller is Setters { using SafeMath for uint256; bytes32 private constant FILE = "Comptroller"; function mintToAccount(address account, uint256 amount) internal { dollar().mint(account, amount); if (!bootstrappingAt(epoch())) { increaseDebt(amount); } balanceCheck(); } function burnFromAccount(address account, uint256 amount) internal { dollar().transferFrom(account, address(this), amount); dollar().burn(amount); decrementTotalDebt(amount, "Comptroller: not enough outstanding debt"); balanceCheck(); } function redeemToAccount(address account, uint256 amount) internal { dollar().transfer(account, amount); decrementTotalRedeemable(amount, "Comptroller: not enough redeemable balance"); balanceCheck(); } function burnRedeemable(uint256 amount) internal { dollar().burn(amount); decrementTotalRedeemable(amount, "Comptroller: not enough redeemable balance"); balanceCheck(); } function increaseDebt(uint256 amount) internal { incrementTotalDebt(amount); resetDebt(Constants.getDebtRatioCap()); balanceCheck(); } function decreaseDebt(uint256 amount) internal { decrementTotalDebt(amount, "Comptroller: not enough debt"); balanceCheck(); } function increaseSupply(uint256 newSupply) internal returns (uint256, uint256, uint256, uint256) { (uint256 newCouponRedeemable, uint256 lessDebt, uint256 poolReward, uint256 newBondRedeemable) = (0, 0, 0, 0); //1. Pay out to Pool poolReward = newSupply.mul(Constants.getOraclePoolRatio()).div(100); mintToPool(poolReward); newSupply = newSupply > poolReward ? newSupply.sub(poolReward) : 0; //2. Pay out to Bond & Coupon if (totalBondRedeemable() < totalBonds() || totalRedeemable() < totalCoupons()){ newBondRedeemable = totalBondRedeemable() < totalBonds() ? totalBonds().sub(totalBondRedeemable()) : 0; newCouponRedeemable = totalRedeemable() < totalCoupons() ? totalCoupons().sub(totalRedeemable()) : 0; uint256 bondSupply = newSupply.mul(Constants.getBondPoolRatio()).div(100); //bondSupply = newSupply * BOND_POOL_SHARE% uint256 couponSupply = newSupply.mul(SafeMath.sub(100,Constants.getBondPoolRatio())).div(100); //couponSupply = newSupply * (1-BOND_POOL_SHARE%) // If Bond supply is not enough, redeem coupon first, and all remaining supply go to bond if (bondSupply < newBondRedeemable) { if(newCouponRedeemable > 0){ newCouponRedeemable = newCouponRedeemable > couponSupply ? couponSupply : newCouponRedeemable; mintToRedeemable(newCouponRedeemable); newSupply = newSupply.sub(newCouponRedeemable); } if(newBondRedeemable > 0){ newBondRedeemable = newBondRedeemable > newSupply ? newSupply : newBondRedeemable; // all remaining supply to bond mintToBondRedeemable(newBondRedeemable); newSupply = newSupply.sub(newBondRedeemable); } // Otherwiase, redeem bond first, and all remaining supply go to coupon } else { if(newBondRedeemable > 0){ newBondRedeemable = newBondRedeemable > bondSupply ? bondSupply : newBondRedeemable; mintToBondRedeemable(newBondRedeemable); newSupply = newSupply.sub(newBondRedeemable); } if(newCouponRedeemable > 0){ newCouponRedeemable = newCouponRedeemable > newSupply ? newSupply : newCouponRedeemable; // all remaining supply to coupon mintToRedeemable(newCouponRedeemable); newSupply = newSupply.sub(newCouponRedeemable); } } } //4. Payout to Dao if (totalBonded() == 0) { newSupply = 0; } if (newSupply > 0) { mintToDAO(newSupply); } return (newCouponRedeemable, lessDebt, newSupply.add(poolReward), newBondRedeemable); } function resetDebt(Decimal.D256 memory targetDebtRatio) internal { uint256 targetDebt = targetDebtRatio.mul(dollar().totalSupply()).asUint256(); uint256 currentDebt = totalDebt(); if (currentDebt > targetDebt) { uint256 lessDebt = currentDebt.sub(targetDebt); decreaseDebt(lessDebt); } } function balanceCheck() internal { Require.that( dollar().balanceOf(address(this)) >= totalBonded().add(totalStaged()).add(totalRedeemable()).add(totalBondRedeemable()), FILE, "Inconsistent balances" ); } function mintToBonded(uint256 amount) private { Require.that( totalBonded() > 0, FILE, "Cant mint to empty pool" ); uint256 poolAmount = amount.mul(Constants.getOraclePoolRatio()).div(100); uint256 daoAmount = amount > poolAmount ? amount.sub(poolAmount) : 0; mintToPool(poolAmount); mintToDAO(daoAmount); balanceCheck(); } function mintToDAO(uint256 amount) private { if (amount > 0) { dollar().mint(address(this), amount); incrementTotalBonded(amount); } } function mintToPool(uint256 amount) private { if (amount > 0) { dollar().mint(pool(), amount); } } function mintToRedeemable(uint256 amount) private { dollar().mint(address(this), amount); incrementTotalRedeemable(amount); balanceCheck(); } // bonds logic function mintToBondRedeemable(uint256 amount) private { dollar().mint(address(this), amount); incrementTotalBondRedeemable(amount); balanceCheck(); } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Market is Comptroller, Curve, Permission { using SafeMath for uint256; bytes32 private constant FILE = "Market"; event CouponExpiration(uint256 indexed epoch, uint256 couponsExpired, uint256 lessRedeemable, uint256 lessDebt, uint256 newBonded, uint256 newBondRedeemable); event CouponPurchase(address indexed account, uint256 indexed epoch, uint256 dollarAmount, uint256 couponAmount); event CouponRedemption(address indexed account, uint256 indexed epoch, uint256 couponAmount); event CouponBurn(address indexed account, uint256 indexed epoch, uint256 couponAmount); event CouponTransfer(address indexed from, address indexed to, uint256 indexed epoch, uint256 value); event CouponApproval(address indexed owner, address indexed spender, uint256 value); // =================== bonds logic ================ event BondPurchase( address indexed account, uint256 indexed epoch, uint256 indexed dollarAmount, uint256 bondAmount, uint256 premium ); event BondRedemption(address indexed account, uint256 indexed epoch, uint256 bondAmount, uint256 redeemablePrice); event BondBurn(address indexed account, uint256 indexed epoch, uint256 bondAmount, uint256 redeemablePrice); function step() internal { // Expire prior coupons for (uint256 i = 0; i < expiringCoupons(epoch()); i++) { expireCouponsForEpoch(expiringCouponsAtIndex(epoch(), i)); } // Record expiry for current epoch's coupons uint256 expirationEpoch = epoch().add(Constants.getCouponExpiration()); initializeCouponsExpiration(epoch(), expirationEpoch); } function expireCouponsForEpoch(uint256 epoch) private { uint256 couponsForEpoch = outstandingCoupons(epoch); (uint256 lessRedeemable, uint256 lessDebt, uint256 newBonded, uint256 newBondRedeemable) = (0, 0, 0, 0); eliminateOutstandingCoupons(epoch); uint256 totalRedeemable = totalRedeemable(); uint256 totalCoupons = totalCoupons(); if (totalRedeemable > totalCoupons) { lessRedeemable = totalRedeemable.sub(totalCoupons); burnRedeemable(lessRedeemable); (, lessDebt, newBonded, newBondRedeemable) = increaseSupply(lessRedeemable); } emit CouponExpiration(epoch, couponsForEpoch, lessRedeemable, lessDebt, newBonded, newBondRedeemable); } function couponPremium(uint256 amount) public view returns (uint256) { return calculateCouponPremium(dollar().totalSupply(), totalDebt(), amount); } function couponRedemptionPenalty(uint256 couponEpoch, uint256 couponAmount) public view returns (uint256) { uint timeIntoEpoch = block.timestamp % Constants.getEpochStrategy().period; uint couponAge = epoch() - couponEpoch; uint couponEpochDecay = Constants.getCouponRedemptionPenaltyDecay() * (Constants.getCouponExpiration() - couponAge) / Constants.getCouponExpiration(); if(timeIntoEpoch > couponEpochDecay) { return 0; } Decimal.D256 memory couponEpochInitialPenalty = Constants.getInitialCouponRedemptionPenalty().div(Decimal.D256({value: Constants.getCouponExpiration() })).mul(Decimal.D256({value: Constants.getCouponExpiration() - couponAge})); Decimal.D256 memory couponEpochDecayedPenalty = couponEpochInitialPenalty.div(Decimal.D256({value: couponEpochDecay})).mul(Decimal.D256({value: couponEpochDecay - timeIntoEpoch})); return Decimal.D256({value: couponAmount}).mul(couponEpochDecayedPenalty).value; } // // ==================== bonds logic ======================= // function purchaseBondsByDAO(uint256 value) external onlyFrozenOrFluid(msg.sender) { uint256 balance = value.mul(totalSupply()).div(totalBonded()); decrementTotalBonded(value, "Bonding: insufficient total bonded"); decrementBalanceOf(msg.sender, balance, "Bonding: insufficient balance"); dollar().transfer(msg.sender, value); purchaseBonds(value); } function purchaseBonds(uint256 dollarAmount) public returns (uint256) { uint256 epoch = epoch(); Decimal.D256 memory price = epochPrice(epoch); // bonds can only be bought under 1USDC Require.that( price.lessThan(Decimal.one()), FILE, "TWAP not below 1U" ); Require.that( dollarAmount > 0, FILE, "Must purchase none-zero amount" ); Decimal.D256 memory bondPremium = getBondPremium(epoch); uint256 bondAmount = bondPremium .add(Decimal.one()) .mul(Decimal.D256({ value: dollarAmount })) .value; // burn dollar from account dollar().transferFrom(msg.sender, address(this), dollarAmount); dollar().burn(dollarAmount); balanceCheck(); incrementBalanceOfBonds(msg.sender, epoch, bondAmount); emit BondPurchase(msg.sender, epoch, dollarAmount, bondAmount, bondPremium.value); return bondAmount; } function redeemBonds(uint256 bondEpoch, uint256 bondAmount) external { require(epoch().sub(bondEpoch) >= 1, "Market: Too early to redeem bonds"); Decimal.D256 memory price = epochPrice(epoch()); Decimal.D256 memory redeemablePrice = getRedeemablePrice(bondEpoch); // the TWAP price when bonds redeemed must be equal as or greater than the target redeemable price Require.that( price.greaterThan(redeemablePrice), FILE, "Redemption price not reach" ); decrementBalanceOfBonds(msg.sender, bondEpoch, bondAmount, "Market: Insufficient bond balance"); dollar().transfer(msg.sender, bondAmount); decrementTotalBondRedeemable(bondAmount, "Comptroller: not enough bond redeemable balance"); balanceCheck(); if(bondAmount > 0){ emit BondBurn(msg.sender, bondEpoch, bondAmount, redeemablePrice.value); } emit BondRedemption(msg.sender, bondEpoch, bondAmount, redeemablePrice.value); } // // ============================ coupon logic ========================== // function redeemCoupons(uint256 couponEpoch, uint256 couponAmount) external { require(epoch().sub(couponEpoch) >= 2, "Market: Too early to redeem"); decrementBalanceOfCoupons(msg.sender, couponEpoch, couponAmount, "Market: Insufficient coupon balance"); uint burnAmount = couponRedemptionPenalty(couponEpoch, couponAmount); uint256 redeemAmount = couponAmount - burnAmount; redeemToAccount(msg.sender, redeemAmount); if(burnAmount > 0){ emit CouponBurn(msg.sender, couponEpoch, burnAmount); } emit CouponRedemption(msg.sender, couponEpoch, redeemAmount); } function redeemCoupons(uint256 couponEpoch, uint256 couponAmount, uint256 minOutput) external { require(epoch().sub(couponEpoch) >= 2, "Market: Too early to redeem"); decrementBalanceOfCoupons(msg.sender, couponEpoch, couponAmount, "Market: Insufficient coupon balance"); uint burnAmount = couponRedemptionPenalty(couponEpoch, couponAmount); uint256 redeemAmount = couponAmount - burnAmount; Require.that( redeemAmount >= minOutput, FILE, "Insufficient output amount" ); redeemToAccount(msg.sender, redeemAmount); if(burnAmount > 0){ emit CouponBurn(msg.sender, couponEpoch, burnAmount); } emit CouponRedemption(msg.sender, couponEpoch, redeemAmount); } function approveCoupons(address spender, uint256 amount) external { require(spender != address(0), "Market: Coupon approve to the zero address"); updateAllowanceCoupons(msg.sender, spender, amount); emit CouponApproval(msg.sender, spender, amount); } function transferCoupons(address sender, address recipient, uint256 epoch, uint256 amount) external { require(sender != address(0), "Market: Coupon transfer from the zero address"); require(recipient != address(0), "Market: Coupon transfer to the zero address"); decrementBalanceOfCoupons(sender, epoch, amount, "Market: Insufficient coupon balance"); incrementBalanceOfCoupons(recipient, epoch, amount); if (msg.sender != sender && allowanceCoupons(sender, msg.sender) != uint256(-1)) { decrementAllowanceCoupons(sender, msg.sender, amount, "Market: Insufficient coupon approval"); } emit CouponTransfer(sender, recipient, epoch, amount); } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Regulator is Comptroller { using SafeMath for uint256; using Decimal for Decimal.D256; event SupplyIncrease(uint256 indexed epoch, uint256 price, uint256 newRedeemable, uint256 lessDebt, uint256 newBonded, uint256 newBondRedeemable); event SupplyDecrease(uint256 indexed epoch, uint256 price, uint256 newDebt); event SupplyNeutral(uint256 indexed epoch); function step() internal { Decimal.D256 memory price = oracleCapture(); if (price.greaterThan(Decimal.one())) { setDebtToZero(); growSupply(price); return; } if (price.lessThan(Decimal.one())) { shrinkSupply(price); return; } emit SupplyNeutral(epoch()); } function shrinkSupply(Decimal.D256 memory price) private { Decimal.D256 memory delta = limit(Decimal.one().sub(price)); uint256 newDebt = delta.mul(totalNet()).asUint256(); increaseDebt(newDebt); emit SupplyDecrease(epoch(), price.value, newDebt); return; } function growSupply(Decimal.D256 memory price) private { Decimal.D256 memory delta = limit(price.sub(Decimal.one()).div(Constants.getSupplyChangeDivisor())); uint256 newSupply = delta.mul(totalNet()).asUint256(); (uint256 newRedeemable, uint256 lessDebt, uint256 newBonded, uint256 newBondRedeemable) = increaseSupply(newSupply); emit SupplyIncrease(epoch(), price.value, newRedeemable, lessDebt, newBonded, newBondRedeemable); } function limit(Decimal.D256 memory delta) private view returns (Decimal.D256 memory) { Decimal.D256 memory supplyChangeLimit = Constants.getSupplyChangeLimit(); return delta.greaterThan(supplyChangeLimit) ? supplyChangeLimit : delta; } function oracleCapture() private returns (Decimal.D256 memory) { (Decimal.D256 memory price, bool valid) = oracle().capture(); if (bootstrappingAt(epoch().sub(1))) { return Constants.getBootstrappingPrice(); } if (!valid) { return Decimal.one(); } setEpochPrice(epoch(), price); return price; } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Bonding is Setters, Permission { using SafeMath for uint256; bytes32 private constant FILE = "Bonding"; event Deposit(address indexed account, uint256 value); event Withdraw(address indexed account, uint256 value); event Bond(address indexed account, uint256 start, uint256 value, uint256 valueUnderlying); event Unbond(address indexed account, uint256 start, uint256 value, uint256 valueUnderlying); function step() internal { Require.that( epochTime() > epoch(), FILE, "Still current epoch" ); snapshotTotalBonded(); incrementEpoch(); } function deposit(uint256 value) external onlyFrozenOrLocked(msg.sender) { dollar().transferFrom(msg.sender, address(this), value); incrementBalanceOfStaged(msg.sender, value); emit Deposit(msg.sender, value); } function withdraw(uint256 value) external onlyFrozenOrLocked(msg.sender) { dollar().transfer(msg.sender, value); decrementBalanceOfStaged(msg.sender, value, "Bonding: insufficient staged balance"); emit Withdraw(msg.sender, value); } function bond(uint256 value) external onlyFrozenOrFluid(msg.sender) { unfreeze(msg.sender); uint256 balance = totalBonded() == 0 ? value.mul(Constants.getInitialStakeMultiple()) : value.mul(totalSupply()).div(totalBonded()); incrementBalanceOf(msg.sender, balance); incrementTotalBonded(value); decrementBalanceOfStaged(msg.sender, value, "Bonding: insufficient staged balance"); emit Bond(msg.sender, epoch().add(1), balance, value); } function unbond(uint256 value) external onlyFrozenOrFluid(msg.sender) { unfreeze(msg.sender); uint256 staged = value.mul(balanceOfBonded(msg.sender)).div(balanceOf(msg.sender)); incrementBalanceOfStaged(msg.sender, staged); decrementTotalBonded(staged, "Bonding: insufficient total bonded"); decrementBalanceOf(msg.sender, value, "Bonding: insufficient balance"); emit Unbond(msg.sender, epoch().add(1), value, staged); } function unbondUnderlying(uint256 value) external onlyFrozenOrFluid(msg.sender) { unfreeze(msg.sender); uint256 balance = value.mul(totalSupply()).div(totalBonded()); incrementBalanceOfStaged(msg.sender, value); decrementTotalBonded(value, "Bonding: insufficient total bonded"); decrementBalanceOf(msg.sender, balance, "Bonding: insufficient balance"); emit Unbond(msg.sender, epoch().add(1), balance, value); } } /** * Utility library of inline functions on addresses * * Source https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.1.3/contracts/utils/Address.sol * This contract is copied here and renamed from the original to avoid clashes in the compiled artifacts * when the user imports a zos-lib contract (that transitively causes this contract to be compiled and added to the * build/artifacts folder) as well as the vanilla Address implementation from an openzeppelin version. */ library OpenZeppelinUpgradesAddress { /** * Returns whether the target address is a contract * @dev This function will return false if invoked during the constructor of a contract, * as the code is not actually created until after the constructor finishes. * @param account address of the account to check * @return whether the target address is a contract */ function isContract(address account) internal view returns (bool) { uint256 size; // XXX Currently there is no better way to check if there is a contract in an address // than to check the size of the code at that address. // See https://ethereum.stackexchange.com/a/14016/36603 // for more details about how this works. // TODO Check this again before the Serenity release, because all addresses will be // contracts then. // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } } /* Copyright 2018-2019 zOS Global Limited Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /** * Based off of, and designed to interface with, openzeppelin/upgrades package */ contract Upgradeable is State { /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 private constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Emitted when the implementation is upgraded. * @param implementation Address of the new implementation. */ event Upgraded(address indexed implementation); function initialize() public; /** * @dev Upgrades the proxy to a new implementation. * @param newImplementation Address of the new implementation. */ function upgradeTo(address newImplementation) internal { setImplementation(newImplementation); (bool success, bytes memory reason) = newImplementation.delegatecall(abi.encodeWithSignature("initialize()")); require(success, string(reason)); emit Upgraded(newImplementation); } /** * @dev Sets the implementation address of the proxy. * @param newImplementation Address of the new implementation. */ function setImplementation(address newImplementation) private { require(OpenZeppelinUpgradesAddress.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address"); bytes32 slot = IMPLEMENTATION_SLOT; assembly { sstore(slot, newImplementation) } } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Govern is Setters, Permission, Upgradeable { using SafeMath for uint256; using Decimal for Decimal.D256; bytes32 private constant FILE = "Govern"; event Proposal(address indexed candidate, address indexed account, uint256 indexed start, uint256 period); event Vote(address indexed account, address indexed candidate, Candidate.Vote vote, uint256 bonded); event Commit(address indexed account, address indexed candidate); function vote(address candidate, Candidate.Vote vote) external onlyFrozenOrLocked(msg.sender) { Require.that( balanceOf(msg.sender) > 0, FILE, "Must have stake" ); if (!isNominated(candidate)) { Require.that( canPropose(msg.sender), FILE, "Not enough stake to propose" ); createCandidate(candidate, Constants.getGovernancePeriod()); emit Proposal(candidate, msg.sender, epoch(), Constants.getGovernancePeriod()); } Require.that( epoch() < startFor(candidate).add(periodFor(candidate)), FILE, "Ended" ); uint256 bonded = balanceOf(msg.sender); Candidate.Vote recordedVote = recordedVote(msg.sender, candidate); if (vote == recordedVote) { return; } if (recordedVote == Candidate.Vote.REJECT) { decrementRejectFor(candidate, bonded, "Govern: Insufficient reject"); } if (recordedVote == Candidate.Vote.APPROVE) { decrementApproveFor(candidate, bonded, "Govern: Insufficient approve"); } if (vote == Candidate.Vote.REJECT) { incrementRejectFor(candidate, bonded); } if (vote == Candidate.Vote.APPROVE) { incrementApproveFor(candidate, bonded); } recordVote(msg.sender, candidate, vote); placeLock(msg.sender, candidate); emit Vote(msg.sender, candidate, vote, bonded); } function commit(address candidate) external { Require.that( isNominated(candidate), FILE, "Not nominated" ); uint256 endsAfter = startFor(candidate).add(periodFor(candidate)).sub(1); Require.that( epoch() > endsAfter, FILE, "Not ended" ); Require.that( Decimal.ratio(votesFor(candidate), totalBondedAt(endsAfter)).greaterThan(Constants.getGovernanceQuorum()), FILE, "Must have quorom" ); Require.that( approveFor(candidate) > rejectFor(candidate), FILE, "Not approved" ); upgradeTo(candidate); emit Commit(msg.sender, candidate); } function emergencyCommit(address candidate) external { Require.that( isNominated(candidate), FILE, "Not nominated" ); Require.that( epochTime() > epoch().add(Constants.getGovernanceEmergencyDelay()), FILE, "Epoch synced" ); Require.that( Decimal.ratio(approveFor(candidate), totalSupply()).greaterThan(Constants.getGovernanceSuperMajority()), FILE, "Must have super majority" ); Require.that( approveFor(candidate) > rejectFor(candidate), FILE, "Not approved" ); upgradeTo(candidate); emit Commit(msg.sender, candidate); } function canPropose(address account) private view returns (bool) { if (totalBonded() == 0) { return false; } Decimal.D256 memory stake = Decimal.ratio(balanceOf(account), totalSupply()); //1% return stake.greaterThan(Decimal.ratio(1, 100)); } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // SPDX-License-Identifier: GPL-3.0-or-later // computes square roots using the babylonian method // https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method library Babylonian { function sqrt(uint y) internal pure returns (uint z) { if (y > 3) { z = y; uint x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } // else z = 0 } } // SPDX-License-Identifier: GPL-3.0-or-later // a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format)) library FixedPoint { // range: [0, 2**112 - 1] // resolution: 1 / 2**112 struct uq112x112 { uint224 _x; } // range: [0, 2**144 - 1] // resolution: 1 / 2**112 struct uq144x112 { uint _x; } uint8 private constant RESOLUTION = 112; uint private constant Q112 = uint(1) << RESOLUTION; uint private constant Q224 = Q112 << RESOLUTION; // encode a uint112 as a UQ112x112 function encode(uint112 x) internal pure returns (uq112x112 memory) { return uq112x112(uint224(x) << RESOLUTION); } // encodes a uint144 as a UQ144x112 function encode144(uint144 x) internal pure returns (uq144x112 memory) { return uq144x112(uint256(x) << RESOLUTION); } // divide a UQ112x112 by a uint112, returning a UQ112x112 function div(uq112x112 memory self, uint112 x) internal pure returns (uq112x112 memory) { require(x != 0, 'FixedPoint: DIV_BY_ZERO'); return uq112x112(self._x / uint224(x)); } // multiply a UQ112x112 by a uint, returning a UQ144x112 // reverts on overflow function mul(uq112x112 memory self, uint y) internal pure returns (uq144x112 memory) { uint z; require(y == 0 || (z = uint(self._x) * y) / y == uint(self._x), "FixedPoint: MULTIPLICATION_OVERFLOW"); return uq144x112(z); } // returns a UQ112x112 which represents the ratio of the numerator to the denominator // equivalent to encode(numerator).div(denominator) function fraction(uint112 numerator, uint112 denominator) internal pure returns (uq112x112 memory) { require(denominator > 0, "FixedPoint: DIV_BY_ZERO"); return uq112x112((uint224(numerator) << RESOLUTION) / denominator); } // decode a UQ112x112 into a uint112 by truncating after the radix point function decode(uq112x112 memory self) internal pure returns (uint112) { return uint112(self._x >> RESOLUTION); } // decode a UQ144x112 into a uint144 by truncating after the radix point function decode144(uq144x112 memory self) internal pure returns (uint144) { return uint144(self._x >> RESOLUTION); } // take the reciprocal of a UQ112x112 function reciprocal(uq112x112 memory self) internal pure returns (uq112x112 memory) { require(self._x != 0, 'FixedPoint: ZERO_RECIPROCAL'); return uq112x112(uint224(Q224 / self._x)); } // square root of a UQ112x112 function sqrt(uq112x112 memory self) internal pure returns (uq112x112 memory) { return uq112x112(uint224(Babylonian.sqrt(uint256(self._x)) << 56)); } } // library with helper methods for oracles that are concerned with computing average prices library UniswapV2OracleLibrary { using FixedPoint for *; // helper function that returns the current block timestamp within the range of uint32, i.e. [0, 2**32 - 1] function currentBlockTimestamp() internal view returns (uint32) { return uint32(block.timestamp % 2 ** 32); } // produces the cumulative price using counterfactuals to save gas and avoid a call to sync. function currentCumulativePrices(address pair) internal view returns (uint price0Cumulative, uint price1Cumulative, uint32 blockTimestamp) { blockTimestamp = currentBlockTimestamp(); price0Cumulative = IUniswapV2Pair(pair).price0CumulativeLast(); price1Cumulative = IUniswapV2Pair(pair).price1CumulativeLast(); // if time has elapsed since the last update on the pair, mock the accumulated price values (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) = IUniswapV2Pair(pair).getReserves(); if (blockTimestampLast != blockTimestamp) { // subtraction overflow is desired uint32 timeElapsed = blockTimestamp - blockTimestampLast; // addition overflow is desired // counterfactual price0Cumulative += uint(FixedPoint.fraction(reserve1, reserve0)._x) * timeElapsed; // counterfactual price1Cumulative += uint(FixedPoint.fraction(reserve0, reserve1)._x) * timeElapsed; } } } library UniswapV2Library { using SafeMath for uint; // returns sorted token addresses, used to handle return values from pairs sorted in this order function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) { require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES'); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS'); } // calculates the CREATE2 address for a pair without making any external calls function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) { (address token0, address token1) = sortTokens(tokenA, tokenB); pair = address(uint(keccak256(abi.encodePacked( hex'ff', factory, keccak256(abi.encodePacked(token0, token1)), hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash )))); } // fetches and sorts the reserves for a pair function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) { (address token0,) = sortTokens(tokenA, tokenB); (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves(); (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0); } // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) { require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT'); require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY'); amountB = amountA.mul(reserveB) / reserveA; } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract IUSDC { function isBlacklisted(address _account) external view returns (bool); } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Oracle is IOracle { using Decimal for Decimal.D256; bytes32 private constant FILE = "Oracle"; address private constant UNISWAP_FACTORY = address(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); address internal _dao; address internal _dollar; bool internal _initialized; IUniswapV2Pair internal _pair; uint256 internal _index; uint256 internal _cumulative; uint32 internal _timestamp; uint256 internal _reserve; constructor () public { _dao = dao(); _dollar = dollar(); setup(); } function setup() private { _pair = IUniswapV2Pair(IUniswapV2Factory(UNISWAP_FACTORY).getPair(_dollar, usdc())); (address token0, address token1) = (_pair.token0(), _pair.token1()); _index = _dollar == token0 ? 0 : 1; Require.that( _index == 0 || _dollar == token1, FILE, "Døllar not found" ); } /** * Trades/Liquidity: (1) Initializes reserve and blockTimestampLast (can calculate a price) * (2) Has non-zero cumulative prices * * Steps: (1) Captures a reference blockTimestampLast * (2) First reported value */ function capture() public onlyDao returns (Decimal.D256 memory, bool) { if (_initialized) { return updateOracle(); } else { initializeOracle(); return (Decimal.one(), false); } } function initializeOracle() private { IUniswapV2Pair pair = _pair; uint256 priceCumulative = _index == 0 ? pair.price0CumulativeLast() : pair.price1CumulativeLast(); (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) = pair.getReserves(); if(reserve0 != 0 && reserve1 != 0 && blockTimestampLast != 0) { _cumulative = priceCumulative; _timestamp = blockTimestampLast; _initialized = true; _reserve = _index == 0 ? reserve1 : reserve0; // get counter's reserve } } function updateOracle() private returns (Decimal.D256 memory, bool) { Decimal.D256 memory price = updatePrice(); uint256 lastReserve = updateReserve(); bool isBlacklisted = IUSDC(usdc()).isBlacklisted(address(_pair)); bool valid = true; if (lastReserve < Constants.getOracleReserveMinimum()) { valid = false; } if (_reserve < Constants.getOracleReserveMinimum()) { valid = false; } if (isBlacklisted) { valid = false; } return (price, valid); } function updatePrice() private returns (Decimal.D256 memory) { (uint256 price0Cumulative, uint256 price1Cumulative, uint32 blockTimestamp) = UniswapV2OracleLibrary.currentCumulativePrices(address(_pair)); uint32 timeElapsed = blockTimestamp - _timestamp; // overflow is desired uint256 priceCumulative = _index == 0 ? price0Cumulative : price1Cumulative; Decimal.D256 memory price = Decimal.ratio((priceCumulative - _cumulative) / timeElapsed, 2**112); _timestamp = blockTimestamp; _cumulative = priceCumulative; return price.mul(1e12); } function updateReserve() private returns (uint256) { uint256 lastReserve = _reserve; (uint112 reserve0, uint112 reserve1,) = _pair.getReserves(); _reserve = _index == 0 ? reserve1 : reserve0; // get counter's reserve return lastReserve; } function usdc() internal view returns (address) { return Constants.getUsdcAddress(); } function dao() internal view returns (address) { return Constants.getDaoAddress(); } function dollar() internal view returns (address) { return Constants.getDollarAddress(); } function pair() external view returns (address) { return address(_pair); } function reserve() external view returns (uint256) { return _reserve; } modifier onlyDao() { Require.that( msg.sender == _dao, FILE, "Not dao" ); _; } } /* Copyright 2020 Freq Set Dollar <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ contract Implementation is State, Bonding, Market, Regulator, Govern { using SafeMath for uint256; event Advance(uint256 indexed epoch, uint256 block, uint256 timestamp, string res); event Incentivization(address indexed account, uint256 amount); function initialize() initializer public { _state.provider.oracle = IOracle(0xF841bC7E3e43774Db8dE9d32dBBeF933613Ab2F6); } function advance() external incentivized { Bonding.step(); Regulator.step(); Market.step(); emit Advance(epoch(), block.number, block.timestamp, "market done"); } modifier incentivized { // Mint advance reward to sender uint256 incentive = Constants.getAdvanceIncentive(); mintToAccount(msg.sender, incentive); emit Incentivization(msg.sender, incentive); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"string","name":"res","type":"string"}],"name":"Advance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"valueUnderlying","type":"uint256"}],"name":"Bond","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemablePrice","type":"uint256"}],"name":"BondBurn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"dollarAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"premium","type":"uint256"}],"name":"BondPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bondAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemablePrice","type":"uint256"}],"name":"BondRedemption","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"candidate","type":"address"}],"name":"Commit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"CouponApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"couponAmount","type":"uint256"}],"name":"CouponBurn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"couponsExpired","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lessRedeemable","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lessDebt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBonded","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBondRedeemable","type":"uint256"}],"name":"CouponExpiration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dollarAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"couponAmount","type":"uint256"}],"name":"CouponPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"couponAmount","type":"uint256"}],"name":"CouponRedemption","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"CouponTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Incentivization","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"candidate","type":"address"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"period","type":"uint256"}],"name":"Proposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDebt","type":"uint256"}],"name":"SupplyDecrease","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRedeemable","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lessDebt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBonded","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBondRedeemable","type":"uint256"}],"name":"SupplyIncrease","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"SupplyNeutral","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"valueUnderlying","type":"uint256"}],"name":"Unbond","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"candidate","type":"address"},{"indexed":false,"internalType":"enum Candidate.Vote","name":"vote","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"bonded","type":"uint256"}],"name":"Vote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Withdraw","type":"event"},{"constant":false,"inputs":[],"name":"advance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowanceCoupons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approveCoupons","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"approveFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfBonded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"balanceOfBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"balanceOfCoupons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfStaged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"bond","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"bootstrappingAt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"commit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"couponPremium","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"couponEpoch","type":"uint256"},{"internalType":"uint256","name":"couponAmount","type":"uint256"}],"name":"couponRedemptionPenalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"couponsExpiration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dollar","outputs":[{"internalType":"contract IDollar","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"emergencyCommit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"epochPrice","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"epochTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"expiringCoupons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"i","type":"uint256"}],"name":"expiringCouponsAtIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"fluidUntil","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"getBondPremium","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"getRedeemablePrice","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"impl","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"isNominated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"lockedUntil","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"oracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"outstandingBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"outstandingCoupons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"periodFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"dollarAmount","type":"uint256"}],"name":"purchaseBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"purchaseBondsByDAO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"candidate","type":"address"}],"name":"recordedVote","outputs":[{"internalType":"enum Candidate.Vote","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"bondEpoch","type":"uint256"},{"internalType":"uint256","name":"bondAmount","type":"uint256"}],"name":"redeemBonds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"couponEpoch","type":"uint256"},{"internalType":"uint256","name":"couponAmount","type":"uint256"},{"internalType":"uint256","name":"minOutput","type":"uint256"}],"name":"redeemCoupons","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"couponEpoch","type":"uint256"},{"internalType":"uint256","name":"couponAmount","type":"uint256"}],"name":"redeemCoupons","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"rejectFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"startFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"statusOf","outputs":[{"internalType":"enum Account.Status","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBondRedeemable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBonded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"}],"name":"totalBondedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalCoupons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalNet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRedeemable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalStaged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferCoupons","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"unbond","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"unbondUnderlying","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"candidate","type":"address"},{"internalType":"enum Candidate.Vote","name":"vote","type":"uint8"}],"name":"vote","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"candidate","type":"address"}],"name":"votesFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50614ea3806100206000396000f3fe608060405234801561001057600080fd5b50600436106103fb5760003560e01c80638129fc1c11610215578063b6b55f2511610125578063d6a9cf08116100b8578063ea105ac711610087578063ea105ac71461084d578063f1b7cf4914610855578063f263c47014610868578063fc7b9c1814610870578063ffbe3b7314610878576103fb565b8063d6a9cf0814610806578063d8f5413814610819578063dd62ed3e1461082c578063df9a2b1c1461083a576103fb565b8063c9aff70c116100f4578063c9aff70c146107c5578063cdf13120146107d8578063cf023779146107eb578063d60b347f146107f3576103fb565b8063b6b55f2514610779578063bc0b1df61461078c578063bc7513e21461079f578063bceb514d146107b2576103fb565b806397a5d5b5116101a85780639f6e1b26116101775780639f6e1b2614610738578063a1eb31e81461074b578063a50cd8e71461075e578063a6c409f114610771578063a9059cbb14610453576103fb565b806397a5d5b5146106f75780639940686e1461070a5780639a649edc1461071d5780639bc289f114610725576103fb565b80638f1a0c07116101e45780638f1a0c07146106c1578063900cf0cf146106d457806395649a9a146106dc57806395d89b41146106ef576103fb565b80638129fc1c1461068057806381990b6a14610688578063825ad6071461069b57806386cf9f14146106ae576103fb565b8063353a420c116103105780635053e461116102a35780636466802211610272578063646680221461062c5780636a39e3281461063f57806370a082311461065257806375d5024b146106655780637dc0d1d014610678576103fb565b80635053e461146105f457806351adeb57146105fc57806351bf21d8146106115780635c60da1b14610624576103fb565b806344d96e95116102df57806344d96e95146105a657806347c05069146105ae5780634a10c12e146105c15780634c736099146105e1576103fb565b8063353a420c1461054d578063369e8c1d146105605780633a3e6c81146105735780633fbba9a614610586576103fb565b806316f0115b1161039357806323b872dd1161036257806323b872dd146104ec57806327de9e32146104ff5780632e1a7d4d146105125780632f7f889e14610525578063313ce56714610538576103fb565b806316f0115b146104b457806318160ddd146104c95780631bd342ef146104d15780631edbcf6c146104e4576103fb565b806310e95b6c116103cf57806310e95b6c14610473578063118ebbf91461048657806313c5c8cf1461049957806315e14bf6146104a1576103fb565b80625edd3714610400578063011150b51461041557806306fdde031461043e578063095ea7b314610453575b600080fd5b61041361040e3660046144f6565b61088b565b005b610428610423366004614605565b6109ae565b6040516104359190614b9f565b60405180910390f35b610446610bdf565b6040516104359190614af0565b610466610461366004614587565b610c0f565b6040516104359190614ab8565b610428610481366004614605565b610c18565b610413610494366004614641565b610c2d565b610428610e31565b6104286104af366004614451565b610e37565b6104bc610e55565b6040516104359190614a59565b610428610e64565b6104136104df366004614605565b610e6a565b610428610fdd565b6104666104fa3660046144a9565b610fe3565b61041361050d366004614605565b610fed565b610413610520366004614605565b6110e2565b610413610533366004614587565b61121a565b61054061129a565b6040516104359190614c4e565b61042861055b366004614451565b61129f565b61041361056e366004614451565b6112bd565b610466610581366004614451565b6113ff565b61059961059436600461446f565b61141c565b6040516104359190614ad4565b61042861144f565b6104136105bc366004614451565b611455565b6105d46105cf366004614605565b611548565b6040516104359190614b91565b6104286105ef366004614641565b61158b565b6104286115bb565b6106046115de565b6040516104359190614ac6565b61042861061f366004614451565b6115ed565b6104bc61160b565b61042861063a366004614451565b611630565b61042861064d366004614605565b61164e565b610428610660366004614451565b611663565b610466610673366004614605565b611681565b610604611694565b6104136116a3565b6105d4610696366004614605565b611714565b6104286106a9366004614451565b611742565b6104286106bc366004614451565b611782565b6105d46106cf366004614605565b61179d565b61042861183f565b6104286106ea366004614605565b611845565b610446611857565b610599610705366004614451565b611875565b610413610718366004614605565b6118da565b61042861199d565b610428610733366004614451565b6119a3565b61042861074636600461446f565b6119c1565b610428610759366004614641565b6119f0565b61042861076c366004614451565b611b0a565b610428611b21565b610413610787366004614605565b611bab565b61041361079a366004614660565b611c83565b6104286107ad366004614587565b611db7565b6104136107c0366004614557565b611dfb565b6104286107d3366004614605565b612096565b6104286107e6366004614587565b6120ab565b6104286120eb565b610466610801366004614451565b6120f1565b610413610814366004614641565b612112565b610428610827366004614605565b612200565b61042861046136600461446f565b610413610848366004614605565b61228b565b610413612349565b610428610863366004614451565b6123fc565b610428612417565b61042861241d565b610428610886366004614605565b612423565b6001600160a01b0384166108ba5760405162461bcd60e51b81526004016108b190614b71565b60405180910390fd5b6001600160a01b0383166108e05760405162461bcd60e51b81526004016108b190614b21565b610904848383604051806060016040528060238152602001614d7b60239139612435565b61090f8383836124e0565b336001600160a01b03851614801590610933575060001961093085336119c1565b14155b1561095c5761095c843383604051806060016040528060248152602001614dc260249139612587565b81836001600160a01b0316856001600160a01b03167f0f1dbb1ccbe57a1590c7baad7b01d581b730c9ebc535dcde4345e6db424063d8846040516109a09190614b9f565b60405180910390a450505050565b6000806109b961183f565b90506109c36143b3565b6109cc82611714565b9050610a0d6109e96109dc6125f8565b839063ffffffff61261a16565b6513585c9ad95d60d21b7054574150206e6f742062656c6f7720315560781b61262e565b610a44600085116513585c9ad95d60d21b7f4d757374207075726368617365206e6f6e652d7a65726f20616d6f756e74000061262e565b610a4c6143b3565b610a5583611548565b90506000610a8f604051806020016040528088815250610a83610a766125f8565b859063ffffffff61268316565b9063ffffffff6126b516565b519050610a9a6115de565b6001600160a01b03166323b872dd3330896040518463ffffffff1660e01b8152600401610ac993929190614a67565b602060405180830381600087803b158015610ae357600080fd5b505af1158015610af7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b1b91908101906145b7565b50610b246115de565b6001600160a01b03166342966c68876040518263ffffffff1660e01b8152600401610b4f9190614b9f565b600060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b50505050610b896126e3565b610b943385836127c3565b81516040518791869133917f9ce3177d2bf2b3b30a10426a8e80d72afbad391091254332868bb60b2081d67191610bcc918791614bad565b60405180910390a493505050505b919050565b604080518082019091526015815274467265712053657420446f6c6c6172205374616b6560581b60208201525b90565b60005b92915050565b6000908152600d602052604090206002015490565b6001610c4783610c3b61183f565b9063ffffffff61285e16565b1015610c655760405162461bcd60e51b81526004016108b190614b11565b610c6d6143b3565b610c7861069661183f565b9050610c826143b3565b610c8b8461179d565b9050610cd0610ca0838363ffffffff6128a016565b6513585c9ad95d60d21b7f526564656d7074696f6e207072696365206e6f7420726561636800000000000061262e565b610cf4338585604051806060016040528060218152602001614d5a602191396128b6565b610cfc6115de565b6001600160a01b031663a9059cbb33856040518363ffffffff1660e01b8152600401610d29929190614a8f565b602060405180830381600087803b158015610d4357600080fd5b505af1158015610d57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610d7b91908101906145b7565b50610d9e836040518060600160405280602f8152602001614de6602f9139612955565b610da66126e3565b8215610dec578051604051859133917fef95aa4c8ad29890339fb0289ae35ec79a31060410dbb6219090046e7473d5ef91610de391889190614bad565b60405180910390a35b8051604051859133917f51976b67980c40d64230efcd6ae3a9e48f32493567dbfaba8215d415bea8381e91610e2391889190614bad565b60405180910390a350505050565b600f5490565b6001600160a01b03166000908152600e602052604090206001015490565b600b546001600160a01b031690565b60035490565b33610eb160025b610e7a83611875565b6002811115610e8557fe5b1415692832b936b4b9b9b4b7b760b11b72139bdd08199c9bde995b881bdc88199b1d5a59606a1b61262e565b6000610ee2610ebe61144f565b610ed6610ec9610e64565b869063ffffffff61297016565b9063ffffffff6129aa16565b9050610f0683604051806060016040528060228152602001614e15602291396129ec565b610f4633826040518060400160405280601d81526020017f426f6e64696e673a20696e73756666696369656e742062616c616e6365000000815250612a07565b610f4e6115de565b6001600160a01b031663a9059cbb33856040518363ffffffff1660e01b8152600401610f7b929190614a8f565b602060405180830381600087803b158015610f9557600080fd5b505af1158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610fcd91908101906145b7565b50610fd7836109ae565b50505050565b60065490565b60005b9392505050565b33610ff86002610e71565b61100133612ab2565b600061101b61100f33611663565b610ed6610ec933611742565b90506110273382612adc565b61104981604051806060016040528060228152602001614e15602291396129ec565b61108933846040518060400160405280601d81526020017f426f6e64696e673a20696e73756666696369656e742062616c616e6365000000815250612a07565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae75126110c460016110b861183f565b9063ffffffff612b3816565b85846040516110d593929190614be7565b60405180910390a2505050565b3361112a60015b6110f283611875565b60028111156110fd57fe5b1415692832b936b4b9b9b4b7b760b11b73139bdd08199c9bde995b881bdc881b1bd8dad95960621b61262e565b6111326115de565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b815260040161115f929190614a8f565b602060405180830381600087803b15801561117957600080fd5b505af115801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506111b191908101906145b7565b506111d53383604051806060016040528060248152602001614d9e60249139612b5d565b336001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243648360405161120e9190614b9f565b60405180910390a25050565b6001600160a01b0382166112405760405162461bcd60e51b81526004016108b190614b61565b61124b338383612bbc565b816001600160a01b0316336001600160a01b03167f8ff27e6b95060c1ca851e7c2c28af8b413eb1a8bcb637b0290da9543a709cce38360405161128e9190614b9f565b60405180910390a35050565b601290565b6001600160a01b03166000908152600e602052604090206003015490565b6112e96112c9826113ff565b6523b7bb32b93760d11b6c139bdd081b9bdb5a5b985d1959609a1b61262e565b60006113056001610c3b6112fc85610e37565b6110b8866123fc565b90506113308161131361183f565b116523b7bb32b93760d11b68139bdd08195b99195960ba1b61262e565b61138761136461133e612bec565b61135861134a86611b0a565b61135386612423565b612c0e565b9063ffffffff6128a016565b6523b7bb32b93760d11b6f4d75737420686176652071756f726f6d60801b61262e565b6113bc6113938361129f565b61139c84611630565b116523b7bb32b93760d11b6b139bdd08185c1c1c9bdd995960a21b61262e565b6113c582612c34565b6040516001600160a01b0383169033907f815ca4497ab9fc80c76f210e6e842a5e198e195aa136034557eee144f790e7bb90600090a35050565b6001600160a01b03166000908152600e6020526040902054151590565b6001600160a01b038082166000908152600e60209081526040808320938616835260049093019052205460ff1692915050565b60045490565b6114616112c9826113ff565b61149f61147761146f612d20565b6110b861183f565b61147f6115bb565b116523b7bb32b93760d11b6b115c1bd8da081cde5b98d95960a21b61262e565b6114f16114c16114ad612d25565b6113586114b985611630565b611353610e64565b6523b7bb32b93760d11b7f4d7573742068617665207375706572206d616a6f72697479000000000000000061262e565b6115066114fd8261129f565b61139c83611630565b61150f81612c34565b6040516001600160a01b0382169033907f815ca4497ab9fc80c76f210e6e842a5e198e195aa136034557eee144f790e7bb90600090a350565b6115506143b3565b6115586143b3565b6115618361179d565b9050610fe661156e6125f8565b61157f83600263ffffffff612d4716565b9063ffffffff612da416565b6000828152600d602052604081206003018054839081106115a857fe5b9060005260206000200154905092915050565b60006115c56143c6565b6115cd612dcd565b90506115d881612dfc565b91505090565b6009546001600160a01b031690565b6001600160a01b03166000908152600c602052604090206004015490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6001600160a01b03166000908152600e602052604090206002015490565b6000908152600d602052604090206003015490565b6001600160a01b03166000908152600c602052604090206001015490565b600061168b612e1e565b90911115919050565b600a546001600160a01b031690565b6116dc6116b161080161160b565b15692832b936b4b9b9b4b7b760b11b72105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b61262e565b6116ec6116e761160b565b612e23565b600a80546001600160a01b03191673f841bc7e3e43774db8de9d32dbbef933613ab2f6179055565b61171c6143b3565b506000908152601260209081526040918290208251918201909252600190910154815290565b60008061174d610e64565b90508061175e576000915050610bda565b610fe681610ed661176e86611663565b61177661144f565b9063ffffffff61297016565b6001600160a01b03166000908152600c602052604090205490565b6117a56143b3565b6117ad6143b3565b6117b683611714565b90506117d06117c36125f8565b829063ffffffff61261a16565b80156117e257506117e081612e4a565b155b6117fe5760405162461bcd60e51b81526004016108b190614b41565b610fe66118096125f8565b61183361181f6118176125f8565b61157f612e4f565b610a8361182b88611714565b61157f6125f8565b9063ffffffff61268316565b60025490565b60009081526012602052604090205490565b6040805180820190915260048152634653445360e01b602082015290565b600061187f61183f565b6001600160a01b0383166000908152600c602052604090206005015411156118a957506002610bda565b6001600160a01b0382166000908152600c60205260409020600401546118cd61183f565b1015610c0f576001610c12565b336118e56002610e71565b6118ee33612ab2565b60006118f861144f565b1561190d57611908610ebe61144f565b611925565b611925611918612e71565b849063ffffffff61297016565b90506119313382612e78565b61193a83612f14565b61195d3384604051806060016040528060248152602001614d9e60249139612b5d565b337f44002fdef5a0c2d2e4e05572e9780b95aef97e0e93ffd7cc076b09fa78ff2b4661198c60016110b861183f565b83866040516110d593929190614be7565b60085490565b6001600160a01b03166000908152600c602052604090206005015490565b6001600160a01b039182166000908152600c602090815260408083209390941682526003909201909152205490565b6000806119fb612dcd565b604001514281611a0757fe5b069050600084611a1561183f565b0390506000611a22612f2d565b82611a2b612f2d565b03611a34612f33565b0281611a3c57fe5b04905080831115611a535760009350505050610c12565b611a5b6143b3565b611aa2604051806020016040528085611a72612f2d565b03815250610a836040518060200160405280611a8c612f2d565b9052611a96612f39565b9063ffffffff612f5b16565b9050611aac6143b3565b604080516020808201835287860382528251908101909252848252611adc91610a8390859063ffffffff612f5b16565b6040805160208101909152888152909150611afd908263ffffffff6126b516565b5198975050505050505050565b6000610c12611b188361129f565b6110b884611630565b6000611ba6611b2e61241d565b611b366115de565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b6e57600080fd5b505afa158015611b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610c3b9190810190614623565b905090565b33611bb660016110e9565b611bbe6115de565b6001600160a01b03166323b872dd3330856040518463ffffffff1660e01b8152600401611bed93929190614a67565b602060405180830381600087803b158015611c0757600080fd5b505af1158015611c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611c3f91908101906145b7565b50611c4a3383612adc565b336001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161120e9190614b9f565b6002611c9184610c3b61183f565b1015611caf5760405162461bcd60e51b81526004016108b190614b81565b611cd3338484604051806060016040528060238152602001614d7b60239139612435565b6000611cdf84846119f0565b9050808303611d1b838210156513585c9ad95d60d21b7f496e73756666696369656e74206f757470757420616d6f756e7400000000000061262e565b611d253382612f89565b8115611d6e5784336001600160a01b03167f1cd1213d4276c260e84170b4a39025dc8398fbf744edee0709261769b456b94b84604051611d659190614b9f565b60405180910390a35b84336001600160a01b03167f46e9903ae8ac9e9f0c9bc321b05965c1c036e7d4783758703f5cdfc4133c51b683604051611da89190614b9f565b60405180910390a35050505050565b6000611dc282612096565b611dce57506000610c12565b506001600160a01b03919091166000908152600c6020908152604080832093835260029093019052205490565b33611e0660016110e9565b611e376000611e1433611663565b116523b7bb32b93760d11b6e4d7573742068617665207374616b6560881b61262e565b611e40836113ff565b611ee357611e80611e503361303f565b6523b7bb32b93760d11b7f4e6f7420656e6f756768207374616b6520746f2070726f706f7365000000000061262e565b611e9183611e8c613087565b61308c565b611e9961183f565b336001600160a01b0385167fd15e38a680a427478883cd2d32eb664cb6bb2090b0126a23ebaf3e3784b8c56b611ecd613087565b604051611eda9190614b9f565b60405180910390a45b611f13611ef26112fc85610e37565b611efa61183f565b106523b7bb32b93760d11b64115b99195960da1b61262e565b6000611f1e33611663565b90506000611f2c338661141c565b9050806002811115611f3a57fe5b846002811115611f4657fe5b1415611f53575050612091565b6002816002811115611f6157fe5b1415611fa757611fa785836040518060400160405280601b81526020017f476f7665726e3a20496e73756666696369656e742072656a65637400000000008152506130b8565b6001816002811115611fb557fe5b1415611ffb57611ffb85836040518060400160405280601c81526020017f476f7665726e3a20496e73756666696369656e7420617070726f766500000000815250613109565b600284600281111561200957fe5b141561201957612019858361315a565b600184600281111561202757fe5b14156120375761203785836131a9565b6120423386866131f8565b61204c3386613242565b846001600160a01b0316336001600160a01b03167fbe50c78cbc15b0864819aadea36c6499da421b33c38e2ef19bebda583c708c788685604051611da8929190614ae2565b505050565b6000908152600d602052604090206001015490565b60006120b682611845565b6120c257506000610c12565b506001600160a01b03919091166000908152601160209081526040808320938352929052205490565b60055490565b6001600160a01b03166000908152600e602052604090206005015460ff1690565b600261212083610c3b61183f565b101561213e5760405162461bcd60e51b81526004016108b190614b81565b612162338383604051806060016040528060238152602001614d7b60239139612435565b600061216e83836119f0565b905080820361217d3382612f89565b81156121c65783336001600160a01b03167f1cd1213d4276c260e84170b4a39025dc8398fbf744edee0709261769b456b94b846040516121bd9190614b9f565b60405180910390a35b83336001600160a01b03167f46e9903ae8ac9e9f0c9bc321b05965c1c036e7d4783758703f5cdfc4133c51b683604051610e239190614b9f565b6000610c1261220d6115de565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561224557600080fd5b505afa158015612259573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061227d9190810190614623565b61228561241d565b846132a2565b336122966002610e71565b61229f33612ab2565b60006122ac610ebe61144f565b90506122b83384612adc565b6122da83604051806060016040528060228152602001614e15602291396129ec565b61231a33826040518060400160405280601d81526020017f426f6e64696e673a20696e73756666696369656e742062616c616e6365000000815250612a07565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae751261198c60016110b861183f565b60006123536132cf565b905061235f33826132dc565b336001600160a01b03167fbb4f656853bc420ad6e4321622c07eefb4ed40e3f91b35553ce14a6dff4c0981826040516123989190614b9f565b60405180910390a26123a861337c565b6123b06133c7565b6123b861344d565b6123c061183f565b7fec092ba008a42935500c5ad8f03639c7e30ebaa7182df79519ba40aafa935c6b43426040516123f1929190614bbb565b60405180910390a250565b6001600160a01b03166000908152600e602052604090205490565b60105490565b60075490565b6000908152600d602052604090205490565b6001600160a01b0384166000908152600c6020908152604080832086845260020190915290205461246d90838363ffffffff6134a716565b6001600160a01b0385166000908152600c60209081526040808320878452600201825280832093909355600d905220600101546124b190838363ffffffff6134a716565b6000848152600d60205260409020600101556008546124d790838363ffffffff6134a716565b60085550505050565b6001600160a01b0383166000908152600c60209081526040808320858452600201909152902054612517908263ffffffff612b3816565b6001600160a01b0384166000908152600c60209081526040808320868452600201825280832093909355600d9052206001015461255a908263ffffffff612b3816565b6000838152600d602052604090206001015560085461257f908263ffffffff612b3816565b600855505050565b6001600160a01b038085166000908152600c6020908152604080832093871683526003909301905220546125c290838363ffffffff6134a716565b6001600160a01b039485166000908152600c60209081526040808320969097168252600390950190945293909220929092555050565b6126006143b3565b506040805160208101909152670de0b6b3a7640000815290565b600061262683836134d3565b159392505050565b826120915761263c82613505565b6101d160f51b61264b83613505565b60405160200161265d93929190614a28565b60408051601f198184030181529082905262461bcd60e51b82526108b191600401614af0565b61268b6143b3565b60408051602081019091528251845182916126ac919063ffffffff612b3816565b90529392505050565b6126bd6143b3565b60405180602001604052806126ac85600001518560000151670de0b6b3a7640000613585565b6127c161270f6126f1610e31565b6110b86126fc610fdd565b6110b86127076120eb565b6110b861144f565b6127176115de565b6001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016127429190614a59565b60206040518083038186803b15801561275a57600080fd5b505afa15801561276e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506127929190810190614623565b10156a21b7b6b83a3937b63632b960a91b74496e636f6e73697374656e742062616c616e63657360581b61262e565b565b6001600160a01b03831660009081526011602090815260408083208584529091529020546127f7908263ffffffff612b3816565b6001600160a01b0384166000908152601160209081526040808320868452825280832093909355601290522054612834908263ffffffff612b3816565b600083815260126020526040902055601054612856908263ffffffff612b3816565b601055505050565b6000610fe683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506134a7565b60006128ac83836134d3565b6002149392505050565b6001600160a01b03841660009081526011602090815260408083208684529091529020546128eb90838363ffffffff6134a716565b6001600160a01b038516600090815260116020908152604080832087845282528083209390935560129052205461292990838363ffffffff6134a716565b60008481526012602052604090205560105461294c90838363ffffffff6134a716565b60105550505050565b600f5461296990838363ffffffff6134a716565b600f555050565b60008261297f57506000610c12565b8282028284828161298c57fe5b0414610fe65760405162461bcd60e51b81526004016108b190614b31565b6000610fe683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061359b565b600454612a0090838363ffffffff6134a716565b6004555050565b6001600160a01b0383166000908152600c6020526040902060010154612a3490838363ffffffff6134a716565b6001600160a01b0384166000908152600c6020526040902060010155600354612a6490838363ffffffff6134a716565b6003556040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612aa5908690614b9f565b60405180910390a3505050565b612abd61146f6135d2565b6001600160a01b039091166000908152600c6020526040902060040155565b6001600160a01b0382166000908152600c6020526040902054612b05908263ffffffff612b3816565b6001600160a01b0383166000908152600c6020526040902055600554612b31908263ffffffff612b3816565b6005555050565b600082820183811015610fe65760405162461bcd60e51b81526004016108b190614b01565b6001600160a01b0383166000908152600c6020526040902054612b8790838363ffffffff6134a716565b6001600160a01b0384166000908152600c6020526040902055600554612bb490838363ffffffff6134a716565b600555505050565b6001600160a01b039283166000908152600c60209081526040808320949095168252600390930190925291902055565b612bf46143b3565b5060408051602081019091526702c68af0bb140000815290565b612c166143b3565b60405180602001604052806126ac85670de0b6b3a764000086613585565b612c3d816135d7565b60408051600481526024810182526020810180516001600160e01b031663204a7f0760e21b17905290516000916060916001600160a01b03851691612c8191614a1c565b600060405180830381855af49150503d8060008114612cbc576040519150601f19603f3d011682016040523d82523d6000602084013e612cc1565b606091505b5091509150818190612ce65760405162461bcd60e51b81526004016108b19190614af0565b506040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2505050565b600690565b612d2d6143b3565b506040805160208101909152670928ca80cfc20000815290565b612d4f6143b3565b81612d6557612d5e6001613620565b9050610c12565b612d6d6143b3565b5060408051602081019091528351815260015b83811015612d9c57612d9282866126b5565b9150600101612d80565b509392505050565b612dac6143b3565b60408051602081019091528251845182916126ac919063ffffffff61285e16565b612dd56143c6565b604051806060016040528060008152602001635ff535c08152602001610e10815250905090565b6000610c1282600001516110b88460400151610ed68660200151610c3b613654565b60a890565b6001600160a01b03166000908152600e60205260409020600501805460ff19166001179055565b511590565b612e576143b3565b5060408051602081019091526710a741a462780000815290565b620f424090565b6001600160a01b0382166000908152600c6020526040902060010154612ea4908263ffffffff612b3816565b6001600160a01b0383166000908152600c6020526040902060010155600354612ed3908263ffffffff612b3816565b6003556040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061128e908590614b9f565b600454612f27908263ffffffff612b3816565b60045550565b6102d090565b61070890565b612f416143b3565b506040805160208101909152670905438e60010000815290565b612f636143b3565b60405180602001604052806126ac8560000151670de0b6b3a76400008660000151613585565b612f916115de565b6001600160a01b031663a9059cbb83836040518363ffffffff1660e01b8152600401612fbe929190614aaa565b602060405180830381600087803b158015612fd857600080fd5b505af1158015612fec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061301091908101906145b7565b50613033816040518060600160405280602a8152602001614e37602a9139613658565b61303b6126e3565b5050565b600061304961144f565b61305557506000610bda565b61305d6143b3565b6130696114b984611663565b9050610fe661307a60016064612c0e565b829063ffffffff6128a016565b601890565b61309461183f565b6001600160a01b039092166000908152600e60205260409020918255600190910155565b6001600160a01b0383166000908152600e60205260409020600301546130e590838363ffffffff6134a716565b6001600160a01b039093166000908152600e60205260409020600301929092555050565b6001600160a01b0383166000908152600e602052604090206002015461313690838363ffffffff6134a716565b6001600160a01b039093166000908152600e60205260409020600201929092555050565b6001600160a01b0382166000908152600e6020526040902060030154613186908263ffffffff612b3816565b6001600160a01b039092166000908152600e602052604090206003019190915550565b6001600160a01b0382166000908152600e60205260409020600201546131d5908263ffffffff612b3816565b6001600160a01b039092166000908152600e602052604090206002019190915550565b6001600160a01b038083166000908152600e6020908152604080832093871683526004909301905220805482919060ff1916600183600281111561323857fe5b0217905550505050565b6001600160a01b0382166000908152600c60205260408120600501549061327461326b84610e37565b6110b8856123fc565b905081811115610fd7576001600160a01b0384166000908152600c6020526040902060050181905550505050565b60006132c76132c2836132b6878787613673565b9063ffffffff6137d416565b6137fb565b949350505050565b683635c9adc5dea0000090565b6132e46115de565b6001600160a01b03166340c10f1983836040518363ffffffff1660e01b8152600401613311929190614aaa565b602060405180830381600087803b15801561332b57600080fd5b505af115801561333f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061336391908101906145b7565b5061336f61067361183f565b6130335761303381613818565b6133b761338761183f565b61338f6115bb565b1166426f6e64696e6760c81b720a6e8d2d8d840c6eae4e4cadce840cae0dec6d606b1b61262e565b6133bf613839565b6127c1613860565b6133cf6143b3565b6133d7613879565b90506133e461307a6125f8565b15613400576133f1613952565b6133fa81613959565b506127c1565b61340b6117c36125f8565b15613419576133fa81613a15565b61342161183f565b6040517fff7db5a0dc69b02c191ba632db46961b7d0daa1bd30709ddba9b80ad0a15d2c090600090a250565b60005b61345b61064d61183f565b8110156134835761347b61347661347061183f565b8361158b565b613a83565b600101613450565b50600061349161146f612f2d565b90506134a461349e61183f565b82613b35565b50565b600081848411156134cb5760405162461bcd60e51b81526004016108b19190614af0565b505050900390565b8051825160009114156134e857506001610c12565b81518351116134f85760006134fb565b60025b60ff169392505050565b606080826040516020016135199190614a07565b60408051601f19818403018152919052905060205b801561356e5781516000199091019082908290811061354957fe5b01602001516001600160f81b031916156135695760010181529050610bda565b61352e565b505060408051600081526020810190915292915050565b60006132c782610ed6868663ffffffff61297016565b600081836135bc5760405162461bcd60e51b81526004016108b19190614af0565b5060008385816135c857fe5b0495945050505050565b600c90565b6135e081613b67565b6135fc5760405162461bcd60e51b81526004016108b190614b51565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6136286143b3565b60408051602081019091528061364c84670de0b6b3a764000063ffffffff61297016565b905292915050565b4290565b60065461366c90838363ffffffff6134a716565b6006555050565b61367b6143b3565b6136836143b3565b61368d8486612c0e565b90506136976143b3565b61369f613b6d565b905060006136b3878663ffffffff61285e16565b905060006136c7878763ffffffff61285e16565b90506136d16143b3565b6136db8284612c0e565b90506136ed858563ffffffff6128a016565b156137bd57613702818563ffffffff6128a016565b1561371c5761371084613b8f565b95505050505050610fe6565b6137246143b3565b61372e8286613bdb565b90506137386143b3565b613748868463ffffffff612da416565b90506137526143b3565b61375b87613b8f565b90506137656143b3565b613775898963ffffffff612da416565b90506137ad61378a848363ffffffff61268316565b611a9661379d858563ffffffff6126b516565b611833888863ffffffff6126b516565b9950505050505050505050610fe6565b6137c78186613bdb565b9998505050505050505050565b6137dc6143b3565b6040805160208101909152835181906126ac908563ffffffff61297016565b8051600090610c1290670de0b6b3a764000063ffffffff6129aa16565b61382181613c31565b61383161382c613b6d565b613c4a565b6134a46126e3565b613841610e64565b600d600061384d61183f565b8152602081019190915260400160002055565b60025461387490600163ffffffff612b3816565b600255565b6138816143b3565b6138896143b3565b6000613893611694565b6001600160a01b031663d4a3e9d76040518163ffffffff1660e01b81526004016040805180830381600087803b1580156138cc57600080fd5b505af11580156138e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061390491908101906145d5565b915091506139186106736001610c3b61183f565b1561392e57613925613cfd565b92505050610c0c565b8061393b576139256125f8565b61394c61394661183f565b83613d1f565b50905090565b6000600755565b6139616143b3565b61398c61398761396f613d38565b611a9661397a6125f8565b869063ffffffff612da416565b613d5b565b905060006139ab6132c261399e611b21565b849063ffffffff6137d416565b90506000806000806139bc85613d8f565b93509350935093506139cc61183f565b87516040517fe87fb830623d3be02bfcbf04e8126081201eb233b79a21ea9d65dbab803bd38e91613a04918890889088908890614c02565b60405180910390a250505050505050565b613a1d6143b3565b613a2c6139878361157f6125f8565b90506000613a3e6132c261399e611b21565b9050613a4981613818565b613a5161183f565b83516040517f5e139d4b8080a4a00dcc151e8217694aeebae893936326aa22096924a9906677916110d5918590614bad565b6000613a8e82612096565b90506000808080613a9e86613fdd565b6000613aa8610fdd565b90506000613ab461199d565b905080821115613aeb57613ace828263ffffffff61285e16565b9550613ad986614020565b613ae286613d8f565b91975095509350505b877f6ce6cab103491bf8a74a64000ddf74127a59d06968a58cd2b2ce1f97e0f4e2cb8888888888604051613b23959493929190614c02565b60405180910390a25050505050505050565b6000828152600d6020908152604080832060020184905592825291812060030180546001810182559082529190200155565b3b151590565b613b756143b3565b5060408051602081019091526706f05b59d3b20000815290565b613b976143b3565b610c12613ba660016003612c0e565b61157f613bd3613bc96002613bbd8861157f6125f8565b9063ffffffff612d4716565b610a836003613620565b611a966125f8565b613be36143b3565b613bf3838363ffffffff6140a716565b15613c0157612d5e83613b8f565b610fe6613c1060016003612c0e565b61157f613bd3613c228761157f6125f8565b610a83613bc98861157f6125f8565b600754613c44908263ffffffff612b3816565b60075550565b6000613cca6132c2613c5a6115de565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015613c9257600080fd5b505afa158015613ca6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061399e9190810190614623565b90506000613cd661241d565b905081811115612091576000613cf2828463ffffffff61285e16565b9050610fd7816140ae565b613d056143b3565b506040805160208101909152671e87f85809dc0000815290565b6000918252601260205260409091209051600190910155565b613d406143b3565b50604080516020810190915268014d1120d7b1600000815290565b613d636143b3565b613d6b6143b3565b613d736140ed565b9050613d85838263ffffffff6128a016565b610c125782610fe6565b600080808080808080613db56064610ed6613da861410f565b8c9063ffffffff61297016565b9150613dc082614114565b818911613dce576000613dde565b613dde898363ffffffff61285e16565b9850613de8612417565b613df0610e31565b1080613e095750613dff61199d565b613e07610fdd565b105b15613f9857613e16612417565b613e1e610e31565b10613e2a576000613e3d565b613e3d613e35610e31565b610c3b612417565b9050613e4761199d565b613e4f610fdd565b10613e5b576000613e6e565b613e6e613e66610fdd565b610c3b61199d565b93506000613e8f6064610ed6613e826141a8565b8d9063ffffffff61297016565b90506000613eba6064610ed6613ead6064613ea86141a8565b61285e565b8e9063ffffffff61297016565b905082821015613f2f578515613ef757808611613ed75785613ed9565b805b9550613ee4866141ad565b613ef48b8763ffffffff61285e16565b9a505b8215613f2a578a8311613f0a5782613f0c565b8a5b9250613f178361423e565b613f278b8463ffffffff61285e16565b9a505b613f95565b8215613f6257818311613f425782613f44565b815b9250613f4f8361423e565b613f5f8b8463ffffffff61285e16565b9a505b8515613f95578a8611613f755785613f77565b8a5b9550613f82866141ad565b613f928b8763ffffffff61285e16565b9a505b50505b613fa061144f565b613fa957600098505b8815613fb857613fb8896142cf565b8383613fca8b8563ffffffff612b3816565b9199509750955093505050509193509193565b6000613fe882612096565b905080613ff557506134a4565b600854614008908263ffffffff61285e16565b600855506000908152600d6020526040812060010155565b6140286115de565b6001600160a01b03166342966c68826040518263ffffffff1660e01b81526004016140539190614b9f565b600060405180830381600087803b15801561406d57600080fd5b505af1158015614081573d6000803e3d6000fd5b50505050613831816040518060600160405280602a8152602001614e37602a9139613658565b5190511490565b613831816040518060400160405280601c81526020017f436f6d7074726f6c6c65723a206e6f7420656e6f756768206465627400000000815250614366565b6140f56143b3565b50604080516020810190915267016345785d8a0000815290565b603290565b80156134a4576141226115de565b6001600160a01b03166340c10f19614138610e55565b836040518363ffffffff1660e01b8152600401614156929190614aaa565b602060405180830381600087803b15801561417057600080fd5b505af1158015614184573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061303b91908101906145b7565b605090565b6141b56115de565b6001600160a01b03166340c10f1930836040518363ffffffff1660e01b81526004016141e2929190614aaa565b602060405180830381600087803b1580156141fc57600080fd5b505af1158015614210573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061423491908101906145b7565b5061383181614381565b6142466115de565b6001600160a01b03166340c10f1930836040518363ffffffff1660e01b8152600401614273929190614aaa565b602060405180830381600087803b15801561428d57600080fd5b505af11580156142a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506142c591908101906145b7565b506138318161439a565b80156134a4576142dd6115de565b6001600160a01b03166340c10f1930836040518363ffffffff1660e01b815260040161430a929190614aaa565b602060405180830381600087803b15801561432457600080fd5b505af1158015614338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061435c91908101906145b7565b506134a481612f14565b60075461437a90838363ffffffff6134a716565b6007555050565b600654614394908263ffffffff612b3816565b60065550565b600f546143ad908263ffffffff612b3816565b600f5550565b6040518060200160405280600081525090565b60405180606001604052806000815260200160008152602001600081525090565b8035610c1281614d26565b8051610c1281614d3a565b8035610c1281614d43565b60006020828403121561441a57600080fd5b6144246020614c5c565b905060006144328484614446565b82525092915050565b8035610c1281614d50565b8051610c1281614d50565b60006020828403121561446357600080fd5b60006132c784846143e7565b6000806040838503121561448257600080fd5b600061448e85856143e7565b925050602061449f858286016143e7565b9150509250929050565b6000806000606084860312156144be57600080fd5b60006144ca86866143e7565b93505060206144db868287016143e7565b92505060406144ec8682870161443b565b9150509250925092565b6000806000806080858703121561450c57600080fd5b600061451887876143e7565b9450506020614529878288016143e7565b935050604061453a8782880161443b565b925050606061454b8782880161443b565b91505092959194509250565b6000806040838503121561456a57600080fd5b600061457685856143e7565b925050602061449f858286016143fd565b6000806040838503121561459a57600080fd5b60006145a685856143e7565b925050602061449f8582860161443b565b6000602082840312156145c957600080fd5b60006132c784846143f2565b600080604083850312156145e857600080fd5b60006145f48585614408565b925050602061449f858286016143f2565b60006020828403121561461757600080fd5b60006132c7848461443b565b60006020828403121561463557600080fd5b60006132c78484614446565b6000806040838503121561465457600080fd5b60006145a6858561443b565b60008060006060848603121561467557600080fd5b6000614681868661443b565b93505060206144db8682870161443b565b61469b81614cc9565b82525050565b61469b81614c90565b61469b81614c9b565b61469b6146bf82614ca0565b610c0c565b61469b6146bf82610c0c565b60006146db82614c83565b6146e58185610bda565b93506146f5818560208601614ce6565b9290920192915050565b61469b81614cd0565b61469b81614cdb565b600061471c82614c83565b6147268185614c87565b9350614736818560208601614ce6565b61473f81614d12565b9093019392505050565b6000614756601b83614c87565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b600061478f602183614c87565b7f4d61726b65743a20546f6f206561726c7920746f2072656465656d20626f6e648152607360f81b602082015260400192915050565b60006147d2602b83614c87565b7f4d61726b65743a20436f75706f6e207472616e7366657220746f20746865207a81526a65726f206164647265737360a81b602082015260400192915050565b600061481f602183614c87565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f8152607760f81b602082015260400192915050565b6000614862601e83614c87565b7f52656465656d61626c65207072696365206e6f7420617661696c61626c650000815260200192915050565b600061489b603b83614c87565b7f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000602082015260400192915050565b60006148fa600b83614c87565b6a6d61726b657420646f6e6560a81b815260200192915050565b6000614921602a83614c87565b7f4d61726b65743a20436f75706f6e20617070726f766520746f20746865207a65815269726f206164647265737360b01b602082015260400192915050565b600061496d602d83614c87565b7f4d61726b65743a20436f75706f6e207472616e736665722066726f6d2074686581526c207a65726f206164647265737360981b602082015260400192915050565b60006149bc601b83614c87565b7f4d61726b65743a20546f6f206561726c7920746f2072656465656d0000000000815260200192915050565b80516020830190610fd784825b61469b81610c0c565b61469b81614cc3565b6000614a1382846146c4565b50602001919050565b6000610fe682846146d0565b6000614a3482866146d0565b9150614a4082856146b3565b600282019150614a5082846146d0565b95945050505050565b60208101610c1282846146a1565b60608101614a758286614692565b614a8260208301856146a1565b6132c760408301846149f5565b60408101614a9d8285614692565b610fe660208301846149f5565b60408101614a9d82856146a1565b60208101610c1282846146aa565b60208101610c1282846146ff565b60208101610c128284614708565b60408101614a9d8285614708565b60208082528101610fe68184614711565b60208082528101610c1281614749565b60208082528101610c1281614782565b60208082528101610c12816147c5565b60208082528101610c1281614812565b60208082528101610c1281614855565b60208082528101610c128161488e565b60208082528101610c1281614914565b60208082528101610c1281614960565b60208082528101610c12816149af565b60208101610c1282846149e8565b60208101610c1282846149f5565b60408101614a9d82856149f5565b60608101614bc982856149f5565b614bd660208301846149f5565b81810360408301526132c7816148ed565b60608101614bf582866149f5565b614a8260208301856149f5565b60a08101614c1082886149f5565b614c1d60208301876149f5565b614c2a60408301866149f5565b614c3760608301856149f5565b614c4460808301846149f5565b9695505050505050565b60208101610c1282846149fe565b60405181810167ffffffffffffffff81118282101715614c7b57600080fd5b604052919050565b5190565b90815260200190565b6000610c1282614cb7565b151590565b6001600160f01b03191690565b80610bda81614d1c565b6001600160a01b031690565b60ff1690565b6000610c12825b6000610c1282614c90565b6000610c1282614cad565b60005b83811015614d01578181015183820152602001614ce9565b83811115610fd75750506000910152565b601f01601f191690565b600381106134a457fe5b614d2f81614c90565b81146134a457600080fd5b614d2f81614c9b565b600381106134a457600080fd5b614d2f81610c0c56fe4d61726b65743a20496e73756666696369656e7420626f6e642062616c616e63654d61726b65743a20496e73756666696369656e7420636f75706f6e2062616c616e6365426f6e64696e673a20696e73756666696369656e74207374616765642062616c616e63654d61726b65743a20496e73756666696369656e7420636f75706f6e20617070726f76616c436f6d7074726f6c6c65723a206e6f7420656e6f75676820626f6e642072656465656d61626c652062616c616e6365426f6e64696e673a20696e73756666696369656e7420746f74616c20626f6e646564436f6d7074726f6c6c65723a206e6f7420656e6f7567682072656465656d61626c652062616c616e6365a365627a7a72315820db60be33fed6dd0743b1b29f567a7950742760af7c6ed1bb54c7c6c5a58a501e6c6578706572696d656e74616cf564736f6c63430005110040
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103fb5760003560e01c80638129fc1c11610215578063b6b55f2511610125578063d6a9cf08116100b8578063ea105ac711610087578063ea105ac71461084d578063f1b7cf4914610855578063f263c47014610868578063fc7b9c1814610870578063ffbe3b7314610878576103fb565b8063d6a9cf0814610806578063d8f5413814610819578063dd62ed3e1461082c578063df9a2b1c1461083a576103fb565b8063c9aff70c116100f4578063c9aff70c146107c5578063cdf13120146107d8578063cf023779146107eb578063d60b347f146107f3576103fb565b8063b6b55f2514610779578063bc0b1df61461078c578063bc7513e21461079f578063bceb514d146107b2576103fb565b806397a5d5b5116101a85780639f6e1b26116101775780639f6e1b2614610738578063a1eb31e81461074b578063a50cd8e71461075e578063a6c409f114610771578063a9059cbb14610453576103fb565b806397a5d5b5146106f75780639940686e1461070a5780639a649edc1461071d5780639bc289f114610725576103fb565b80638f1a0c07116101e45780638f1a0c07146106c1578063900cf0cf146106d457806395649a9a146106dc57806395d89b41146106ef576103fb565b80638129fc1c1461068057806381990b6a14610688578063825ad6071461069b57806386cf9f14146106ae576103fb565b8063353a420c116103105780635053e461116102a35780636466802211610272578063646680221461062c5780636a39e3281461063f57806370a082311461065257806375d5024b146106655780637dc0d1d014610678576103fb565b80635053e461146105f457806351adeb57146105fc57806351bf21d8146106115780635c60da1b14610624576103fb565b806344d96e95116102df57806344d96e95146105a657806347c05069146105ae5780634a10c12e146105c15780634c736099146105e1576103fb565b8063353a420c1461054d578063369e8c1d146105605780633a3e6c81146105735780633fbba9a614610586576103fb565b806316f0115b1161039357806323b872dd1161036257806323b872dd146104ec57806327de9e32146104ff5780632e1a7d4d146105125780632f7f889e14610525578063313ce56714610538576103fb565b806316f0115b146104b457806318160ddd146104c95780631bd342ef146104d15780631edbcf6c146104e4576103fb565b806310e95b6c116103cf57806310e95b6c14610473578063118ebbf91461048657806313c5c8cf1461049957806315e14bf6146104a1576103fb565b80625edd3714610400578063011150b51461041557806306fdde031461043e578063095ea7b314610453575b600080fd5b61041361040e3660046144f6565b61088b565b005b610428610423366004614605565b6109ae565b6040516104359190614b9f565b60405180910390f35b610446610bdf565b6040516104359190614af0565b610466610461366004614587565b610c0f565b6040516104359190614ab8565b610428610481366004614605565b610c18565b610413610494366004614641565b610c2d565b610428610e31565b6104286104af366004614451565b610e37565b6104bc610e55565b6040516104359190614a59565b610428610e64565b6104136104df366004614605565b610e6a565b610428610fdd565b6104666104fa3660046144a9565b610fe3565b61041361050d366004614605565b610fed565b610413610520366004614605565b6110e2565b610413610533366004614587565b61121a565b61054061129a565b6040516104359190614c4e565b61042861055b366004614451565b61129f565b61041361056e366004614451565b6112bd565b610466610581366004614451565b6113ff565b61059961059436600461446f565b61141c565b6040516104359190614ad4565b61042861144f565b6104136105bc366004614451565b611455565b6105d46105cf366004614605565b611548565b6040516104359190614b91565b6104286105ef366004614641565b61158b565b6104286115bb565b6106046115de565b6040516104359190614ac6565b61042861061f366004614451565b6115ed565b6104bc61160b565b61042861063a366004614451565b611630565b61042861064d366004614605565b61164e565b610428610660366004614451565b611663565b610466610673366004614605565b611681565b610604611694565b6104136116a3565b6105d4610696366004614605565b611714565b6104286106a9366004614451565b611742565b6104286106bc366004614451565b611782565b6105d46106cf366004614605565b61179d565b61042861183f565b6104286106ea366004614605565b611845565b610446611857565b610599610705366004614451565b611875565b610413610718366004614605565b6118da565b61042861199d565b610428610733366004614451565b6119a3565b61042861074636600461446f565b6119c1565b610428610759366004614641565b6119f0565b61042861076c366004614451565b611b0a565b610428611b21565b610413610787366004614605565b611bab565b61041361079a366004614660565b611c83565b6104286107ad366004614587565b611db7565b6104136107c0366004614557565b611dfb565b6104286107d3366004614605565b612096565b6104286107e6366004614587565b6120ab565b6104286120eb565b610466610801366004614451565b6120f1565b610413610814366004614641565b612112565b610428610827366004614605565b612200565b61042861046136600461446f565b610413610848366004614605565b61228b565b610413612349565b610428610863366004614451565b6123fc565b610428612417565b61042861241d565b610428610886366004614605565b612423565b6001600160a01b0384166108ba5760405162461bcd60e51b81526004016108b190614b71565b60405180910390fd5b6001600160a01b0383166108e05760405162461bcd60e51b81526004016108b190614b21565b610904848383604051806060016040528060238152602001614d7b60239139612435565b61090f8383836124e0565b336001600160a01b03851614801590610933575060001961093085336119c1565b14155b1561095c5761095c843383604051806060016040528060248152602001614dc260249139612587565b81836001600160a01b0316856001600160a01b03167f0f1dbb1ccbe57a1590c7baad7b01d581b730c9ebc535dcde4345e6db424063d8846040516109a09190614b9f565b60405180910390a450505050565b6000806109b961183f565b90506109c36143b3565b6109cc82611714565b9050610a0d6109e96109dc6125f8565b839063ffffffff61261a16565b6513585c9ad95d60d21b7054574150206e6f742062656c6f7720315560781b61262e565b610a44600085116513585c9ad95d60d21b7f4d757374207075726368617365206e6f6e652d7a65726f20616d6f756e74000061262e565b610a4c6143b3565b610a5583611548565b90506000610a8f604051806020016040528088815250610a83610a766125f8565b859063ffffffff61268316565b9063ffffffff6126b516565b519050610a9a6115de565b6001600160a01b03166323b872dd3330896040518463ffffffff1660e01b8152600401610ac993929190614a67565b602060405180830381600087803b158015610ae357600080fd5b505af1158015610af7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b1b91908101906145b7565b50610b246115de565b6001600160a01b03166342966c68876040518263ffffffff1660e01b8152600401610b4f9190614b9f565b600060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b50505050610b896126e3565b610b943385836127c3565b81516040518791869133917f9ce3177d2bf2b3b30a10426a8e80d72afbad391091254332868bb60b2081d67191610bcc918791614bad565b60405180910390a493505050505b919050565b604080518082019091526015815274467265712053657420446f6c6c6172205374616b6560581b60208201525b90565b60005b92915050565b6000908152600d602052604090206002015490565b6001610c4783610c3b61183f565b9063ffffffff61285e16565b1015610c655760405162461bcd60e51b81526004016108b190614b11565b610c6d6143b3565b610c7861069661183f565b9050610c826143b3565b610c8b8461179d565b9050610cd0610ca0838363ffffffff6128a016565b6513585c9ad95d60d21b7f526564656d7074696f6e207072696365206e6f7420726561636800000000000061262e565b610cf4338585604051806060016040528060218152602001614d5a602191396128b6565b610cfc6115de565b6001600160a01b031663a9059cbb33856040518363ffffffff1660e01b8152600401610d29929190614a8f565b602060405180830381600087803b158015610d4357600080fd5b505af1158015610d57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610d7b91908101906145b7565b50610d9e836040518060600160405280602f8152602001614de6602f9139612955565b610da66126e3565b8215610dec578051604051859133917fef95aa4c8ad29890339fb0289ae35ec79a31060410dbb6219090046e7473d5ef91610de391889190614bad565b60405180910390a35b8051604051859133917f51976b67980c40d64230efcd6ae3a9e48f32493567dbfaba8215d415bea8381e91610e2391889190614bad565b60405180910390a350505050565b600f5490565b6001600160a01b03166000908152600e602052604090206001015490565b600b546001600160a01b031690565b60035490565b33610eb160025b610e7a83611875565b6002811115610e8557fe5b1415692832b936b4b9b9b4b7b760b11b72139bdd08199c9bde995b881bdc88199b1d5a59606a1b61262e565b6000610ee2610ebe61144f565b610ed6610ec9610e64565b869063ffffffff61297016565b9063ffffffff6129aa16565b9050610f0683604051806060016040528060228152602001614e15602291396129ec565b610f4633826040518060400160405280601d81526020017f426f6e64696e673a20696e73756666696369656e742062616c616e6365000000815250612a07565b610f4e6115de565b6001600160a01b031663a9059cbb33856040518363ffffffff1660e01b8152600401610f7b929190614a8f565b602060405180830381600087803b158015610f9557600080fd5b505af1158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610fcd91908101906145b7565b50610fd7836109ae565b50505050565b60065490565b60005b9392505050565b33610ff86002610e71565b61100133612ab2565b600061101b61100f33611663565b610ed6610ec933611742565b90506110273382612adc565b61104981604051806060016040528060228152602001614e15602291396129ec565b61108933846040518060400160405280601d81526020017f426f6e64696e673a20696e73756666696369656e742062616c616e6365000000815250612a07565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae75126110c460016110b861183f565b9063ffffffff612b3816565b85846040516110d593929190614be7565b60405180910390a2505050565b3361112a60015b6110f283611875565b60028111156110fd57fe5b1415692832b936b4b9b9b4b7b760b11b73139bdd08199c9bde995b881bdc881b1bd8dad95960621b61262e565b6111326115de565b6001600160a01b031663a9059cbb33846040518363ffffffff1660e01b815260040161115f929190614a8f565b602060405180830381600087803b15801561117957600080fd5b505af115801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506111b191908101906145b7565b506111d53383604051806060016040528060248152602001614d9e60249139612b5d565b336001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243648360405161120e9190614b9f565b60405180910390a25050565b6001600160a01b0382166112405760405162461bcd60e51b81526004016108b190614b61565b61124b338383612bbc565b816001600160a01b0316336001600160a01b03167f8ff27e6b95060c1ca851e7c2c28af8b413eb1a8bcb637b0290da9543a709cce38360405161128e9190614b9f565b60405180910390a35050565b601290565b6001600160a01b03166000908152600e602052604090206003015490565b6112e96112c9826113ff565b6523b7bb32b93760d11b6c139bdd081b9bdb5a5b985d1959609a1b61262e565b60006113056001610c3b6112fc85610e37565b6110b8866123fc565b90506113308161131361183f565b116523b7bb32b93760d11b68139bdd08195b99195960ba1b61262e565b61138761136461133e612bec565b61135861134a86611b0a565b61135386612423565b612c0e565b9063ffffffff6128a016565b6523b7bb32b93760d11b6f4d75737420686176652071756f726f6d60801b61262e565b6113bc6113938361129f565b61139c84611630565b116523b7bb32b93760d11b6b139bdd08185c1c1c9bdd995960a21b61262e565b6113c582612c34565b6040516001600160a01b0383169033907f815ca4497ab9fc80c76f210e6e842a5e198e195aa136034557eee144f790e7bb90600090a35050565b6001600160a01b03166000908152600e6020526040902054151590565b6001600160a01b038082166000908152600e60209081526040808320938616835260049093019052205460ff1692915050565b60045490565b6114616112c9826113ff565b61149f61147761146f612d20565b6110b861183f565b61147f6115bb565b116523b7bb32b93760d11b6b115c1bd8da081cde5b98d95960a21b61262e565b6114f16114c16114ad612d25565b6113586114b985611630565b611353610e64565b6523b7bb32b93760d11b7f4d7573742068617665207375706572206d616a6f72697479000000000000000061262e565b6115066114fd8261129f565b61139c83611630565b61150f81612c34565b6040516001600160a01b0382169033907f815ca4497ab9fc80c76f210e6e842a5e198e195aa136034557eee144f790e7bb90600090a350565b6115506143b3565b6115586143b3565b6115618361179d565b9050610fe661156e6125f8565b61157f83600263ffffffff612d4716565b9063ffffffff612da416565b6000828152600d602052604081206003018054839081106115a857fe5b9060005260206000200154905092915050565b60006115c56143c6565b6115cd612dcd565b90506115d881612dfc565b91505090565b6009546001600160a01b031690565b6001600160a01b03166000908152600c602052604090206004015490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6001600160a01b03166000908152600e602052604090206002015490565b6000908152600d602052604090206003015490565b6001600160a01b03166000908152600c602052604090206001015490565b600061168b612e1e565b90911115919050565b600a546001600160a01b031690565b6116dc6116b161080161160b565b15692832b936b4b9b9b4b7b760b11b72105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b61262e565b6116ec6116e761160b565b612e23565b600a80546001600160a01b03191673f841bc7e3e43774db8de9d32dbbef933613ab2f6179055565b61171c6143b3565b506000908152601260209081526040918290208251918201909252600190910154815290565b60008061174d610e64565b90508061175e576000915050610bda565b610fe681610ed661176e86611663565b61177661144f565b9063ffffffff61297016565b6001600160a01b03166000908152600c602052604090205490565b6117a56143b3565b6117ad6143b3565b6117b683611714565b90506117d06117c36125f8565b829063ffffffff61261a16565b80156117e257506117e081612e4a565b155b6117fe5760405162461bcd60e51b81526004016108b190614b41565b610fe66118096125f8565b61183361181f6118176125f8565b61157f612e4f565b610a8361182b88611714565b61157f6125f8565b9063ffffffff61268316565b60025490565b60009081526012602052604090205490565b6040805180820190915260048152634653445360e01b602082015290565b600061187f61183f565b6001600160a01b0383166000908152600c602052604090206005015411156118a957506002610bda565b6001600160a01b0382166000908152600c60205260409020600401546118cd61183f565b1015610c0f576001610c12565b336118e56002610e71565b6118ee33612ab2565b60006118f861144f565b1561190d57611908610ebe61144f565b611925565b611925611918612e71565b849063ffffffff61297016565b90506119313382612e78565b61193a83612f14565b61195d3384604051806060016040528060248152602001614d9e60249139612b5d565b337f44002fdef5a0c2d2e4e05572e9780b95aef97e0e93ffd7cc076b09fa78ff2b4661198c60016110b861183f565b83866040516110d593929190614be7565b60085490565b6001600160a01b03166000908152600c602052604090206005015490565b6001600160a01b039182166000908152600c602090815260408083209390941682526003909201909152205490565b6000806119fb612dcd565b604001514281611a0757fe5b069050600084611a1561183f565b0390506000611a22612f2d565b82611a2b612f2d565b03611a34612f33565b0281611a3c57fe5b04905080831115611a535760009350505050610c12565b611a5b6143b3565b611aa2604051806020016040528085611a72612f2d565b03815250610a836040518060200160405280611a8c612f2d565b9052611a96612f39565b9063ffffffff612f5b16565b9050611aac6143b3565b604080516020808201835287860382528251908101909252848252611adc91610a8390859063ffffffff612f5b16565b6040805160208101909152888152909150611afd908263ffffffff6126b516565b5198975050505050505050565b6000610c12611b188361129f565b6110b884611630565b6000611ba6611b2e61241d565b611b366115de565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b6e57600080fd5b505afa158015611b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610c3b9190810190614623565b905090565b33611bb660016110e9565b611bbe6115de565b6001600160a01b03166323b872dd3330856040518463ffffffff1660e01b8152600401611bed93929190614a67565b602060405180830381600087803b158015611c0757600080fd5b505af1158015611c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611c3f91908101906145b7565b50611c4a3383612adc565b336001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8360405161120e9190614b9f565b6002611c9184610c3b61183f565b1015611caf5760405162461bcd60e51b81526004016108b190614b81565b611cd3338484604051806060016040528060238152602001614d7b60239139612435565b6000611cdf84846119f0565b9050808303611d1b838210156513585c9ad95d60d21b7f496e73756666696369656e74206f757470757420616d6f756e7400000000000061262e565b611d253382612f89565b8115611d6e5784336001600160a01b03167f1cd1213d4276c260e84170b4a39025dc8398fbf744edee0709261769b456b94b84604051611d659190614b9f565b60405180910390a35b84336001600160a01b03167f46e9903ae8ac9e9f0c9bc321b05965c1c036e7d4783758703f5cdfc4133c51b683604051611da89190614b9f565b60405180910390a35050505050565b6000611dc282612096565b611dce57506000610c12565b506001600160a01b03919091166000908152600c6020908152604080832093835260029093019052205490565b33611e0660016110e9565b611e376000611e1433611663565b116523b7bb32b93760d11b6e4d7573742068617665207374616b6560881b61262e565b611e40836113ff565b611ee357611e80611e503361303f565b6523b7bb32b93760d11b7f4e6f7420656e6f756768207374616b6520746f2070726f706f7365000000000061262e565b611e9183611e8c613087565b61308c565b611e9961183f565b336001600160a01b0385167fd15e38a680a427478883cd2d32eb664cb6bb2090b0126a23ebaf3e3784b8c56b611ecd613087565b604051611eda9190614b9f565b60405180910390a45b611f13611ef26112fc85610e37565b611efa61183f565b106523b7bb32b93760d11b64115b99195960da1b61262e565b6000611f1e33611663565b90506000611f2c338661141c565b9050806002811115611f3a57fe5b846002811115611f4657fe5b1415611f53575050612091565b6002816002811115611f6157fe5b1415611fa757611fa785836040518060400160405280601b81526020017f476f7665726e3a20496e73756666696369656e742072656a65637400000000008152506130b8565b6001816002811115611fb557fe5b1415611ffb57611ffb85836040518060400160405280601c81526020017f476f7665726e3a20496e73756666696369656e7420617070726f766500000000815250613109565b600284600281111561200957fe5b141561201957612019858361315a565b600184600281111561202757fe5b14156120375761203785836131a9565b6120423386866131f8565b61204c3386613242565b846001600160a01b0316336001600160a01b03167fbe50c78cbc15b0864819aadea36c6499da421b33c38e2ef19bebda583c708c788685604051611da8929190614ae2565b505050565b6000908152600d602052604090206001015490565b60006120b682611845565b6120c257506000610c12565b506001600160a01b03919091166000908152601160209081526040808320938352929052205490565b60055490565b6001600160a01b03166000908152600e602052604090206005015460ff1690565b600261212083610c3b61183f565b101561213e5760405162461bcd60e51b81526004016108b190614b81565b612162338383604051806060016040528060238152602001614d7b60239139612435565b600061216e83836119f0565b905080820361217d3382612f89565b81156121c65783336001600160a01b03167f1cd1213d4276c260e84170b4a39025dc8398fbf744edee0709261769b456b94b846040516121bd9190614b9f565b60405180910390a35b83336001600160a01b03167f46e9903ae8ac9e9f0c9bc321b05965c1c036e7d4783758703f5cdfc4133c51b683604051610e239190614b9f565b6000610c1261220d6115de565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561224557600080fd5b505afa158015612259573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061227d9190810190614623565b61228561241d565b846132a2565b336122966002610e71565b61229f33612ab2565b60006122ac610ebe61144f565b90506122b83384612adc565b6122da83604051806060016040528060228152602001614e15602291396129ec565b61231a33826040518060400160405280601d81526020017f426f6e64696e673a20696e73756666696369656e742062616c616e6365000000815250612a07565b337f93530ac0ee8c50e696e13c5ac62355d0c0ba4bd943620d5bda1eb08b64ae751261198c60016110b861183f565b60006123536132cf565b905061235f33826132dc565b336001600160a01b03167fbb4f656853bc420ad6e4321622c07eefb4ed40e3f91b35553ce14a6dff4c0981826040516123989190614b9f565b60405180910390a26123a861337c565b6123b06133c7565b6123b861344d565b6123c061183f565b7fec092ba008a42935500c5ad8f03639c7e30ebaa7182df79519ba40aafa935c6b43426040516123f1929190614bbb565b60405180910390a250565b6001600160a01b03166000908152600e602052604090205490565b60105490565b60075490565b6000908152600d602052604090205490565b6001600160a01b0384166000908152600c6020908152604080832086845260020190915290205461246d90838363ffffffff6134a716565b6001600160a01b0385166000908152600c60209081526040808320878452600201825280832093909355600d905220600101546124b190838363ffffffff6134a716565b6000848152600d60205260409020600101556008546124d790838363ffffffff6134a716565b60085550505050565b6001600160a01b0383166000908152600c60209081526040808320858452600201909152902054612517908263ffffffff612b3816565b6001600160a01b0384166000908152600c60209081526040808320868452600201825280832093909355600d9052206001015461255a908263ffffffff612b3816565b6000838152600d602052604090206001015560085461257f908263ffffffff612b3816565b600855505050565b6001600160a01b038085166000908152600c6020908152604080832093871683526003909301905220546125c290838363ffffffff6134a716565b6001600160a01b039485166000908152600c60209081526040808320969097168252600390950190945293909220929092555050565b6126006143b3565b506040805160208101909152670de0b6b3a7640000815290565b600061262683836134d3565b159392505050565b826120915761263c82613505565b6101d160f51b61264b83613505565b60405160200161265d93929190614a28565b60408051601f198184030181529082905262461bcd60e51b82526108b191600401614af0565b61268b6143b3565b60408051602081019091528251845182916126ac919063ffffffff612b3816565b90529392505050565b6126bd6143b3565b60405180602001604052806126ac85600001518560000151670de0b6b3a7640000613585565b6127c161270f6126f1610e31565b6110b86126fc610fdd565b6110b86127076120eb565b6110b861144f565b6127176115de565b6001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016127429190614a59565b60206040518083038186803b15801561275a57600080fd5b505afa15801561276e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506127929190810190614623565b10156a21b7b6b83a3937b63632b960a91b74496e636f6e73697374656e742062616c616e63657360581b61262e565b565b6001600160a01b03831660009081526011602090815260408083208584529091529020546127f7908263ffffffff612b3816565b6001600160a01b0384166000908152601160209081526040808320868452825280832093909355601290522054612834908263ffffffff612b3816565b600083815260126020526040902055601054612856908263ffffffff612b3816565b601055505050565b6000610fe683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506134a7565b60006128ac83836134d3565b6002149392505050565b6001600160a01b03841660009081526011602090815260408083208684529091529020546128eb90838363ffffffff6134a716565b6001600160a01b038516600090815260116020908152604080832087845282528083209390935560129052205461292990838363ffffffff6134a716565b60008481526012602052604090205560105461294c90838363ffffffff6134a716565b60105550505050565b600f5461296990838363ffffffff6134a716565b600f555050565b60008261297f57506000610c12565b8282028284828161298c57fe5b0414610fe65760405162461bcd60e51b81526004016108b190614b31565b6000610fe683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061359b565b600454612a0090838363ffffffff6134a716565b6004555050565b6001600160a01b0383166000908152600c6020526040902060010154612a3490838363ffffffff6134a716565b6001600160a01b0384166000908152600c6020526040902060010155600354612a6490838363ffffffff6134a716565b6003556040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612aa5908690614b9f565b60405180910390a3505050565b612abd61146f6135d2565b6001600160a01b039091166000908152600c6020526040902060040155565b6001600160a01b0382166000908152600c6020526040902054612b05908263ffffffff612b3816565b6001600160a01b0383166000908152600c6020526040902055600554612b31908263ffffffff612b3816565b6005555050565b600082820183811015610fe65760405162461bcd60e51b81526004016108b190614b01565b6001600160a01b0383166000908152600c6020526040902054612b8790838363ffffffff6134a716565b6001600160a01b0384166000908152600c6020526040902055600554612bb490838363ffffffff6134a716565b600555505050565b6001600160a01b039283166000908152600c60209081526040808320949095168252600390930190925291902055565b612bf46143b3565b5060408051602081019091526702c68af0bb140000815290565b612c166143b3565b60405180602001604052806126ac85670de0b6b3a764000086613585565b612c3d816135d7565b60408051600481526024810182526020810180516001600160e01b031663204a7f0760e21b17905290516000916060916001600160a01b03851691612c8191614a1c565b600060405180830381855af49150503d8060008114612cbc576040519150601f19603f3d011682016040523d82523d6000602084013e612cc1565b606091505b5091509150818190612ce65760405162461bcd60e51b81526004016108b19190614af0565b506040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2505050565b600690565b612d2d6143b3565b506040805160208101909152670928ca80cfc20000815290565b612d4f6143b3565b81612d6557612d5e6001613620565b9050610c12565b612d6d6143b3565b5060408051602081019091528351815260015b83811015612d9c57612d9282866126b5565b9150600101612d80565b509392505050565b612dac6143b3565b60408051602081019091528251845182916126ac919063ffffffff61285e16565b612dd56143c6565b604051806060016040528060008152602001635ff535c08152602001610e10815250905090565b6000610c1282600001516110b88460400151610ed68660200151610c3b613654565b60a890565b6001600160a01b03166000908152600e60205260409020600501805460ff19166001179055565b511590565b612e576143b3565b5060408051602081019091526710a741a462780000815290565b620f424090565b6001600160a01b0382166000908152600c6020526040902060010154612ea4908263ffffffff612b3816565b6001600160a01b0383166000908152600c6020526040902060010155600354612ed3908263ffffffff612b3816565b6003556040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061128e908590614b9f565b600454612f27908263ffffffff612b3816565b60045550565b6102d090565b61070890565b612f416143b3565b506040805160208101909152670905438e60010000815290565b612f636143b3565b60405180602001604052806126ac8560000151670de0b6b3a76400008660000151613585565b612f916115de565b6001600160a01b031663a9059cbb83836040518363ffffffff1660e01b8152600401612fbe929190614aaa565b602060405180830381600087803b158015612fd857600080fd5b505af1158015612fec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061301091908101906145b7565b50613033816040518060600160405280602a8152602001614e37602a9139613658565b61303b6126e3565b5050565b600061304961144f565b61305557506000610bda565b61305d6143b3565b6130696114b984611663565b9050610fe661307a60016064612c0e565b829063ffffffff6128a016565b601890565b61309461183f565b6001600160a01b039092166000908152600e60205260409020918255600190910155565b6001600160a01b0383166000908152600e60205260409020600301546130e590838363ffffffff6134a716565b6001600160a01b039093166000908152600e60205260409020600301929092555050565b6001600160a01b0383166000908152600e602052604090206002015461313690838363ffffffff6134a716565b6001600160a01b039093166000908152600e60205260409020600201929092555050565b6001600160a01b0382166000908152600e6020526040902060030154613186908263ffffffff612b3816565b6001600160a01b039092166000908152600e602052604090206003019190915550565b6001600160a01b0382166000908152600e60205260409020600201546131d5908263ffffffff612b3816565b6001600160a01b039092166000908152600e602052604090206002019190915550565b6001600160a01b038083166000908152600e6020908152604080832093871683526004909301905220805482919060ff1916600183600281111561323857fe5b0217905550505050565b6001600160a01b0382166000908152600c60205260408120600501549061327461326b84610e37565b6110b8856123fc565b905081811115610fd7576001600160a01b0384166000908152600c6020526040902060050181905550505050565b60006132c76132c2836132b6878787613673565b9063ffffffff6137d416565b6137fb565b949350505050565b683635c9adc5dea0000090565b6132e46115de565b6001600160a01b03166340c10f1983836040518363ffffffff1660e01b8152600401613311929190614aaa565b602060405180830381600087803b15801561332b57600080fd5b505af115801561333f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061336391908101906145b7565b5061336f61067361183f565b6130335761303381613818565b6133b761338761183f565b61338f6115bb565b1166426f6e64696e6760c81b720a6e8d2d8d840c6eae4e4cadce840cae0dec6d606b1b61262e565b6133bf613839565b6127c1613860565b6133cf6143b3565b6133d7613879565b90506133e461307a6125f8565b15613400576133f1613952565b6133fa81613959565b506127c1565b61340b6117c36125f8565b15613419576133fa81613a15565b61342161183f565b6040517fff7db5a0dc69b02c191ba632db46961b7d0daa1bd30709ddba9b80ad0a15d2c090600090a250565b60005b61345b61064d61183f565b8110156134835761347b61347661347061183f565b8361158b565b613a83565b600101613450565b50600061349161146f612f2d565b90506134a461349e61183f565b82613b35565b50565b600081848411156134cb5760405162461bcd60e51b81526004016108b19190614af0565b505050900390565b8051825160009114156134e857506001610c12565b81518351116134f85760006134fb565b60025b60ff169392505050565b606080826040516020016135199190614a07565b60408051601f19818403018152919052905060205b801561356e5781516000199091019082908290811061354957fe5b01602001516001600160f81b031916156135695760010181529050610bda565b61352e565b505060408051600081526020810190915292915050565b60006132c782610ed6868663ffffffff61297016565b600081836135bc5760405162461bcd60e51b81526004016108b19190614af0565b5060008385816135c857fe5b0495945050505050565b600c90565b6135e081613b67565b6135fc5760405162461bcd60e51b81526004016108b190614b51565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6136286143b3565b60408051602081019091528061364c84670de0b6b3a764000063ffffffff61297016565b905292915050565b4290565b60065461366c90838363ffffffff6134a716565b6006555050565b61367b6143b3565b6136836143b3565b61368d8486612c0e565b90506136976143b3565b61369f613b6d565b905060006136b3878663ffffffff61285e16565b905060006136c7878763ffffffff61285e16565b90506136d16143b3565b6136db8284612c0e565b90506136ed858563ffffffff6128a016565b156137bd57613702818563ffffffff6128a016565b1561371c5761371084613b8f565b95505050505050610fe6565b6137246143b3565b61372e8286613bdb565b90506137386143b3565b613748868463ffffffff612da416565b90506137526143b3565b61375b87613b8f565b90506137656143b3565b613775898963ffffffff612da416565b90506137ad61378a848363ffffffff61268316565b611a9661379d858563ffffffff6126b516565b611833888863ffffffff6126b516565b9950505050505050505050610fe6565b6137c78186613bdb565b9998505050505050505050565b6137dc6143b3565b6040805160208101909152835181906126ac908563ffffffff61297016565b8051600090610c1290670de0b6b3a764000063ffffffff6129aa16565b61382181613c31565b61383161382c613b6d565b613c4a565b6134a46126e3565b613841610e64565b600d600061384d61183f565b8152602081019190915260400160002055565b60025461387490600163ffffffff612b3816565b600255565b6138816143b3565b6138896143b3565b6000613893611694565b6001600160a01b031663d4a3e9d76040518163ffffffff1660e01b81526004016040805180830381600087803b1580156138cc57600080fd5b505af11580156138e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061390491908101906145d5565b915091506139186106736001610c3b61183f565b1561392e57613925613cfd565b92505050610c0c565b8061393b576139256125f8565b61394c61394661183f565b83613d1f565b50905090565b6000600755565b6139616143b3565b61398c61398761396f613d38565b611a9661397a6125f8565b869063ffffffff612da416565b613d5b565b905060006139ab6132c261399e611b21565b849063ffffffff6137d416565b90506000806000806139bc85613d8f565b93509350935093506139cc61183f565b87516040517fe87fb830623d3be02bfcbf04e8126081201eb233b79a21ea9d65dbab803bd38e91613a04918890889088908890614c02565b60405180910390a250505050505050565b613a1d6143b3565b613a2c6139878361157f6125f8565b90506000613a3e6132c261399e611b21565b9050613a4981613818565b613a5161183f565b83516040517f5e139d4b8080a4a00dcc151e8217694aeebae893936326aa22096924a9906677916110d5918590614bad565b6000613a8e82612096565b90506000808080613a9e86613fdd565b6000613aa8610fdd565b90506000613ab461199d565b905080821115613aeb57613ace828263ffffffff61285e16565b9550613ad986614020565b613ae286613d8f565b91975095509350505b877f6ce6cab103491bf8a74a64000ddf74127a59d06968a58cd2b2ce1f97e0f4e2cb8888888888604051613b23959493929190614c02565b60405180910390a25050505050505050565b6000828152600d6020908152604080832060020184905592825291812060030180546001810182559082529190200155565b3b151590565b613b756143b3565b5060408051602081019091526706f05b59d3b20000815290565b613b976143b3565b610c12613ba660016003612c0e565b61157f613bd3613bc96002613bbd8861157f6125f8565b9063ffffffff612d4716565b610a836003613620565b611a966125f8565b613be36143b3565b613bf3838363ffffffff6140a716565b15613c0157612d5e83613b8f565b610fe6613c1060016003612c0e565b61157f613bd3613c228761157f6125f8565b610a83613bc98861157f6125f8565b600754613c44908263ffffffff612b3816565b60075550565b6000613cca6132c2613c5a6115de565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015613c9257600080fd5b505afa158015613ca6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061399e9190810190614623565b90506000613cd661241d565b905081811115612091576000613cf2828463ffffffff61285e16565b9050610fd7816140ae565b613d056143b3565b506040805160208101909152671e87f85809dc0000815290565b6000918252601260205260409091209051600190910155565b613d406143b3565b50604080516020810190915268014d1120d7b1600000815290565b613d636143b3565b613d6b6143b3565b613d736140ed565b9050613d85838263ffffffff6128a016565b610c125782610fe6565b600080808080808080613db56064610ed6613da861410f565b8c9063ffffffff61297016565b9150613dc082614114565b818911613dce576000613dde565b613dde898363ffffffff61285e16565b9850613de8612417565b613df0610e31565b1080613e095750613dff61199d565b613e07610fdd565b105b15613f9857613e16612417565b613e1e610e31565b10613e2a576000613e3d565b613e3d613e35610e31565b610c3b612417565b9050613e4761199d565b613e4f610fdd565b10613e5b576000613e6e565b613e6e613e66610fdd565b610c3b61199d565b93506000613e8f6064610ed6613e826141a8565b8d9063ffffffff61297016565b90506000613eba6064610ed6613ead6064613ea86141a8565b61285e565b8e9063ffffffff61297016565b905082821015613f2f578515613ef757808611613ed75785613ed9565b805b9550613ee4866141ad565b613ef48b8763ffffffff61285e16565b9a505b8215613f2a578a8311613f0a5782613f0c565b8a5b9250613f178361423e565b613f278b8463ffffffff61285e16565b9a505b613f95565b8215613f6257818311613f425782613f44565b815b9250613f4f8361423e565b613f5f8b8463ffffffff61285e16565b9a505b8515613f95578a8611613f755785613f77565b8a5b9550613f82866141ad565b613f928b8763ffffffff61285e16565b9a505b50505b613fa061144f565b613fa957600098505b8815613fb857613fb8896142cf565b8383613fca8b8563ffffffff612b3816565b9199509750955093505050509193509193565b6000613fe882612096565b905080613ff557506134a4565b600854614008908263ffffffff61285e16565b600855506000908152600d6020526040812060010155565b6140286115de565b6001600160a01b03166342966c68826040518263ffffffff1660e01b81526004016140539190614b9f565b600060405180830381600087803b15801561406d57600080fd5b505af1158015614081573d6000803e3d6000fd5b50505050613831816040518060600160405280602a8152602001614e37602a9139613658565b5190511490565b613831816040518060400160405280601c81526020017f436f6d7074726f6c6c65723a206e6f7420656e6f756768206465627400000000815250614366565b6140f56143b3565b50604080516020810190915267016345785d8a0000815290565b603290565b80156134a4576141226115de565b6001600160a01b03166340c10f19614138610e55565b836040518363ffffffff1660e01b8152600401614156929190614aaa565b602060405180830381600087803b15801561417057600080fd5b505af1158015614184573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061303b91908101906145b7565b605090565b6141b56115de565b6001600160a01b03166340c10f1930836040518363ffffffff1660e01b81526004016141e2929190614aaa565b602060405180830381600087803b1580156141fc57600080fd5b505af1158015614210573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061423491908101906145b7565b5061383181614381565b6142466115de565b6001600160a01b03166340c10f1930836040518363ffffffff1660e01b8152600401614273929190614aaa565b602060405180830381600087803b15801561428d57600080fd5b505af11580156142a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506142c591908101906145b7565b506138318161439a565b80156134a4576142dd6115de565b6001600160a01b03166340c10f1930836040518363ffffffff1660e01b815260040161430a929190614aaa565b602060405180830381600087803b15801561432457600080fd5b505af1158015614338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061435c91908101906145b7565b506134a481612f14565b60075461437a90838363ffffffff6134a716565b6007555050565b600654614394908263ffffffff612b3816565b60065550565b600f546143ad908263ffffffff612b3816565b600f5550565b6040518060200160405280600081525090565b60405180606001604052806000815260200160008152602001600081525090565b8035610c1281614d26565b8051610c1281614d3a565b8035610c1281614d43565b60006020828403121561441a57600080fd5b6144246020614c5c565b905060006144328484614446565b82525092915050565b8035610c1281614d50565b8051610c1281614d50565b60006020828403121561446357600080fd5b60006132c784846143e7565b6000806040838503121561448257600080fd5b600061448e85856143e7565b925050602061449f858286016143e7565b9150509250929050565b6000806000606084860312156144be57600080fd5b60006144ca86866143e7565b93505060206144db868287016143e7565b92505060406144ec8682870161443b565b9150509250925092565b6000806000806080858703121561450c57600080fd5b600061451887876143e7565b9450506020614529878288016143e7565b935050604061453a8782880161443b565b925050606061454b8782880161443b565b91505092959194509250565b6000806040838503121561456a57600080fd5b600061457685856143e7565b925050602061449f858286016143fd565b6000806040838503121561459a57600080fd5b60006145a685856143e7565b925050602061449f8582860161443b565b6000602082840312156145c957600080fd5b60006132c784846143f2565b600080604083850312156145e857600080fd5b60006145f48585614408565b925050602061449f858286016143f2565b60006020828403121561461757600080fd5b60006132c7848461443b565b60006020828403121561463557600080fd5b60006132c78484614446565b6000806040838503121561465457600080fd5b60006145a6858561443b565b60008060006060848603121561467557600080fd5b6000614681868661443b565b93505060206144db8682870161443b565b61469b81614cc9565b82525050565b61469b81614c90565b61469b81614c9b565b61469b6146bf82614ca0565b610c0c565b61469b6146bf82610c0c565b60006146db82614c83565b6146e58185610bda565b93506146f5818560208601614ce6565b9290920192915050565b61469b81614cd0565b61469b81614cdb565b600061471c82614c83565b6147268185614c87565b9350614736818560208601614ce6565b61473f81614d12565b9093019392505050565b6000614756601b83614c87565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b600061478f602183614c87565b7f4d61726b65743a20546f6f206561726c7920746f2072656465656d20626f6e648152607360f81b602082015260400192915050565b60006147d2602b83614c87565b7f4d61726b65743a20436f75706f6e207472616e7366657220746f20746865207a81526a65726f206164647265737360a81b602082015260400192915050565b600061481f602183614c87565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f8152607760f81b602082015260400192915050565b6000614862601e83614c87565b7f52656465656d61626c65207072696365206e6f7420617661696c61626c650000815260200192915050565b600061489b603b83614c87565b7f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000602082015260400192915050565b60006148fa600b83614c87565b6a6d61726b657420646f6e6560a81b815260200192915050565b6000614921602a83614c87565b7f4d61726b65743a20436f75706f6e20617070726f766520746f20746865207a65815269726f206164647265737360b01b602082015260400192915050565b600061496d602d83614c87565b7f4d61726b65743a20436f75706f6e207472616e736665722066726f6d2074686581526c207a65726f206164647265737360981b602082015260400192915050565b60006149bc601b83614c87565b7f4d61726b65743a20546f6f206561726c7920746f2072656465656d0000000000815260200192915050565b80516020830190610fd784825b61469b81610c0c565b61469b81614cc3565b6000614a1382846146c4565b50602001919050565b6000610fe682846146d0565b6000614a3482866146d0565b9150614a4082856146b3565b600282019150614a5082846146d0565b95945050505050565b60208101610c1282846146a1565b60608101614a758286614692565b614a8260208301856146a1565b6132c760408301846149f5565b60408101614a9d8285614692565b610fe660208301846149f5565b60408101614a9d82856146a1565b60208101610c1282846146aa565b60208101610c1282846146ff565b60208101610c128284614708565b60408101614a9d8285614708565b60208082528101610fe68184614711565b60208082528101610c1281614749565b60208082528101610c1281614782565b60208082528101610c12816147c5565b60208082528101610c1281614812565b60208082528101610c1281614855565b60208082528101610c128161488e565b60208082528101610c1281614914565b60208082528101610c1281614960565b60208082528101610c12816149af565b60208101610c1282846149e8565b60208101610c1282846149f5565b60408101614a9d82856149f5565b60608101614bc982856149f5565b614bd660208301846149f5565b81810360408301526132c7816148ed565b60608101614bf582866149f5565b614a8260208301856149f5565b60a08101614c1082886149f5565b614c1d60208301876149f5565b614c2a60408301866149f5565b614c3760608301856149f5565b614c4460808301846149f5565b9695505050505050565b60208101610c1282846149fe565b60405181810167ffffffffffffffff81118282101715614c7b57600080fd5b604052919050565b5190565b90815260200190565b6000610c1282614cb7565b151590565b6001600160f01b03191690565b80610bda81614d1c565b6001600160a01b031690565b60ff1690565b6000610c12825b6000610c1282614c90565b6000610c1282614cad565b60005b83811015614d01578181015183820152602001614ce9565b83811115610fd75750506000910152565b601f01601f191690565b600381106134a457fe5b614d2f81614c90565b81146134a457600080fd5b614d2f81614c9b565b600381106134a457600080fd5b614d2f81610c0c56fe4d61726b65743a20496e73756666696369656e7420626f6e642062616c616e63654d61726b65743a20496e73756666696369656e7420636f75706f6e2062616c616e6365426f6e64696e673a20696e73756666696369656e74207374616765642062616c616e63654d61726b65743a20496e73756666696369656e7420636f75706f6e20617070726f76616c436f6d7074726f6c6c65723a206e6f7420656e6f75676820626f6e642072656465656d61626c652062616c616e6365426f6e64696e673a20696e73756666696369656e7420746f74616c20626f6e646564436f6d7074726f6c6c65723a206e6f7420656e6f7567682072656465656d61626c652062616c616e6365a365627a7a72315820db60be33fed6dd0743b1b29f567a7950742760af7c6ed1bb54c7c6c5a58a501e6c6578706572696d656e74616cf564736f6c63430005110040
Deployed Bytecode Sourcemap
106625:884:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;106625:884:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77155:728;;;;;;;;;:::i;:::-;;73089:1092;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;32456:101;;;:::i;:::-;;;;;;;;41157:105;;;;;;;;;:::i;:::-;;;;;;;;37926:137;;;;;;;;;:::i;74189:1070::-;;;;;;;;;:::i;33996:126::-;;;:::i;39173:129::-;;;;;;;;;:::i;33344:92::-;;;:::i;:::-;;;;;;;;32875:100;;;:::i;72682:399::-;;;;;;;;;:::i;33764:108::-;;;:::i;41270:128::-;;;;;;;;;:::i;83174:484::-;;;;;;;;;:::i;82366:267::-;;;;;;;;;:::i;76861:286::-;;;;;;;;;:::i;32659:76::-;;;:::i;:::-;;;;;;;;39449:129;;;;;;;;;:::i;90782:803::-;;;;;;;;;:::i;39734:131::-;;;;;;;;;:::i;38866:164::-;;;;;;;;;:::i;:::-;;;;;;;;33444:100;;;:::i;91593:783::-;;;;;;;;;:::i;37108:267::-;;;;;;;;;:::i;:::-;;;;;;;;38219:154;;;;;;;;;:::i;36194:187::-;;;:::i;33136:96::-;;;:::i;:::-;;;;;;;;35615:128;;;;;;;;;:::i;40016:178::-;;;:::i;39310:131::-;;;;;;;;;:::i;38071:140::-;;;;;;;;;:::i;32743:124::-;;;;;;;;;:::i;38510:136::-;;;;;;;;;:::i;33240:96::-;;;:::i;106900:140::-;;;:::i;36409:139::-;;;;;;;;;:::i;34536:265::-;;;;;;;;;:::i;34399:129::-;;;;;;;;;:::i;36556:544::-;;;;;;;;;:::i;36093:93::-;;;:::i;38674:145::-;;;;;;;;;:::i;32565:86::-;;;:::i;35297:310::-;;;;;;;;;:::i;82641:525::-;;;;;;;;;:::i;34130:102::-;;;:::i;35751:130::-;;;;;;;;;:::i;35889:162::-;;;;;;;;;:::i;71566:1017::-;;;;;;;;;:::i;39586:140::-;;;;;;;;;:::i;34240:115::-;;;:::i;82114:244::-;;;;;;;;;:::i;76027:826::-;;;;;;;;;:::i;34809:234::-;;;;;;;;;:::i;89153:1621::-;;;;;;;;;:::i;37779:139::-;;;;;;;;;:::i;35051:238::-;;;;;;;;;:::i;33552:100::-;;;:::i;39873:135::-;;;;;;;;;:::i;75360:659::-;;;;;;;;;:::i;71396:162::-;;;;;;;;;:::i;32983:110::-;;;;;;;83666:474;;;;;;;;;:::i;107048:203::-;;;:::i;39038:127::-;;;;;;;;;:::i;33880:108::-;;;:::i;33660:96::-;;;:::i;38381:121::-;;;;;;;;;:::i;77155:728::-;-1:-1:-1;;;;;77274:20:0;;77266:78;;;;-1:-1:-1;;;77266:78:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;77363:23:0;;77355:79;;;;-1:-1:-1;;;77355:79:0;;;;;;;;;77447:87;77473:6;77481:5;77488:6;77447:87;;;;;;;;;;;;;;;;;:25;:87::i;:::-;77545:51;77571:9;77582:5;77589:6;77545:25;:51::i;:::-;77613:10;-1:-1:-1;;;;;77613:20:0;;;;;;:75;;;-1:-1:-1;;77637:36:0;77654:6;77662:10;77637:16;:36::i;:::-;:51;;77613:75;77609:201;;;77705:93;77731:6;77739:10;77751:6;77705:93;;;;;;;;;;;;;;;;;:25;:93::i;:::-;77861:5;77850:9;-1:-1:-1;;;;;77827:48:0;77842:6;-1:-1:-1;;;;;77827:48:0;;77868:6;77827:48;;;;;;;;;;;;;;;77155:728;;;;:::o;73089:1092::-;73150:7;73172:13;73188:7;:5;:7::i;:::-;73172:23;;73208:25;;:::i;:::-;73236:17;73247:5;73236:10;:17::i;:::-;73208:45;;73333:120;73360:29;73375:13;:11;:13::i;:::-;73360:5;;:29;:14;:29;:::i;:::-;-1:-1:-1;;;;;;73333:12:0;:120::i;:::-;73466;73508:1;73493:12;:16;-1:-1:-1;;;73466:120:0;:12;:120::i;:::-;73599:31;;:::i;:::-;73633:21;73648:5;73633:14;:21::i;:::-;73599:55;;73665:18;73686:101;73749:37;;;;;;;;73771:12;73749:37;;;73686:44;73716:13;:11;:13::i;:::-;73686:11;;:44;:29;:44;:::i;:::-;:62;:101;:62;:101;:::i;:::-;:121;;-1:-1:-1;73857:8:0;:6;:8::i;:::-;-1:-1:-1;;;;;73857:21:0;;73879:10;73899:4;73906:12;73857:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73857:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73857: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;73857:62:0;;;;;;;;;;73930:8;:6;:8::i;:::-;-1:-1:-1;;;;;73930:13:0;;73944:12;73930:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73930:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73930:27:0;;;;73968:14;:12;:14::i;:::-;73995:54;74019:10;74031:5;74038:10;73995:23;:54::i;:::-;74125:17;;74067:76;;74099:12;;74092:5;;74080:10;;74067:76;;;;74113:10;;74067:76;;;;;;;;;;74163:10;-1:-1:-1;;;;73089:1092:0;;;;:::o;32456:101::-;32519:30;;;;;;;;;;;;-1:-1:-1;;;32519:30:0;;;;32456:101;;:::o;41157:105::-;41225:4;41157:105;;;;;:::o;37926:137::-;37989:7;38016:20;;;:13;:20;;;;;:39;;;;37926:137::o;74189:1070::-;74303:1;74277:22;74289:9;74277:7;:5;:7::i;:::-;:11;:22;:11;:22;:::i;:::-;:27;;74269:73;;;;-1:-1:-1;;;74269:73:0;;;;;;;;;74355:25;;:::i;:::-;74383:19;74394:7;:5;:7::i;74383:19::-;74355:47;;74413:35;;:::i;:::-;74451:29;74470:9;74451:18;:29::i;:::-;74413:67;-1:-1:-1;74602:134:0;74629:34;:5;74413:67;74629:34;:17;:34;:::i;:::-;-1:-1:-1;;;74602:134:0;:12;:134::i;:::-;74757:95;74781:10;74793:9;74804:10;74757:95;;;;;;;;;;;;;;;;;:23;:95::i;:::-;74865:8;:6;:8::i;:::-;-1:-1:-1;;;;;74865:17:0;;74883:10;74895;74865:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;74865:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;74865:41: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;74865:41:0;;;;;;;;;;74917:91;74946:10;74917:91;;;;;;;;;;;;;;;;;:28;:91::i;:::-;75019:14;:12;:14::i;:::-;75049;;75046:116;;75128:21;;75084:66;;75105:9;;75093:10;;75084:66;;;;75116:10;;75128:21;75084:66;;;;;;;;;;75046:116;75229:21;;75179:72;;75206:9;;75194:10;;75179:72;;;;75217:10;;75229:21;75179:72;;;;;;;;;;74189:1070;;;;:::o;33996:126::-;34075:16;:39;33996:126;:::o;39173:129::-;-1:-1:-1;;;;;39259:28:0;39232:7;39259:28;;;:17;:28;;;;;:35;;;;39173:129::o;33344:92::-;33408:20;;-1:-1:-1;;;;;33408:20:0;33344:92;:::o;32875:100::-;32946:14;:21;32875:100;:::o;72682:399::-;72752:10;60665:135;60713:21;60692:42;:17;60701:7;60692:8;:17::i;:::-;:42;;;;;;;;;;-1:-1:-1;;;;;;60665:12:0;:135::i;:::-;72775:15;72793:43;72822:13;:11;:13::i;:::-;72793:24;72803:13;:11;:13::i;:::-;72793:5;;:24;:9;:24;:::i;:::-;:28;:43;:28;:43;:::i;:::-;72775:61;;72847:65;72868:5;72847:65;;;;;;;;;;;;;;;;;:20;:65::i;:::-;72923:72;72942:10;72954:7;72923:72;;;;;;;;;;;;;;;;;:18;:72::i;:::-;73006:8;:6;:8::i;:::-;-1:-1:-1;;;;;73006:17:0;;73024:10;73036:5;73006:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73006:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73006: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;73006:36:0;;;;;;;;;;73053:20;73067:5;73053:13;:20::i;:::-;;60813:1;72682:399;;:::o;33764:108::-;33839:25;;33764:108;:::o;41270:128::-;41361:4;41270:128;;;;;;:::o;83174:484::-;83232:10;60665:135;60713:21;60692:42;;60665:135;83255:20;83264:10;83255:8;:20::i;:::-;83288:14;83305:65;83348:21;83358:10;83348:9;:21::i;:::-;83305:38;83315:27;83331:10;83315:15;:27::i;83305:65::-;83288:82;;83381:44;83406:10;83418:6;83381:24;:44::i;:::-;83436:66;83457:6;83436:66;;;;;;;;;;;;;;;;;:20;:66::i;:::-;83513:70;83532:10;83544:5;83513:70;;;;;;;;;;;;;;;;;:18;:70::i;:::-;83608:10;83601:49;83620:14;83632:1;83620:7;:5;:7::i;:::-;:11;:14;:11;:14;:::i;:::-;83636:5;83643:6;83601:49;;;;;;;;;;;;;;;;;60813:1;83174:484;;:::o;82366:267::-;82427:10;60942:135;60990:20;60969:41;:17;60978:7;60969:8;:17::i;:::-;:41;;;;;;;;;;-1:-1:-1;;;;;;60942:12:0;:135::i;:::-;82450:8;:6;:8::i;:::-;-1:-1:-1;;;;;82450:17:0;;82468:10;82480:5;82450:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;82450:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;82450: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;82450:36:0;;;;;;;;;;82497:83;82522:10;82534:5;82497:83;;;;;;;;;;;;;;;;;:24;:83::i;:::-;82607:10;-1:-1:-1;;;;;82598:27:0;;82619:5;82598:27;;;;;;;;;;;;;;;82366:267;;:::o;76861:286::-;-1:-1:-1;;;;;76946:21:0;;76938:76;;;;-1:-1:-1;;;76938:76:0;;;;;;;;;77027:51;77050:10;77062:7;77071:6;77027:22;:51::i;:::-;77123:7;-1:-1:-1;;;;;77096:43:0;77111:10;-1:-1:-1;;;;;77096:43:0;;77132:6;77096:43;;;;;;;;;;;;;;;76861:286;;:::o;32659:76::-;32725:2;32659:76;:::o;39449:129::-;-1:-1:-1;;;;;39535:28:0;39508:7;39535:28;;;:17;:28;;;;;:35;;;;39449:129::o;90782:803::-;90837:109;90864:22;90876:9;90864:11;:22::i;:::-;-1:-1:-1;;;;;;90837:12:0;:109::i;:::-;90959:17;90979:52;91029:1;90979:45;91003:20;91013:9;91003;:20::i;:::-;90979:19;90988:9;90979:8;:19::i;:52::-;90959:72;;91044:102;91081:9;91071:7;:5;:7::i;:::-;:19;-1:-1:-1;;;;;;91044:12:0;:102::i;:::-;91159:195;91186:105;91259:31;:29;:31::i;:::-;91186:60;91200:19;91209:9;91200:8;:19::i;:::-;91221:24;91235:9;91221:13;:24::i;:::-;91186:13;:60::i;:::-;:72;:105;:72;:105;:::i;:::-;-1:-1:-1;;;;;;91159:12:0;:195::i;:::-;91367:130;91418:20;91428:9;91418;:20::i;:::-;91394:21;91405:9;91394:10;:21::i;:::-;:44;-1:-1:-1;;;;;;91367:12:0;:130::i;:::-;91510:20;91520:9;91510;:20::i;:::-;91548:29;;-1:-1:-1;;;;;91548:29:0;;;91555:10;;91548:29;;;;;90782:803;;:::o;39734:131::-;-1:-1:-1;;;;;39819:28:0;39795:4;39819:28;;;:17;:28;;;;;:34;:38;;;39734:131::o;38866:164::-;-1:-1:-1;;;;;38979:28:0;;;38945:14;38979:28;;;:17;:28;;;;;;;;:43;;;;;:34;;;;:43;;;;;;38866:164;;;;:::o;33444:100::-;33515:21;;33444:100;:::o;91593:783::-;91657:109;91684:22;91696:9;91684:11;:22::i;91657:109::-;91779:152;91820:52;91832:39;:37;:39::i;:::-;91820:7;:5;:7::i;:52::-;91806:11;:9;:11::i;:::-;:66;-1:-1:-1;;;;;;91779:12:0;:152::i;:::-;91944:201;91971:103;92035:38;:36;:38::i;:::-;91971:51;91985:21;91996:9;91985:10;:21::i;:::-;92008:13;:11;:13::i;91971:103::-;-1:-1:-1;;;91944:201:0;:12;:201::i;:::-;92158:130;92209:20;92219:9;92209;:20::i;:::-;92185:21;92196:9;92185:10;:21::i;92158:130::-;92301:20;92311:9;92301;:20::i;:::-;92339:29;;-1:-1:-1;;;;;92339:29:0;;;92346:10;;92339:29;;;;;91593:783;:::o;37108:267::-;37168:19;;:::i;:::-;37245:35;;:::i;:::-;37283:25;37302:5;37283:18;:25::i;:::-;37245:63;;37326:41;37353:13;:11;:13::i;:::-;37326:22;:15;37346:1;37326:22;:19;:22;:::i;:::-;:26;:41;:26;:41;:::i;38219:154::-;38298:7;38325:20;;;:13;:20;;;;;:37;;:40;;38363:1;;38325:40;;;;;;;;;;;;;;38318:47;;38219:154;;;;:::o;36194:187::-;36236:7;36256:38;;:::i;:::-;36297:28;:26;:28::i;:::-;36256:69;;36343:30;36365:7;36343:21;:30::i;:::-;36336:37;;;36194:187;:::o;33136:96::-;33202:15;:22;-1:-1:-1;;;;;33202:22:0;33136:96;:::o;35615:128::-;-1:-1:-1;;;;;35700:24:0;35673:7;35700:24;;;:15;:24;;;;;:35;;;;35615:128::o;40016:178::-;32337:66;40165:11;;40142:45::o;39310:131::-;-1:-1:-1;;;;;39397:28:0;39370:7;39397:28;;;:17;:28;;;;;:36;;;;39310:131::o;38071:140::-;38132:7;38159:20;;;:13;:20;;;;;:37;;:44;;38071:140::o;32743:124::-;-1:-1:-1;;;;;32827:24:0;32800:7;32827:24;;;:15;:24;;;;;:32;;;;32743:124::o;38510:136::-;38571:4;38604:34;:32;:34::i;:::-;38595:43;;;;;38510:136;-1:-1:-1;38510:136:0:o;33240:96::-;33306:22;;-1:-1:-1;;;;;33306:22:0;33240:96;:::o;106900:140::-;61141:125;61169:31;61183:16;:14;:16::i;61169:31::-;61168:32;-1:-1:-1;;;;;;61141:12:0;:125::i;:::-;61279:29;61291:16;:14;:16::i;:::-;61279:11;:29::i;:::-;106953:22;:76;;-1:-1:-1;;;;;;106953:76:0;106986:42;106953:76;;;106900:140::o;36409:139::-;36465:19;;:::i;:::-;-1:-1:-1;36504:30:0;;;;:23;:30;;;;;;;;;36497:43;;;;;;;;36504:36;;;;36497:43;;;;36409:139::o;34536:265::-;34599:7;34619:19;34641:13;:11;:13::i;:::-;34619:35;-1:-1:-1;34669:16:0;34665:57;;34709:1;34702:8;;;;;34665:57;34739:54;34781:11;34739:37;34757:18;34767:7;34757:9;:18::i;:::-;34739:13;:11;:13::i;:::-;:17;:37;:17;:37;:::i;34399:129::-;-1:-1:-1;;;;;34489:24:0;34462:7;34489:24;;;:15;:24;;;;;:31;;34399:129::o;36556:544::-;36620:19;;:::i;:::-;36721:25;;:::i;:::-;36749:17;36760:5;36749:10;:17::i;:::-;36721:45;;36784:29;36799:13;:11;:13::i;:::-;36784:5;;:29;:14;:29;:::i;:::-;:48;;;;;36818:14;:5;:12;:14::i;:::-;36817:15;36784:48;36776:91;;;;-1:-1:-1;;;36776:91:0;;;;;;;;;36884:208;37053:38;:36;:38::i;:::-;36884:150;36953:80;36994:38;:36;:38::i;:::-;36953:36;:34;:36::i;:80::-;36884:50;36916:17;36927:5;36916:10;:17::i;:::-;36884:13;:11;:13::i;:150::-;:168;:208;:168;:208;:::i;36093:93::-;36158:20;;36093:93;:::o;38674:145::-;38736:7;38763:30;;;:23;:30;;;;;:48;;38674:145::o;32565:86::-;32630:13;;;;;;;;;;;;-1:-1:-1;;;32630:13:0;;;;32565:86;:::o;35297:310::-;35353:14;35423:7;:5;:7::i;:::-;-1:-1:-1;;;;;35384:24:0;;:6;:24;;;:15;:24;;;;;:36;;;:46;35380:107;;;-1:-1:-1;35454:21:0;35447:28;;35380:107;-1:-1:-1;;;;;35517:24:0;;:6;:24;;;:15;:24;;;;;:35;;;35506:7;:5;:7::i;:::-;:46;;:93;;35579:20;35506:93;;82641:525;82697:10;60665:135;60713:21;60692:42;;60665:135;82720:20;82729:10;82720:8;:20::i;:::-;82753:15;82771:13;:11;:13::i;:::-;:18;:139;;82867:43;82896:13;:11;:13::i;82867:43::-;82771:139;;;82805:46;82815:35;:33;:35::i;:::-;82805:5;;:46;:9;:46;:::i;:::-;82753:157;;82921:39;82940:10;82952:7;82921:18;:39::i;:::-;82971:27;82992:5;82971:20;:27::i;:::-;83009:83;83034:10;83046:5;83009:83;;;;;;;;;;;;;;;;;:24;:83::i;:::-;83115:10;83110:48;83127:14;83139:1;83127:7;:5;:7::i;:14::-;83143:7;83152:5;83110:48;;;;;;;;;34130:102;34202:22;;34130:102;:::o;35751:130::-;-1:-1:-1;;;;;35837:24:0;35810:7;35837:24;;;:15;:24;;;;;:36;;;;35751:130::o;35889:162::-;-1:-1:-1;;;;;35995:22:0;;;35968:7;35995:22;;;:15;:22;;;;;;;;:48;;;;;;:39;;;;:48;;;;;;35889:162::o;71566:1017::-;71663:7;71683:18;71722:28;:26;:28::i;:::-;:35;;;71704:15;:53;;;;;;71683:74;;71768:14;71795:11;71785:7;:5;:7::i;:::-;:21;71768:38;;71819:21;71937:31;:29;:31::i;:::-;71924:9;71890:31;:29;:31::i;:::-;:43;71843;:41;:43::i;:::-;:91;:125;;;;;;71819:149;;72000:16;71984:13;:32;71981:72;;;72040:1;72033:8;;;;;;;71981:72;72065:45;;:::i;:::-;72113:178;72224:66;;;;;;;;72279:9;72245:31;:29;:31::i;:::-;:43;72224:66;;;72113:106;72163:55;;;;;;;;72184:31;:29;:31::i;:::-;72163:55;;72113:45;:43;:45::i;:::-;:49;:106;:49;:106;:::i;:178::-;72065:226;;72304:45;;:::i;:::-;72427:55;;;;;;;;;72448:32;;;72427:55;;72382:39;;;;;;;;;;;72352:131;;:70;;:25;;:70;:29;:70;:::i;:131::-;72503:35;;;;;;;;;;;;72304:179;;-1:-1:-1;72503:66:0;;72304:179;72503:66;:39;:66;:::i;:::-;:72;;71566:1017;-1:-1:-1;;;;;;;;71566:1017:0:o;39586:140::-;39644:7;39671:47;39697:20;39707:9;39697;:20::i;:::-;39671:21;39682:9;39671:10;:21::i;34240:115::-;34281:7;34308:39;34335:11;:9;:11::i;:::-;34308:8;:6;:8::i;:::-;-1:-1:-1;;;;;34308:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34308:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34308: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;34308:22:0;;;;;;;;:39;34301:46;;34240:115;:::o;82114:244::-;82174:10;60942:135;60990:20;60969:41;;60942:135;82197:8;:6;:8::i;:::-;-1:-1:-1;;;;;82197:21:0;;82219:10;82239:4;82246:5;82197:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;82197:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;82197:55:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;82197:55:0;;;;;;;;;;82263:43;82288:10;82300:5;82263:24;:43::i;:::-;82332:10;-1:-1:-1;;;;;82324:26:0;;82344:5;82324:26;;;;;;;76027:826;76168:1;76140:24;76152:11;76140:7;:5;:7::i;:24::-;:29;;76132:69;;;;-1:-1:-1;;;76132:69:0;;;;;;;;;76212:103;76238:10;76250:11;76263:12;76212:103;;;;;;;;;;;;;;;;;:25;:103::i;:::-;76336:15;76354:50;76378:11;76391:12;76354:23;:50::i;:::-;76336:68;-1:-1:-1;76438:25:0;;;76476:125;76503:25;;;;-1:-1:-1;;;76476:125:0;:12;:125::i;:::-;76622:41;76638:10;76650:12;76622:15;:41::i;:::-;76679:14;;76676:97;;76737:11;76725:10;-1:-1:-1;;;;;76714:47:0;;76750:10;76714:47;;;;;;;;;;;;;;;76676:97;76819:11;76807:10;-1:-1:-1;;;;;76790:55:0;;76832:12;76790:55;;;;;;;;;;;;;;;76027:826;;;;;:::o;34809:234::-;34888:7;34912:25;34931:5;34912:18;:25::i;:::-;34908:71;;-1:-1:-1;34966:1:0;34959:8;;34908:71;-1:-1:-1;;;;;;34996:24:0;;;;:6;:24;;;:15;:24;;;;;;;;:39;;;:32;;;;:39;;;;;34809:234::o;89153:1621::-;89235:10;60942:135;60990:20;60969:41;;60942:135;89258:114;89309:1;89285:21;89295:10;89285:9;:21::i;:::-;:25;-1:-1:-1;;;;;;89258:12:0;:114::i;:::-;89390:22;89402:9;89390:11;:22::i;:::-;89385:364;;89429:139;89460:22;89471:10;89460;:22::i;:::-;-1:-1:-1;;;89429:139:0;:12;:139::i;:::-;89585:59;89601:9;89612:31;:29;:31::i;:::-;89585:15;:59::i;:::-;89696:7;:5;:7::i;:::-;89684:10;-1:-1:-1;;;;;89664:73:0;;;89705:31;:29;:31::i;:::-;89664:73;;;;;;;;;;;;;;;89385:364;89761:134;89798:45;89822:20;89832:9;89822;:20::i;89798:45::-;89788:7;:5;:7::i;:::-;:55;-1:-1:-1;;;;;;89761:12:0;:134::i;:::-;89908:14;89925:21;89935:10;89925:9;:21::i;:::-;89908:38;;89957:27;89987:35;90000:10;90012:9;89987:12;:35::i;:::-;89957:65;;90045:12;90037:20;;;;;;;;:4;:20;;;;;;;;;90033:59;;;90074:7;;;;90033:59;90124:21;90108:12;:37;;;;;;;;;90104:138;;;90162:68;90181:9;90192:6;90162:68;;;;;;;;;;;;;;;;;:18;:68::i;:::-;90272:22;90256:12;:38;;;;;;;;;90252:141;;;90311:70;90331:9;90342:6;90311:70;;;;;;;;;;;;;;;;;:19;:70::i;:::-;90415:21;90407:4;:29;;;;;;;;;90403:99;;;90453:37;90472:9;90483:6;90453:18;:37::i;:::-;90524:22;90516:4;:30;;;;;;;;;90512:101;;;90563:38;90583:9;90594:6;90563:19;:38::i;:::-;90625:39;90636:10;90648:9;90659:4;90625:10;:39::i;:::-;90675:32;90685:10;90697:9;90675;:32::i;:::-;90742:9;-1:-1:-1;;;;;90725:41:0;90730:10;-1:-1:-1;;;;;90725:41:0;;90753:4;90759:6;90725:41;;;;;;;;61090:1;89153:1621;;;:::o;37779:139::-;37843:7;37870:20;;;:13;:20;;;;;:28;;:40;;37779:139::o;35051:238::-;35128:7;35152:23;35169:5;35152:16;:23::i;:::-;35148:69;;-1:-1:-1;35204:1:0;35197:8;;35148:69;-1:-1:-1;;;;;;35234:34:0;;;;;;;;:25;:34;;;;;;;;:47;;;;;;;;;35051:238::o;33552:100::-;33623:21;;33552:100;:::o;39873:135::-;-1:-1:-1;;;;;39960:28:0;39936:4;39960:28;;;:17;:28;;;;;:40;;;;;;39873:135::o;75360:659::-;75482:1;75454:24;75466:11;75454:7;:5;:7::i;:24::-;:29;;75446:69;;;;-1:-1:-1;;;75446:69:0;;;;;;;;;75526:103;75552:10;75564:11;75577:12;75526:103;;;;;;;;;;;;;;;;;:25;:103::i;:::-;75640:15;75658:50;75682:11;75695:12;75658:23;:50::i;:::-;75640:68;-1:-1:-1;75742:25:0;;;75788:41;75804:10;75742:25;75788:15;:41::i;:::-;75845:14;;75842:97;;75903:11;75891:10;-1:-1:-1;;;;;75880:47:0;;75916:10;75880:47;;;;;;;;;;;;;;;75842:97;75985:11;75973:10;-1:-1:-1;;;;;75956:55:0;;75998:12;75956:55;;;;;;;71396:162;71456:7;71483:67;71506:8;:6;:8::i;:::-;-1:-1:-1;;;;;71506:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;71506:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;71506: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;71506:22:0;;;;;;;;;71530:11;:9;:11::i;:::-;71543:6;71483:22;:67::i;83666:474::-;83734:10;60665:135;60713:21;60692:42;;60665:135;83757:20;83766:10;83757:8;:20::i;:::-;83790:15;83808:43;83837:13;:11;:13::i;83808:43::-;83790:61;;83862:43;83887:10;83899:5;83862:24;:43::i;:::-;83916:65;83937:5;83916:65;;;;;;;;;;;;;;;;;:20;:65::i;:::-;83992:72;84011:10;84023:7;83992:72;;;;;;;;;;;;;;;;;:18;:72::i;:::-;84089:10;84082:50;84101:14;84113:1;84101:7;:5;:7::i;107048:203::-;107334:17;107354:31;:29;:31::i;:::-;107334:51;;107396:36;107410:10;107422:9;107396:13;:36::i;:::-;107464:10;-1:-1:-1;;;;;107448:38:0;;107476:9;107448:38;;;;;;;;;;;;;;;107100:14;:12;:14::i;:::-;107125:16;:14;:16::i;:::-;107152:13;:11;:13::i;:::-;107189:7;:5;:7::i;:::-;107181:62;107198:12;107212:15;107181:62;;;;;;;;;;;;;;;;107048:203;:::o;39038:127::-;-1:-1:-1;;;;;39123:28:0;39096:7;39123:28;;;:17;:28;;;;;:34;;39038:127::o;33880:108::-;33950:30;;33880:108;:::o;33660:96::-;33729:19;;33660:96;:::o;38381:121::-;38440:7;38467:20;;;:13;:20;;;;;:27;;38381:121::o;44468:426::-;-1:-1:-1;;;;;44635:24:0;;:6;:24;;;:15;:24;;;;;;;;:39;;;:32;;:39;;;;;;:59;;44679:6;44687;44635:59;:43;:59;:::i;:::-;-1:-1:-1;;;;;44593:24:0;;:6;:24;;;:15;:24;;;;;;;;:39;;;:32;;:39;;;;;:101;;;;44748:13;:20;;;:28;;:40;:60;;44793:6;44801;44748:60;:44;:60;:::i;:::-;44705:6;:20;;;:13;:20;;;;;:28;;:103;44844:22;;:42;;44871:6;44879;44844:42;:26;:42;:::i;:::-;44819:22;:67;-1:-1:-1;;;;44468:426:0:o;44080:380::-;-1:-1:-1;;;;;44225:24:0;;:6;:24;;;:15;:24;;;;;;;;:39;;;:32;;:39;;;;;;:51;;44269:6;44225:51;:43;:51;:::i;:::-;-1:-1:-1;;;;;44183:24:0;;:6;:24;;;:15;:24;;;;;;;;:39;;;:32;;:39;;;;;:93;;;;44330:13;:20;;;:28;;:40;:52;;44375:6;44330:52;:44;:52;:::i;:::-;44287:6;:20;;;:13;:20;;;;;:28;;:95;44418:22;;:34;;44445:6;44418:34;:26;:34;:::i;:::-;44393:22;:59;-1:-1:-1;;;44080:380:0:o;46165:265::-;-1:-1:-1;;;;;46354:22:0;;;:6;:22;;;:15;:22;;;;;;;;:48;;;;;:39;;;;:48;;;;:68;;46407:6;46415;46354:68;:52;:68;:::i;:::-;-1:-1:-1;;;;;46290:22:0;;;:6;:22;;;:15;:22;;;;;;;;:48;;;;;;:39;;;;:48;;;;;;;:132;;;;-1:-1:-1;;46165:265:0:o;6709:118::-;6762:11;;:::i;:::-;-1:-1:-1;6798:21:0;;;;;;;;;6419:6;6798:21;;6709:118;:::o;9981:129::-;10055:4;10079:18;10089:4;10095:1;10079:9;:18::i;:::-;:23;;9981:129;-1:-1:-1;;;9981:129:0:o;50380:437::-;50514:4;50509:301;;50632:24;50651:4;50632:18;:24::i;:::-;-1:-1:-1;;;50715:26:0;50734:6;50715:18;:26::i;:::-;50589:175;;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;50589:175:0;;;;-1:-1:-1;;;50535:263:0;;;;;;;;8636:193;8745:11;;:::i;:::-;8781:40;;;;;;;;;8810:7;;8795:10;;8781:40;;8795:23;;:10;:23;:14;:23;:::i;:::-;8781:40;;8774:47;8636:193;-1:-1:-1;;;8636:193:0:o;9278:207::-;9387:11;;:::i;:::-;9423:54;;;;;;;;9437:37;9448:4;:10;;;9460:1;:7;;;6419:6;9437:10;:37::i;66817:266::-;66861:214;66925:82;66985:21;:19;:21::i;:::-;66925:55;66962:17;:15;:17::i;:::-;66925:32;66943:13;:11;:13::i;:::-;66925;:11;:13::i;:82::-;66888:8;:6;:8::i;:::-;-1:-1:-1;;;;;66888:18:0;;66915:4;66888:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;66888:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;66888: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;66888:33:0;;;;;;;;;:119;;-1:-1:-1;;;;;;66861:12:0;:214::i;:::-;66817:266::o;44922:426::-;-1:-1:-1;;;;;45073:34:0;;;;;;:25;:34;;;;;;;;:47;;;;;;;;;:59;;45125:6;45073:59;:51;:59;:::i;:::-;-1:-1:-1;;;;;45023:34:0;;;;;;:25;:34;;;;;;;;:47;;;;;;;;:109;;;;45194:23;:30;;;:48;:60;;45247:6;45194:60;:52;:60;:::i;:::-;45143:30;;;;:23;:30;;;;;:111;45298:30;;:42;;45333:6;45298:42;:34;:42;:::i;:::-;45265:30;:75;-1:-1:-1;;;44922:426:0:o;1353:136::-;1411:7;1438:43;1442:1;1445;1438:43;;;;;;;;;;;;;;;;;:3;:43::i;9841:132::-;9918:4;9942:18;9952:4;9958:1;9942:9;:18::i;:::-;9964:1;9942:23;;9841:132;-1:-1:-1;;;9841:132:0:o;45356:472::-;-1:-1:-1;;;;;45529:34:0;;;;;;:25;:34;;;;;;;;:47;;;;;;;;;:67;;45581:6;45589;45529:67;:51;:67;:::i;:::-;-1:-1:-1;;;;;45479:34:0;;;;;;:25;:34;;;;;;;;:47;;;;;;;;:117;;;;45658:23;:30;;;:48;:68;;45711:6;45719;45658:68;:52;:68;:::i;:::-;45607:30;;;;:23;:30;;;;;:119;45770:30;;:50;;45805:6;45813;45770:50;:34;:50;:::i;:::-;45737:30;:83;-1:-1:-1;;;;45356:472:0:o;42661:205::-;42799:16;:39;:59;;42843:6;42851;42799:59;:43;:59;:::i;:::-;42757:16;:101;-1:-1:-1;;42661:205:0:o;2269:471::-;2327:7;2572:6;2568:47;;-1:-1:-1;2602:1:0;2595:8;;2568:47;2639:5;;;2643:1;2639;:5;:1;2663:5;;;;;:10;2655:56;;;;-1:-1:-1;;;2655:56:0;;;;;;;;3208:132;3266:7;3293:39;3297:1;3300;3293:39;;;;;;;;;;;;;;;;;:3;:39::i;41580:161::-;41692:21;;:41;;41718:6;41726;41692:41;:25;:41;:::i;:::-;41668:21;:65;-1:-1:-1;;41580:161:0:o;43209:329::-;-1:-1:-1;;;;;43347:24:0;;:6;:24;;;:15;:24;;;;;:32;;;:52;;43384:6;43392;43347:52;:36;:52;:::i;:::-;-1:-1:-1;;;;;43312:24:0;;:6;:24;;;:15;:24;;;;;:32;;:87;43434:14;:21;:41;;43460:6;43468;43434:41;:25;:41;:::i;:::-;43410:14;:65;43493:37;;43410:6;;-1:-1:-1;;;;;43493:37:0;;;;;;;43523:6;;43493:37;;;;;;;;;;43209:329;;;:::o;45836:148::-;45929:47;45941:34;:32;:34::i;45929:47::-;-1:-1:-1;;;;;45891:24:0;;;:6;:24;;;:15;:24;;;;;:35;;:85;45836:148::o;43546:240::-;-1:-1:-1;;;;;43667:24:0;;:6;:24;;;:15;:24;;;;;:31;:43;;43703:6;43667:43;:35;:43;:::i;:::-;-1:-1:-1;;;;;43633:24:0;;:6;:24;;;:15;:24;;;;;:77;43745:21;;:33;;43771:6;43745:33;:25;:33;:::i;:::-;43721:21;:57;-1:-1:-1;;43546:240:0:o;897:181::-;955:7;987:5;;;1011:6;;;;1003:46;;;;-1:-1:-1;;;1003:46:0;;;;;;;;43794:278;-1:-1:-1;;;;;43937:24:0;;:6;:24;;;:15;:24;;;;;:31;:51;;43973:6;43981;43937:51;:35;:51;:::i;:::-;-1:-1:-1;;;;;43903:24:0;;:6;:24;;;:15;:24;;;;;:85;44023:21;;:41;;44049:6;44057;44023:41;:25;:41;:::i;:::-;43999:21;:65;-1:-1:-1;;;43794:278:0:o;45992:165::-;-1:-1:-1;;;;;46092:22:0;;;:6;:22;;;:15;:22;;;;;;;;:48;;;;;;:39;;;;:48;;;;;;:57;45992:165::o;15543:141::-;15597:19;;:::i;:::-;-1:-1:-1;15636:40:0;;;;;;;;;13006:5;15636:40;;15543:141;:::o;6994:183::-;7094:11;;:::i;:::-;7130:39;;;;;;;;7144:22;7155:1;6419:6;7164:1;7144:10;:22::i;87228:320::-;87294:36;87312:17;87294;:36::i;:::-;87412:39;;;22:32:-1;6:49;;87412:39:0;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;87381:71:0;;87344:12;;87358:19;;-1:-1:-1;;;;;87381:30:0;;;:71;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;87343:109:0;;;;87471:7;87487:6;87463:32;;;;;-1:-1:-1;;;87463:32:0;;;;;;;;;;-1:-1:-1;87513:27:0;;-1:-1:-1;;;;;87513:27:0;;;;;;;;87228:320;;;:::o;15856:123::-;13151:1;15856:123;:::o;15692:156::-;15753:19;;:::i;:::-;-1:-1:-1;15792:48:0;;;;;;;;;13078:5;15792:48;;15692:156;:::o;8260:368::-;8365:11;;:::i;:::-;8398:6;8394:53;;8428:7;8433:1;8428:4;:7::i;:::-;8421:14;;;;8394:53;8459:16;;:::i;:::-;-1:-1:-1;8478:27:0;;;;;;;;;8492:10;;8478:27;;8533:1;8516:81;8540:1;8536;:5;8516:81;;;8570:15;8574:4;8580;8570:3;:15::i;:::-;8563:22;-1:-1:-1;8543:3:0;;8516:81;;;-1:-1:-1;8616:4:0;8260:368;-1:-1:-1;;;8260:368:0:o;8837:193::-;8946:11;;:::i;:::-;8982:40;;;;;;;;;9011:7;;8996:10;;8982:40;;8996:23;;:10;:23;:14;:23;:::i;14797:228::-;14848:20;;:::i;:::-;14888:129;;;;;;;;12739:1;14888:129;;;;12786:10;14888:129;;;;12849:4;14888:129;;;14881:136;;14797:228;:::o;37383:249::-;37477:7;37504:120;37608:8;:15;;;37504:85;37573:8;:15;;;37504:50;37539:8;:14;;;37504:16;:14;:16::i;15156:112::-;11991:3;15156:112;:::o;48991:115::-;-1:-1:-1;;;;;49051:28:0;:6;:28;;;:17;:28;;;;;:40;;:47;;-1:-1:-1;;49051:47:0;49094:4;49051:47;;;48991:115::o;10411:104::-;10492:10;:15;;10411:104::o;17606:155::-;17665:19;;:::i;:::-;-1:-1:-1;17704:49:0;;;;;;;;;14140:6;17704:49;;17606:155;:::o;15033:115::-;12535:3;15033:115;:::o;42910:291::-;-1:-1:-1;;;;;43026:24:0;;:6;:24;;;:15;:24;;;;;:32;;;:44;;43063:6;43026:44;:36;:44;:::i;:::-;-1:-1:-1;;;;;42991:24:0;;:6;:24;;;:15;:24;;;;;:32;;:79;43105:14;:21;:33;;43131:6;43105:33;:25;:33;:::i;:::-;43081:14;:57;43156:37;;-1:-1:-1;;;;;43156:37:0;;;43081:6;;43156:37;;;;43186:6;;43156:37;;41441:131;41531:21;;:33;;41557:6;41531:33;:25;:33;:::i;:::-;41507:21;:57;-1:-1:-1;41441:131:0:o;16519:106::-;13570:3;16519:106;:::o;16952:132::-;13798:4;16952:132;:::o;16775:171::-;16843:19;;:::i;:::-;-1:-1:-1;16882:56:0;;;;;;;;;13718:5;16882:56;;16775:171;:::o;9493:207::-;9602:11;;:::i;:::-;9638:54;;;;;;;;9652:37;9663:4;:10;;;6419:6;9681:1;:7;;;9652:10;:37::i;62628:236::-;62706:8;:6;:8::i;:::-;-1:-1:-1;;;;;62706:17:0;;62724:7;62733:6;62706:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;62706:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62706:34: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;62706:34:0;;;;;;;;;;62751:78;62776:6;62751:78;;;;;;;;;;;;;;;;;:24;:78::i;:::-;62842:14;:12;:14::i;:::-;62628:236;;:::o;92384:308::-;92443:4;92464:13;:11;:13::i;:::-;92460:63;;-1:-1:-1;92506:5:0;92499:12;;92460:63;92535:25;;:::i;:::-;92563:48;92577:18;92587:7;92577:9;:18::i;92563:48::-;92535:76;;92643:40;92661:21;92675:1;92678:3;92661:13;:21::i;:::-;92643:5;;:40;:17;:40;:::i;15429:106::-;12939:2;15429:106;:::o;47498:187::-;47615:7;:5;:7::i;:::-;-1:-1:-1;;;;;47578:28:0;;;:6;:28;;;:17;:28;;;;;:44;;;47633:35;;;;:44;47498:187::o;48444:206::-;-1:-1:-1;;;;;48587:28:0;;:6;:28;;;:17;:28;;;;;:35;;;:55;;48627:6;48635;48587:55;:39;:55;:::i;:::-;-1:-1:-1;;;;;48549:28:0;;;:6;:28;;;:17;:28;;;;;:35;;:93;;;;-1:-1:-1;;48444:206:0:o;48043:209::-;-1:-1:-1;;;;;48188:28:0;;:6;:28;;;:17;:28;;;;;:36;;;:56;;48229:6;48237;48188:56;:40;:56;:::i;:::-;-1:-1:-1;;;;;48149:28:0;;;:6;:28;;;:17;:28;;;;;:36;;:95;;;;-1:-1:-1;;48043:209:0:o;48260:176::-;-1:-1:-1;;;;;48381:28:0;;:6;:28;;;:17;:28;;;;;:35;;;:47;;48421:6;48381:47;:39;:47;:::i;:::-;-1:-1:-1;;;;;48343:28:0;;;:6;:28;;;:17;:28;;;;;:35;;:85;;;;-1:-1:-1;48260:176:0:o;47856:179::-;-1:-1:-1;;;;;47979:28:0;;:6;:28;;;:17;:28;;;;;:36;;;:48;;48020:6;47979:48;:40;:48;:::i;:::-;-1:-1:-1;;;;;47940:28:0;;;:6;:28;;;:17;:28;;;;;:36;;:87;;;;-1:-1:-1;47856:179:0:o;47693:155::-;-1:-1:-1;;;;;47790:28:0;;;:6;:28;;;:17;:28;;;;;;;;:43;;;;;:34;;;;:43;;;:50;;47836:4;;47790:43;-1:-1:-1;;47790:50:0;;47836:4;47790:50;;;;;;;;;;;;;47693:155;;;:::o;48658:325::-;-1:-1:-1;;;;;48755:24:0;;48733:19;48755:24;;;:15;:24;;;;;:36;;;;48820:45;48844:20;48854:9;48844;:20::i;:::-;48820:19;48829:9;48820:8;:19::i;:45::-;48802:63;;48890:11;48880:7;:21;48876:100;;;-1:-1:-1;;;;;48918:24:0;;:6;:24;;;:15;:24;;;;;:36;;:46;;;48658:325;;;;:::o;18777:252::-;18922:7;18949:72;:60;19002:6;18949:48;18966:11;18979:9;18990:6;18949:16;:48::i;:::-;:52;:60;:52;:60;:::i;:::-;:70;:72::i;:::-;18942:79;18777:252;-1:-1:-1;;;;18777:252:0:o;16159:106::-;13307:4;16159:106;:::o;62104:229::-;62180:8;:6;:8::i;:::-;-1:-1:-1;;;;;62180:13:0;;62194:7;62203:6;62180:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;62180:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62180:30: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;62180:30:0;;;;;;;;;;62226:24;62242:7;:5;:7::i;62226:24::-;62221:78;;62267:20;62280:6;62267:12;:20::i;81887:219::-;81923:114;81964:7;:5;:7::i;:::-;81950:11;:9;:11::i;:::-;:21;-1:-1:-1;;;;;;81923:12:0;:114::i;:::-;82050:21;:19;:21::i;:::-;82082:16;:14;:16::i;78927:386::-;78963:25;;:::i;:::-;78991:15;:13;:15::i;:::-;78963:43;;79023:32;79041:13;:11;:13::i;79023:32::-;79019:133;;;79072:15;:13;:15::i;:::-;79102:17;79113:5;79102:10;:17::i;:::-;79134:7;;;79019:133;79168:29;79183:13;:11;:13::i;79168:29::-;79164:102;;;79214:19;79227:5;79214:12;:19::i;79164:102::-;79297:7;:5;:7::i;:::-;79283:22;;;;;;;78927:386;:::o;70206:416::-;70280:9;70275:139;70299:24;70315:7;:5;:7::i;70299:24::-;70295:1;:28;70275:139;;;70345:57;70367:34;70390:7;:5;:7::i;:::-;70399:1;70367:22;:34::i;:::-;70345:21;:57::i;:::-;70325:3;;70275:139;;;;70480:23;70506:44;70518:31;:29;:31::i;70506:44::-;70480:70;;70561:53;70589:7;:5;:7::i;:::-;70598:15;70561:27;:53::i;:::-;70206:416;:::o;1826:192::-;1912:7;1948:12;1940:6;;;;1932:29;;;;-1:-1:-1;;;1932:29:0;;;;;;;;;;-1:-1:-1;;;1984:5:0;;;1826:192::o;10928:245::-;11079:7;;11068;;11039;;11068:18;11064:59;;;-1:-1:-1;11110:1:0;11103:8;;11064:59;11150:7;;11140;;:17;:25;;11164:1;11140:25;;;11160:1;11140:25;11133:32;;;10928:245;-1:-1:-1;;;10928:245:0:o;55597:985::-;55693:12;55771:19;55810:5;55793:23;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;55793:23:0;;;;-1:-1:-1;49:4;55925:587:0;55946:5;;55925:587;;56203:9;;-1:-1:-1;;56102:3:0;;;;56203:6;;56102:3;;56203:9;;;;;;;;;;-1:-1:-1;;;;;;56203:9:0;:14;56199:302;;56259:1;56255:5;56389:22;;56396:6;-1:-1:-1;56472:13:0;;56199:302;55925:587;;;-1:-1:-1;;56562:12:0;;;56572:1;56562:12;;;;;;;;;56555:19;-1:-1:-1;;55597:985:0:o;10695:225::-;10842:7;10874:38;10900:11;10874:21;:6;10885:9;10874:21;:10;:21;:::i;3870:345::-;3956:7;4058:12;4051:5;4043:28;;;;-1:-1:-1;;;4043:28:0;;;;;;;;;;;4082:9;4098:1;4094;:5;;;;;;;3870:345;-1:-1:-1;;;;;3870:345:0:o;16273:114::-;13382:2;16273:114;:::o;87701:335::-;87782:57;87821:17;87782:38;:57::i;:::-;87774:129;;;;-1:-1:-1;;;87774:129:0;;;;;;;;;86777:66;87987:31;87972:57::o;6835:151::-;6914:11;;:::i;:::-;6950:28;;;;;;;;;;6964:11;:1;6419:6;6964:11;:5;:11;:::i;:::-;6950:28;;6943:35;6835:151;-1:-1:-1;;6835:151:0:o;37672:99::-;37748:15;37672:99;:::o;42277:173::-;42397:25;;:45;;42427:6;42435;42397:45;:29;:45;:::i;:::-;42369:25;:73;-1:-1:-1;;42277:173:0:o;19037:1303::-;19175:19;;:::i;:::-;19207:29;;:::i;:::-;19239:37;19253:9;19264:11;19239:13;:37::i;:::-;19207:69;;19287:39;;:::i;:::-;19329:27;:25;:27::i;:::-;19287:69;-1:-1:-1;19369:22:0;19394:23;:11;19410:6;19394:23;:15;:23;:::i;:::-;19369:48;-1:-1:-1;19428:20:0;19451:21;:9;19465:6;19451:21;:13;:21;:::i;:::-;19428:44;;19483:32;;:::i;:::-;19518:43;19532:12;19546:14;19518:13;:43::i;:::-;19483:78;-1:-1:-1;19578:42:0;:9;19600:19;19578:42;:21;:42;:::i;:::-;19574:705;;;19641:45;:12;19666:19;19641:45;:24;:45;:::i;:::-;19637:119;;;19714:26;19720:19;19714:5;:26::i;:::-;19707:33;;;;;;;;;19637:119;19772:32;;:::i;:::-;19807:44;19817:12;19831:19;19807:9;:44::i;:::-;19772:79;;19866:37;;:::i;:::-;19906;:19;19930:12;19906:37;:23;:37;:::i;:::-;19866:77;;19958:31;;:::i;:::-;19992:26;19998:19;19992:5;:26::i;:::-;19958:60;;20033:36;;:::i;:::-;20072:34;:9;20086:19;20072:34;:13;:34;:::i;:::-;20033:73;-1:-1:-1;20128:139:0;20227:39;:17;20033:73;20227:39;:21;:39;:::i;:::-;20128:76;20170:33;:11;20186:16;20170:33;:15;:33;:::i;:::-;20129:35;:12;20146:17;20129:35;:16;:35;:::i;20128:139::-;20121:146;;;;;;;;;;;;;19574:705;20298:34;20308:12;20322:9;20298;:34::i;:::-;20291:41;19037:1303;-1:-1:-1;;;;;;;;;19037:1303:0:o;7878:183::-;7983:11;;:::i;:::-;8019:34;;;;;;;;;8033:10;;8019:34;;8033:17;;8048:1;8033:17;:14;:17;:::i;10523:115::-;10610:10;;10583:7;;10610:20;;6419:6;10610:20;:14;:20;:::i;63085:170::-;63143:26;63162:6;63143:18;:26::i;:::-;63180:38;63190:27;:25;:27::i;:::-;63180:9;:38::i;:::-;63231:14;:12;:14::i;46584:104::-;46667:13;:11;:13::i;:::-;46635;:6;46649:7;:5;:7::i;:::-;46635:22;;;;;;;;;;;-1:-1:-1;46635:22:0;:45;46584:104::o;46472:::-;46541:20;;:27;;46566:1;46541:27;:24;:27;:::i;:::-;46518:20;:50;46472:104::o;80388:402::-;80430:19;;:::i;:::-;80463:25;;:::i;:::-;80490:10;80504:8;:6;:8::i;:::-;-1:-1:-1;;;;;80504:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;80504:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;80504:18: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;80504:18:0;;;;;;;;;80462:60;;;;80547:31;80563:14;80575:1;80563:7;:5;:7::i;80547:31::-;80543:104;;;80602:33;:31;:33::i;:::-;80595:40;;;;;;80543:104;80662:5;80657:59;;80691:13;:11;:13::i;80657:59::-;80728:29;80742:7;:5;:7::i;:::-;80751:5;80728:13;:29::i;:::-;-1:-1:-1;80777:5:0;-1:-1:-1;80388:402:0;:::o;42042:76::-;42109:1;42087:19;:23;42042:76::o;79638:470::-;79704:25;;:::i;:::-;79732:71;79738:64;79767:34;:32;:34::i;:::-;79738:24;79748:13;:11;:13::i;:::-;79738:5;;:24;:9;:24;:::i;:64::-;79732:5;:71::i;:::-;79704:99;;79814:17;79834:33;:21;79844:10;:8;:10::i;:::-;79834:5;;:21;:9;:21;:::i;:33::-;79814:53;;79879:21;79902:16;79920:17;79939:25;79968;79983:9;79968:14;:25::i;:::-;79878:115;;;;;;;;80024:7;:5;:7::i;:::-;80033:11;;80009:91;;;;;;80046:13;;80061:8;;80071:9;;80082:17;;80009:91;;;;;;;;;;79638:470;;;;;;;:::o;79321:309::-;79389:25;;:::i;:::-;79417:31;79423:24;79441:5;79423:13;:11;:13::i;79417:31::-;79389:59;;79459:15;79477:33;:21;79487:10;:8;:10::i;79477:33::-;79459:51;;79521:21;79534:7;79521:12;:21::i;:::-;79575:7;:5;:7::i;:::-;79584:11;;79560:45;;;;;;79597:7;;79560:45;;70630:758;70695:23;70721:25;70740:5;70721:18;:25::i;:::-;70695:51;-1:-1:-1;70758:22:0;;;;70873:34;70901:5;70873:27;:34::i;:::-;70920:23;70946:17;:15;:17::i;:::-;70920:43;;70974:20;70997:14;:12;:14::i;:::-;70974:37;;71044:12;71026:15;:30;71022:248;;;71090:33;:15;71110:12;71090:33;:19;:33;:::i;:::-;71073:50;;71138:30;71153:14;71138;:30::i;:::-;71228;71243:14;71228;:30::i;:::-;71183:75;;-1:-1:-1;71183:75:0;-1:-1:-1;71183:75:0;-1:-1:-1;;71022:248:0;71301:5;71284:96;71308:15;71325:14;71341:8;71351:9;71362:17;71284:96;;;;;;;;;;;;;;;;;;;70630:758;;;;;;;;:::o;46696:217::-;46788:6;:20;;;:13;:20;;;;;;;;:39;;:52;;;46851:25;;;;;;:42;;27:10:-1;;46788:28:0;23:18:-1;;45:23;;46851:54:0;;;;;;;;46696:217::o;85062:627::-;85634:20;85673:8;;;85062:627::o;16633:134::-;16683:19;;:::i;:::-;-1:-1:-1;16722:37:0;;;;;;;;;13636:5;16722:37;;16633:134;:::o;20373:241::-;20441:19;;:::i;:::-;20480:126;20586:19;20600:1;20603;20586:13;:19::i;:::-;20480:101;20512:58;20532:37;20567:1;20533:28;20551:9;20533:13;:11;:13::i;:28::-;20532:34;:37;:34;:37;:::i;:::-;20512:15;20525:1;20512:12;:15::i;:58::-;20480:13;:11;:13::i;20651:393::-;20771:19;;:::i;:::-;20807;:5;20820;20807:19;:12;:19;:::i;:::-;20803:71;;;20850:12;20856:5;20850;:12::i;20803:71::-;20893:143;21016:19;21030:1;21033;21016:13;:19::i;:::-;20893:118;20925:75;20975:24;20993:5;20975:13;:11;:13::i;:24::-;20925:45;20945:24;20963:5;20945:13;:11;:13::i;41749:125::-;41835:19;;:31;;41859:6;41835:31;:23;:31;:::i;:::-;41813:19;:53;-1:-1:-1;41749:125:0:o;66453:356::-;66529:18;66550:55;:43;66570:8;:6;:8::i;:::-;-1:-1:-1;;;;;66570:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;66570:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;66570: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;66570:22:0;;;;;;;;66550:55;66529:76;;66616:19;66638:11;:9;:11::i;:::-;66616:33;;66680:10;66666:11;:24;66662:140;;;66707:16;66726:27;:11;66742:10;66726:27;:15;:27;:::i;:::-;66707:46;;66768:22;66781:8;66768:12;:22::i;15276:145::-;15332:19;;:::i;:::-;-1:-1:-1;15371:42:0;;;;;;;;;12048:6;15371:42;;15276:145;:::o;47315:136::-;47399:30;;;;:23;:30;;;;;;:44;;:36;;;;:44;47315:136::o;17241:148::-;17298:19;;:::i;:::-;-1:-1:-1;17337:44:0;;;;;;;;;13895:5;17337:44;;17241:148;:::o;80118:262::-;80182:19;;:::i;:::-;80214:37;;:::i;:::-;80254:32;:30;:32::i;:::-;80214:72;-1:-1:-1;80306:36:0;:5;80214:72;80306:36;:17;:36;:::i;:::-;:64;;80365:5;80306:64;;63422:3023;63483:7;;;;;;;;63695:54;63745:3;63695:45;63709:30;:28;:30::i;:::-;63695:9;;:45;:13;:45;:::i;:54::-;63682:67;;63760:22;63771:10;63760;:22::i;:::-;63819:10;63807:9;:22;:54;;63860:1;63807:54;;;63832:25;:9;63846:10;63832:25;:13;:25;:::i;:::-;63795:66;;63944:12;:10;:12::i;:::-;63920:21;:19;:21::i;:::-;:36;:74;;;;63980:14;:12;:14::i;:::-;63960:17;:15;:17::i;:::-;:34;63920:74;63916:2245;;;64054:12;:10;:12::i;:::-;64030:21;:19;:21::i;:::-;:36;:82;;64111:1;64030:82;;;64069:39;64086:21;:19;:21::i;:::-;64069:12;:10;:12::i;:39::-;64010:102;;64173:14;:12;:14::i;:::-;64153:17;:15;:17::i;:::-;:34;:78;;64230:1;64153:78;;;64190:37;64209:17;:15;:17::i;:::-;64190:14;:12;:14::i;:37::-;64131:100;;64260:18;64281:52;64329:3;64281:43;64295:28;:26;:28::i;:::-;64281:9;;:43;:13;:43;:::i;:52::-;64260:73;;64413:20;64436:70;64502:3;64436:61;64450:46;64463:3;64467:28;:26;:28::i;:::-;64450:12;:46::i;:::-;64436:9;;:61;:13;:61;:::i;:70::-;64413:93;;64694:17;64681:10;:30;64677:1473;;;64735:23;;64732:292;;64826:12;64804:19;:34;:71;;64856:19;64804:71;;;64841:12;64804:71;64782:93;;64898:37;64915:19;64898:16;:37::i;:::-;64970:34;:9;64984:19;64970:34;:13;:34;:::i;:::-;64958:46;;64732:292;65047:21;;65044:327;;65140:9;65120:17;:29;:61;;65164:17;65120:61;;;65152:9;65120:61;65100:81;;65245:39;65266:17;65245:20;:39::i;:::-;65319:32;:9;65333:17;65319:32;:13;:32;:::i;:::-;65307:44;;65044:327;64677:1473;;;65499:21;;65496:296;;65592:10;65572:17;:30;:63;;65618:17;65572:63;;;65605:10;65572:63;65552:83;;65666:39;65687:17;65666:20;:39::i;:::-;65740:32;:9;65754:17;65740:32;:13;:32;:::i;:::-;65728:44;;65496:296;65815:23;;65812:323;;65906:9;65884:19;:31;:65;;65930:19;65884:65;;;65918:9;65884:65;65862:87;;66009:37;66026:19;66009:16;:37::i;:::-;66081:34;:9;66095:19;66081:34;:13;:34;:::i;:::-;66069:46;;65812:323;63916:2245;;;66205:13;:11;:13::i;:::-;66201:64;;66252:1;66240:13;;66201:64;66279:13;;66275:66;;66309:20;66319:9;66309;:20::i;:::-;66361:19;66382:8;66392:25;:9;66406:10;66392:25;:13;:25;:::i;:::-;66353:84;;-1:-1:-1;66353:84:0;-1:-1:-1;66353:84:0;-1:-1:-1;66419:17:0;-1:-1:-1;;;;63422:3023:0;;;;;:::o;46921:366::-;46993:34;47030:25;47049:5;47030:18;:25::i;:::-;46993:62;-1:-1:-1;47069:31:0;47066:69;;47117:7;;;47066:69;47170:22;;:54;;47197:26;47170:54;:26;:54;:::i;:::-;47145:22;:79;-1:-1:-1;47145:6:0;47235:20;;;:13;:20;;;;;:28;;:44;46921:366::o;62872:205::-;62932:8;:6;:8::i;:::-;-1:-1:-1;;;;;62932:13:0;;62946:6;62932:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;62932:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62932:21:0;;;;62964:78;62989:6;62964:78;;;;;;;;;;;;;;;;;:24;:78::i;9708:125::-;9818:7;9804:10;;:21;;9708:125::o;63263:151::-;63321:58;63340:6;63321:58;;;;;;;;;;;;;;;;;:18;:58::i;17092:144::-;17147:19;;:::i;:::-;-1:-1:-1;17186:42:0;;;;;;;;;13987:5;17186:42;;17092:144;:::o;17397:105::-;14053:2;17397:105;:::o;67726:134::-;67785:10;;67781:72;;67812:8;:6;:8::i;:::-;-1:-1:-1;;;;;67812:13:0;;67826:6;:4;:6::i;:::-;67834;67812:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;67812:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67812: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;67812:29:0;;;;;;;;17936:101;14326:2;17936:101;:::o;67868:175::-;67929:8;:6;:8::i;:::-;-1:-1:-1;;;;;67929:13:0;;67951:4;67958:6;67929:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;67929:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67929: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;67929:36:0;;;;;;;;;;67976:32;68001:6;67976:24;:32::i;68071:181::-;68136:8;:6;:8::i;:::-;-1:-1:-1;;;;;68136:13:0;;68158:4;68165:6;68136:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;68136:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;68136: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;68136:36:0;;;;;;;;;;68183;68212:6;68183:28;:36::i;67535:183::-;67593:10;;67589:122;;67620:8;:6;:8::i;:::-;-1:-1:-1;;;;;67620:13:0;;67642:4;67649:6;67620:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;67620:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67620: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;67620:36:0;;;;;;;;;;67671:28;67692:6;67671:20;:28::i;41882:155::-;41990:19;;:39;;42014:6;42022;41990:39;:23;:39;:::i;:::-;41968:19;:61;-1:-1:-1;;41882:155:0:o;42126:143::-;42224:25;;:37;;42254:6;42224:37;:29;:37;:::i;:::-;42196:25;:65;-1:-1:-1;42126:143:0:o;42478:175::-;42594:16;:39;:51;;42638:6;42594:51;:43;:51;:::i;:::-;42552:16;:93;-1:-1:-1;42478:175:0:o;106625:884::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:130:-1:-;72:20;;97:33;72:20;97:33;;142:128;217:13;;235:30;217:13;235:30;;277:148;353:20;;378:42;353:20;378:42;;458:342;;579:4;567:9;562:3;558:19;554:30;551:2;;;597:1;594;587:12;551:2;615:20;630:4;615:20;;;606:29;-1:-1;686:1;718:60;774:3;754:9;718:60;;;693:86;;-1:-1;704:5;545:255;-1:-1;;545:255;807:130;874:20;;899:33;874:20;899:33;;944:134;1022:13;;1040:33;1022:13;1040:33;;1085:241;;1189:2;1177:9;1168:7;1164:23;1160:32;1157:2;;;1205:1;1202;1195:12;1157:2;1240:1;1257:53;1302:7;1282:9;1257:53;;1333:366;;;1454:2;1442:9;1433:7;1429:23;1425:32;1422:2;;;1470:1;1467;1460:12;1422:2;1505:1;1522:53;1567:7;1547:9;1522:53;;;1512:63;;1484:97;1612:2;1630:53;1675:7;1666:6;1655:9;1651:22;1630:53;;;1620:63;;1591:98;1416:283;;;;;;1706:491;;;;1844:2;1832:9;1823:7;1819:23;1815:32;1812:2;;;1860:1;1857;1850:12;1812:2;1895:1;1912:53;1957:7;1937:9;1912:53;;;1902:63;;1874:97;2002:2;2020:53;2065:7;2056:6;2045:9;2041:22;2020:53;;;2010:63;;1981:98;2110:2;2128:53;2173:7;2164:6;2153:9;2149:22;2128:53;;;2118:63;;2089:98;1806:391;;;;;;2204:617;;;;;2359:3;2347:9;2338:7;2334:23;2330:33;2327:2;;;2376:1;2373;2366:12;2327:2;2411:1;2428:53;2473:7;2453:9;2428:53;;;2418:63;;2390:97;2518:2;2536:53;2581:7;2572:6;2561:9;2557:22;2536:53;;;2526:63;;2497:98;2626:2;2644:53;2689:7;2680:6;2669:9;2665:22;2644:53;;;2634:63;;2605:98;2734:2;2752:53;2797:7;2788:6;2777:9;2773:22;2752:53;;;2742:63;;2713:98;2321:500;;;;;;;;2828:384;;;2958:2;2946:9;2937:7;2933:23;2929:32;2926:2;;;2974:1;2971;2964:12;2926:2;3009:1;3026:53;3071:7;3051:9;3026:53;;;3016:63;;2988:97;3116:2;3134:62;3188:7;3179:6;3168:9;3164:22;3134:62;;3219:366;;;3340:2;3328:9;3319:7;3315:23;3311:32;3308:2;;;3356:1;3353;3346:12;3308:2;3391:1;3408:53;3453:7;3433:9;3408:53;;;3398:63;;3370:97;3498:2;3516:53;3561:7;3552:6;3541:9;3537:22;3516:53;;3592:257;;3704:2;3692:9;3683:7;3679:23;3675:32;3672:2;;;3720:1;3717;3710:12;3672:2;3755:1;3772:61;3825:7;3805:9;3772:61;;3856:435;;;4006:2;3994:9;3985:7;3981:23;3977:32;3974:2;;;4022:1;4019;4012:12;3974:2;4057:1;4074:85;4151:7;4131:9;4074:85;;;4064:95;;4036:129;4196:2;4214:61;4267:7;4258:6;4247:9;4243:22;4214:61;;4298:241;;4402:2;4390:9;4381:7;4377:23;4373:32;4370:2;;;4418:1;4415;4408:12;4370:2;4453:1;4470:53;4515:7;4495:9;4470:53;;4546:263;;4661:2;4649:9;4640:7;4636:23;4632:32;4629:2;;;4677:1;4674;4667:12;4629:2;4712:1;4729:64;4785:7;4765:9;4729:64;;4816:366;;;4937:2;4925:9;4916:7;4912:23;4908:32;4905:2;;;4953:1;4950;4943:12;4905:2;4988:1;5005:53;5050:7;5030:9;5005:53;;5189:491;;;;5327:2;5315:9;5306:7;5302:23;5298:32;5295:2;;;5343:1;5340;5333:12;5295:2;5378:1;5395:53;5440:7;5420:9;5395:53;;;5385:63;;5357:97;5485:2;5503:53;5548:7;5539:6;5528:9;5524:22;5503:53;;5687:142;5778:45;5817:5;5778:45;;;5773:3;5766:58;5760:69;;;5836:113;5919:24;5937:5;5919:24;;5956:104;6033:21;6048:5;6033:21;;6067:148;6166:43;6185:23;6202:5;6185:23;;;6166:43;;6222:152;6323:45;6343:24;6361:5;6343:24;;6381:356;;6509:38;6541:5;6509:38;;;6559:88;6640:6;6635:3;6559:88;;;6552:95;;6652:52;6697:6;6692:3;6685:4;6678:5;6674:16;6652:52;;;6716:16;;;;;6489:248;-1:-1;;6489:248;6744:158;6843:53;6890:5;6843:53;;7074:144;7166:46;7206:5;7166:46;;7372:347;;7484:39;7517:5;7484:39;;;7535:71;7599:6;7594:3;7535:71;;;7528:78;;7611:52;7656:6;7651:3;7644:4;7637:5;7633:16;7611:52;;;7684:29;7706:6;7684:29;;;7675:39;;;;7464:255;-1:-1;;;7464:255;7727:327;;7887:67;7951:2;7946:3;7887:67;;;7987:29;7967:50;;8045:2;8036:12;;7873:181;-1:-1;;7873:181;8063:370;;8223:67;8287:2;8282:3;8223:67;;;8323:34;8303:55;;-1:-1;;;8387:2;8378:12;;8371:25;8424:2;8415:12;;8209:224;-1:-1;;8209:224;8442:380;;8602:67;8666:2;8661:3;8602:67;;;8702:34;8682:55;;-1:-1;;;8766:2;8757:12;;8750:35;8813:2;8804:12;;8588:234;-1:-1;;8588:234;8831:370;;8991:67;9055:2;9050:3;8991:67;;;9091:34;9071:55;;-1:-1;;;9155:2;9146:12;;9139:25;9192:2;9183:12;;8977:224;-1:-1;;8977:224;9210:330;;9370:67;9434:2;9429:3;9370:67;;;9470:32;9450:53;;9531:2;9522:12;;9356:184;-1:-1;;9356:184;9549:396;;9709:67;9773:2;9768:3;9709:67;;;9809:34;9789:55;;9878:29;9873:2;9864:12;;9857:51;9936:2;9927:12;;9695:250;-1:-1;;9695:250;9954:311;;10114:67;10178:2;10173:3;10114:67;;;-1:-1;;;10194:34;;10256:2;10247:12;;10100:165;-1:-1;;10100:165;10274:379;;10434:67;10498:2;10493:3;10434:67;;;10534:34;10514:55;;-1:-1;;;10598:2;10589:12;;10582:34;10644:2;10635:12;;10420:233;-1:-1;;10420:233;10662:382;;10822:67;10886:2;10881:3;10822:67;;;10922:34;10902:55;;-1:-1;;;10986:2;10977:12;;10970:37;11035:2;11026:12;;10808:236;-1:-1;;10808:236;11053:327;;11213:67;11277:2;11272:3;11213:67;;;11313:29;11293:50;;11371:2;11362:12;;11199:181;-1:-1;;11199:181;11437:315;11639:23;;11572:4;11563:14;;;11668:63;11567:3;11639:23;11759:103;11832:24;11850:5;11832:24;;11989:107;12068:22;12084:5;12068:22;;12103:244;;12222:75;12293:3;12284:6;12222:75;;;-1:-1;12319:2;12310:12;;12210:137;-1:-1;12210:137;12354:262;;12498:93;12587:3;12578:6;12498:93;;12623:553;;12839:93;12928:3;12919:6;12839:93;;;12832:100;;12943:73;13012:3;13003:6;12943:73;;;13038:1;13033:3;13029:11;13022:18;;13058:93;13147:3;13138:6;13058:93;;;13051:100;12820:356;-1:-1;;;;;12820:356;13183:213;13301:2;13286:18;;13315:71;13290:9;13359:6;13315:71;;13403:451;13585:2;13570:18;;13599:79;13574:9;13651:6;13599:79;;;13689:72;13757:2;13746:9;13742:18;13733:6;13689:72;;;13772;13840:2;13829:9;13825:18;13816:6;13772:72;;13861:340;14015:2;14000:18;;14029:79;14004:9;14081:6;14029:79;;;14119:72;14187:2;14176:9;14172:18;14163:6;14119:72;;14208:324;14354:2;14339:18;;14368:71;14343:9;14412:6;14368:71;;14539:201;14651:2;14636:18;;14665:65;14640:9;14703:6;14665:65;;14747:245;14881:2;14866:18;;14895:87;14870:9;14955:6;14895:87;;15251:231;15378:2;15363:18;;15392:80;15367:9;15445:6;15392:80;;15723:338;15876:2;15861:18;;15890:78;15865:9;15941:6;15890:78;;16068:301;16206:2;16220:47;;;16191:18;;16281:78;16191:18;16345:6;16281:78;;16376:407;16567:2;16581:47;;;16552:18;;16642:131;16552:18;16642:131;;16790:407;16981:2;16995:47;;;16966:18;;17056:131;16966:18;17056:131;;17204:407;17395:2;17409:47;;;17380:18;;17470:131;17380:18;17470:131;;17618:407;17809:2;17823:47;;;17794:18;;17884:131;17794:18;17884:131;;18032:407;18223:2;18237:47;;;18208:18;;18298:131;18208:18;18298:131;;18446:407;18637:2;18651:47;;;18622:18;;18712:131;18622:18;18712:131;;18860:407;19051:2;19065:47;;;19036:18;;19126:131;19036:18;19126:131;;19274:407;19465:2;19479:47;;;19450:18;;19540:131;19450:18;19540:131;;19688:407;19879:2;19893:47;;;19864:18;;19954:131;19864:18;19954:131;;20102:297;20262:2;20247:18;;20276:113;20251:9;20362:6;20276:113;;20406:213;20524:2;20509:18;;20538:71;20513:9;20582:6;20538:71;;20626:324;20772:2;20757:18;;20786:71;20761:9;20830:6;20786:71;;20957:629;21204:2;21189:18;;21218:71;21193:9;21262:6;21218:71;;;21300:72;21368:2;21357:9;21353:18;21344:6;21300:72;;;21420:9;21414:4;21410:20;21405:2;21394:9;21390:18;21383:48;21445:131;21571:4;21445:131;;21593:435;21767:2;21752:18;;21781:71;21756:9;21825:6;21781:71;;;21863:72;21931:2;21920:9;21916:18;21907:6;21863:72;;22035:659;22265:3;22250:19;;22280:71;22254:9;22324:6;22280:71;;;22362:72;22430:2;22419:9;22415:18;22406:6;22362:72;;;22445;22513:2;22502:9;22498:18;22489:6;22445:72;;;22528;22596:2;22585:9;22581:18;22572:6;22528:72;;;22611:73;22679:3;22668:9;22664:19;22655:6;22611:73;;;22236:458;;;;;;;;;22701:205;22815:2;22800:18;;22829:67;22804:9;22869:6;22829:67;;22913:256;22975:2;22969:9;23001:17;;;23076:18;23061:34;;23097:22;;;23058:62;23055:2;;;23133:1;23130;23123:12;23055:2;23149;23142:22;22953:216;;-1:-1;22953:216;23176:121;23263:12;;23234:63;23587:163;23690:19;;;23739:4;23730:14;;23683:67;23758:91;;23820:24;23838:5;23820:24;;23856:85;23922:13;23915:21;;23898:43;23948:144;-1:-1;;;;;;24009:78;;23992:100;24178:128;24251:5;24257:44;24251:5;24257:44;;24444:121;-1:-1;;;;;24506:54;;24489:76;24651:81;24722:4;24711:16;;24694:38;24739:129;;24826:37;24857:5;24875:153;;24970:53;25017:5;24970:53;;25457:128;;25545:35;25574:5;25545:35;;25967:268;26032:1;26039:101;26053:6;26050:1;26047:13;26039:101;;;26120:11;;;26114:18;26101:11;;;26094:39;26075:2;26068:10;26039:101;;;26155:6;26152:1;26149:13;26146:2;;;-1:-1;;26220:1;26202:16;;26195:27;26016:219;26404:97;26492:2;26472:14;-1:-1;;26468:28;;26452:49;26509:102;26589:1;26582:5;26579:12;26569:2;;26595:9;26725:117;26794:24;26812:5;26794:24;;;26787:5;26784:35;26774:2;;26833:1;26830;26823:12;26849:111;26915:21;26930:5;26915:21;;26967:103;27045:1;27038:5;27035:12;27025:2;;27061:1;27058;27051:12;27077:117;27146:24;27164:5;27146:24;
Swarm Source
bzzr://db60be33fed6dd0743b1b29f567a7950742760af7c6ed1bb54c7c6c5a58a501e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.