More Info
Private Name Tags
ContractCreator:
Sponsored
Latest 25 from a total of 2,243 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Harvest | 41551430 | 639 days ago | IN | 0 FTM | 0.0045007 | ||||
Harvest | 41202684 | 644 days ago | IN | 0 FTM | 0.00398363 | ||||
Harvest | 41202146 | 644 days ago | IN | 0 FTM | 0.00435132 | ||||
Harvest | 41201655 | 644 days ago | IN | 0 FTM | 0.00349617 | ||||
Harvest | 41201048 | 644 days ago | IN | 0 FTM | 0.00382033 | ||||
Harvest | 41200528 | 644 days ago | IN | 0 FTM | 0.00360362 | ||||
Harvest | 41200174 | 644 days ago | IN | 0 FTM | 0.00396695 | ||||
Harvest | 41199880 | 644 days ago | IN | 0 FTM | 0.00417001 | ||||
Harvest | 41199582 | 644 days ago | IN | 0 FTM | 0.00440982 | ||||
Harvest | 41199299 | 644 days ago | IN | 0 FTM | 0.00466703 | ||||
Harvest | 41199019 | 644 days ago | IN | 0 FTM | 0.00480483 | ||||
Harvest | 41198669 | 644 days ago | IN | 0 FTM | 0.0057632 | ||||
Harvest | 41198274 | 644 days ago | IN | 0 FTM | 0.0066783 | ||||
Harvest | 41197787 | 644 days ago | IN | 0 FTM | 0.0072522 | ||||
Harvest | 41197300 | 644 days ago | IN | 0 FTM | 0.0084609 | ||||
Harvest | 41196718 | 644 days ago | IN | 0 FTM | 0.00960967 | ||||
Harvest | 41196225 | 644 days ago | IN | 0 FTM | 0.01002889 | ||||
Harvest | 41195657 | 644 days ago | IN | 0 FTM | 0.0050345 | ||||
Harvest | 41195356 | 644 days ago | IN | 0 FTM | 0.00447219 | ||||
Harvest | 41195036 | 644 days ago | IN | 0 FTM | 0.0045155 | ||||
Harvest | 41194663 | 644 days ago | IN | 0 FTM | 0.00474717 | ||||
Harvest | 41194200 | 644 days ago | IN | 0 FTM | 0.00654058 | ||||
Harvest | 41193744 | 644 days ago | IN | 0 FTM | 0.00360362 | ||||
Harvest | 41193364 | 644 days ago | IN | 0 FTM | 0.00394229 | ||||
Harvest | 41192953 | 644 days ago | IN | 0 FTM | 0.00416138 |
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
27723254 | 807 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Contract Name:
ReaperAutoCompoundCreditum_curve
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ReaperBaseStrategy.sol"; import "./interfaces/ICurve.sol"; import "./interfaces/IMasterChef.sol"; import "./interfaces/IUniswapV2Router02.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @dev Implementation of a strategy to get yields from the autocompounding of the Creditum masterchef * this strategy will be specialized for curve and is intended for use with the 2pool-cUSD factory pool * * this strategy also implements the new reaperbasestrategy written by tess3rac7 for better analytics * this strat also requires the use of the optimizer due to code size issues */ contract ReaperAutoCompoundCreditum_curve is ReaperBaseStrategy { using SafeERC20 for IERC20; using SafeMath for uint256; /** * @dev Tokens Used: * {wftm} - Required for liquidity routing when doing swaps. * {usdc} - usdc is what we will use for entering into the curve LP position * {credit} - Initial rewardtoken, we leave open the option for others in the future as Steakhousev2 can dole out 5 * {lpPair} - the lp token address * {curveDepositer} - the contract through which we will deposit USDC to get the crvLP * {rewardTokens} - all the rewardTokens the steakhouse currently can emit, regardless of if they emit */ address public constant wftm = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83); address public constant usdc = address(0x04068DA6C83AFCFA0e13ba15A6696662335D5B75); address public constant credit = address(0x77128DFdD0ac859B33F44050c6fa272F34872B5E); address public constant curveDepositer = address(0x78D51EB71a62c081550EfcC0a9F9Ea94B2Ef081c); address public lpPair; uint8 public poolId; address[] public rewardTokens = new address[](5); /** * @dev Third Party Contracts: * {uniRouter} - the uniRouter for spookyswap * {masterChef} - the SteakHousev2 address for creditum */ address public constant uniRouter = address(0xF491e7B69E4244ad4002BC14e878a34207E38c29); address public constant masterChef = address(0xe0c43105235C1f18EA15fdb60Bb6d54814299938); address[] private _strategists = [ address(0xe1610bB38Ce95254dD77cbC82F9c1148569B560e) ]; address[] private _feeRemitters = [ address(0x0e7c5313E9BB80b654734d9b7aB1FB01468deE3b), address(0x111731A388743a75CF60CCA7b140C58e41D83635) ]; /** * @dev Paths used to swap tokens: * {rewardTokenToWftmRoute} - to swap reward tokens for {wftm}. * {isEmitting} - if the reward is emitted to that specific pool, if it is we will need to liquidate those rewards during harvest */ mapping(address => address[]) public rewardTokenToWftmRoute; mapping(uint8 => bool) public isEmitting; address[] public wftmToUSDCRoute = [wftm, usdc]; /** * @dev Initializes the strategy. Sets parameters, saves routes, and gives allowances. * @notice see documentation for each variable above its respective declaration. */ constructor( address _lpPair, uint8 _poolId, address _vault, address _treasury ) ReaperBaseStrategy(_vault, _feeRemitters, _strategists) { lpPair = _lpPair; poolId = _poolId; treasury = _treasury; _updateRewardTokens(); giveAllowances(); } /** * @dev Function that puts the funds to work. * It gets called whenever someone deposits in the strategy's vault contract. * It deposits {lpPair} in the masterChef contract to farm all the {rewardTokens} */ function deposit() public whenNotPaused { uint256 pairBal = IERC20(lpPair).balanceOf(address(this)); if (pairBal > 0) { IMasterChef(masterChef).deposit(poolId, pairBal); } } /** * @dev Withdraws funds and sends them back to the vault. * It withdraws {lpPair} from the masterChef contract. * The available {lpPair} minus fees is returned to the vault. */ function withdraw(uint256 _amount) external { require(msg.sender == vault, "!vault"); uint256 pairBal = IERC20(lpPair).balanceOf(address(this)); if (pairBal < _amount) { IMasterChef(masterChef).withdraw(poolId, _amount.sub(pairBal)); pairBal = IERC20(lpPair).balanceOf(address(this)); } if (pairBal > _amount) { pairBal = _amount; } uint256 withdrawFee = pairBal.mul(securityFee).div(PERCENT_DIVISOR); IERC20(lpPair).safeTransfer(vault, pairBal.sub(withdrawFee)); } /** * @dev Core function of the strat, in charge of collecting and re-investing rewards. * 1. It claims rewards from the masterChef contract * 2. For each earned rewardToken: * - swap base token for wFTM tokens. * 3. It charges the system fees out of the newly earned wFTM tokens. * 4. It swaps the remaining wFTM into USDC deposits it into the curveDepositer * 5. The Lp tokens are deposited back into the masterChef contract. */ function _harvestCore() internal override { IMasterChef(masterChef).deposit(poolId, 0); chargeFees(); addLiquidity(); deposit(); } /** * @dev Returns the approx amount of profit from harvesting. * Profit is denominated in WFTM, and takes fees into account. */ function estimateHarvest() external view override returns (uint256 profit, uint256 callFeeToUser) { IMasterChef.UserInfo memory user = IMasterChef(masterChef).getUserInfo( poolId, address(this) ); IMasterChef.PoolInfo memory pool = IMasterChef(masterChef).getPoolInfo( poolId ); for (uint8 i = 0; i < 5; i++) { // also skip tokens with 0 reward if (isEmitting[i] != true) { continue; } // for all other reward gTokens, add wFTM equivalent to profit address token = rewardTokens[i]; uint256 pending = (user.amount * pool.AccRewardsPerShare[i]) - user.RewardDebt[i]; if (token == wftm) { profit = profit.add(pending); } else { uint256[] memory amountOutMins = IUniswapV2Router02(uniRouter) .getAmountsOut(pending, rewardTokenToWftmRoute[token]); profit = profit.add(amountOutMins[1]); } } // take out fees from profit uint256 wftmFee = profit.mul(totalFee).div(PERCENT_DIVISOR); callFeeToUser = wftmFee.mul(callFee).div(PERCENT_DIVISOR); profit = profit.sub(wftmFee); } /** * @dev Takes out fees from the rewards. Set by constructor * callFeeToUser is set as a percentage of the fee, * as is treasuryFeeToVault */ function chargeFees() internal { uint256 rewardBal; for (uint8 i = 0; i < 5; i++) { if (isEmitting[i] == true) { rewardBal = IERC20(rewardTokens[i]).balanceOf(address(this)); IUniswapV2Router02(uniRouter) .swapExactTokensForTokensSupportingFeeOnTransferTokens( rewardBal, 0, rewardTokenToWftmRoute[rewardTokens[i]], address(this), block.timestamp.add(600) ); } } uint256 fees = IERC20(wftm).balanceOf(address(this)).mul(totalFee).div( PERCENT_DIVISOR ); uint256 callFeeToUser = fees.mul(callFee).div(PERCENT_DIVISOR); IERC20(wftm).safeTransfer(msg.sender, callFeeToUser); uint256 treasuryFeeToVault = fees.mul(treasuryFee).div(PERCENT_DIVISOR); IERC20(wftm).safeTransfer(treasury, treasuryFeeToVault); } /** * @dev Swaps {wftm} for {usdc}, deposited {usdc} using {curveDepositer}. */ function addLiquidity() internal { uint256 bal = IERC20(wftm).balanceOf(address(this)); IUniswapV2Router02(uniRouter) .swapExactTokensForTokensSupportingFeeOnTransferTokens( bal, 0, wftmToUSDCRoute, address(this), block.timestamp.add(600) ); uint256 USDCBal = IERC20(usdc).balanceOf(address(this)); uint256[3] memory amounts = [0, 0, USDCBal]; ICurveDepositer(curveDepositer).add_liquidity(lpPair, amounts, 0); } /** * @dev Function to calculate the total underlaying {lpPair} held by the strat. * It takes into account both the funds in hand, as the funds allocated in the masterChef. */ function balanceOf() public view override returns (uint256) { return balanceOfLpPair().add(balanceOfPool()); } /** * @dev It calculates how much {lpPair} the contract holds. */ function balanceOfLpPair() public view returns (uint256) { return IERC20(lpPair).balanceOf(address(this)); } /** * @dev It calculates how much {lpPair} the strategy has allocated in the masterChef */ function balanceOfPool() public view returns (uint256) { IMasterChef.UserInfo memory user = IMasterChef(masterChef).getUserInfo( poolId, address(this) ); return user.amount; } /** * @dev Function that has to be called as part of strat migration. It sends all the available funds back to the * vault, ready to be migrated to the new strat. */ function retireStrat() external { require(msg.sender == vault, "!vault"); IMasterChef(masterChef).deposit(poolId, 0); chargeFees(); addLiquidity(); uint256 pairBal = IERC20(lpPair).balanceOf(address(this)); IERC20(lpPair).transfer(vault, pairBal); } /** * @dev Pauses deposits. Gets all withdrawable funds, leaving rewards behind * Can only be called by strategist or owner. */ function panic() external { _onlyStrategistOrOwner(); pause(); IMasterChef(masterChef).withdraw(poolId, balanceOfPool()); } /** * @dev Pauses the strat. Can only be called by strategist or owner. */ function pause() public { _onlyStrategistOrOwner(); _pause(); removeAllowances(); } /** * @dev Unpauses the strat. Can only be called by strategist or owner. */ function unpause() external { _onlyStrategistOrOwner(); _unpause(); giveAllowances(); deposit(); } /** * @dev Manually turn off or on emittance for a specific rewardToken, may be useful if liquidity pool is problematic or token turns off abruptly */ function emittance(uint8 _id, bool _status) external returns (bool) { _onlyStrategistOrOwner(); isEmitting[_id] = _status; return true; } function updateRewardTokens() external returns (bool) { _onlyStrategistOrOwner(); _updateRewardTokens(); return true; } /** * @dev internal Function that checks the poolInfo at the masterchef * iterates through all 5 reward tokens and sets isEmitting to true if they have non-zero allocPoints * updates the rewardTokens array as well as setting a new route * if the allocPoints were 0, isEmitting is set to false * */ function _updateRewardTokens() internal { IMasterChef.PoolInfo memory _poolInfo = IMasterChef(masterChef) .getPoolInfo(poolId); for (uint8 i = 0; i < 5; i++) { address rewardToken = IMasterChef(masterChef).RewardTokens(i); rewardTokens[i] = rewardToken; if (_poolInfo.AllocPoints[i] != 0) { rewardTokenToWftmRoute[rewardToken] = [rewardToken, wftm]; isEmitting[i] = true; } else { isEmitting[i] = false; } } } function giveAllowances() internal { IERC20(lpPair).safeApprove(masterChef, type(uint256).max); IERC20(wftm).safeApprove(uniRouter, type(uint256).max); IERC20(usdc).safeApprove(curveDepositer, type(uint256).max); for (uint8 i = 0; i < 5; i++) { if (isEmitting[i] == true) { IERC20(rewardTokens[i]).safeApprove(uniRouter, 0); IERC20(rewardTokens[i]).safeApprove( uniRouter, type(uint256).max ); } } } function removeAllowances() internal { IERC20(lpPair).safeApprove(masterChef, 0); IERC20(wftm).safeApprove(uniRouter, 0); IERC20(usdc).safeApprove(curveDepositer, 0); for (uint8 i = 0; i < 5; i++) { IERC20(rewardTokens[i]).safeApprove(uniRouter, 0); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; abstract contract ReaperBaseStrategy is AccessControlEnumerable, Pausable { uint256 public constant PERCENT_DIVISOR = 10_000; uint256 public constant ONE_YEAR = 365 days; struct Harvest { uint256 timestamp; uint256 profit; uint256 tvl; // doesn't include profit uint256 timeSinceLastHarvest; } Harvest[] public harvestLog; uint256 public harvestLogCadence = 12 hours; uint256 public lastHarvestTimestamp; /** * Reaper Roles */ bytes32 public constant STRATEGIST = keccak256("STRATEGIST"); bytes32 public constant STRATEGIST_MULTISIG = keccak256("STRATEGIST_MULTISIG"); /** * @dev Reaper contracts: * {treasury} - Address of the Reaper treasury * {vault} - Address of the vault that controls the strategy's funds. * {strategistRemitter} - Address where strategist fee is remitted to. * Must be an IPaymentRouter contract. */ address public treasury; address public immutable vault; address public strategistRemitter; /** * Fee related constants: * {MAX_FEE} - Maximum fee allowed by the strategy. Hard-capped at 10%. * {STRATEGIST_MAX_FEE} - Maximum strategist fee allowed by the strategy (as % of treasury fee). * Hard-capped at 50% */ uint256 public constant MAX_FEE = 1000; uint256 public constant STRATEGIST_MAX_FEE = 5000; /** * @dev Distribution of fees earned, expressed as % of the profit from each harvest. * {totalFee} - divided by 10,000 to determine the % fee. Set to 4.5% by default and * lowered as necessary to provide users with the most competitive APY. * * {callFee} - Percent of the totalFee reserved for the harvester (1000 = 10% of total fee: 0.45% by default) * {treasuryFee} - Percent of the totalFee taken by maintainers of the software (9000 = 90% of total fee: 4.05% by default) * {strategistFee} - Percent of the treasuryFee taken by strategist (2500 = 25% of treasury fee: 1.0125% by default) * * {securityFee} - Fee taxed when a user withdraws funds. Taken to prevent flash deposit/harvest attacks. * These funds are redistributed to stakers in the pool. */ uint256 public totalFee = 450; uint256 public callFee = 1000; uint256 public treasuryFee = 9000; uint256 public strategistFee = 2500; uint256 public securityFee = 10; /** * {TotalFeeUpdated} Event that is fired each time the total fee is updated. * {FeesUpdated} Event that is fired each time callFee+treasuryFee+strategistFee are updated. * {StratHarvest} Event that is fired each time the strategy gets harvested. * {StrategistRemitterUpdated} Event that is fired each time the strategistRemitter address is updated. */ event TotalFeeUpdated(uint256 newFee); event FeesUpdated( uint256 newCallFee, uint256 newTreasuryFee, uint256 newStrategistFee ); event StratHarvest(address indexed harvester); event StrategistRemitterUpdated(address newStrategistRemitter); constructor( address _vault, address[] memory _feeRemitters, address[] memory _strategists ) { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); vault = _vault; treasury = _feeRemitters[0]; strategistRemitter = _feeRemitters[1]; for (uint256 i = 0; i < _strategists.length; i++) { _grantRole(STRATEGIST, _strategists[i]); } } /** * @dev harvest() function that takes care of logging. Subcontracts should * override _harvestCore() and implement their specific logic in it. */ function harvest() external whenNotPaused { uint256 startingTvl = balanceOf(); _harvestCore(); if ( harvestLog.length == 0 || block.timestamp >= harvestLog[harvestLog.length - 1].timestamp + harvestLogCadence ) { harvestLog.push( Harvest({ timestamp: block.timestamp, profit: balanceOf() - startingTvl, tvl: startingTvl, timeSinceLastHarvest: block.timestamp - lastHarvestTimestamp }) ); } lastHarvestTimestamp = block.timestamp; emit StratHarvest(msg.sender); } function harvestLogLength() external view returns (uint256) { return harvestLog.length; } /** * @dev Returns a slice of the harvest log containing the _n latest harvests. */ function latestHarvestLogSlice(uint256 _n) external view returns (Harvest[] memory slice) { slice = new Harvest[](_n); uint256 sliceCounter = 0; for (uint256 i = harvestLog.length - _n; i < harvestLog.length; i++) { slice[sliceCounter++] = harvestLog[i]; } } /** * @dev Traverses the harvest log backwards until it hits _timestamp, * and returns the average APR calculated across all the included * log entries. APR is multiplied by PERCENT_DIVISOR to retain precision. * * Note: will never hit the first log since that won't really have a proper * timeSinceLastHarvest */ function averageAPRSince(uint256 _timestamp) external view returns (uint256) { uint256 runningAPRSum; uint256 numLogsProcessed; for ( uint256 i = harvestLog.length - 1; i > 0 && harvestLog[i].timestamp >= _timestamp; i-- ) { runningAPRSum += _getAPRForLog(harvestLog[i]); numLogsProcessed++; } return runningAPRSum / numLogsProcessed; } /** * @dev Traverses the harvest log backwards _n items, * and returns the average APR calculated across all the included * log entries. APR is multiplied by PERCENT_DIVISOR to retain precision. * * Note: will never hit the first log since that won't really have a proper * timeSinceLastHarvest */ function averageAPRAcrossLastNHarvests(uint256 _n) external view returns (uint256) { uint256 runningAPRSum; uint256 numLogsProcessed; for ( uint256 i = harvestLog.length - 1; i > 0 && numLogsProcessed < _n; i-- ) { runningAPRSum += _getAPRForLog(harvestLog[i]); numLogsProcessed++; } return runningAPRSum / numLogsProcessed; } /** * @dev Only strategist or owner can edit the log cadence. */ function updateHarvestLogCadence(uint256 _newCadenceInSeconds) external { _onlyStrategistOrOwner(); harvestLogCadence = _newCadenceInSeconds; } /** * @dev updates the total fee, capped at 5%; only owner. */ function updateTotalFee(uint256 _totalFee) external onlyRole(DEFAULT_ADMIN_ROLE) returns (bool) { require(_totalFee <= MAX_FEE, "Fee Too High"); totalFee = _totalFee; emit TotalFeeUpdated(totalFee); return true; } /** * @dev updates the call fee, treasury fee, and strategist fee * call Fee + treasury Fee must add up to PERCENT_DIVISOR * * strategist fee is expressed as % of the treasury fee and * must be no more than STRATEGIST_MAX_FEE * * only owner */ function updateFees( uint256 _callFee, uint256 _treasuryFee, uint256 _strategistFee ) external onlyRole(DEFAULT_ADMIN_ROLE) returns (bool) { require( _callFee + _treasuryFee == PERCENT_DIVISOR, "sum != PERCENT_DIVISOR" ); require( _strategistFee <= STRATEGIST_MAX_FEE, "strategist fee > STRATEGIST_MAX_FEE" ); callFee = _callFee; treasuryFee = _treasuryFee; strategistFee = _strategistFee; emit FeesUpdated(callFee, treasuryFee, strategistFee); return true; } /** * @dev only owner can update treasury address. */ function updateTreasury(address newTreasury) external onlyRole(DEFAULT_ADMIN_ROLE) returns (bool) { treasury = newTreasury; return true; } /** * @dev Updates the current strategistRemitter. * If there is only one strategist this function may be called by * that strategist. However if there are multiple strategists * this function may only be called by the STRATEGIST_MULTISIG role. */ function updateStrategistRemitter(address _newStrategistRemitter) external { if (getRoleMemberCount(STRATEGIST) == 1) { _checkRole(STRATEGIST, msg.sender); } else { _checkRole(STRATEGIST_MULTISIG, msg.sender); } require(_newStrategistRemitter != address(0), "!0"); strategistRemitter = _newStrategistRemitter; emit StrategistRemitterUpdated(_newStrategistRemitter); } /** * @dev Only allow access to strategist or owner */ function _onlyStrategistOrOwner() internal view { require( hasRole(STRATEGIST, msg.sender) || hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Not authorized" ); } function _getAPRForLog(Harvest storage log) internal view returns (uint256) { uint256 projectedYearlyProfit = (log.profit * ONE_YEAR) / log.timeSinceLastHarvest; return (projectedYearlyProfit * PERCENT_DIVISOR) / log.tvl; } /** * @dev Returns the approx amount of profit from harvesting plus fee that * would be returned to harvest caller. */ function estimateHarvest() external view virtual returns (uint256 profit, uint256 callFeeToUser); function balanceOf() public virtual returns (uint256); /** * @dev subclasses should add their custom harvesting logic in this function * including charging any fees. */ function _harvestCore() internal virtual; }
interface ICurveDepositer { function add_liquidity(address token, uint256[3] memory amounts, uint256 min_mint_amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IMasterChef { function poolLength() external view returns (uint256); function getMultiplier(uint256 _from, uint256 _to) external view returns (uint256); function pendingSpirit(uint256 _pid, address _user) external view returns (uint256); function massUpdatePools() external; function updatePool(uint256 _pid) external; function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function getUserInfo(uint256 _pid, address _user) external view returns (UserInfo memory); function emergencyWithdraw(uint256 _pid) external; function getPoolInfo(uint256 _pid) external view returns (PoolInfo memory); function RewardTokens(uint256) external view returns (address); struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256[] RewardDebt; // Reward debt. See explanation below. uint256[] RemainingRewards; // Reward Tokens that weren't distributed for user per pool. } // Info of each pool. struct PoolInfo { address stakingToken; // Contract address of staked token uint256 stakingTokenTotalAmount; //Total amount of deposited tokens uint32 lastRewardTime; // Last timestamp number that Rewards distribution occurs. uint256[] AccRewardsPerShare; // Accumulated reward tokens per share, times 1e12. See below. uint256[] AllocPoints; // How many allocation points assigned to this pool. STEAK to distribute per second. } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IUniswapV2Pair { function token0() external view returns (address); function token1() external view returns (address); }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/AccessControlEnumerable.sol) pragma solidity ^0.8.0; import "./IAccessControlEnumerable.sol"; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {_grantRole} to track enumerable memberships */ function _grantRole(bytes32 role, address account) internal virtual override { super._grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {_revokeRole} to track enumerable memberships */ function _revokeRole(bytes32 role, address account) internal virtual override { super._revokeRole(role, account); _roleMembers[role].remove(account); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "metadata": { "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_lpPair","type":"address"},{"internalType":"uint8","name":"_poolId","type":"uint8"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newCallFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTreasuryFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newStrategistFee","type":"uint256"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStrategistRemitter","type":"address"}],"name":"StrategistRemitterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"TotalFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_YEAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENT_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST_MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST_MULTISIG","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"averageAPRAcrossLastNHarvests","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"averageAPRSince","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfLpPair","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"credit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curveDepositer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_id","type":"uint8"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"emittance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"estimateHarvest","outputs":[{"internalType":"uint256","name":"profit","type":"uint256"},{"internalType":"uint256","name":"callFeeToUser","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"harvestLog","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"profit","type":"uint256"},{"internalType":"uint256","name":"tvl","type":"uint256"},{"internalType":"uint256","name":"timeSinceLastHarvest","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestLogCadence","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestLogLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"isEmitting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastHarvestTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"latestHarvestLogSlice","outputs":[{"components":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"profit","type":"uint256"},{"internalType":"uint256","name":"tvl","type":"uint256"},{"internalType":"uint256","name":"timeSinceLastHarvest","type":"uint256"}],"internalType":"struct ReaperBaseStrategy.Harvest[]","name":"slice","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolId","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokenToWftmRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"securityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategistFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategistRemitter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_strategistFee","type":"uint256"}],"name":"updateFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCadenceInSeconds","type":"uint256"}],"name":"updateHarvestLogCadence","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateRewardTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newStrategistRemitter","type":"address"}],"name":"updateStrategistRemitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalFee","type":"uint256"}],"name":"updateTotalFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasury","type":"address"}],"name":"updateTreasury","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wftmToUSDCRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61a8c06004556101c26008556103e8600955612328600a9081556109c4600b55600c55600560a08181526101606040529060c08280368337505081516200004e92600e92506020019062000c3e565b50604080516020810190915273e1610bb38ce95254dd77cbc82f9c1148569b560e81526200008190600f90600162000c3e565b5060408051808201909152730e7c5313e9bb80b654734d9b7ab1fb01468dee3b815273111731a388743a75cf60cca7b140c58e41d836356020820152620000cd90601090600262000c3e565b50604080518082019091527321be370d5312f44cb42ce377bc9b8a0cef1a4c8381527304068da6c83afcfa0e13ba15a6696662335d5b7560208201526200011990601390600262000c3e565b503480156200012757600080fd5b5060405162004e0c38038062004e0c8339810160408190526200014a9162000daa565b816010805480602002602001604051908101604052809291908181526020018280548015620001a357602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000184575b5050505050600f8054806020026020016040519081016040528092919081815260200182805480156200020057602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620001e1575b50506002805460ff19169055506200021e91506000905033620003b3565b6001600160601b0319606084901b16608052815182906000906200025257634e487b7160e01b600052603260045260246000fd5b6020026020010151600660006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600181518110620002a257634e487b7160e01b600052603260045260246000fd5b6020026020010151600760006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060005b81518110156200034c57620003377fb17d0a42cc710456bf9c3efb785dcd0cb93a0ac358113307b5c64b285b516b5c8383815181106200032357634e487b7160e01b600052603260045260246000fd5b6020026020010151620003b360201b60201c565b8062000343816200110f565b915050620002d3565b5050600d80546001600160a01b03199081166001600160a01b038981169190911760ff60a01b1916600160a01b60ff8a16021790925560068054909116918516919091179055506200039f9050620003f6565b620003a96200066e565b505050506200117c565b620003ca82826200082060201b62001bec1760201c565b6000828152600160209081526040909120620003f191839062001c71620008aa821b17901c565b505050565b600d54604051632f380b3560e01b815260009173e0c43105235c1f18ea15fdb60bb6d5481429993891632f380b35916200043f91600160a01b90910460ff1690600401620010ce565b60006040518083038186803b1580156200045857600080fd5b505afa1580156200046d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000497919081019062000e2e565b905060005b60058160ff1610156200066a57604051631d8a66eb60e01b815260009073e0c43105235c1f18ea15fdb60bb6d5481429993890631d8a66eb90620004e5908590600401620010ce565b60206040518083038186803b158015620004fe57600080fd5b505afa15801562000513573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000539919062000d8d565b905080600e8360ff16815481106200056157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082608001518260ff1681518110620005b757634e487b7160e01b600052603260045260246000fd5b602002602001015160001462000639576040805180820182526001600160a01b0383168082527321be370d5312f44cb42ce377bc9b8a0cef1a4c83602080840191909152600091825260119052919091206200061591600262000c3e565b5060ff82166000908152601260205260409020805460ff1916600117905562000654565b60ff82166000908152601260205260409020805460ff191690555b508062000661816200112d565b9150506200049c565b5050565b600d54620006a9906001600160a01b031673e0c43105235c1f18ea15fdb60bb6d54814299938600019620008ca602090811b62001c8617901c565b620006ec7321be370d5312f44cb42ce377bc9b8a0cef1a4c8373f491e7b69e4244ad4002bc14e878a34207e38c29600019620008ca602090811b62001c8617901c565b6200072f7304068da6c83afcfa0e13ba15a6696662335d5b757378d51eb71a62c081550efcc0a9f9ea94b2ef081c600019620008ca602090811b62001c8617901c565b60005b60058160ff1610156200081d5760ff808216600090815260126020526040902054161515600114156200080857620007c773f491e7b69e4244ad4002bc14e878a34207e38c296000600e8460ff16815481106200079f57634e487b7160e01b600052603260045260246000fd5b600091825260209182902001546001600160a01b031692919062001c86620008ca821b17901c565b6200080873f491e7b69e4244ad4002bc14e878a34207e38c29600019600e8460ff16815481106200079f57634e487b7160e01b600052603260045260246000fd5b8062000814816200112d565b91505062000732565b50565b6200082c8282620009dc565b6200066a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200086662000a05565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620008c1836001600160a01b03841662000a09565b90505b92915050565b801580620009595750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e9062000903903090869060040162000f42565b60206040518083038186803b1580156200091c57600080fd5b505afa15801562000931573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000957919062000f0b565b155b620009815760405162461bcd60e51b8152600401620009789062001071565b60405180910390fd5b620003f18363095ea7b360e01b8484604051602401620009a392919062000f5c565b60408051808303601f190181529190526020810180516001600160e01b0319939093166001600160e01b039384161790529062000a5816565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b3390565b600062000a17838362000af4565b62000a4f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620008c4565b506000620008c4565b600062000ab4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031662000b0c60201b62001d80179092919060201c565b805190915015620003f1578080602001905181019062000ad5919062000e0c565b620003f15760405162461bcd60e51b8152600401620009789062001027565b60009081526001919091016020526040902054151590565b606062000b1d848460008562000b27565b90505b9392505050565b60608247101562000b4c5760405162461bcd60e51b8152600401620009789062000faa565b62000b578562000bf6565b62000b765760405162461bcd60e51b8152600401620009789062000ff0565b600080866001600160a01b0316858760405162000b94919062000f24565b60006040518083038185875af1925050503d806000811462000bd3576040519150601f19603f3d011682016040523d82523d6000602084013e62000bd8565b606091505b50909250905062000beb82828662000c00565b979650505050505050565b803b15155b919050565b6060831562000c1157508162000b20565b82511562000c225782518084602001fd5b8160405162461bcd60e51b815260040162000978919062000f75565b82805482825590600052602060002090810192821562000c96579160200282015b8281111562000c9657825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000c5f565b5062000ca492915062000ca8565b5090565b5b8082111562000ca4576000815560010162000ca9565b80516001600160a01b038116811462000bfb57600080fd5b600082601f83011262000ce8578081fd5b815160206001600160401b038083111562000d075762000d0762001166565b8183026040518382820101818110848211171562000d295762000d2962001166565b6040528481528381019250868401828801850189101562000d48578687fd5b8692505b8583101562000d6c57805184529284019260019290920191840162000d4c565b50979650505050505050565b805163ffffffff8116811462000bfb57600080fd5b60006020828403121562000d9f578081fd5b620008c18262000cbf565b6000806000806080858703121562000dc0578283fd5b62000dcb8562000cbf565b9350602085015160ff8116811462000de1578384fd5b925062000df16040860162000cbf565b915062000e016060860162000cbf565b905092959194509250565b60006020828403121562000e1e578081fd5b8151801515811462000b20578182fd5b60006020828403121562000e40578081fd5b81516001600160401b038082111562000e57578283fd5b9083019060a0828603121562000e6b578283fd5b60405160a08101818110838211171562000e895762000e8962001166565b60405262000e978362000cbf565b81526020830151602082015262000eb16040840162000d78565b604082015260608301518281111562000ec8578485fd5b62000ed68782860162000cd7565b60608301525060808301518281111562000eee578485fd5b62000efc8782860162000cd7565b60808301525095945050505050565b60006020828403121562000f1d578081fd5b5051919050565b6000825162000f38818460208701620010dc565b9190910192915050565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b600060208252825180602084015262000f96816040850160208701620010dc565b601f01601f19169190910160400192915050565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606082015260800190565b60ff91909116815260200190565b60005b83811015620010f9578181015183820152602001620010df565b8381111562001109576000848401525b50505050565b600060001982141562001126576200112662001150565b5060010190565b600060ff821660ff81141562001147576200114762001150565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160601c613c55620011b76000396000818161098501528181610b81015281816119b001528181611b190152611b970152613c556000f3fe608060405234801561001057600080fd5b50600436106103af5760003560e01c80637f51bb1f116101f4578063ca15c8731161011a578063ec90b122116100ad578063f4f45b461161007c578063f4f45b46146106d8578063fb617787146106e0578063fbfa77cf146106e8578063fd66533e146106f0576103af565b8063ec90b1221461067a578063ecf173ff1461068d578063f0f4809214610695578063f37ae328146106b5576103af565b8063d547741f116100e9578063d547741f14610639578063d68e13021461064c578063e4085bc114610654578063e46257d214610667576103af565b8063ca15c87314610603578063cc32d17614610616578063d0e30db01461061e578063d32b960414610626576103af565b80639cfdede311610192578063b29d404b11610161578063b29d404b146105d5578063b54effcc146105eb578063bc063e1a146105f3578063c2351cdd146105fb576103af565b80639cfdede3146105b5578063a06d083c146105bd578063a0e47bf6146105c5578063a217fddf146105cd576103af565b80638954ffeb116101ce5780638954ffeb146105745780639010d07c1461058757806390321e1a1461059a57806391d14854146105a2576103af565b80637f51bb1f146105515780638456cb59146105645780638888f9f61461056c576103af565b80633e413bee116102d9578063526e108011610277578063682274e311610246578063682274e31461051b578063722713f71461052e57806372c95e56146105365780637bb7bed11461053e576103af565b8063526e1080146104fb578063575a86b2146105035780635c975abb1461050b57806361d027b314610513576103af565b80634641257d116102b35780634641257d146104db5780634700d305146104e35780634870dd9a146104eb5780634e8fd73a146104f3576103af565b80633e413bee146104c35780633f4ba83a146104cb578063452ed4f1146104d3576103af565b8063248a9ca3116103515780632f2ff15d116103205780632f2ff15d1461047557806336568abe1461048857806337b46b921461049b5780633e0dc34e146104ae576103af565b8063248a9ca3146104305780632c9aa215146104435780632d6f4baa146104585780632e1a7d4d14610460576103af565b80631df4ccfc1161038d5780631df4ccfc146103fa57806322429085146104025780632257a73814610415578063228bd1ab1461041d576103af565b806301ffc9a7146103b457806311588086146103dd57806316d3bfbb146103f2575b600080fd5b6103c76103c23660046132a2565b610703565b6040516103d49190613696565b60405180910390f35b6103e5610730565b6040516103d491906136a1565b6103e56107cf565b6103e56107d7565b6103c761041036600461345c565b6107dd565b6103e561089c565b6103e561042b36600461323a565b6108a2565b6103e561043e36600461323a565b610947565b61044b61095c565b6040516103d491906135a3565b6103e5610974565b61047361046e36600461323a565b61097a565b005b610473610483366004613252565b610bc2565b610473610496366004613252565b610be1565b61044b6104a93660046131c0565b610c27565b6104b6610c5f565b6040516103d49190613a67565b61044b610c6f565b610473610c87565b61044b610ca9565b610473610cb8565b610473610e03565b6103e5610e8f565b6103c7610e95565b6103e5610ead565b61044b610eb3565b6103c7610ec5565b61044b610ece565b6103e561052936600461323a565b610edd565b6103e5610f8f565b6103e5610faf565b61044b61054c36600461323a565b610fb5565b6103c761055f366004613188565b610fdf565b610473611015565b61044b61102d565b6103c7610582366004613487565b61103c565b61044b610595366004613281565b611051565b6103e5611072565b6103c76105b0366004613252565b611078565b6103e56110a1565b61044b6110b3565b61044b6110cb565b6103e56110e3565b6105dd6110e8565b6040516103d4929190613a28565b6103e561148e565b6103e56114b2565b6103e56114b8565b6103e561061136600461323a565b611539565b6103e5611550565b610473611556565b6103c761063436600461323a565b611679565b610473610647366004613252565b6116f0565b6103e561170f565b61044b61066236600461323a565b611715565b610473610675366004613188565b611725565b61047361068836600461323a565b611807565b6103e5611814565b6106a86106a336600461323a565b61181a565b6040516103d49190613632565b6106c86106c336600461323a565b611953565b6040516103d49493929190613a4c565b61044b61198d565b6104736119a5565b61044b611b95565b6103c76106fe3660046134a1565b611bb9565b60006001600160e01b03198216635a05180f60e01b1480610728575061072882611d99565b90505b919050565b600d54604051631069f3b560e01b81526000918291600080516020613be083398151915291631069f3b59161077491600160a01b900460ff16903090600401613a75565b60006040518083038186803b15801561078c57600080fd5b505afa1580156107a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107c89190810190613398565b5191505090565b6301e1338081565b60085481565b6000806107f1816107ec611dbe565b611dc2565b6127106107fe8587613aa4565b146108245760405162461bcd60e51b815260040161081b906137d0565b60405180910390fd5b6113888311156108465760405162461bcd60e51b815260040161081b90613800565b6009859055600a849055600b8390556040517fcf8a1e1d5f09cf3c97dbb653cd9a4d7aace9292fbc1bb8211febf2d400febbdd9061088990879087908790613a36565b60405180910390a1506001949350505050565b60055481565b60008060008060016003805490506108ba9190613afb565b90505b6000811180156108cc57508482105b1561093457610908600382815481106108f557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201611e26565b6109129084613aa4565b92508161091e81613b55565b925050808061092c90613b3e565b9150506108bd565b5061093f8183613abc565b949350505050565b60009081526020819052604090206001015490565b7378d51eb71a62c081550efcc0a9f9ea94b2ef081c81565b60035490565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109c25760405162461bcd60e51b815260040161081b906137b0565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a08231906109f39030906004016135a3565b60206040518083038186803b158015610a0b57600080fd5b505afa158015610a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a439190613444565b905081811015610b4c57600d54600080516020613be08339815191529063441a3e7090600160a01b900460ff16610a7a8585611e6a565b6040518363ffffffff1660e01b8152600401610a97929190613a91565b600060405180830381600087803b158015610ab157600080fd5b505af1158015610ac5573d6000803e3d6000fd5b5050600d546040516370a0823160e01b81526001600160a01b0390911692506370a082319150610af99030906004016135a3565b60206040518083038186803b158015610b1157600080fd5b505afa158015610b25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b499190613444565b90505b81811115610b575750805b6000610b7a612710610b74600c5485611e7690919063ffffffff16565b90611e82565b9050610bbd7f0000000000000000000000000000000000000000000000000000000000000000610baa8484611e6a565b600d546001600160a01b03169190611e8e565b505050565b610bcb82610947565b610bd7816107ec611dbe565b610bbd8383611ead565b610be9611dbe565b6001600160a01b0316816001600160a01b031614610c195760405162461bcd60e51b815260040161081b90613984565b610c238282611ecf565b5050565b60116020528160005260406000208181548110610c4357600080fd5b6000918252602090912001546001600160a01b03169150829050565b600d54600160a01b900460ff1681565b7304068da6c83afcfa0e13ba15a6696662335d5b7581565b610c8f611ef1565b610c97611f36565b610c9f611fa4565b610ca7611556565b565b600d546001600160a01b031681565b610cc0610ec5565b15610cdd5760405162461bcd60e51b815260040161081b90613786565b6000610ce7610f8f565b9050610cf161210e565b6003541580610d4c575060045460038054610d0e90600190613afb565b81548110610d2c57634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000154610d489190613aa4565b4210155b15610dd1576003604051806080016040528042815260200183610d6d610f8f565b610d779190613afb565b815260200183815260200160055442610d909190613afb565b905281546001818101845560009384526020938490208351600490930201918255928201519281019290925560408101516002830155606001516003909101555b4260055560405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a250565b610e0b611ef1565b610e13611015565b600d54600080516020613be08339815191529063441a3e7090600160a01b900460ff16610e3e610730565b6040518363ffffffff1660e01b8152600401610e5b929190613a91565b600060405180830381600087803b158015610e7557600080fd5b505af1158015610e89573d6000803e3d6000fd5b50505050565b61271081565b6000610e9f611ef1565b610ea7612190565b50600190565b600b5481565b600080516020613be083398151915281565b60025460ff1690565b6006546001600160a01b031681565b6000806000806001600380549050610ef59190613afb565b90505b600081118015610f3a57508460038281548110610f2557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016000015410155b1561093457610f63600382815481106108f557634e487b7160e01b600052603260045260246000fd5b610f6d9084613aa4565b925081610f7981613b55565b9250508080610f8790613b3e565b915050610ef8565b6000610faa610f9c610730565b610fa46114b8565b906123e2565b905090565b60045481565b600e8181548110610fc557600080fd5b6000918252602090912001546001600160a01b0316905081565b600080610fee816107ec611dbe565b600680546001600160a01b0385166001600160a01b03199091161790556001915050919050565b61101d611ef1565b6110256123ee565b610ca7612449565b6007546001600160a01b031681565b60126020526000908152604090205460ff1681565b60008281526001602052604081206110699083612536565b90505b92915050565b60095481565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613c0083398151915281565b7377128dfdd0ac859b33f44050c6fa272f34872b5e81565b73f491e7b69e4244ad4002bc14e878a34207e38c2981565b600081565b600d54604051631069f3b560e01b815260009182918291600080516020613be083398151915291631069f3b59161112f91600160a01b90910460ff16903090600401613a75565b60006040518083038186803b15801561114757600080fd5b505afa15801561115b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111839190810190613398565b600d54604051632f380b3560e01b8152919250600091600080516020613be083398151915291632f380b35916111c691600160a01b900460ff1690600401613a67565b60006040518083038186803b1580156111de57600080fd5b505afa1580156111f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261121a91908101906132ca565b905060005b60058160ff16101561143e5760ff80821660009081526012602052604090205416151560011461124e5761142c565b6000600e8260ff168154811061127457634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b03169050600084602001518360ff16815181106112bd57634e487b7160e01b600052603260045260246000fd5b602002602001015184606001518460ff16815181106112ec57634e487b7160e01b600052603260045260246000fd5b602002602001015186600001516113039190613adc565b61130d9190613afb565b90506001600160a01b0382167321be370d5312f44cb42ce377bc9b8a0cef1a4c8314156113455761133e87826123e2565b9650611429565b6001600160a01b038216600090815260116020526040808220905163d06ca61f60e01b815273f491e7b69e4244ad4002bc14e878a34207e38c299163d06ca61f916113949186916004016139d3565b60006040518083038186803b1580156113ac57600080fd5b505afa1580156113c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113e891908101906131eb565b90506114258160018151811061140e57634e487b7160e01b600052603260045260246000fd5b6020026020010151896123e290919063ffffffff16565b9750505b50505b8061143681613b70565b91505061121f565b50600061145c612710610b7460085488611e7690919063ffffffff16565b9050611479612710610b7460095484611e7690919063ffffffff16565b93506114858582611e6a565b94505050509091565b7fa948adc7068532b3bc0cbefb673a9d9c287bc35ef1f8a3a71353d54d7149def781565b6103e881565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a08231906114e99030906004016135a3565b60206040518083038186803b15801561150157600080fd5b505afa158015611515573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faa9190613444565b600081815260016020526040812061072890612542565b600a5481565b61155e610ec5565b1561157b5760405162461bcd60e51b815260040161081b90613786565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a08231906115ac9030906004016135a3565b60206040518083038186803b1580156115c457600080fd5b505afa1580156115d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fc9190613444565b9050801561167657600d54604051631c57762b60e31b8152600080516020613be08339815191529163e2bbb1589161164391600160a01b900460ff16908590600401613a91565b600060405180830381600087803b15801561165d57600080fd5b505af1158015611671573d6000803e3d6000fd5b505050505b50565b600080611688816107ec611dbe565b6103e88311156116aa5760405162461bcd60e51b815260040161081b90613896565b60088390556040517f2e59d502792bca3d730c472cd3acfbc16d0f9fe6ce0cddbdf0f80830251dfaca906116df9085906136a1565b60405180910390a150600192915050565b6116f982610947565b611705816107ec611dbe565b610bbd8383611ecf565b600c5481565b60138181548110610fc557600080fd5b61173c600080516020613c00833981519152611539565b600114156117615761175c600080516020613c0083398151915233611dc2565b61178b565b61178b7fa948adc7068532b3bc0cbefb673a9d9c287bc35ef1f8a3a71353d54d7149def733611dc2565b6001600160a01b0381166117b15760405162461bcd60e51b815260040161081b9061387a565b600780546001600160a01b0319166001600160a01b0383161790556040517fa11c447ac90d9534769dc85d422963d67c1d8d899de887301417cedf4dec738d906117fc9083906135a3565b60405180910390a150565b61180f611ef1565b600455565b61138881565b60608167ffffffffffffffff81111561184357634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561187c57816020015b61186961301e565b8152602001906001900390816118615790505b509050600080836003805490506118939190613afb565b90505b60035481101561194c57600381815481106118c157634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505083838061190e90613b55565b94508151811061192e57634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061194490613b55565b915050611896565b5050919050565b6003818154811061196357600080fd5b60009182526020909120600490910201805460018201546002830154600390930154919350919084565b7321be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146119ed5760405162461bcd60e51b815260040161081b906137b0565b600d54604051631c57762b60e31b8152600080516020613be08339815191529163e2bbb15891611a2d91600160a01b900460ff1690600090600401613a91565b600060405180830381600087803b158015611a4757600080fd5b505af1158015611a5b573d6000803e3d6000fd5b50505050611a6761254d565b611a6f612840565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a0823190611aa09030906004016135a3565b60206040518083038186803b158015611ab857600080fd5b505afa158015611acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af09190613444565b600d5460405163a9059cbb60e01b81529192506001600160a01b03169063a9059cbb90611b43907f0000000000000000000000000000000000000000000000000000000000000000908590600401613619565b602060405180830381600087803b158015611b5d57600080fd5b505af1158015611b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c23919061321e565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000611bc3611ef1565b5060ff82166000908152601260205260409020805482151560ff19909116179055600192915050565b611bf68282611078565b610c23576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611c2d611dbe565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611069836001600160a01b038416612a72565b801580611d0e5750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90611cbc90309086906004016135b7565b60206040518083038186803b158015611cd457600080fd5b505afa158015611ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0c9190613444565b155b611d2a5760405162461bcd60e51b815260040161081b90613906565b610bbd8363095ea7b360e01b8484604051602401611d49929190613619565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612abc565b6060611d8f8484600085612b4b565b90505b9392505050565b60006001600160e01b03198216637965db0b60e01b1480610728575061072882612c0b565b3390565b611dcc8282611078565b610c2357611de4816001600160a01b03166014612c24565b611def836020612c24565b604051602001611e0092919061352e565b60408051601f198184030181529082905262461bcd60e51b825261081b916004016136aa565b60008082600301546301e133808460010154611e429190613adc565b611e4c9190613abc565b6002840154909150611e6061271083613adc565b611d929190613abc565b60006110698284613afb565b60006110698284613adc565b60006110698284613abc565b610bbd8363a9059cbb60e01b8484604051602401611d49929190613619565b611eb78282611bec565b6000828152600160205260409020610bbd9082611c71565b611ed98282612dd6565b6000828152600160205260409020610bbd9082612e59565b611f09600080516020613c0083398151915233611078565b80611f1a5750611f1a600033611078565b610ca75760405162461bcd60e51b815260040161081b9061395c565b611f3e610ec5565b611f5a5760405162461bcd60e51b815260040161081b90613712565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f8d611dbe565b604051611f9a91906135a3565b60405180910390a1565b600d54611fcb906001600160a01b0316600080516020613be0833981519152600019611c86565b6120007321be370d5312f44cb42ce377bc9b8a0cef1a4c8373f491e7b69e4244ad4002bc14e878a34207e38c29600019611c86565b6120357304068da6c83afcfa0e13ba15a6696662335d5b757378d51eb71a62c081550efcc0a9f9ea94b2ef081c600019611c86565b60005b60058160ff1610156116765760ff808216600090815260126020526040902054161515600114156120fc576120bd73f491e7b69e4244ad4002bc14e878a34207e38c296000600e8460ff16815481106120a157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03169190611c86565b6120fc73f491e7b69e4244ad4002bc14e878a34207e38c29600019600e8460ff16815481106120a157634e487b7160e01b600052603260045260246000fd5b8061210681613b70565b915050612038565b600d54604051631c57762b60e31b8152600080516020613be08339815191529163e2bbb1589161214e91600160a01b900460ff1690600090600401613a91565b600060405180830381600087803b15801561216857600080fd5b505af115801561217c573d6000803e3d6000fd5b5050505061218861254d565b610c9f612840565b600d54604051632f380b3560e01b8152600091600080516020613be083398151915291632f380b35916121d191600160a01b90910460ff1690600401613a67565b60006040518083038186803b1580156121e957600080fd5b505afa1580156121fd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261222591908101906132ca565b905060005b60058160ff161015610c2357604051631d8a66eb60e01b8152600090600080516020613be083398151915290631d8a66eb9061226a908590600401613a67565b60206040518083038186803b15801561228257600080fd5b505afa158015612296573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ba91906131a4565b905080600e8360ff16815481106122e157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082608001518260ff168151811061233657634e487b7160e01b600052603260045260246000fd5b60200260200101516000146123b4576040805180820182526001600160a01b0383168082527321be370d5312f44cb42ce377bc9b8a0cef1a4c8360208084019190915260009182526011905291909120612391916002613046565b5060ff82166000908152601260205260409020805460ff191660011790556123cf565b60ff82166000908152601260205260409020805460ff191690555b50806123da81613b70565b91505061222a565b60006110698284613aa4565b6123f6610ec5565b156124135760405162461bcd60e51b815260040161081b90613786565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f8d611dbe565b600d5461246f906001600160a01b0316600080516020613be08339815191526000611c86565b6124a37321be370d5312f44cb42ce377bc9b8a0cef1a4c8373f491e7b69e4244ad4002bc14e878a34207e38c296000611c86565b6124d77304068da6c83afcfa0e13ba15a6696662335d5b757378d51eb71a62c081550efcc0a9f9ea94b2ef081c6000611c86565b60005b60058160ff1610156116765761252473f491e7b69e4244ad4002bc14e878a34207e38c296000600e8460ff16815481106120a157634e487b7160e01b600052603260045260246000fd5b8061252e81613b70565b9150506124da565b60006110698383612e6e565b600061072882612ea6565b6000805b60058160ff16101561270f5760ff808216600090815260126020526040902054161515600114156126fd57600e8160ff16815481106125a057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516370a0823160e01b81526001600160a01b03909116906370a08231906125d99030906004016135a3565b60206040518083038186803b1580156125f157600080fd5b505afa158015612605573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126299190613444565b915073f491e7b69e4244ad4002bc14e878a34207e38c296001600160a01b0316635c11d79583600060116000600e8760ff168154811061267957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020306126aa426102586123e2565b6040518663ffffffff1660e01b81526004016126ca9594939291906139ec565b600060405180830381600087803b1580156126e457600080fd5b505af11580156126f8573d6000803e3d6000fd5b505050505b8061270781613b70565b915050612551565b5060006127b4612710610b746008547321be370d5312f44cb42ce377bc9b8a0cef1a4c836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161275e91906135a3565b60206040518083038186803b15801561277657600080fd5b505afa15801561278a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ae9190613444565b90611e76565b905060006127d3612710610b7460095485611e7690919063ffffffff16565b90506127f47321be370d5312f44cb42ce377bc9b8a0cef1a4c833383611e8e565b6000612811612710610b74600a5486611e7690919063ffffffff16565b600654909150610e89907321be370d5312f44cb42ce377bc9b8a0cef1a4c83906001600160a01b031683611e8e565b6040516370a0823160e01b81526000907321be370d5312f44cb42ce377bc9b8a0cef1a4c83906370a082319061287a9030906004016135a3565b60206040518083038186803b15801561289257600080fd5b505afa1580156128a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ca9190613444565b905073f491e7b69e4244ad4002bc14e878a34207e38c29635c11d7958260006013306128f8426102586123e2565b6040518663ffffffff1660e01b81526004016129189594939291906139ec565b600060405180830381600087803b15801561293257600080fd5b505af1158015612946573d6000803e3d6000fd5b50506040516370a0823160e01b8152600092507304068da6c83afcfa0e13ba15a6696662335d5b7591506370a08231906129849030906004016135a3565b60206040518083038186803b15801561299c57600080fd5b505afa1580156129b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129d49190613444565b60408051606081018252600080825260208201819052818301849052600d54925163a318517960e01b815293945090927378d51eb71a62c081550efcc0a9f9ea94b2ef081c9263a318517992612a3b926001600160a01b03909216918691906004016135d1565b600060405180830381600087803b158015612a5557600080fd5b505af1158015612a69573d6000803e3d6000fd5b50505050505050565b6000612a7e8383612eaa565b612ab45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561106c565b50600061106c565b6000612b11826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d809092919063ffffffff16565b805190915015610bbd5780806020019051810190612b2f919061321e565b610bbd5760405162461bcd60e51b815260040161081b906138bc565b606082471015612b6d5760405162461bcd60e51b815260040161081b90613740565b612b7685612ec2565b612b925760405162461bcd60e51b815260040161081b90613843565b600080866001600160a01b03168587604051612bae9190613512565b60006040518083038185875af1925050503d8060008114612beb576040519150601f19603f3d011682016040523d82523d6000602084013e612bf0565b606091505b5091509150612c00828286612ec8565b979650505050505050565b6001600160e01b031981166301ffc9a760e01b14919050565b60606000612c33836002613adc565b612c3e906002613aa4565b67ffffffffffffffff811115612c6457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c8e576020820181803683370190505b509050600360fc1b81600081518110612cb757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612cf457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612d18846002613adc565b612d23906001613aa4565b90505b6001811115612db7576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612d6557634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612d8957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612db081613b3e565b9050612d26565b5083156110695760405162461bcd60e51b815260040161081b906136dd565b612de08282611078565b15610c23576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055612e15611dbe565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000611069836001600160a01b038416612f01565b6000826000018281548110612e9357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b5490565b60009081526001919091016020526040902054151590565b3b151590565b60608315612ed7575081611d92565b825115612ee75782518084602001fd5b8160405162461bcd60e51b815260040161081b91906136aa565b60008181526001830160205260408120548015613014576000612f25600183613afb565b8554909150600090612f3990600190613afb565b9050818114612fba576000866000018281548110612f6757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110612f9857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612fd957634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061106c565b600091505061106c565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b82805482825590600052602060002090810192821561309b579160200282015b8281111561309b57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190613066565b506130a79291506130ab565b5090565b5b808211156130a757600081556001016130ac565b805161072b81613bbc565b600082601f8301126130db578081fd5b8151602067ffffffffffffffff808311156130f8576130f8613ba6565b8183026040518382820101818110848211171561311757613117613ba6565b60405284815283810192508684018288018501891015613135578687fd5b8692505b85831015613157578051845292840192600192909201918401613139565b50979650505050505050565b805163ffffffff8116811461072b57600080fd5b803560ff8116811461072b57600080fd5b600060208284031215613199578081fd5b813561106981613bbc565b6000602082840312156131b5578081fd5b815161106981613bbc565b600080604083850312156131d2578081fd5b82356131dd81613bbc565b946020939093013593505050565b6000602082840312156131fc578081fd5b815167ffffffffffffffff811115613212578182fd5b61093f848285016130cb565b60006020828403121561322f578081fd5b815161106981613bd1565b60006020828403121561324b578081fd5b5035919050565b60008060408385031215613264578182fd5b82359150602083013561327681613bbc565b809150509250929050565b60008060408385031215613293578182fd5b50508035926020909101359150565b6000602082840312156132b3578081fd5b81356001600160e01b031981168114611069578182fd5b6000602082840312156132db578081fd5b815167ffffffffffffffff808211156132f2578283fd5b9083019060a08286031215613305578283fd5b60405160a08101818110838211171561332057613320613ba6565b60405261332c836130c0565b81526020830151602082015261334460408401613163565b604082015260608301518281111561335a578485fd5b613366878286016130cb565b60608301525060808301518281111561337d578485fd5b613389878286016130cb565b60808301525095945050505050565b6000602082840312156133a9578081fd5b815167ffffffffffffffff808211156133c0578283fd5b90830190606082860312156133d3578283fd5b6040516060810181811083821117156133ee576133ee613ba6565b60405282518152602083015182811115613406578485fd5b613412878286016130cb565b602083015250604083015182811115613429578485fd5b613435878286016130cb565b60408301525095945050505050565b600060208284031215613455578081fd5b5051919050565b600080600060608486031215613470578081fd5b505081359360208301359350604090920135919050565b600060208284031215613498578081fd5b61106982613177565b600080604083850312156134b3578182fd5b6134bc83613177565b9150602083013561327681613bd1565b6000815480845260208085019450838352808320835b838110156135075781546001600160a01b0316875295820195600191820191016134e2565b509495945050505050565b60008251613524818460208701613b12565b9190910192915050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351613566816017850160208801613b12565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613597816028840160208801613b12565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b038416815260a0810160208083018560005b6003811015613607578151835291830191908301906001016135ea565b50505050826080830152949350505050565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b828110156136895781518051855286810151878601528581015186860152606090810151908501526080909301929085019060010161364f565b5091979650505050505050565b901515815260200190565b90815260200190565b60006020825282518060208401526136c9816040850160208701613b12565b601f01601f19169190910160400192915050565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b60208082526016908201527539bab690109e902822a921a2a72a2fa224ab24a9a7a960511b604082015260600190565b60208082526023908201527f7374726174656769737420666565203e20535452415445474953545f4d41585f60408201526246454560e81b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260029082015261021360f41b604082015260600190565b6020808252600c908201526b08ccaca40a8dede4090d2ced60a31b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b600083825260406020830152611d8f60408301846134cc565b600086825285602083015260a06040830152613a0b60a08301866134cc565b6001600160a01b0394909416606083015250608001529392505050565b918252602082015260400190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60ff9290921682526001600160a01b0316602082015260400190565b60ff929092168252602082015260400190565b60008219821115613ab757613ab7613b90565b500190565b600082613ad757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613af657613af6613b90565b500290565b600082821015613b0d57613b0d613b90565b500390565b60005b83811015613b2d578181015183820152602001613b15565b83811115610e895750506000910152565b600081613b4d57613b4d613b90565b506000190190565b6000600019821415613b6957613b69613b90565b5060010190565b600060ff821660ff811415613b8757613b87613b90565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461167657600080fd5b801515811461167657600080fdfe000000000000000000000000e0c43105235c1f18ea15fdb60bb6d54814299938b17d0a42cc710456bf9c3efb785dcd0cb93a0ac358113307b5c64b285b516b5ca2646970667358221220c760f7e77a9cc869b87313983f37ae15e3fac897391a6e84edce3cff5707755964736f6c6343000800003300000000000000000000000096059756980ff6ced0473898d26f0ef828a598200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a0000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103af5760003560e01c80637f51bb1f116101f4578063ca15c8731161011a578063ec90b122116100ad578063f4f45b461161007c578063f4f45b46146106d8578063fb617787146106e0578063fbfa77cf146106e8578063fd66533e146106f0576103af565b8063ec90b1221461067a578063ecf173ff1461068d578063f0f4809214610695578063f37ae328146106b5576103af565b8063d547741f116100e9578063d547741f14610639578063d68e13021461064c578063e4085bc114610654578063e46257d214610667576103af565b8063ca15c87314610603578063cc32d17614610616578063d0e30db01461061e578063d32b960414610626576103af565b80639cfdede311610192578063b29d404b11610161578063b29d404b146105d5578063b54effcc146105eb578063bc063e1a146105f3578063c2351cdd146105fb576103af565b80639cfdede3146105b5578063a06d083c146105bd578063a0e47bf6146105c5578063a217fddf146105cd576103af565b80638954ffeb116101ce5780638954ffeb146105745780639010d07c1461058757806390321e1a1461059a57806391d14854146105a2576103af565b80637f51bb1f146105515780638456cb59146105645780638888f9f61461056c576103af565b80633e413bee116102d9578063526e108011610277578063682274e311610246578063682274e31461051b578063722713f71461052e57806372c95e56146105365780637bb7bed11461053e576103af565b8063526e1080146104fb578063575a86b2146105035780635c975abb1461050b57806361d027b314610513576103af565b80634641257d116102b35780634641257d146104db5780634700d305146104e35780634870dd9a146104eb5780634e8fd73a146104f3576103af565b80633e413bee146104c35780633f4ba83a146104cb578063452ed4f1146104d3576103af565b8063248a9ca3116103515780632f2ff15d116103205780632f2ff15d1461047557806336568abe1461048857806337b46b921461049b5780633e0dc34e146104ae576103af565b8063248a9ca3146104305780632c9aa215146104435780632d6f4baa146104585780632e1a7d4d14610460576103af565b80631df4ccfc1161038d5780631df4ccfc146103fa57806322429085146104025780632257a73814610415578063228bd1ab1461041d576103af565b806301ffc9a7146103b457806311588086146103dd57806316d3bfbb146103f2575b600080fd5b6103c76103c23660046132a2565b610703565b6040516103d49190613696565b60405180910390f35b6103e5610730565b6040516103d491906136a1565b6103e56107cf565b6103e56107d7565b6103c761041036600461345c565b6107dd565b6103e561089c565b6103e561042b36600461323a565b6108a2565b6103e561043e36600461323a565b610947565b61044b61095c565b6040516103d491906135a3565b6103e5610974565b61047361046e36600461323a565b61097a565b005b610473610483366004613252565b610bc2565b610473610496366004613252565b610be1565b61044b6104a93660046131c0565b610c27565b6104b6610c5f565b6040516103d49190613a67565b61044b610c6f565b610473610c87565b61044b610ca9565b610473610cb8565b610473610e03565b6103e5610e8f565b6103c7610e95565b6103e5610ead565b61044b610eb3565b6103c7610ec5565b61044b610ece565b6103e561052936600461323a565b610edd565b6103e5610f8f565b6103e5610faf565b61044b61054c36600461323a565b610fb5565b6103c761055f366004613188565b610fdf565b610473611015565b61044b61102d565b6103c7610582366004613487565b61103c565b61044b610595366004613281565b611051565b6103e5611072565b6103c76105b0366004613252565b611078565b6103e56110a1565b61044b6110b3565b61044b6110cb565b6103e56110e3565b6105dd6110e8565b6040516103d4929190613a28565b6103e561148e565b6103e56114b2565b6103e56114b8565b6103e561061136600461323a565b611539565b6103e5611550565b610473611556565b6103c761063436600461323a565b611679565b610473610647366004613252565b6116f0565b6103e561170f565b61044b61066236600461323a565b611715565b610473610675366004613188565b611725565b61047361068836600461323a565b611807565b6103e5611814565b6106a86106a336600461323a565b61181a565b6040516103d49190613632565b6106c86106c336600461323a565b611953565b6040516103d49493929190613a4c565b61044b61198d565b6104736119a5565b61044b611b95565b6103c76106fe3660046134a1565b611bb9565b60006001600160e01b03198216635a05180f60e01b1480610728575061072882611d99565b90505b919050565b600d54604051631069f3b560e01b81526000918291600080516020613be083398151915291631069f3b59161077491600160a01b900460ff16903090600401613a75565b60006040518083038186803b15801561078c57600080fd5b505afa1580156107a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107c89190810190613398565b5191505090565b6301e1338081565b60085481565b6000806107f1816107ec611dbe565b611dc2565b6127106107fe8587613aa4565b146108245760405162461bcd60e51b815260040161081b906137d0565b60405180910390fd5b6113888311156108465760405162461bcd60e51b815260040161081b90613800565b6009859055600a849055600b8390556040517fcf8a1e1d5f09cf3c97dbb653cd9a4d7aace9292fbc1bb8211febf2d400febbdd9061088990879087908790613a36565b60405180910390a1506001949350505050565b60055481565b60008060008060016003805490506108ba9190613afb565b90505b6000811180156108cc57508482105b1561093457610908600382815481106108f557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201611e26565b6109129084613aa4565b92508161091e81613b55565b925050808061092c90613b3e565b9150506108bd565b5061093f8183613abc565b949350505050565b60009081526020819052604090206001015490565b7378d51eb71a62c081550efcc0a9f9ea94b2ef081c81565b60035490565b336001600160a01b037f000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a16146109c25760405162461bcd60e51b815260040161081b906137b0565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a08231906109f39030906004016135a3565b60206040518083038186803b158015610a0b57600080fd5b505afa158015610a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a439190613444565b905081811015610b4c57600d54600080516020613be08339815191529063441a3e7090600160a01b900460ff16610a7a8585611e6a565b6040518363ffffffff1660e01b8152600401610a97929190613a91565b600060405180830381600087803b158015610ab157600080fd5b505af1158015610ac5573d6000803e3d6000fd5b5050600d546040516370a0823160e01b81526001600160a01b0390911692506370a082319150610af99030906004016135a3565b60206040518083038186803b158015610b1157600080fd5b505afa158015610b25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b499190613444565b90505b81811115610b575750805b6000610b7a612710610b74600c5485611e7690919063ffffffff16565b90611e82565b9050610bbd7f000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a610baa8484611e6a565b600d546001600160a01b03169190611e8e565b505050565b610bcb82610947565b610bd7816107ec611dbe565b610bbd8383611ead565b610be9611dbe565b6001600160a01b0316816001600160a01b031614610c195760405162461bcd60e51b815260040161081b90613984565b610c238282611ecf565b5050565b60116020528160005260406000208181548110610c4357600080fd5b6000918252602090912001546001600160a01b03169150829050565b600d54600160a01b900460ff1681565b7304068da6c83afcfa0e13ba15a6696662335d5b7581565b610c8f611ef1565b610c97611f36565b610c9f611fa4565b610ca7611556565b565b600d546001600160a01b031681565b610cc0610ec5565b15610cdd5760405162461bcd60e51b815260040161081b90613786565b6000610ce7610f8f565b9050610cf161210e565b6003541580610d4c575060045460038054610d0e90600190613afb565b81548110610d2c57634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000154610d489190613aa4565b4210155b15610dd1576003604051806080016040528042815260200183610d6d610f8f565b610d779190613afb565b815260200183815260200160055442610d909190613afb565b905281546001818101845560009384526020938490208351600490930201918255928201519281019290925560408101516002830155606001516003909101555b4260055560405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a250565b610e0b611ef1565b610e13611015565b600d54600080516020613be08339815191529063441a3e7090600160a01b900460ff16610e3e610730565b6040518363ffffffff1660e01b8152600401610e5b929190613a91565b600060405180830381600087803b158015610e7557600080fd5b505af1158015610e89573d6000803e3d6000fd5b50505050565b61271081565b6000610e9f611ef1565b610ea7612190565b50600190565b600b5481565b600080516020613be083398151915281565b60025460ff1690565b6006546001600160a01b031681565b6000806000806001600380549050610ef59190613afb565b90505b600081118015610f3a57508460038281548110610f2557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016000015410155b1561093457610f63600382815481106108f557634e487b7160e01b600052603260045260246000fd5b610f6d9084613aa4565b925081610f7981613b55565b9250508080610f8790613b3e565b915050610ef8565b6000610faa610f9c610730565b610fa46114b8565b906123e2565b905090565b60045481565b600e8181548110610fc557600080fd5b6000918252602090912001546001600160a01b0316905081565b600080610fee816107ec611dbe565b600680546001600160a01b0385166001600160a01b03199091161790556001915050919050565b61101d611ef1565b6110256123ee565b610ca7612449565b6007546001600160a01b031681565b60126020526000908152604090205460ff1681565b60008281526001602052604081206110699083612536565b90505b92915050565b60095481565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613c0083398151915281565b7377128dfdd0ac859b33f44050c6fa272f34872b5e81565b73f491e7b69e4244ad4002bc14e878a34207e38c2981565b600081565b600d54604051631069f3b560e01b815260009182918291600080516020613be083398151915291631069f3b59161112f91600160a01b90910460ff16903090600401613a75565b60006040518083038186803b15801561114757600080fd5b505afa15801561115b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111839190810190613398565b600d54604051632f380b3560e01b8152919250600091600080516020613be083398151915291632f380b35916111c691600160a01b900460ff1690600401613a67565b60006040518083038186803b1580156111de57600080fd5b505afa1580156111f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261121a91908101906132ca565b905060005b60058160ff16101561143e5760ff80821660009081526012602052604090205416151560011461124e5761142c565b6000600e8260ff168154811061127457634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b03169050600084602001518360ff16815181106112bd57634e487b7160e01b600052603260045260246000fd5b602002602001015184606001518460ff16815181106112ec57634e487b7160e01b600052603260045260246000fd5b602002602001015186600001516113039190613adc565b61130d9190613afb565b90506001600160a01b0382167321be370d5312f44cb42ce377bc9b8a0cef1a4c8314156113455761133e87826123e2565b9650611429565b6001600160a01b038216600090815260116020526040808220905163d06ca61f60e01b815273f491e7b69e4244ad4002bc14e878a34207e38c299163d06ca61f916113949186916004016139d3565b60006040518083038186803b1580156113ac57600080fd5b505afa1580156113c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113e891908101906131eb565b90506114258160018151811061140e57634e487b7160e01b600052603260045260246000fd5b6020026020010151896123e290919063ffffffff16565b9750505b50505b8061143681613b70565b91505061121f565b50600061145c612710610b7460085488611e7690919063ffffffff16565b9050611479612710610b7460095484611e7690919063ffffffff16565b93506114858582611e6a565b94505050509091565b7fa948adc7068532b3bc0cbefb673a9d9c287bc35ef1f8a3a71353d54d7149def781565b6103e881565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a08231906114e99030906004016135a3565b60206040518083038186803b15801561150157600080fd5b505afa158015611515573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faa9190613444565b600081815260016020526040812061072890612542565b600a5481565b61155e610ec5565b1561157b5760405162461bcd60e51b815260040161081b90613786565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a08231906115ac9030906004016135a3565b60206040518083038186803b1580156115c457600080fd5b505afa1580156115d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fc9190613444565b9050801561167657600d54604051631c57762b60e31b8152600080516020613be08339815191529163e2bbb1589161164391600160a01b900460ff16908590600401613a91565b600060405180830381600087803b15801561165d57600080fd5b505af1158015611671573d6000803e3d6000fd5b505050505b50565b600080611688816107ec611dbe565b6103e88311156116aa5760405162461bcd60e51b815260040161081b90613896565b60088390556040517f2e59d502792bca3d730c472cd3acfbc16d0f9fe6ce0cddbdf0f80830251dfaca906116df9085906136a1565b60405180910390a150600192915050565b6116f982610947565b611705816107ec611dbe565b610bbd8383611ecf565b600c5481565b60138181548110610fc557600080fd5b61173c600080516020613c00833981519152611539565b600114156117615761175c600080516020613c0083398151915233611dc2565b61178b565b61178b7fa948adc7068532b3bc0cbefb673a9d9c287bc35ef1f8a3a71353d54d7149def733611dc2565b6001600160a01b0381166117b15760405162461bcd60e51b815260040161081b9061387a565b600780546001600160a01b0319166001600160a01b0383161790556040517fa11c447ac90d9534769dc85d422963d67c1d8d899de887301417cedf4dec738d906117fc9083906135a3565b60405180910390a150565b61180f611ef1565b600455565b61138881565b60608167ffffffffffffffff81111561184357634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561187c57816020015b61186961301e565b8152602001906001900390816118615790505b509050600080836003805490506118939190613afb565b90505b60035481101561194c57600381815481106118c157634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505083838061190e90613b55565b94508151811061192e57634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061194490613b55565b915050611896565b5050919050565b6003818154811061196357600080fd5b60009182526020909120600490910201805460018201546002830154600390930154919350919084565b7321be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b336001600160a01b037f000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a16146119ed5760405162461bcd60e51b815260040161081b906137b0565b600d54604051631c57762b60e31b8152600080516020613be08339815191529163e2bbb15891611a2d91600160a01b900460ff1690600090600401613a91565b600060405180830381600087803b158015611a4757600080fd5b505af1158015611a5b573d6000803e3d6000fd5b50505050611a6761254d565b611a6f612840565b600d546040516370a0823160e01b81526000916001600160a01b0316906370a0823190611aa09030906004016135a3565b60206040518083038186803b158015611ab857600080fd5b505afa158015611acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af09190613444565b600d5460405163a9059cbb60e01b81529192506001600160a01b03169063a9059cbb90611b43907f000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a908590600401613619565b602060405180830381600087803b158015611b5d57600080fd5b505af1158015611b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c23919061321e565b7f000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a81565b6000611bc3611ef1565b5060ff82166000908152601260205260409020805482151560ff19909116179055600192915050565b611bf68282611078565b610c23576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611c2d611dbe565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611069836001600160a01b038416612a72565b801580611d0e5750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90611cbc90309086906004016135b7565b60206040518083038186803b158015611cd457600080fd5b505afa158015611ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0c9190613444565b155b611d2a5760405162461bcd60e51b815260040161081b90613906565b610bbd8363095ea7b360e01b8484604051602401611d49929190613619565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612abc565b6060611d8f8484600085612b4b565b90505b9392505050565b60006001600160e01b03198216637965db0b60e01b1480610728575061072882612c0b565b3390565b611dcc8282611078565b610c2357611de4816001600160a01b03166014612c24565b611def836020612c24565b604051602001611e0092919061352e565b60408051601f198184030181529082905262461bcd60e51b825261081b916004016136aa565b60008082600301546301e133808460010154611e429190613adc565b611e4c9190613abc565b6002840154909150611e6061271083613adc565b611d929190613abc565b60006110698284613afb565b60006110698284613adc565b60006110698284613abc565b610bbd8363a9059cbb60e01b8484604051602401611d49929190613619565b611eb78282611bec565b6000828152600160205260409020610bbd9082611c71565b611ed98282612dd6565b6000828152600160205260409020610bbd9082612e59565b611f09600080516020613c0083398151915233611078565b80611f1a5750611f1a600033611078565b610ca75760405162461bcd60e51b815260040161081b9061395c565b611f3e610ec5565b611f5a5760405162461bcd60e51b815260040161081b90613712565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f8d611dbe565b604051611f9a91906135a3565b60405180910390a1565b600d54611fcb906001600160a01b0316600080516020613be0833981519152600019611c86565b6120007321be370d5312f44cb42ce377bc9b8a0cef1a4c8373f491e7b69e4244ad4002bc14e878a34207e38c29600019611c86565b6120357304068da6c83afcfa0e13ba15a6696662335d5b757378d51eb71a62c081550efcc0a9f9ea94b2ef081c600019611c86565b60005b60058160ff1610156116765760ff808216600090815260126020526040902054161515600114156120fc576120bd73f491e7b69e4244ad4002bc14e878a34207e38c296000600e8460ff16815481106120a157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03169190611c86565b6120fc73f491e7b69e4244ad4002bc14e878a34207e38c29600019600e8460ff16815481106120a157634e487b7160e01b600052603260045260246000fd5b8061210681613b70565b915050612038565b600d54604051631c57762b60e31b8152600080516020613be08339815191529163e2bbb1589161214e91600160a01b900460ff1690600090600401613a91565b600060405180830381600087803b15801561216857600080fd5b505af115801561217c573d6000803e3d6000fd5b5050505061218861254d565b610c9f612840565b600d54604051632f380b3560e01b8152600091600080516020613be083398151915291632f380b35916121d191600160a01b90910460ff1690600401613a67565b60006040518083038186803b1580156121e957600080fd5b505afa1580156121fd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261222591908101906132ca565b905060005b60058160ff161015610c2357604051631d8a66eb60e01b8152600090600080516020613be083398151915290631d8a66eb9061226a908590600401613a67565b60206040518083038186803b15801561228257600080fd5b505afa158015612296573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ba91906131a4565b905080600e8360ff16815481106122e157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082608001518260ff168151811061233657634e487b7160e01b600052603260045260246000fd5b60200260200101516000146123b4576040805180820182526001600160a01b0383168082527321be370d5312f44cb42ce377bc9b8a0cef1a4c8360208084019190915260009182526011905291909120612391916002613046565b5060ff82166000908152601260205260409020805460ff191660011790556123cf565b60ff82166000908152601260205260409020805460ff191690555b50806123da81613b70565b91505061222a565b60006110698284613aa4565b6123f6610ec5565b156124135760405162461bcd60e51b815260040161081b90613786565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f8d611dbe565b600d5461246f906001600160a01b0316600080516020613be08339815191526000611c86565b6124a37321be370d5312f44cb42ce377bc9b8a0cef1a4c8373f491e7b69e4244ad4002bc14e878a34207e38c296000611c86565b6124d77304068da6c83afcfa0e13ba15a6696662335d5b757378d51eb71a62c081550efcc0a9f9ea94b2ef081c6000611c86565b60005b60058160ff1610156116765761252473f491e7b69e4244ad4002bc14e878a34207e38c296000600e8460ff16815481106120a157634e487b7160e01b600052603260045260246000fd5b8061252e81613b70565b9150506124da565b60006110698383612e6e565b600061072882612ea6565b6000805b60058160ff16101561270f5760ff808216600090815260126020526040902054161515600114156126fd57600e8160ff16815481106125a057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516370a0823160e01b81526001600160a01b03909116906370a08231906125d99030906004016135a3565b60206040518083038186803b1580156125f157600080fd5b505afa158015612605573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126299190613444565b915073f491e7b69e4244ad4002bc14e878a34207e38c296001600160a01b0316635c11d79583600060116000600e8760ff168154811061267957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020306126aa426102586123e2565b6040518663ffffffff1660e01b81526004016126ca9594939291906139ec565b600060405180830381600087803b1580156126e457600080fd5b505af11580156126f8573d6000803e3d6000fd5b505050505b8061270781613b70565b915050612551565b5060006127b4612710610b746008547321be370d5312f44cb42ce377bc9b8a0cef1a4c836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161275e91906135a3565b60206040518083038186803b15801561277657600080fd5b505afa15801561278a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ae9190613444565b90611e76565b905060006127d3612710610b7460095485611e7690919063ffffffff16565b90506127f47321be370d5312f44cb42ce377bc9b8a0cef1a4c833383611e8e565b6000612811612710610b74600a5486611e7690919063ffffffff16565b600654909150610e89907321be370d5312f44cb42ce377bc9b8a0cef1a4c83906001600160a01b031683611e8e565b6040516370a0823160e01b81526000907321be370d5312f44cb42ce377bc9b8a0cef1a4c83906370a082319061287a9030906004016135a3565b60206040518083038186803b15801561289257600080fd5b505afa1580156128a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ca9190613444565b905073f491e7b69e4244ad4002bc14e878a34207e38c29635c11d7958260006013306128f8426102586123e2565b6040518663ffffffff1660e01b81526004016129189594939291906139ec565b600060405180830381600087803b15801561293257600080fd5b505af1158015612946573d6000803e3d6000fd5b50506040516370a0823160e01b8152600092507304068da6c83afcfa0e13ba15a6696662335d5b7591506370a08231906129849030906004016135a3565b60206040518083038186803b15801561299c57600080fd5b505afa1580156129b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129d49190613444565b60408051606081018252600080825260208201819052818301849052600d54925163a318517960e01b815293945090927378d51eb71a62c081550efcc0a9f9ea94b2ef081c9263a318517992612a3b926001600160a01b03909216918691906004016135d1565b600060405180830381600087803b158015612a5557600080fd5b505af1158015612a69573d6000803e3d6000fd5b50505050505050565b6000612a7e8383612eaa565b612ab45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561106c565b50600061106c565b6000612b11826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d809092919063ffffffff16565b805190915015610bbd5780806020019051810190612b2f919061321e565b610bbd5760405162461bcd60e51b815260040161081b906138bc565b606082471015612b6d5760405162461bcd60e51b815260040161081b90613740565b612b7685612ec2565b612b925760405162461bcd60e51b815260040161081b90613843565b600080866001600160a01b03168587604051612bae9190613512565b60006040518083038185875af1925050503d8060008114612beb576040519150601f19603f3d011682016040523d82523d6000602084013e612bf0565b606091505b5091509150612c00828286612ec8565b979650505050505050565b6001600160e01b031981166301ffc9a760e01b14919050565b60606000612c33836002613adc565b612c3e906002613aa4565b67ffffffffffffffff811115612c6457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c8e576020820181803683370190505b509050600360fc1b81600081518110612cb757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612cf457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612d18846002613adc565b612d23906001613aa4565b90505b6001811115612db7576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612d6557634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612d8957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612db081613b3e565b9050612d26565b5083156110695760405162461bcd60e51b815260040161081b906136dd565b612de08282611078565b15610c23576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055612e15611dbe565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000611069836001600160a01b038416612f01565b6000826000018281548110612e9357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b5490565b60009081526001919091016020526040902054151590565b3b151590565b60608315612ed7575081611d92565b825115612ee75782518084602001fd5b8160405162461bcd60e51b815260040161081b91906136aa565b60008181526001830160205260408120548015613014576000612f25600183613afb565b8554909150600090612f3990600190613afb565b9050818114612fba576000866000018281548110612f6757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110612f9857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612fd957634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061106c565b600091505061106c565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b82805482825590600052602060002090810192821561309b579160200282015b8281111561309b57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190613066565b506130a79291506130ab565b5090565b5b808211156130a757600081556001016130ac565b805161072b81613bbc565b600082601f8301126130db578081fd5b8151602067ffffffffffffffff808311156130f8576130f8613ba6565b8183026040518382820101818110848211171561311757613117613ba6565b60405284815283810192508684018288018501891015613135578687fd5b8692505b85831015613157578051845292840192600192909201918401613139565b50979650505050505050565b805163ffffffff8116811461072b57600080fd5b803560ff8116811461072b57600080fd5b600060208284031215613199578081fd5b813561106981613bbc565b6000602082840312156131b5578081fd5b815161106981613bbc565b600080604083850312156131d2578081fd5b82356131dd81613bbc565b946020939093013593505050565b6000602082840312156131fc578081fd5b815167ffffffffffffffff811115613212578182fd5b61093f848285016130cb565b60006020828403121561322f578081fd5b815161106981613bd1565b60006020828403121561324b578081fd5b5035919050565b60008060408385031215613264578182fd5b82359150602083013561327681613bbc565b809150509250929050565b60008060408385031215613293578182fd5b50508035926020909101359150565b6000602082840312156132b3578081fd5b81356001600160e01b031981168114611069578182fd5b6000602082840312156132db578081fd5b815167ffffffffffffffff808211156132f2578283fd5b9083019060a08286031215613305578283fd5b60405160a08101818110838211171561332057613320613ba6565b60405261332c836130c0565b81526020830151602082015261334460408401613163565b604082015260608301518281111561335a578485fd5b613366878286016130cb565b60608301525060808301518281111561337d578485fd5b613389878286016130cb565b60808301525095945050505050565b6000602082840312156133a9578081fd5b815167ffffffffffffffff808211156133c0578283fd5b90830190606082860312156133d3578283fd5b6040516060810181811083821117156133ee576133ee613ba6565b60405282518152602083015182811115613406578485fd5b613412878286016130cb565b602083015250604083015182811115613429578485fd5b613435878286016130cb565b60408301525095945050505050565b600060208284031215613455578081fd5b5051919050565b600080600060608486031215613470578081fd5b505081359360208301359350604090920135919050565b600060208284031215613498578081fd5b61106982613177565b600080604083850312156134b3578182fd5b6134bc83613177565b9150602083013561327681613bd1565b6000815480845260208085019450838352808320835b838110156135075781546001600160a01b0316875295820195600191820191016134e2565b509495945050505050565b60008251613524818460208701613b12565b9190910192915050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351613566816017850160208801613b12565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613597816028840160208801613b12565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b038416815260a0810160208083018560005b6003811015613607578151835291830191908301906001016135ea565b50505050826080830152949350505050565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b828110156136895781518051855286810151878601528581015186860152606090810151908501526080909301929085019060010161364f565b5091979650505050505050565b901515815260200190565b90815260200190565b60006020825282518060208401526136c9816040850160208701613b12565b601f01601f19169190910160400192915050565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b60208082526016908201527539bab690109e902822a921a2a72a2fa224ab24a9a7a960511b604082015260600190565b60208082526023908201527f7374726174656769737420666565203e20535452415445474953545f4d41585f60408201526246454560e81b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260029082015261021360f41b604082015260600190565b6020808252600c908201526b08ccaca40a8dede4090d2ced60a31b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b600083825260406020830152611d8f60408301846134cc565b600086825285602083015260a06040830152613a0b60a08301866134cc565b6001600160a01b0394909416606083015250608001529392505050565b918252602082015260400190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60ff9290921682526001600160a01b0316602082015260400190565b60ff929092168252602082015260400190565b60008219821115613ab757613ab7613b90565b500190565b600082613ad757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613af657613af6613b90565b500290565b600082821015613b0d57613b0d613b90565b500390565b60005b83811015613b2d578181015183820152602001613b15565b83811115610e895750506000910152565b600081613b4d57613b4d613b90565b506000190190565b6000600019821415613b6957613b69613b90565b5060010190565b600060ff821660ff811415613b8757613b87613b90565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461167657600080fd5b801515811461167657600080fdfe000000000000000000000000e0c43105235c1f18ea15fdb60bb6d54814299938b17d0a42cc710456bf9c3efb785dcd0cb93a0ac358113307b5c64b285b516b5ca2646970667358221220c760f7e77a9cc869b87313983f37ae15e3fac897391a6e84edce3cff5707755964736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000096059756980ff6ced0473898d26f0ef828a598200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a0000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b
-----Decoded View---------------
Arg [0] : _lpPair (address): 0x96059756980fF6ced0473898d26F0EF828a59820
Arg [1] : _poolId (uint8): 0
Arg [2] : _vault (address): 0xB3e2B038C7ABF693f543E4674498689EF247050a
Arg [3] : _treasury (address): 0x0e7c5313E9BB80b654734d9b7aB1FB01468deE3b
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000096059756980ff6ced0473898d26f0ef828a59820
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 000000000000000000000000b3e2b038c7abf693f543e4674498689ef247050a
Arg [3] : 0000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b
Deployed Bytecode Sourcemap
790:12364:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;619:212:7;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9417:227:0;;;:::i;:::-;;;;;;;:::i;370:43:1:-;;;:::i;2510:29::-;;;:::i;7793:612::-;;;;;;:::i;:::-;;:::i;666:35::-;;;:::i;6403:468::-;;;;;;:::i;:::-;;:::i;3977:121:6:-;;;;;;:::i;:::-;;:::i;1759:100:0:-;;;:::i;:::-;;;;;;;:::i;4663:101:1:-;;;:::i;4212:573:0:-;;;;;;:::i;:::-;;:::i;:::-;;4348:145:6;;;;;;:::i;:::-;;:::i;5365:214::-;;;;;;:::i;:::-;;:::i;2870:59:0:-;;;;;;:::i;:::-;;:::i;1892:19::-;;;:::i;:::-;;;;;;;:::i;1565:90::-;;;:::i;10750:136::-;;;:::i;1865:21::-;;;:::i;3960:697:1:-;;;:::i;10296:151:0:-;;;:::i;316:48:1:-;;;:::i;11228:147:0:-;;;:::i;2619:35:1:-;;;:::i;2235:96:0:-;;;:::i;1098:84:10:-;;;:::i;1215:23:1:-;;;:::i;5572:478::-;;;;;;:::i;:::-;;:::i;8978:122:0:-;;;:::i;617:43:1:-;;;:::i;1918:48:0:-;;;;;;:::i;:::-;;:::i;8479:186:1:-;;;;;;:::i;:::-;;:::i;10542:111:0:-;;;:::i;1280:33:1:-;;;:::i;2935:40:0:-;;;;;;:::i;:::-;;:::i;1416:143:7:-;;;;;;:::i;:::-;;:::i;2545:29:1:-;;;:::i;2894:137:6:-;;;;;;:::i;:::-;;:::i;744:60:1:-;;;:::i;1661:92:0:-;;;:::i;2134:95::-;;;:::i;2012:49:6:-;;;:::i;5594:1334:0:-;;;:::i;:::-;;;;;;;;:::i;810:86:1:-;;;:::i;1592:38::-;;;:::i;9186:120:0:-;;;:::i;1727:132:7:-;;;;;;:::i;:::-;;:::i;2580:33:1:-;;;:::i;3788:214:0:-;;;:::i;7202:277:1:-;;;;;;:::i;:::-;;:::i;4727:147:6:-;;;;;;:::i;:::-;;:::i;2660:31:1:-;;;:::i;2981:47:0:-;;;;;;:::i;:::-;;:::i;8963:444:1:-;;;;;;:::i;:::-;;:::i;6956:163::-;;;;;;:::i;:::-;;:::i;1636:49::-;;;:::i;4868:335::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;584:27::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;1469:90:0:-;;;:::i;9835:303::-;;;:::i;1244:30:1:-;;;:::i;11057:165:0:-;;;;;;:::i;:::-;;:::i;619:212:7:-;704:4;-1:-1:-1;;;;;;727:57:7;;-1:-1:-1;;;727:57:7;;:97;;;788:36;812:11;788:23;:36::i;:::-;720:104;;619:212;;;;:::o;9417:227:0:-;9566:6;;9517:92;;-1:-1:-1;;;9517:92:0;;9463:7;;;;-1:-1:-1;;;;;;;;;;;2288:42:0;9517:35;;:92;;-1:-1:-1;;;9566:6:0;;;;;9594:4;;9517:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9517:92:0;;;;;;;;;;;;:::i;:::-;9626:11;;-1:-1:-1;;9417:227:0;:::o;370:43:1:-;405:8;370:43;:::o;2510:29::-;;;;:::o;7793:612::-;7954:4;;2490:30:6;7954:4:1;2507:12:6;:10;:12::i;:::-;2490:10;:30::i;:::-;358:6:1::1;7991:23;8002:12:::0;7991:8;:23:::1;:::i;:::-;:42;7970:111;;;;-1:-1:-1::0;;;7970:111:1::1;;;;;;;:::i;:::-;;;;;;;;;1681:4;8112:14;:36;;8091:118;;;;-1:-1:-1::0;;;8091:118:1::1;;;;;;;:::i;:::-;8220:7;:18:::0;;;8248:11:::1;:26:::0;;;8284:13:::1;:30:::0;;;8329:48:::1;::::0;::::1;::::0;::::1;::::0;8230:8;;8262:12;;8300:14;;8329:48:::1;:::i;:::-;;;;;;;;-1:-1:-1::0;8394:4:1::1;::::0;7793:612;-1:-1:-1;;;;7793:612:1:o;666:35::-;;;;:::o;6403:468::-;6501:7;6524:21;6555:24;6608:9;6640:1;6620:10;:17;;;;:21;;;;:::i;:::-;6608:33;;6590:225;6659:1;6655;:5;:30;;;;;6683:2;6664:16;:21;6655:30;6590:225;;;6744:28;6758:10;6769:1;6758:13;;;;;;-1:-1:-1;;;6758:13:1;;;;;;;;;;;;;;;;;;;6744;:28::i;:::-;6727:45;;;;:::i;:::-;;-1:-1:-1;6786:18:1;;;;:::i;:::-;;;;6699:3;;;;;:::i;:::-;;;;6590:225;;;-1:-1:-1;6832:32:1;6848:16;6832:13;:32;:::i;:::-;6825:39;6403:468;-1:-1:-1;;;;6403:468:1:o;3977:121:6:-;4043:7;4069:12;;;;;;;;;;:22;;;;3977:121::o;1759:100:0:-;1816:42;1759:100;:::o;4663:101:1:-;4740:10;:17;4663:101;:::o;4212:573:0:-;4274:10;-1:-1:-1;;;;;4288:5:0;4274:19;;4266:38;;;;-1:-1:-1;;;4266:38:0;;;;;;;:::i;:::-;4340:6;;4333:39;;-1:-1:-1;;;4333:39:0;;4315:15;;-1:-1:-1;;;;;4340:6:0;;4333:24;;:39;;4366:4;;4333:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4315:57;;4397:7;4387;:17;4383:173;;;4453:6;;-1:-1:-1;;;;;;;;;;;2288:42:0;4420:32;;-1:-1:-1;;;4453:6:0;;;;4461:20;:7;4473;4461:11;:20::i;:::-;4420:62;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4513:6:0;;4506:39;;-1:-1:-1;;;4506:39:0;;-1:-1:-1;;;;;4513:6:0;;;;-1:-1:-1;4506:24:0;;-1:-1:-1;4506:39:0;;4539:4;;4506:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4496:49;;4383:173;4580:7;4570;:17;4566:65;;;-1:-1:-1;4613:7:0;4566:65;4641:19;4663:45;358:6:1;4663:24:0;4675:11;;4663:7;:11;;:24;;;;:::i;:::-;:28;;:45::i;:::-;4641:67;-1:-1:-1;4718:60:0;4746:5;4753:24;:7;4641:67;4753:11;:24::i;:::-;4725:6;;-1:-1:-1;;;;;4725:6:0;;4718:60;:27;:60::i;:::-;4212:573;;;:::o;4348:145:6:-;4431:18;4444:4;4431:12;:18::i;:::-;2490:30;2501:4;2507:12;:10;:12::i;2490:30::-;4461:25:::1;4472:4;4478:7;4461:10;:25::i;5365:214::-:0;5471:12;:10;:12::i;:::-;-1:-1:-1;;;;;5460:23:6;:7;-1:-1:-1;;;;;5460:23:6;;5452:83;;;;-1:-1:-1;;;5452:83:6;;;;;;;:::i;:::-;5546:26;5558:4;5564:7;5546:11;:26::i;:::-;5365:214;;:::o;2870:59:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2870:59:0;;-1:-1:-1;2870:59:0;;-1:-1:-1;2870:59:0:o;1892:19::-;;;-1:-1:-1;;;1892:19:0;;;;;:::o;1565:90::-;1612:42;1565:90;:::o;10750:136::-;10788:24;:22;:24::i;:::-;10822:10;:8;:10::i;:::-;10843:16;:14;:16::i;:::-;10870:9;:7;:9::i;:::-;10750:136::o;1865:21::-;;;-1:-1:-1;;;;;1865:21:0;;:::o;3960:697:1:-;1412:8:10;:6;:8::i;:::-;1411:9;1403:38;;;;-1:-1:-1;;;1403:38:10;;;;;;;:::i;:::-;4012:19:1::1;4034:11;:9;:11::i;:::-;4012:33;;4056:14;:12;:14::i;:::-;4098:10;:17:::0;:22;;:132:::1;;-1:-1:-1::0;4213:17:1::1;::::0;4167:10:::1;4178:17:::0;;:21:::1;::::0;4198:1:::1;::::0;4178:21:::1;:::i;:::-;4167:33;;;;;;-1:-1:-1::0;;;4167:33:1::1;;;;;;;;;;;;;;;;;;;:43;;;:63;;;;:::i;:::-;4136:15;:94;;4098:132;4081:482;;;4255:10;4288:250;;;;;;;;4329:15;4288:250;;;;4388:11;4374;:9;:11::i;:::-;:25;;;;:::i;:::-;4288:250;;;;4426:11;4288:250;;;;4499:20;;4481:15;:38;;;;:::i;:::-;4288:250:::0;;4255:297;;::::1;::::0;;::::1;::::0;;-1:-1:-1;4255:297:1;;;::::1;::::0;;;;;;::::1;::::0;;::::1;;::::0;;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;;::::1;::::0;4081:482:::1;4596:15;4573:20;:38:::0;4626:24:::1;::::0;4639:10:::1;::::0;4626:24:::1;::::0;;;::::1;1451:1:10;3960:697:1:o:0;10296:151:0:-;10332:24;:22;:24::i;:::-;10366:7;:5;:7::i;:::-;10416:6;;-1:-1:-1;;;;;;;;;;;2288:42:0;10383:32;;-1:-1:-1;;;10416:6:0;;;;10424:15;:13;:15::i;:::-;10383:57;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10296:151::o;316:48:1:-;358:6;316:48;:::o;11228:147:0:-;11276:4;11292:24;:22;:24::i;:::-;11326:21;:19;:21::i;:::-;-1:-1:-1;11364:4:0;11228:147;:::o;2619:35:1:-;;;;:::o;2235:96:0:-;-1:-1:-1;;;;;;;;;;;2235:96:0;:::o;1098:84:10:-;1168:7;;;;1098:84;:::o;1215:23:1:-;;;-1:-1:-1;;;;;1215:23:1;;:::o;5572:478::-;5664:7;5687:21;5718:24;5771:9;5803:1;5783:10;:17;;;;:21;;;;:::i;:::-;5771:33;;5753:241;5822:1;5818;:5;:46;;;;;5854:10;5827;5838:1;5827:13;;;;;;-1:-1:-1;;;5827:13:1;;;;;;;;;;;;;;;;;;;:23;;;:37;;5818:46;5753:241;;;5923:28;5937:10;5948:1;5937:13;;;;;;-1:-1:-1;;;5937:13:1;;;;;;;;5923:28;5906:45;;;;:::i;:::-;;-1:-1:-1;5965:18:1;;;;:::i;:::-;;;;5878:3;;;;;:::i;:::-;;;;5753:241;;8978:122:0;9029:7;9055:38;9077:15;:13;:15::i;:::-;9055:17;:15;:17::i;:::-;:21;;:38::i;:::-;9048:45;;8978:122;:::o;617:43:1:-;;;;:::o;1918:48:0:-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1918:48:0;;-1:-1:-1;1918:48:0;:::o;8479:186:1:-;8595:4;;2490:30:6;8595:4:1;2507:12:6;:10;:12::i;2490:30::-;8615:8:1::1;:22:::0;;-1:-1:-1;;;;;8615:22:1;::::1;-1:-1:-1::0;;;;;;8615:22:1;;::::1;;::::0;;;;-1:-1:-1;8479:186:1;;;;:::o;10542:111:0:-;10576:24;:22;:24::i;:::-;10610:8;:6;:8::i;:::-;10628:18;:16;:18::i;1280:33:1:-;;;-1:-1:-1;;;;;1280:33:1;;:::o;2935:40:0:-;;;;;;;;;;;;;;;:::o;1416:143:7:-;1498:7;1524:18;;;:12;:18;;;;;:28;;1546:5;1524:21;:28::i;:::-;1517:35;;1416:143;;;;;:::o;2545:29:1:-;;;;:::o;2894:137:6:-;2972:4;2995:12;;;;;;;;;;;-1:-1:-1;;;;;2995:29:6;;;;;;;;;;;;;;;2894:137::o;744:60:1:-;-1:-1:-1;;;;;;;;;;;744:60:1;:::o;1661:92:0:-;1710:42;1661:92;:::o;2134:95::-;2186:42;2134:95;:::o;2012:49:6:-;2057:4;2012:49;:::o;5594:1334:0:-;5822:6;;5773:92;;-1:-1:-1;;;5773:92:0;;5685:14;;;;;;-1:-1:-1;;;;;;;;;;;2288:42:0;5773:35;;:92;;-1:-1:-1;;;5822:6:0;;;;;;5850:4;;5773:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5773:92:0;;;;;;;;;;;;:::i;:::-;5959:6;;5910:65;;-1:-1:-1;;;5910:65:0;;5738:127;;-1:-1:-1;5875:32:0;;-1:-1:-1;;;;;;;;;;;2288:42:0;5910:35;;:65;;-1:-1:-1;;;5959:6:0;;;;;5910:65;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5910:65:0;;;;;;;;;;;;:::i;:::-;5875:100;;5991:7;5986:724;6008:1;6004;:5;;;5986:724;;;6080:13;;;;;;;;:10;:13;;;;;;;:21;;:13;:21;6076:68;;6121:8;;6076:68;6233:13;6249:12;6262:1;6249:15;;;;;;;;-1:-1:-1;;;6249:15:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6249:15:0;6233:31;;6278:15;6357:4;:15;;;6373:1;6357:18;;;;;;;;-1:-1:-1;;;6357:18:0;;;;;;;;;;;;;;;6311:4;:23;;;6335:1;6311:26;;;;;;;;-1:-1:-1;;;6311:26:0;;;;;;;;;;;;;;;6297:4;:11;;;:40;;;;:::i;:::-;6296:79;;;;:::i;:::-;6278:97;-1:-1:-1;;;;;;6393:13:0;;1516:42;6393:13;6389:311;;;6435:19;:6;6446:7;6435:10;:19::i;:::-;6426:28;;6389:311;;;-1:-1:-1;;;;;6600:29:0;;6493:30;6600:29;;;:22;:29;;;;;;6526:104;;-1:-1:-1;;;6526:104:0;;2186:42;;6526:64;;:104;;6591:7;;6526:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6526:104:0;;;;;;;;;;;;:::i;:::-;6493:137;;6657:28;6668:13;6682:1;6668:16;;;;;;-1:-1:-1;;;6668:16:0;;;;;;;;;;;;;;;6657:6;:10;;:28;;;;:::i;:::-;6648:37;;6389:311;;5986:724;;;6011:3;;;;:::i;:::-;;;;5986:724;;;;6757:15;6775:41;358:6:1;6775:20:0;6786:8;;6775:6;:10;;:20;;;;:::i;:41::-;6757:59;;6842:41;358:6:1;6842:20:0;6854:7;;6842;:11;;:20;;;;:::i;:41::-;6826:57;-1:-1:-1;6902:19:0;:6;6913:7;6902:10;:19::i;:::-;6893:28;;5594:1334;;;;;:::o;810:86:1:-;864:32;810:86;:::o;1592:38::-;1626:4;1592:38;:::o;9186:120:0:-;9267:6;;9260:39;;-1:-1:-1;;;9260:39:0;;9234:7;;-1:-1:-1;;;;;9267:6:0;;9260:24;;:39;;9293:4;;9260:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1727:132:7:-;1799:7;1825:18;;;:12;:18;;;;;:27;;:25;:27::i;2580:33:1:-;;;;:::o;3788:214:0:-;1412:8:10;:6;:8::i;:::-;1411:9;1403:38;;;;-1:-1:-1;;;1403:38:10;;;;;;;:::i;:::-;3863:6:0::1;::::0;3856:39:::1;::::0;-1:-1:-1;;;3856:39:0;;3838:15:::1;::::0;-1:-1:-1;;;;;3863:6:0::1;::::0;3856:24:::1;::::0;:39:::1;::::0;3889:4:::1;::::0;3856:39:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3838:57:::0;-1:-1:-1;3910:11:0;;3906:90:::1;;3969:6;::::0;3937:48:::1;::::0;-1:-1:-1;;;3937:48:0;;-1:-1:-1;;;;;;;;;;;2288:42:0;3937:31:::1;::::0;:48:::1;::::0;-1:-1:-1;;;3969:6:0;::::1;;;::::0;3977:7;;3937:48:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3906:90;1451:1:10;3788:214:0:o:0;7202:277:1:-;7316:4;;2490:30:6;7316:4:1;2507:12:6;:10;:12::i;2490:30::-;1626:4:1::1;7344:9;:20;;7336:45;;;;-1:-1:-1::0;;;7336:45:1::1;;;;;;;:::i;:::-;7391:8;:20:::0;;;7426:25:::1;::::0;::::1;::::0;::::1;::::0;7402:9;;7426:25:::1;:::i;:::-;;;;;;;;-1:-1:-1::0;7468:4:1::1;::::0;7202:277;-1:-1:-1;;7202:277:1:o;4727:147:6:-;4811:18;4824:4;4811:12;:18::i;:::-;2490:30;2501:4;2507:12;:10;:12::i;2490:30::-;4841:26:::1;4853:4;4859:7;4841:11;:26::i;2660:31:1:-:0;;;;:::o;2981:47:0:-;;;;;;;;;;;;8963:444:1;9052:30;-1:-1:-1;;;;;;;;;;;9052:18:1;:30::i;:::-;9086:1;9052:35;9048:174;;;9103:34;-1:-1:-1;;;;;;;;;;;9126:10:1;9103;:34::i;:::-;9048:174;;;9168:43;864:32;9200:10;9168;:43::i;:::-;-1:-1:-1;;;;;9240:36:1;;9232:51;;;;-1:-1:-1;;;9232:51:1;;;;;;;:::i;:::-;9293:18;:43;;-1:-1:-1;;;;;;9293:43:1;-1:-1:-1;;;;;9293:43:1;;;;;9351:49;;;;;;9293:43;;9351:49;:::i;:::-;;;;;;;;8963:444;:::o;6956:163::-;7038:24;:22;:24::i;:::-;7072:17;:40;6956:163::o;1636:49::-;1681:4;1636:49;:::o;4868:335::-;4958:22;5018:2;5004:17;;;;;;-1:-1:-1;;;5004:17:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;4996:25;;5031:20;5071:9;5103:2;5083:10;:17;;;;:22;;;;:::i;:::-;5071:34;;5066:131;5111:10;:17;5107:21;;5066:131;;;5173:10;5184:1;5173:13;;;;;;-1:-1:-1;;;5173:13:1;;;;;;;;;;;;;;;;;;;5149:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:5;5155:14;;;;;:::i;:::-;;;5149:21;;;;;;-1:-1:-1;;;5149:21:1;;;;;;;;;;;;;;:37;;;;5130:3;;;;;:::i;:::-;;;;5066:131;;;;4868:335;;;;:::o;584:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;584:27:1;;;:::o;1469:90:0:-;1516:42;1469:90;:::o;9835:303::-;9885:10;-1:-1:-1;;;;;9899:5:0;9885:19;;9877:38;;;;-1:-1:-1;;;9877:38:0;;;;;;;:::i;:::-;9958:6;;9926:42;;-1:-1:-1;;;9926:42:0;;-1:-1:-1;;;;;;;;;;;2288:42:0;9926:31;;:42;;-1:-1:-1;;;9958:6:0;;;;;9966:1;;9926:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9978:12;:10;:12::i;:::-;10000:14;:12;:14::i;:::-;10050:6;;10043:39;;-1:-1:-1;;;10043:39:0;;10025:15;;-1:-1:-1;;;;;10050:6:0;;10043:24;;:39;;10076:4;;10043:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10099:6;;10092:39;;-1:-1:-1;;;10092:39:0;;10025:57;;-1:-1:-1;;;;;;10099:6:0;;10092:23;;:39;;10116:5;;10025:57;;10092:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1244:30:1:-;;;:::o;11057:165:0:-;11119:4;11135:24;:22;:24::i;:::-;-1:-1:-1;11169:15:0;;;;;;;:10;:15;;;;;:25;;;;;-1:-1:-1;;11169:25:0;;;;;;;11057:165;;;;:::o;6822:233:6:-;6905:22;6913:4;6919:7;6905;:22::i;:::-;6900:149;;6943:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6943:29:6;;;;;;;;;:36;;-1:-1:-1;;6943:36:6;6975:4;6943:36;;;7025:12;:10;:12::i;:::-;-1:-1:-1;;;;;6998:40:6;7016:7;-1:-1:-1;;;;;6998:40:6;7010:4;6998:40;;;;;;;;;;6822:233;;:::o;7612:150:19:-;7682:4;7705:50;7710:3;-1:-1:-1;;;;;7730:23:19;;7705:4;:50::i;1413:603:12:-;1768:10;;;1767:62;;-1:-1:-1;1784:39:12;;-1:-1:-1;;;1784:39:12;;-1:-1:-1;;;;;1784:15:12;;;;;:39;;1808:4;;1815:7;;1784:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;1767:62;1746:163;;;;-1:-1:-1;;;1746:163:12;;;;;;;:::i;:::-;1919:90;1939:5;1969:22;;;1993:7;2002:5;1946:62;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1946:62:12;;;;;;;;;;;;;;-1:-1:-1;;;;;1946:62:12;-1:-1:-1;;;;;;1946:62:12;;;;;;;;;;1919:19;:90::i;3514:223:13:-;3647:12;3678:52;3700:6;3708:4;3714:1;3717:12;3678:21;:52::i;:::-;3671:59;;3514:223;;;;;;:::o;2605:202:6:-;2690:4;-1:-1:-1;;;;;;2713:47:6;;-1:-1:-1;;;2713:47:6;;:87;;;2764:36;2788:11;2764:23;:36::i;640:96:14:-;719:10;640:96;:::o;3312:484:6:-;3392:22;3400:4;3406:7;3392;:22::i;:::-;3387:403;;3575:41;3603:7;-1:-1:-1;;;;;3575:41:6;3613:2;3575:19;:41::i;:::-;3687:38;3715:4;3722:2;3687:19;:38::i;:::-;3482:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3482:265:6;;;;;;;;;;-1:-1:-1;;;3430:349:6;;;;;;;:::i;9704:283:1:-;9795:7;9818:29;9888:3;:24;;;405:8;9851:3;:10;;;:21;;;;:::i;:::-;9850:62;;;;:::i;:::-;9973:7;;;;9818:94;;-1:-1:-1;9930:39:1;358:6;9818:94;9930:39;:::i;:::-;9929:51;;;;:::i;3108:96:18:-;3166:7;3192:5;3196:1;3192;:5;:::i;3451:96::-;3509:7;3535:5;3539:1;3535;:5;:::i;3836:96::-;3894:7;3920:5;3924:1;3920;:5;:::i;701:205:12:-;813:86;833:5;863:23;;;888:2;892:5;840:58;;;;;;;;;:::i;1947:166:7:-;2034:31;2051:4;2057:7;2034:16;:31::i;:::-;2075:18;;;;:12;:18;;;;;:31;;2098:7;2075:22;:31::i;2202:171::-;2290:32;2308:4;2314:7;2290:17;:32::i;:::-;2332:18;;;;:12;:18;;;;;:34;;2358:7;2332:25;:34::i;9482:216:1:-;9561:31;-1:-1:-1;;;;;;;;;;;9581:10:1;9561:7;:31::i;:::-;:90;;;-1:-1:-1;9612:39:1;2057:4:6;9640:10:1;9612:7;:39::i;:::-;9540:151;;;;-1:-1:-1;;;9540:151:1;;;;;;;:::i;2110:117:10:-;1677:8;:6;:8::i;:::-;1669:41;;;;-1:-1:-1;;;1669:41:10;;;;;;;:::i;:::-;2168:7:::1;:15:::0;;-1:-1:-1;;2168:15:10::1;::::0;;2198:22:::1;2207:12;:10;:12::i;:::-;2198:22;;;;;;:::i;:::-;;;;;;;;2110:117::o:0;12280:556:0:-;12332:6;;12325:57;;-1:-1:-1;;;;;12332:6:0;-1:-1:-1;;;;;;;;;;;;;12325:26:0;:57::i;:::-;12392:54;1516:42;2186;-1:-1:-1;;12392:24:0;:54::i;:::-;12456:59;1612:42;1816;-1:-1:-1;;12456:24:0;:59::i;:::-;12531:7;12526:304;12548:1;12544;:5;;;12526:304;;;12574:13;;;;;;;;:10;:13;;;;;;;:21;;:13;:21;12570:250;;;12615:49;2186:42;12662:1;12622:12;12635:1;12622:15;;;;;;;;-1:-1:-1;;;12622:15:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12622:15:0;;12615:49;:35;:49::i;:::-;12682:123;2186:42;-1:-1:-1;;12689:12:0;12702:1;12689:15;;;;;;;;-1:-1:-1;;;12689:15:0;;;;;;;;12682:123;12551:3;;;;:::i;:::-;;;;12526:304;;5269:166;5353:6;;5321:42;;-1:-1:-1;;;5321:42:0;;-1:-1:-1;;;;;;;;;;;2288:42:0;5321:31;;:42;;-1:-1:-1;;;5353:6:0;;;;;5361:1;;5321:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5373:12;:10;:12::i;:::-;5395:14;:12;:14::i;11717:557::-;11856:6;;11807:56;;-1:-1:-1;;;11807:56:0;;11767:37;;-1:-1:-1;;;;;;;;;;;2288:42:0;11807:48;;:56;;-1:-1:-1;;;11856:6:0;;;;;;11807:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11807:56:0;;;;;;;;;;;;:::i;:::-;11767:96;;11878:7;11873:395;11895:1;11891;:5;;;11873:395;;;11939:39;;-1:-1:-1;;;11939:39:0;;11917:19;;-1:-1:-1;;;;;;;;;;;2288:42:0;11939:36;;:39;;11976:1;;11939:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11917:61;;12010:11;11992:12;12005:1;11992:15;;;;;;;;-1:-1:-1;;;11992:15:0;;;;;;;;;;;;;;;;;:29;;;;;-1:-1:-1;;;;;11992:29:0;;;;;-1:-1:-1;;;;;11992:29:0;;;;;;12039:9;:21;;;12061:1;12039:24;;;;;;;;-1:-1:-1;;;12039:24:0;;;;;;;;;;;;;;;12067:1;12039:29;12035:223;;12088:57;;;;;;;;-1:-1:-1;;;;;12088:57:0;;;;;1516:42;12088:57;;;;;;;;-1:-1:-1;12088:35:0;;;:22;:35;;;;;;:57;;;;:::i;:::-;-1:-1:-1;12163:13:0;;;;;;;:10;:13;;;;;:20;;-1:-1:-1;;12163:20:0;12179:4;12163:20;;;12035:223;;;12222:13;;;12238:5;12222:13;;;:10;:13;;;;;:21;;-1:-1:-1;;12222:21:0;;;12035:223;-1:-1:-1;11898:3:0;;;;:::i;:::-;;;;11873:395;;2741:96:18;2799:7;2825:5;2829:1;2825;:5;:::i;1863:115:10:-;1412:8;:6;:8::i;:::-;1411:9;1403:38;;;;-1:-1:-1;;;1403:38:10;;;;;;;:::i;:::-;1922:7:::1;:14:::0;;-1:-1:-1;;1922:14:10::1;1932:4;1922:14;::::0;;1951:20:::1;1958:12;:10;:12::i;12842:310:0:-:0;12896:6;;12889:41;;-1:-1:-1;;;;;12896:6:0;-1:-1:-1;;;;;;;;;;;12928:1:0;12889:26;:41::i;:::-;12940:38;1516:42;2186;12976:1;12940:24;:38::i;:::-;12988:43;1612:42;1816;13029:1;12988:24;:43::i;:::-;13047:7;13042:104;13064:1;13060;:5;;;13042:104;;;13086:49;2186:42;13133:1;13093:12;13106:1;13093:15;;;;;;;;-1:-1:-1;;;13093:15:0;;;;;;;;13086:49;13067:3;;;;:::i;:::-;;;;13042:104;;8870:156:19;8944:7;8994:22;8998:3;9010:5;8994:3;:22::i;8413:115::-;8476:7;8502:19;8510:3;8502:7;:19::i;7102:1012:0:-;7143:17;;7171:535;7193:1;7189;:5;;;7171:535;;;7219:13;;;;;;;;:10;:13;;;;;;;:21;;:13;:21;7215:481;;;7279:12;7292:1;7279:15;;;;;;;;-1:-1:-1;;;7279:15:0;;;;;;;;;;;;;;;;;;;7272:48;;-1:-1:-1;;;7272:48:0;;-1:-1:-1;;;;;7279:15:0;;;;7272:33;;:48;;7314:4;;7272:48;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7260:60;;2186:42;-1:-1:-1;;;;;7339:104:0;;7469:9;7504:1;7531:22;:39;7554:12;7567:1;7554:15;;;;;;;;-1:-1:-1;;;7554:15:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7554:15:0;7531:39;;;;;;;;;;;;7604:4;7635:24;:15;7655:3;7635:19;:24::i;:::-;7339:342;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7215:481;7196:3;;;;:::i;:::-;;;;7171:535;;;;7716:12;7731:94;358:6:1;7731:51:0;7773:8;;1516:42;-1:-1:-1;;;;;7731:22:0;;7762:4;7731:37;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;:51::i;:94::-;7716:109;;7836:21;7860:38;358:6:1;7860:17:0;7869:7;;7860:4;:8;;:17;;;;:::i;:38::-;7836:62;-1:-1:-1;7908:52:0;1516:42;7934:10;7836:62;7908:25;:52::i;:::-;7971:26;8000:42;358:6:1;8000:21:0;8009:11;;8000:4;:8;;:21;;;;:::i;:42::-;8078:8;;7971:71;;-1:-1:-1;8052:55:0;;1516:42;;-1:-1:-1;;;;;8078:8:0;7971:71;8052:25;:55::i;8214:563::-;8271:37;;-1:-1:-1;;;8271:37:0;;8257:11;;1516:42;;8271:22;;:37;;8302:4;;8271:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8257:51;-1:-1:-1;2186:42:0;8319:96;8257:51;8454:1;8473:15;8514:4;8537:24;:15;8557:3;8537:19;:24::i;:::-;8319:256;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8604:37:0;;-1:-1:-1;;;8604:37:0;;8586:15;;-1:-1:-1;1612:42:0;;-1:-1:-1;8604:22:0;;:37;;8635:4;;8604:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8651:43;;;;;;;;-1:-1:-1;8651:43:0;;;;;;;;;;;;;;;8751:6;;8705:65;;-1:-1:-1;;;8705:65:0;;8651:43;;-1:-1:-1;8651:43:0;;1816:42;;8705:45;;:65;;-1:-1:-1;;;;;8751:6:0;;;;8651:43;;-1:-1:-1;8705:65:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8214:563;;;:::o;1697:404:19:-;1760:4;1781:21;1791:3;1796:5;1781:9;:21::i;:::-;1776:319;;-1:-1:-1;1818:23:19;;;;;;;;:11;:23;;;;;;;;;;;;;1998:18;;1976:19;;;:12;;;:19;;;;;;:40;;;;2030:11;;1776:319;-1:-1:-1;2079:5:19;2072:12;;3207:706:12;3626:23;3652:69;3680:4;3652:69;;;;;;;;;;;;;;;;;3660:5;-1:-1:-1;;;;;3652:27:12;;;:69;;;;;:::i;:::-;3735:17;;3626:95;;-1:-1:-1;3735:21:12;3731:176;;3830:10;3819:30;;;;;;;;;;;;:::i;:::-;3811:85;;;;-1:-1:-1;;;3811:85:12;;;;;;;:::i;4601:499:13:-;4766:12;4823:5;4798:21;:30;;4790:81;;;;-1:-1:-1;;;4790:81:13;;;;;;;:::i;:::-;4889:18;4900:6;4889:10;:18::i;:::-;4881:60;;;;-1:-1:-1;;;4881:60:13;;;;;;;:::i;:::-;4953:12;4967:23;4994:6;-1:-1:-1;;;;;4994:11:13;5013:5;5020:4;4994:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4952:73;;;;5042:51;5059:7;5068:10;5080:12;5042:16;:51::i;:::-;5035:58;4601:499;-1:-1:-1;;;;;;;4601:499:13:o;829:155:16:-;-1:-1:-1;;;;;;937:40:16;;-1:-1:-1;;;937:40:16;829:155;;;:::o;1588:441:15:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;-1:-1:-1;;;1710:25:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:15;;1688:47;;-1:-1:-1;;;1745:6:15;1752:1;1745:9;;;;;;-1:-1:-1;;;1745:9:15;;;;;;;;;;;;:15;-1:-1:-1;;;;;1745:15:15;;;;;;;;;-1:-1:-1;;;1770:6:15;1777:1;1770:9;;;;;;-1:-1:-1;;;1770:9:15;;;;;;;;;;;;:15;-1:-1:-1;;;;;1770:15:15;;;;;;;;-1:-1:-1;1800:9:15;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:15;1887:3;1879:11;1866:25;;;;;-1:-1:-1;;;1866:25:15;;;;;;;;;;;;1854:6;1861:1;1854:9;;;;;;-1:-1:-1;;;1854:9:15;;;;;;;;;;;;:37;-1:-1:-1;;;;;1854:37:15;;;;;;;;-1:-1:-1;1915:1:15;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:15;;1936:55;;;;-1:-1:-1;;;1936:55:15;;;;;;;:::i;7180:234:6:-;7263:22;7271:4;7277:7;7263;:22::i;:::-;7259:149;;;7333:5;7301:12;;;;;;;;;;;-1:-1:-1;;;;;7301:29:6;;;;;;;;;:37;;-1:-1:-1;;7301:37:6;;;7384:12;:10;:12::i;:::-;-1:-1:-1;;;;;7357:40:6;7375:7;-1:-1:-1;;;;;7357:40:6;7369:4;7357:40;;;;;;;;;;7180:234;;:::o;7930:156:19:-;8003:4;8026:53;8034:3;-1:-1:-1;;;;;8054:23:19;;8026:7;:53::i;4395:118::-;4462:7;4488:3;:11;;4500:5;4488:18;;;;;;-1:-1:-1;;;4488:18:19;;;;;;;;;;;;;;;;;4481:25;;4395:118;;;;:::o;3946:107::-;4028:18;;3946:107::o;3738:127::-;3811:4;3834:19;;;:12;;;;;:19;;;;;;:24;;;3738:127::o;771:377:13:-;1087:20;1133:8;;;771:377::o;7214:692::-;7360:12;7388:7;7384:516;;;-1:-1:-1;7418:10:13;7411:17;;7384:516;7529:17;;:21;7525:365;;7723:10;7717:17;7783:15;7770:10;7766:2;7762:19;7755:44;7672:145;7862:12;7855:20;;-1:-1:-1;;;7855:20:13;;;;;;;;:::i;2269:1388:19:-;2335:4;2472:19;;;:12;;;:19;;;;;;2506:15;;2502:1149;;2875:21;2899:14;2912:1;2899:10;:14;:::i;:::-;2947:18;;2875:38;;-1:-1:-1;2927:17:19;;2947:22;;2968:1;;2947:22;:::i;:::-;2927:42;;3001:13;2988:9;:26;2984:398;;3034:17;3054:3;:11;;3066:9;3054:22;;;;;;-1:-1:-1;;;3054:22:19;;;;;;;;;;;;;;;;;3034:42;;3205:9;3176:3;:11;;3188:13;3176:26;;;;;;-1:-1:-1;;;3176:26:19;;;;;;;;;;;;;;;;;;;;:38;;;;3288:23;;;:12;;;:23;;;;;:36;;;2984:398;3460:17;;:3;;:17;;;-1:-1:-1;;;3460:17:19;;;;;;;;;;;;;;;;;;;;;;;;;;3552:3;:12;;:19;3565:5;3552:19;;;;;;;;;;;3545:26;;;3593:4;3586:11;;;;;;;2502:1149;3635:5;3628:12;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:142:20;95:13;;117:33;95:13;117:33;:::i;161:923::-;;285:3;278:4;270:6;266:17;262:27;252:2;;307:5;300;293:20;252:2;340:6;334:13;366:4;389:18;426:2;422;419:10;416:2;;;432:18;;:::i;:::-;479:2;475;471:11;511:2;505:9;562:2;557;549:6;545:15;541:24;615:6;603:10;600:22;595:2;583:10;580:18;577:46;574:2;;;626:18;;:::i;:::-;662:2;655:22;712:18;;;746:15;;;;-1:-1:-1;781:15:20;;;815;;;811:24;;808:33;-1:-1:-1;805:2:20;;;858:5;851;844:20;805:2;884:5;875:14;;898:156;912:2;909:1;906:9;898:156;;;969:10;;957:23;;1000:12;;;;930:1;923:9;;;;;1032:12;;898:156;;;-1:-1:-1;1072:6:20;242:842;-1:-1:-1;;;;;;;242:842:20:o;1089:169::-;1169:13;;1222:10;1211:22;;1201:33;;1191:2;;1248:1;1245;1238:12;1263:158;1331:20;;1391:4;1380:16;;1370:27;;1360:2;;1411:1;1408;1401:12;1426:259;;1538:2;1526:9;1517:7;1513:23;1509:32;1506:2;;;1559:6;1551;1544:22;1506:2;1603:9;1590:23;1622:33;1649:5;1622:33;:::i;1690:263::-;;1813:2;1801:9;1792:7;1788:23;1784:32;1781:2;;;1834:6;1826;1819:22;1781:2;1871:9;1865:16;1890:33;1917:5;1890:33;:::i;1958:327::-;;;2087:2;2075:9;2066:7;2062:23;2058:32;2055:2;;;2108:6;2100;2093:22;2055:2;2152:9;2139:23;2171:33;2198:5;2171:33;:::i;:::-;2223:5;2275:2;2260:18;;;;2247:32;;-1:-1:-1;;;2045:240:20:o;2290:389::-;;2438:2;2426:9;2417:7;2413:23;2409:32;2406:2;;;2459:6;2451;2444:22;2406:2;2497:9;2491:16;2530:18;2522:6;2519:30;2516:2;;;2567:6;2559;2552:22;2516:2;2595:78;2665:7;2656:6;2645:9;2641:22;2595:78;:::i;2684:257::-;;2804:2;2792:9;2783:7;2779:23;2775:32;2772:2;;;2825:6;2817;2810:22;2772:2;2862:9;2856:16;2881:30;2905:5;2881:30;:::i;2946:190::-;;3058:2;3046:9;3037:7;3033:23;3029:32;3026:2;;;3079:6;3071;3064:22;3026:2;-1:-1:-1;3107:23:20;;3016:120;-1:-1:-1;3016:120:20:o;3141:327::-;;;3270:2;3258:9;3249:7;3245:23;3241:32;3238:2;;;3291:6;3283;3276:22;3238:2;3332:9;3319:23;3309:33;;3392:2;3381:9;3377:18;3364:32;3405:33;3432:5;3405:33;:::i;:::-;3457:5;3447:15;;;3228:240;;;;;:::o;3473:258::-;;;3602:2;3590:9;3581:7;3577:23;3573:32;3570:2;;;3623:6;3615;3608:22;3570:2;-1:-1:-1;;3651:23:20;;;3721:2;3706:18;;;3693:32;;-1:-1:-1;3560:171:20:o;3736:306::-;;3847:2;3835:9;3826:7;3822:23;3818:32;3815:2;;;3868:6;3860;3853:22;3815:2;3899:23;;-1:-1:-1;;;;;;3951:32:20;;3941:43;;3931:2;;4003:6;3995;3988:22;4047:1235;;4196:2;4184:9;4175:7;4171:23;4167:32;4164:2;;;4217:6;4209;4202:22;4164:2;4255:9;4249:16;4284:18;4325:2;4317:6;4314:14;4311:2;;;4346:6;4338;4331:22;4311:2;4374:22;;;;4430:4;4412:16;;;4408:27;4405:2;;;4453:6;4445;4438:22;4405:2;4491;4485:9;4533:4;4525:6;4521:17;4588:6;4576:10;4573:22;4568:2;4556:10;4553:18;4550:46;4547:2;;;4599:18;;:::i;:::-;4635:2;4628:22;4674:35;4706:2;4674:35;:::i;:::-;4666:6;4659:51;4757:2;4753;4749:11;4743:18;4738:2;4730:6;4726:15;4719:43;4795;4834:2;4830;4826:11;4795:43;:::i;:::-;4790:2;4782:6;4778:15;4771:68;4878:2;4874;4870:11;4864:18;4907:2;4897:8;4894:16;4891:2;;;4928:6;4920;4913:22;4891:2;4970:73;5035:7;5024:8;5020:2;5016:17;4970:73;:::i;:::-;4965:2;4957:6;4953:15;4946:98;;5083:3;5079:2;5075:12;5069:19;5113:2;5103:8;5100:16;5097:2;;;5134:6;5126;5119:22;5097:2;5177:73;5242:7;5231:8;5227:2;5223:17;5177:73;:::i;:::-;5171:3;5159:16;;5152:99;-1:-1:-1;5163:6:20;4154:1128;-1:-1:-1;;;;;4154:1128:20:o;5287:1078::-;;5436:2;5424:9;5415:7;5411:23;5407:32;5404:2;;;5457:6;5449;5442:22;5404:2;5495:9;5489:16;5524:18;5565:2;5557:6;5554:14;5551:2;;;5586:6;5578;5571:22;5551:2;5614:22;;;;5670:4;5652:16;;;5648:27;5645:2;;;5693:6;5685;5678:22;5645:2;5731;5725:9;5773:4;5765:6;5761:17;5828:6;5816:10;5813:22;5808:2;5796:10;5793:18;5790:46;5787:2;;;5839:18;;:::i;:::-;5875:2;5868:22;5914:9;;5899:25;;5963:2;5955:11;;5949:18;5979:16;;;5976:2;;;6013:6;6005;5998:22;5976:2;6055:73;6120:7;6109:8;6105:2;6101:17;6055:73;:::i;:::-;6050:2;6042:6;6038:15;6031:98;;6168:2;6164;6160:11;6154:18;6197:2;6187:8;6184:16;6181:2;;;6218:6;6210;6203:22;6181:2;6260:73;6325:7;6314:8;6310:2;6306:17;6260:73;:::i;:::-;6255:2;6243:15;;6236:98;-1:-1:-1;6247:6:20;5394:971;-1:-1:-1;;;;;5394:971:20:o;6565:194::-;;6688:2;6676:9;6667:7;6663:23;6659:32;6656:2;;;6709:6;6701;6694:22;6656:2;-1:-1:-1;6737:16:20;;6646:113;-1:-1:-1;6646:113:20:o;6764:326::-;;;;6910:2;6898:9;6889:7;6885:23;6881:32;6878:2;;;6931:6;6923;6916:22;6878:2;-1:-1:-1;;6959:23:20;;;7029:2;7014:18;;7001:32;;-1:-1:-1;7080:2:20;7065:18;;;7052:32;;6868:222;-1:-1:-1;6868:222:20:o;7095:194::-;;7205:2;7193:9;7184:7;7180:23;7176:32;7173:2;;;7226:6;7218;7211:22;7173:2;7254:29;7273:9;7254:29;:::i;7294:325::-;;;7418:2;7406:9;7397:7;7393:23;7389:32;7386:2;;;7439:6;7431;7424:22;7386:2;7467:29;7486:9;7467:29;:::i;:::-;7457:39;;7546:2;7535:9;7531:18;7518:32;7559:30;7583:5;7559:30;:::i;7624:507::-;;7729:5;7723:12;7756:6;7751:3;7744:19;7782:4;7811:2;7806:3;7802:12;7795:19;;7835:5;7830:3;7823:18;7879:2;7874:3;7864:18;7900:3;7912:194;7926:6;7923:1;7920:13;7912:194;;;7991:13;;-1:-1:-1;;;;;7987:39:20;7975:52;;8047:12;;;;8023:1;8082:14;;;;7941:9;7912:194;;;-1:-1:-1;8122:3:20;;7699:432;-1:-1:-1;;;;;7699:432:20:o;8136:274::-;;8303:6;8297:13;8319:53;8365:6;8360:3;8353:4;8345:6;8341:17;8319:53;:::i;:::-;8388:16;;;;;8273:137;-1:-1:-1;;8273:137:20:o;8415:786::-;;8826:25;8821:3;8814:38;8881:6;8875:13;8897:62;8952:6;8947:2;8942:3;8938:12;8931:4;8923:6;8919:17;8897:62;:::i;:::-;-1:-1:-1;;;9018:2:20;8978:16;;;9010:11;;;9003:40;9068:13;;9090:63;9068:13;9139:2;9131:11;;9124:4;9112:17;;9090:63;:::i;:::-;9173:17;9192:2;9169:26;;8804:397;-1:-1:-1;;;;8804:397:20:o;9206:203::-;-1:-1:-1;;;;;9370:32:20;;;;9352:51;;9340:2;9325:18;;9307:102::o;9414:304::-;-1:-1:-1;;;;;9644:15:20;;;9626:34;;9696:15;;9691:2;9676:18;;9669:43;9576:2;9561:18;;9543:175::o;9723:660::-;-1:-1:-1;;;;;9998:32:20;;9980:51;;9967:3;9952:19;;10050:2;10072:18;;;10132:6;9723:660;10166:167;10180:4;10177:1;10174:11;10166:167;;;10239:13;;10227:26;;10273:12;;;;10308:15;;;;10200:1;10193:9;10166:167;;;10170:3;;;;10370:6;10364:3;10353:9;10349:19;10342:35;9934:449;;;;;;:::o;10388:274::-;-1:-1:-1;;;;;10580:32:20;;;;10562:51;;10644:2;10629:18;;10622:34;10550:2;10535:18;;10517:145::o;10667:926::-;10888:2;10940:21;;;11010:13;;10913:18;;;11032:22;;;10667:926;;10888:2;11073;;11091:18;;;;11132:15;;;10667:926;11178:389;11192:6;11189:1;11186:13;11178:389;;;11251:13;;11289:9;;11277:22;;11339:11;;;11333:18;11319:12;;;11312:40;11392:11;;;11386:18;11372:12;;;11365:40;11428:4;11472:11;;;11466:18;11452:12;;;11445:40;11514:4;11505:14;;;;11542:15;;;;11214:1;11207:9;11178:389;;;-1:-1:-1;11584:3:20;;10868:725;-1:-1:-1;;;;;;;10868:725:20:o;11598:187::-;11763:14;;11756:22;11738:41;;11726:2;11711:18;;11693:92::o;11790:177::-;11936:25;;;11924:2;11909:18;;11891:76::o;11972:383::-;;12121:2;12110:9;12103:21;12153:6;12147:13;12196:6;12191:2;12180:9;12176:18;12169:34;12212:66;12271:6;12266:2;12255:9;12251:18;12246:2;12238:6;12234:15;12212:66;:::i;:::-;12339:2;12318:15;-1:-1:-1;;12314:29:20;12299:45;;;;12346:2;12295:54;;12093:262;-1:-1:-1;;12093:262:20:o;12360:356::-;12562:2;12544:21;;;12581:18;;;12574:30;12640:34;12635:2;12620:18;;12613:62;12707:2;12692:18;;12534:182::o;12721:344::-;12923:2;12905:21;;;12962:2;12942:18;;;12935:30;-1:-1:-1;;;12996:2:20;12981:18;;12974:50;13056:2;13041:18;;12895:170::o;13070:402::-;13272:2;13254:21;;;13311:2;13291:18;;;13284:30;13350:34;13345:2;13330:18;;13323:62;-1:-1:-1;;;13416:2:20;13401:18;;13394:36;13462:3;13447:19;;13244:228::o;13477:340::-;13679:2;13661:21;;;13718:2;13698:18;;;13691:30;-1:-1:-1;;;13752:2:20;13737:18;;13730:46;13808:2;13793:18;;13651:166::o;13822:329::-;14024:2;14006:21;;;14063:1;14043:18;;;14036:29;-1:-1:-1;;;14096:2:20;14081:18;;14074:36;14142:2;14127:18;;13996:155::o;14156:346::-;14358:2;14340:21;;;14397:2;14377:18;;;14370:30;-1:-1:-1;;;14431:2:20;14416:18;;14409:52;14493:2;14478:18;;14330:172::o;14507:399::-;14709:2;14691:21;;;14748:2;14728:18;;;14721:30;14787:34;14782:2;14767:18;;14760:62;-1:-1:-1;;;14853:2:20;14838:18;;14831:33;14896:3;14881:19;;14681:225::o;14911:353::-;15113:2;15095:21;;;15152:2;15132:18;;;15125:30;15191:31;15186:2;15171:18;;15164:59;15255:2;15240:18;;15085:179::o;15269:325::-;15471:2;15453:21;;;15510:1;15490:18;;;15483:29;-1:-1:-1;;;15543:2:20;15528:18;;15521:32;15585:2;15570:18;;15443:151::o;15599:336::-;15801:2;15783:21;;;15840:2;15820:18;;;15813:30;-1:-1:-1;;;15874:2:20;15859:18;;15852:42;15926:2;15911:18;;15773:162::o;15940:406::-;16142:2;16124:21;;;16181:2;16161:18;;;16154:30;16220:34;16215:2;16200:18;;16193:62;-1:-1:-1;;;16286:2:20;16271:18;;16264:40;16336:3;16321:19;;16114:232::o;16351:418::-;16553:2;16535:21;;;16592:2;16572:18;;;16565:30;16631:34;16626:2;16611:18;;16604:62;-1:-1:-1;;;16697:2:20;16682:18;;16675:52;16759:3;16744:19;;16525:244::o;16774:338::-;16976:2;16958:21;;;17015:2;16995:18;;;16988:30;-1:-1:-1;;;17049:2:20;17034:18;;17027:44;17103:2;17088:18;;16948:164::o;17117:411::-;17319:2;17301:21;;;17358:2;17338:18;;;17331:30;17397:34;17392:2;17377:18;;17370:62;-1:-1:-1;;;17463:2:20;17448:18;;17441:45;17518:3;17503:19;;17291:237::o;17715:343::-;;17919:6;17908:9;17901:25;17962:2;17957;17946:9;17942:18;17935:30;17982:70;18048:2;18037:9;18033:18;18025:6;17982:70;:::i;18063:593::-;;18359:6;18348:9;18341:25;18402:6;18397:2;18386:9;18382:18;18375:34;18445:3;18440:2;18429:9;18425:18;18418:31;18466:71;18532:3;18521:9;18517:19;18509:6;18466:71;:::i;:::-;-1:-1:-1;;;;;18573:32:20;;;;18568:2;18553:18;;18546:60;-1:-1:-1;18637:3:20;18622:19;18615:35;18458:79;18331:325;-1:-1:-1;;;18331:325:20:o;18661:248::-;18835:25;;;18891:2;18876:18;;18869:34;18823:2;18808:18;;18790:119::o;18914:319::-;19116:25;;;19172:2;19157:18;;19150:34;;;;19215:2;19200:18;;19193:34;19104:2;19089:18;;19071:162::o;19238:391::-;19469:25;;;19525:2;19510:18;;19503:34;;;;19568:2;19553:18;;19546:34;19611:2;19596:18;;19589:34;19456:3;19441:19;;19423:206::o;19634:186::-;19808:4;19796:17;;;;19778:36;;19766:2;19751:18;;19733:87::o;20014:283::-;20216:4;20204:17;;;;20186:36;;-1:-1:-1;;;;;20258:32:20;20253:2;20238:18;;20231:60;20174:2;20159:18;;20141:156::o;20302:265::-;20512:4;20500:17;;;;20482:36;;20549:2;20534:18;;20527:34;20470:2;20455:18;;20437:130::o;20834:128::-;;20905:1;20901:6;20898:1;20895:13;20892:2;;;20911:18;;:::i;:::-;-1:-1:-1;20947:9:20;;20882:80::o;20967:217::-;;21033:1;21023:2;;-1:-1:-1;;;21058:31:20;;21112:4;21109:1;21102:15;21140:4;21065:1;21130:15;21023:2;-1:-1:-1;21169:9:20;;21013:171::o;21189:168::-;;21295:1;21291;21287:6;21283:14;21280:1;21277:21;21272:1;21265:9;21258:17;21254:45;21251:2;;;21302:18;;:::i;:::-;-1:-1:-1;21342:9:20;;21241:116::o;21362:125::-;;21430:1;21427;21424:8;21421:2;;;21435:18;;:::i;:::-;-1:-1:-1;21472:9:20;;21411:76::o;21492:258::-;21564:1;21574:113;21588:6;21585:1;21582:13;21574:113;;;21664:11;;;21658:18;21645:11;;;21638:39;21610:2;21603:10;21574:113;;;21705:6;21702:1;21699:13;21696:2;;;-1:-1:-1;;21740:1:20;21722:16;;21715:27;21545:205::o;21755:136::-;;21822:5;21812:2;;21831:18;;:::i;:::-;-1:-1:-1;;;21867:18:20;;21802:89::o;21896:135::-;;-1:-1:-1;;21956:17:20;;21953:2;;;21976:18;;:::i;:::-;-1:-1:-1;22023:1:20;22012:13;;21943:88::o;22036:175::-;;22117:4;22110:5;22106:16;22146:4;22137:7;22134:17;22131:2;;;22154:18;;:::i;:::-;22203:1;22190:15;;22081:130;-1:-1:-1;;22081:130:20:o;22216:127::-;22277:10;22272:3;22268:20;22265:1;22258:31;22308:4;22305:1;22298:15;22332:4;22329:1;22322:15;22348:127;22409:10;22404:3;22400:20;22397:1;22390:31;22440:4;22437:1;22430:15;22464:4;22461:1;22454:15;22480:133;-1:-1:-1;;;;;22557:31:20;;22547:42;;22537:2;;22603:1;22600;22593:12;22618:120;22706:5;22699:13;22692:21;22685:5;22682:32;22672:2;;22728:1;22725;22718:12
Swarm Source
ipfs://c760f7e77a9cc869b87313983f37ae15e3fac897391a6e84edce3cff57077559
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.