ERC-20
Overview
Max Total Supply
0.00000201949015126 ERC20 ***
Holders
19
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000632590159536 ERC20 ***Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Mooniswap
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./interfaces/IReferralFeeReceiver.sol"; import "./libraries/UniERC20.sol"; import "./libraries/Sqrt.sol"; import "./libraries/VirtualBalance.sol"; import "./governance/MooniswapGovernance.sol"; contract Mooniswap is MooniswapGovernance, Ownable { using Sqrt for uint256; using SafeMath for uint256; using UniERC20 for IERC20; using VirtualBalance for VirtualBalance.Data; struct Balances { uint256 src; uint256 dst; } struct SwapVolumes { uint128 confirmed; uint128 result; } struct Fees { uint256 fee; uint256 slippageFee; } event Deposited( address indexed sender, address indexed receiver, uint256 share, uint256 token0Amount, uint256 token1Amount ); event Withdrawn( address indexed sender, address indexed receiver, uint256 share, uint256 token0Amount, uint256 token1Amount ); event Swapped( address indexed sender, address indexed receiver, address indexed srcToken, address dstToken, uint256 amount, uint256 result, uint256 srcAdditionBalance, uint256 dstRemovalBalance, address referral ); event Sync( uint256 srcBalance, uint256 dstBalance, uint256 fee, uint256 slippageFee, uint256 referralShare, uint256 governanceShare ); uint256 private constant _BASE_SUPPLY = 1000; // Total supply on first deposit IERC20 public immutable token0; IERC20 public immutable token1; mapping(IERC20 => SwapVolumes) public volumes; mapping(IERC20 => VirtualBalance.Data) public virtualBalancesForAddition; mapping(IERC20 => VirtualBalance.Data) public virtualBalancesForRemoval; modifier whenNotShutdown { require(mooniswapFactoryGovernance.isActive(), "Mooniswap: factory shutdown"); _; } constructor( IERC20 _token0, IERC20 _token1, string memory name, string memory symbol, IMooniswapFactoryGovernance _mooniswapFactoryGovernance ) public ERC20(name, symbol) MooniswapGovernance(_mooniswapFactoryGovernance) { require(bytes(name).length > 0, "Mooniswap: name is empty"); require(bytes(symbol).length > 0, "Mooniswap: symbol is empty"); require(_token0 != _token1, "Mooniswap: duplicate tokens"); token0 = _token0; token1 = _token1; } function getTokens() external view returns(IERC20[] memory tokens) { tokens = new IERC20[](2); tokens[0] = token0; tokens[1] = token1; } function tokens(uint256 i) external view returns(IERC20) { if (i == 0) { return token0; } else if (i == 1) { return token1; } else { revert("Pool has two tokens"); } } function getBalanceForAddition(IERC20 token) public view returns(uint256) { uint256 balance = token.uniBalanceOf(address(this)); return Math.max(virtualBalancesForAddition[token].current(decayPeriod(), balance), balance); } function getBalanceForRemoval(IERC20 token) public view returns(uint256) { uint256 balance = token.uniBalanceOf(address(this)); return Math.min(virtualBalancesForRemoval[token].current(decayPeriod(), balance), balance); } function getReturn(IERC20 src, IERC20 dst, uint256 amount) external view returns(uint256) { return _getReturn(src, dst, amount, getBalanceForAddition(src), getBalanceForRemoval(dst), fee(), slippageFee()); } function deposit(uint256[2] memory maxAmounts, uint256[2] memory minAmounts) external payable returns(uint256 fairSupply, uint256[2] memory receivedAmounts) { return depositFor(maxAmounts, minAmounts, msg.sender); } function depositFor(uint256[2] memory maxAmounts, uint256[2] memory minAmounts, address target) public payable nonReentrant returns(uint256 fairSupply, uint256[2] memory receivedAmounts) { IERC20[2] memory _tokens = [token0, token1]; require(msg.value == (_tokens[0].isETH() ? maxAmounts[0] : (_tokens[1].isETH() ? maxAmounts[1] : 0)), "Mooniswap: wrong value usage"); uint256 totalSupply = totalSupply(); if (totalSupply == 0) { fairSupply = _BASE_SUPPLY.mul(99); _mint(address(this), _BASE_SUPPLY); // Donate up to 1% for (uint i = 0; i < maxAmounts.length; i++) { fairSupply = Math.max(fairSupply, maxAmounts[i]); require(maxAmounts[i] > 0, "Mooniswap: amount is zero"); require(maxAmounts[i] >= minAmounts[i], "Mooniswap: minAmount not reached"); _tokens[i].uniTransferFrom(msg.sender, address(this), maxAmounts[i]); receivedAmounts[i] = maxAmounts[i]; } } else { uint256[2] memory realBalances; for (uint i = 0; i < realBalances.length; i++) { realBalances[i] = _tokens[i].uniBalanceOf(address(this)).sub(_tokens[i].isETH() ? msg.value : 0); } // Pre-compute fair supply fairSupply = type(uint256).max; for (uint i = 0; i < maxAmounts.length; i++) { fairSupply = Math.min(fairSupply, totalSupply.mul(maxAmounts[i]).div(realBalances[i])); } uint256 fairSupplyCached = fairSupply; for (uint i = 0; i < maxAmounts.length; i++) { require(maxAmounts[i] > 0, "Mooniswap: amount is zero"); uint256 amount = realBalances[i].mul(fairSupplyCached).add(totalSupply - 1).div(totalSupply); require(amount >= minAmounts[i], "Mooniswap: minAmount not reached"); _tokens[i].uniTransferFrom(msg.sender, address(this), amount); receivedAmounts[i] = _tokens[i].uniBalanceOf(address(this)).sub(realBalances[i]); fairSupply = Math.min(fairSupply, totalSupply.mul(receivedAmounts[i]).div(realBalances[i])); } uint256 _decayPeriod = decayPeriod(); // gas savings for (uint i = 0; i < maxAmounts.length; i++) { virtualBalancesForRemoval[_tokens[i]].scale(_decayPeriod, realBalances[i], totalSupply.add(fairSupply), totalSupply); virtualBalancesForAddition[_tokens[i]].scale(_decayPeriod, realBalances[i], totalSupply.add(fairSupply), totalSupply); } } require(fairSupply > 0, "Mooniswap: result is not enough"); _mint(target, fairSupply); emit Deposited(msg.sender, target, fairSupply, receivedAmounts[0], receivedAmounts[1]); } function withdraw(uint256 amount, uint256[] memory minReturns) external returns(uint256[2] memory withdrawnAmounts) { return withdrawFor(amount, minReturns, msg.sender); } function withdrawFor(uint256 amount, uint256[] memory minReturns, address payable target) public nonReentrant returns(uint256[2] memory withdrawnAmounts) { IERC20[2] memory _tokens = [token0, token1]; uint256 totalSupply = totalSupply(); uint256 _decayPeriod = decayPeriod(); // gas savings _burn(msg.sender, amount); for (uint i = 0; i < _tokens.length; i++) { IERC20 token = _tokens[i]; uint256 preBalance = token.uniBalanceOf(address(this)); uint256 value = preBalance.mul(amount).div(totalSupply); token.uniTransfer(target, value); withdrawnAmounts[i] = value; require(i >= minReturns.length || value >= minReturns[i], "Mooniswap: result is not enough"); virtualBalancesForAddition[token].scale(_decayPeriod, preBalance, totalSupply.sub(amount), totalSupply); virtualBalancesForRemoval[token].scale(_decayPeriod, preBalance, totalSupply.sub(amount), totalSupply); } emit Withdrawn(msg.sender, target, amount, withdrawnAmounts[0], withdrawnAmounts[1]); } function swap(IERC20 src, IERC20 dst, uint256 amount, uint256 minReturn, address referral) external payable returns(uint256 result) { return swapFor(src, dst, amount, minReturn, referral, msg.sender); } function swapFor(IERC20 src, IERC20 dst, uint256 amount, uint256 minReturn, address referral, address payable receiver) public payable nonReentrant whenNotShutdown returns(uint256 result) { require(msg.value == (src.isETH() ? amount : 0), "Mooniswap: wrong value usage"); Balances memory balances = Balances({ src: src.uniBalanceOf(address(this)).sub(src.isETH() ? msg.value : 0), dst: dst.uniBalanceOf(address(this)) }); uint256 confirmed; Balances memory virtualBalances; Fees memory fees = Fees({ fee: fee(), slippageFee: slippageFee() }); (confirmed, result, virtualBalances) = _doTransfers(src, dst, amount, minReturn, receiver, balances, fees); emit Swapped(msg.sender, receiver, address(src), address(dst), confirmed, result, virtualBalances.src, virtualBalances.dst, referral); _mintRewards(confirmed, result, referral, balances, fees); // Overflow of uint128 is desired volumes[src].confirmed += uint128(confirmed); volumes[src].result += uint128(result); } function _doTransfers(IERC20 src, IERC20 dst, uint256 amount, uint256 minReturn, address payable receiver, Balances memory balances, Fees memory fees) private returns(uint256 confirmed, uint256 result, Balances memory virtualBalances) { uint256 _decayPeriod = decayPeriod(); virtualBalances.src = virtualBalancesForAddition[src].current(_decayPeriod, balances.src); virtualBalances.src = Math.max(virtualBalances.src, balances.src); virtualBalances.dst = virtualBalancesForRemoval[dst].current(_decayPeriod, balances.dst); virtualBalances.dst = Math.min(virtualBalances.dst, balances.dst); src.uniTransferFrom(msg.sender, address(this), amount); confirmed = src.uniBalanceOf(address(this)).sub(balances.src); result = _getReturn(src, dst, confirmed, virtualBalances.src, virtualBalances.dst, fees.fee, fees.slippageFee); require(result > 0 && result >= minReturn, "Mooniswap: return is not enough"); dst.uniTransfer(receiver, result); // Update virtual balances to the same direction only at imbalanced state if (virtualBalances.src != balances.src) { virtualBalancesForAddition[src].set(virtualBalances.src.add(confirmed)); } if (virtualBalances.dst != balances.dst) { virtualBalancesForRemoval[dst].set(virtualBalances.dst.sub(result)); } // Update virtual balances to the opposite direction virtualBalancesForRemoval[src].update(_decayPeriod, balances.src); virtualBalancesForAddition[dst].update(_decayPeriod, balances.dst); } function _mintRewards(uint256 confirmed, uint256 result, address referral, Balances memory balances, Fees memory fees) private { (uint256 referralShare, uint256 governanceShare, address governanceFeeReceiver, address referralFeeReceiver) = mooniswapFactoryGovernance.shareParameters(); uint256 invariantRatio = uint256(1e36); invariantRatio = invariantRatio.mul(balances.src.add(confirmed)).div(balances.src); invariantRatio = invariantRatio.mul(balances.dst.sub(result)).div(balances.dst); if (invariantRatio > 1e36) { // calculate share only if invariant increased invariantRatio = invariantRatio.sqrt(); uint256 invIncrease = totalSupply().mul(invariantRatio.sub(1e18)).div(invariantRatio); if (referral != address(0)) { referralShare = invIncrease.mul(referralShare).div(MooniswapConstants._FEE_DENOMINATOR); if (referralShare > 0) { if (referralFeeReceiver != address(0)) { _mint(referralFeeReceiver, referralShare); IReferralFeeReceiver(referralFeeReceiver).updateReward(referral, referralShare); } else { _mint(referral, referralShare); } } } if (governanceFeeReceiver != address(0)) { governanceShare = invIncrease.mul(governanceShare).div(MooniswapConstants._FEE_DENOMINATOR); if (governanceShare > 0) { _mint(governanceFeeReceiver, governanceShare); } } } emit Sync(balances.src, balances.dst, fees.fee, fees.slippageFee, referralShare, governanceShare); } /* spot_ret = dx * y / x uni_ret = dx * y / (x + dx) slippage = (spot_ret - uni_ret) / spot_ret slippage = dx * dx * y / (x * (x + dx)) / (dx * y / x) slippage = dx / (x + dx) ret = uni_ret * (1 - slip_fee * slippage) ret = dx * y / (x + dx) * (1 - slip_fee * dx / (x + dx)) ret = dx * y / (x + dx) * (x + dx - slip_fee * dx) / (x + dx) x = amount * denominator dx = amount * (denominator - fee) */ function _getReturn(IERC20 src, IERC20 dst, uint256 amount, uint256 srcBalance, uint256 dstBalance, uint256 fee, uint256 slippageFee) internal view returns(uint256) { if (src > dst) { (src, dst) = (dst, src); } if (amount > 0 && src == token0 && dst == token1) { uint256 taxedAmount = amount.sub(amount.mul(fee).div(MooniswapConstants._FEE_DENOMINATOR)); uint256 srcBalancePlusTaxedAmount = srcBalance.add(taxedAmount); uint256 ret = taxedAmount.mul(dstBalance).div(srcBalancePlusTaxedAmount); uint256 feeNumerator = MooniswapConstants._FEE_DENOMINATOR.mul(srcBalancePlusTaxedAmount).sub(slippageFee.mul(taxedAmount)); uint256 feeDenominator = MooniswapConstants._FEE_DENOMINATOR.mul(srcBalancePlusTaxedAmount); return ret.mul(feeNumerator).div(feeDenominator); } } function rescueFunds(IERC20 token, uint256 amount) external nonReentrant onlyOwner { uint256 balance0 = token0.uniBalanceOf(address(this)); uint256 balance1 = token1.uniBalanceOf(address(this)); token.uniTransfer(msg.sender, amount); require(token0.uniBalanceOf(address(this)) >= balance0, "Mooniswap: access denied"); require(token1.uniBalanceOf(address(this)) >= balance1, "Mooniswap: access denied"); require(balanceOf(address(this)) >= _BASE_SUPPLY, "Mooniswap: access denied"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "../interfaces/IMooniswapFactoryGovernance.sol"; import "../libraries/LiquidVoting.sol"; import "../libraries/MooniswapConstants.sol"; import "../libraries/SafeCast.sol"; abstract contract MooniswapGovernance is ERC20, ReentrancyGuard { using Vote for Vote.Data; using LiquidVoting for LiquidVoting.Data; using VirtualVote for VirtualVote.Data; using SafeCast for uint256; event FeeVoteUpdate(address indexed user, uint256 fee, bool isDefault, uint256 amount); event SlippageFeeVoteUpdate(address indexed user, uint256 slippageFee, bool isDefault, uint256 amount); event DecayPeriodVoteUpdate(address indexed user, uint256 decayPeriod, bool isDefault, uint256 amount); IMooniswapFactoryGovernance public immutable mooniswapFactoryGovernance; LiquidVoting.Data private _fee; LiquidVoting.Data private _slippageFee; LiquidVoting.Data private _decayPeriod; constructor(IMooniswapFactoryGovernance _mooniswapFactoryGovernance) internal { mooniswapFactoryGovernance = _mooniswapFactoryGovernance; _fee.data.result = _mooniswapFactoryGovernance.defaultFee().toUint104(); _slippageFee.data.result = _mooniswapFactoryGovernance.defaultSlippageFee().toUint104(); _decayPeriod.data.result = _mooniswapFactoryGovernance.defaultDecayPeriod().toUint104(); } function fee() public view returns(uint256) { return _fee.data.current(); } function slippageFee() public view returns(uint256) { return _slippageFee.data.current(); } function decayPeriod() public view returns(uint256) { return _decayPeriod.data.current(); } function virtualFee() external view returns(uint104, uint104, uint48) { return (_fee.data.oldResult, _fee.data.result, _fee.data.time); } function virtualSlippageFee() external view returns(uint104, uint104, uint48) { return (_slippageFee.data.oldResult, _slippageFee.data.result, _slippageFee.data.time); } function virtualDecayPeriod() external view returns(uint104, uint104, uint48) { return (_decayPeriod.data.oldResult, _decayPeriod.data.result, _decayPeriod.data.time); } function feeVotes(address user) external view returns(uint256) { return _fee.votes[user].get(mooniswapFactoryGovernance.defaultFee); } function slippageFeeVotes(address user) external view returns(uint256) { return _slippageFee.votes[user].get(mooniswapFactoryGovernance.defaultSlippageFee); } function decayPeriodVotes(address user) external view returns(uint256) { return _decayPeriod.votes[user].get(mooniswapFactoryGovernance.defaultDecayPeriod); } function feeVote(uint256 vote) external { require(vote <= MooniswapConstants._MAX_FEE, "Fee vote is too high"); _fee.updateVote(msg.sender, _fee.votes[msg.sender], Vote.init(vote), balanceOf(msg.sender), totalSupply(), mooniswapFactoryGovernance.defaultFee(), _emitFeeVoteUpdate); } function slippageFeeVote(uint256 vote) external { require(vote <= MooniswapConstants._MAX_SLIPPAGE_FEE, "Slippage fee vote is too high"); _slippageFee.updateVote(msg.sender, _slippageFee.votes[msg.sender], Vote.init(vote), balanceOf(msg.sender), totalSupply(), mooniswapFactoryGovernance.defaultSlippageFee(), _emitSlippageFeeVoteUpdate); } function decayPeriodVote(uint256 vote) external { require(vote <= MooniswapConstants._MAX_DECAY_PERIOD, "Decay period vote is too high"); require(vote >= MooniswapConstants._MIN_DECAY_PERIOD, "Decay period vote is too low"); _decayPeriod.updateVote(msg.sender, _decayPeriod.votes[msg.sender], Vote.init(vote), balanceOf(msg.sender), totalSupply(), mooniswapFactoryGovernance.defaultDecayPeriod(), _emitDecayPeriodVoteUpdate); } function discardFeeVote() external { _fee.updateVote(msg.sender, _fee.votes[msg.sender], Vote.init(), balanceOf(msg.sender), totalSupply(), mooniswapFactoryGovernance.defaultFee(), _emitFeeVoteUpdate); } function discardSlippageFeeVote() external { _slippageFee.updateVote(msg.sender, _slippageFee.votes[msg.sender], Vote.init(), balanceOf(msg.sender), totalSupply(), mooniswapFactoryGovernance.defaultSlippageFee(), _emitSlippageFeeVoteUpdate); } function discardDecayPeriodVote() external { _decayPeriod.updateVote(msg.sender, _decayPeriod.votes[msg.sender], Vote.init(), balanceOf(msg.sender), totalSupply(), mooniswapFactoryGovernance.defaultDecayPeriod(), _emitDecayPeriodVoteUpdate); } function _emitFeeVoteUpdate(address account, uint256 newFee, bool isDefault, uint256 newBalance) private { emit FeeVoteUpdate(account, newFee, isDefault, newBalance); } function _emitSlippageFeeVoteUpdate(address account, uint256 newSlippageFee, bool isDefault, uint256 newBalance) private { emit SlippageFeeVoteUpdate(account, newSlippageFee, isDefault, newBalance); } function _emitDecayPeriodVoteUpdate(address account, uint256 newDecayPeriod, bool isDefault, uint256 newBalance) private { emit DecayPeriodVoteUpdate(account, newDecayPeriod, isDefault, newBalance); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal override { if (from == to) { // ignore transfers to self return; } bool updateFrom = !(from == address(0) || mooniswapFactoryGovernance.isFeeReceiver(from)); bool updateTo = !(to == address(0) || mooniswapFactoryGovernance.isFeeReceiver(to)); if (!updateFrom && !updateTo) { // mint to feeReceiver or burn from feeReceiver return; } uint256 balanceFrom = (from != address(0)) ? balanceOf(from) : 0; uint256 balanceTo = (to != address(0)) ? balanceOf(to) : 0; uint256 newTotalSupply = totalSupply() .add(from == address(0) ? amount : 0) .sub(to == address(0) ? amount : 0); ParamsHelper memory params = ParamsHelper({ from: from, to: to, updateFrom: updateFrom, updateTo: updateTo, amount: amount, balanceFrom: balanceFrom, balanceTo: balanceTo, newTotalSupply: newTotalSupply }); (uint256 defaultFee, uint256 defaultSlippageFee, uint256 defaultDecayPeriod) = mooniswapFactoryGovernance.defaults(); _updateOnTransfer(params, defaultFee, _emitFeeVoteUpdate, _fee); _updateOnTransfer(params, defaultSlippageFee, _emitSlippageFeeVoteUpdate, _slippageFee); _updateOnTransfer(params, defaultDecayPeriod, _emitDecayPeriodVoteUpdate, _decayPeriod); } struct ParamsHelper { address from; address to; bool updateFrom; bool updateTo; uint256 amount; uint256 balanceFrom; uint256 balanceTo; uint256 newTotalSupply; } function _updateOnTransfer( ParamsHelper memory params, uint256 defaultValue, function(address, uint256, bool, uint256) internal emitEvent, LiquidVoting.Data storage votingData ) private { Vote.Data memory voteFrom = votingData.votes[params.from]; Vote.Data memory voteTo = votingData.votes[params.to]; if (voteFrom.isDefault() && voteTo.isDefault() && params.updateFrom && params.updateTo) { emitEvent(params.from, voteFrom.get(defaultValue), true, params.balanceFrom.sub(params.amount)); emitEvent(params.to, voteTo.get(defaultValue), true, params.balanceTo.add(params.amount)); return; } if (params.updateFrom) { votingData.updateBalance(params.from, voteFrom, params.balanceFrom, params.balanceFrom.sub(params.amount), params.newTotalSupply, defaultValue, emitEvent); } if (params.updateTo) { votingData.updateBalance(params.to, voteTo, params.balanceTo, params.balanceTo.add(params.amount), params.newTotalSupply, defaultValue, emitEvent); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; interface IMooniswapFactoryGovernance { function shareParameters() external view returns(uint256 referralShare, uint256 governanceShare, address governanceFeeReceiver, address referralFeeReceiver); function defaults() external view returns(uint256 defaultFee, uint256 defaultSlippageFee, uint256 defaultDecayPeriod); function defaultFee() external view returns(uint256); function defaultSlippageFee() external view returns(uint256); function defaultDecayPeriod() external view returns(uint256); function referralShare() external view returns(uint256); function governanceShare() external view returns(uint256); function governanceFeeReceiver() external view returns(address); function referralFeeReceiver() external view returns(address); function isFeeReceiver(address) external view returns(bool); function isActive() external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; interface IReferralFeeReceiver { function updateReward(address referral, uint256 referralShare) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./SafeCast.sol"; import "./VirtualVote.sol"; import "./Vote.sol"; library LiquidVoting { using SafeMath for uint256; using SafeCast for uint256; using Vote for Vote.Data; using VirtualVote for VirtualVote.Data; struct Data { VirtualVote.Data data; uint256 _weightedSum; uint256 _defaultVotes; mapping(address => Vote.Data) votes; } function updateVote( LiquidVoting.Data storage self, address user, Vote.Data memory oldVote, Vote.Data memory newVote, uint256 balance, uint256 totalSupply, uint256 defaultVote, function(address, uint256, bool, uint256) emitEvent ) internal { return _update(self, user, oldVote, newVote, balance, balance, totalSupply, defaultVote, emitEvent); } function updateBalance( LiquidVoting.Data storage self, address user, Vote.Data memory oldVote, uint256 oldBalance, uint256 newBalance, uint256 newTotalSupply, uint256 defaultVote, function(address, uint256, bool, uint256) emitEvent ) internal { return _update(self, user, oldVote, newBalance == 0 ? Vote.init() : oldVote, oldBalance, newBalance, newTotalSupply, defaultVote, emitEvent); } function _update( LiquidVoting.Data storage self, address user, Vote.Data memory oldVote, Vote.Data memory newVote, uint256 oldBalance, uint256 newBalance, uint256 newTotalSupply, uint256 defaultVote, function(address, uint256, bool, uint256) emitEvent ) private { uint256 oldWeightedSum = self._weightedSum; uint256 newWeightedSum = oldWeightedSum; uint256 oldDefaultVotes = self._defaultVotes; uint256 newDefaultVotes = oldDefaultVotes; if (oldVote.isDefault()) { newDefaultVotes = newDefaultVotes.sub(oldBalance); } else { newWeightedSum = newWeightedSum.sub(oldBalance.mul(oldVote.get(defaultVote))); } if (newVote.isDefault()) { newDefaultVotes = newDefaultVotes.add(newBalance); } else { newWeightedSum = newWeightedSum.add(newBalance.mul(newVote.get(defaultVote))); } if (newWeightedSum != oldWeightedSum) { self._weightedSum = newWeightedSum; } if (newDefaultVotes != oldDefaultVotes) { self._defaultVotes = newDefaultVotes; } { uint256 newResult = newTotalSupply == 0 ? defaultVote : newWeightedSum.add(newDefaultVotes.mul(defaultVote)).div(newTotalSupply); VirtualVote.Data memory data = self.data; if (newResult != data.result) { self.data.oldResult = data.current().toUint104(); self.data.result = newResult.toUint104(); self.data.time = block.timestamp.toUint48(); } } if (!newVote.eq(oldVote)) { self.votes[user] = newVote; } emitEvent(user, newVote.get(defaultVote), newVote.isDefault(), newBalance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; library MooniswapConstants { uint256 internal constant _FEE_DENOMINATOR = 1e18; uint256 internal constant _MIN_REFERRAL_SHARE = 0.05e18; // 5% uint256 internal constant _MIN_DECAY_PERIOD = 1 minutes; uint256 internal constant _MAX_FEE = 0.01e18; // 1% uint256 internal constant _MAX_SLIPPAGE_FEE = 1e18; // 100% uint256 internal constant _MAX_SHARE = 0.1e18; // 10% uint256 internal constant _MAX_DECAY_PERIOD = 5 minutes; uint256 internal constant _DEFAULT_FEE = 0; uint256 internal constant _DEFAULT_SLIPPAGE_FEE = 1e18; // 100% uint256 internal constant _DEFAULT_REFERRAL_SHARE = 0.1e18; // 10% uint256 internal constant _DEFAULT_GOVERNANCE_SHARE = 0; uint256 internal constant _DEFAULT_DECAY_PERIOD = 1 minutes; }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; library SafeCast { function toUint216(uint256 value) internal pure returns (uint216) { require(value < 2**216, "value does not fit in 216 bits"); return uint216(value); } function toUint104(uint256 value) internal pure returns (uint104) { require(value < 2**104, "value does not fit in 104 bits"); return uint104(value); } function toUint48(uint256 value) internal pure returns (uint48) { require(value < 2**48, "value does not fit in 48 bits"); return uint48(value); } function toUint40(uint256 value) internal pure returns (uint40) { require(value < 2**40, "value does not fit in 40 bits"); return uint40(value); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; library Sqrt { // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint256 y) internal pure returns (uint256) { if (y > 3) { uint256 z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } return z; } else if (y != 0) { return 1; } else { return 0; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; library UniERC20 { using SafeMath for uint256; using SafeERC20 for IERC20; function isETH(IERC20 token) internal pure returns(bool) { return (address(token) == address(0)); } function uniBalanceOf(IERC20 token, address account) internal view returns (uint256) { if (isETH(token)) { return account.balance; } else { return token.balanceOf(account); } } function uniTransfer(IERC20 token, address payable to, uint256 amount) internal { if (amount > 0) { if (isETH(token)) { to.transfer(amount); } else { token.safeTransfer(to, amount); } } } function uniTransferFrom(IERC20 token, address payable from, address to, uint256 amount) internal { if (amount > 0) { if (isETH(token)) { require(msg.value >= amount, "UniERC20: not enough value"); require(from == msg.sender, "from is not msg.sender"); require(to == address(this), "to is not this"); if (msg.value > amount) { // Return remainder if exist from.transfer(msg.value.sub(amount)); } } else { token.safeTransferFrom(from, to, amount); } } } function uniSymbol(IERC20 token) internal view returns(string memory) { if (isETH(token)) { return "ETH"; } (bool success, bytes memory data) = address(token).staticcall{ gas: 20000 }( abi.encodeWithSignature("symbol()") ); if (!success) { (success, data) = address(token).staticcall{ gas: 20000 }( abi.encodeWithSignature("SYMBOL()") ); } if (success && data.length >= 96) { (uint256 offset, uint256 len) = abi.decode(data, (uint256, uint256)); if (offset == 0x20 && len > 0 && len <= 256) { return string(abi.decode(data, (bytes))); } } if (success && data.length == 32) { uint len = 0; while (len < data.length && data[len] >= 0x20 && data[len] <= 0x7E) { len++; } if (len > 0) { bytes memory result = new bytes(len); for (uint i = 0; i < len; i++) { result[i] = data[i]; } return string(result); } } return _toHex(address(token)); } function _toHex(address account) private pure returns(string memory) { return _toHex(abi.encodePacked(account)); } function _toHex(bytes memory data) private pure returns(string memory) { bytes memory str = new bytes(2 + data.length * 2); str[0] = "0"; str[1] = "x"; uint j = 2; for (uint i = 0; i < data.length; i++) { uint a = uint8(data[i]) >> 4; uint b = uint8(data[i]) & 0x0f; str[j++] = byte(uint8(a + 48 + (a/10)*39)); str[j++] = byte(uint8(b + 48 + (b/10)*39)); } return string(str); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/math/Math.sol"; import "./SafeCast.sol"; library VirtualBalance { using SafeMath for uint256; using SafeCast for uint256; struct Data { uint216 balance; uint40 time; } function set(VirtualBalance.Data storage self, uint256 balance) internal { self.balance = balance.toUint216(); self.time = block.timestamp.toUint40(); } function update(VirtualBalance.Data storage self, uint256 decayPeriod, uint256 realBalance) internal { set(self, current(self, decayPeriod, realBalance)); } function scale(VirtualBalance.Data storage self, uint256 decayPeriod, uint256 realBalance, uint256 num, uint256 denom) internal { set(self, current(self, decayPeriod, realBalance).mul(num).add(denom.sub(1)).div(denom)); } function current(VirtualBalance.Data memory self, uint256 decayPeriod, uint256 realBalance) internal view returns(uint256) { uint256 timePassed = Math.min(decayPeriod, block.timestamp.sub(self.time)); uint256 timeRemain = decayPeriod.sub(timePassed); return uint256(self.balance).mul(timeRemain).add( realBalance.mul(timePassed) ).div(decayPeriod); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; library VirtualVote { using SafeMath for uint256; uint256 private constant _VOTE_DECAY_PERIOD = 1 days; struct Data { uint104 oldResult; uint104 result; uint48 time; } function current(VirtualVote.Data memory self) internal view returns(uint256) { uint256 timePassed = Math.min(_VOTE_DECAY_PERIOD, block.timestamp.sub(self.time)); uint256 timeRemain = _VOTE_DECAY_PERIOD.sub(timePassed); return uint256(self.oldResult).mul(timeRemain).add( uint256(self.result).mul(timePassed) ).div(_VOTE_DECAY_PERIOD); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; library Vote { struct Data { uint256 value; } function eq(Vote.Data memory self, Vote.Data memory vote) internal pure returns(bool) { return self.value == vote.value; } function init() internal pure returns(Vote.Data memory data) { return Vote.Data({ value: 0 }); } function init(uint256 vote) internal pure returns(Vote.Data memory data) { return Vote.Data({ value: vote + 1 }); } function isDefault(Data memory self) internal pure returns(bool) { return self.value == 0; } function get(Data memory self, uint256 defaultVote) internal pure returns(uint256) { if (self.value > 0) { return self.value - 1; } return defaultVote; } function get(Data memory self, function() external view returns(uint256) defaultVoteFn) internal view returns(uint256) { if (self.value > 0) { return self.value - 1; } return defaultVoteFn(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "../GSN/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "../../GSN/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.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 pragma solidity ^0.6.0; import "./IERC20.sol"; import "../../math/SafeMath.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 SafeMath for uint256; 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' // solhint-disable-next-line max-line-length 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).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _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 // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 10000 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_token0","type":"address"},{"internalType":"contract IERC20","name":"_token1","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"contract IMooniswapFactoryGovernance","name":"_mooniswapFactoryGovernance","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"decayPeriod","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isDefault","type":"bool"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DecayPeriodVoteUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token0Amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token1Amount","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isDefault","type":"bool"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeeVoteUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"slippageFee","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isDefault","type":"bool"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SlippageFeeVoteUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"srcToken","type":"address"},{"indexed":false,"internalType":"address","name":"dstToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"result","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"srcAdditionBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dstRemovalBalance","type":"uint256"},{"indexed":false,"internalType":"address","name":"referral","type":"address"}],"name":"Swapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"srcBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dstBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"slippageFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"referralShare","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"governanceShare","type":"uint256"}],"name":"Sync","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token0Amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token1Amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decayPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vote","type":"uint256"}],"name":"decayPeriodVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"decayPeriodVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"maxAmounts","type":"uint256[2]"},{"internalType":"uint256[2]","name":"minAmounts","type":"uint256[2]"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"fairSupply","type":"uint256"},{"internalType":"uint256[2]","name":"receivedAmounts","type":"uint256[2]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"maxAmounts","type":"uint256[2]"},{"internalType":"uint256[2]","name":"minAmounts","type":"uint256[2]"},{"internalType":"address","name":"target","type":"address"}],"name":"depositFor","outputs":[{"internalType":"uint256","name":"fairSupply","type":"uint256"},{"internalType":"uint256[2]","name":"receivedAmounts","type":"uint256[2]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"discardDecayPeriodVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"discardFeeVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"discardSlippageFeeVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vote","type":"uint256"}],"name":"feeVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"feeVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"getBalanceForAddition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"getBalanceForRemoval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"src","type":"address"},{"internalType":"contract IERC20","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getReturn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokens","outputs":[{"internalType":"contract IERC20[]","name":"tokens","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mooniswapFactoryGovernance","outputs":[{"internalType":"contract IMooniswapFactoryGovernance","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slippageFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vote","type":"uint256"}],"name":"slippageFeeVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"slippageFeeVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"src","type":"address"},{"internalType":"contract IERC20","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"address","name":"referral","type":"address"}],"name":"swap","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"src","type":"address"},{"internalType":"contract IERC20","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"address","name":"referral","type":"address"},{"internalType":"address payable","name":"receiver","type":"address"}],"name":"swapFor","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"virtualBalancesForAddition","outputs":[{"internalType":"uint216","name":"balance","type":"uint216"},{"internalType":"uint40","name":"time","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"virtualBalancesForRemoval","outputs":[{"internalType":"uint216","name":"balance","type":"uint216"},{"internalType":"uint40","name":"time","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"virtualDecayPeriod","outputs":[{"internalType":"uint104","name":"","type":"uint104"},{"internalType":"uint104","name":"","type":"uint104"},{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"virtualFee","outputs":[{"internalType":"uint104","name":"","type":"uint104"},{"internalType":"uint104","name":"","type":"uint104"},{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"virtualSlippageFee","outputs":[{"internalType":"uint104","name":"","type":"uint104"},{"internalType":"uint104","name":"","type":"uint104"},{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"volumes","outputs":[{"internalType":"uint128","name":"confirmed","type":"uint128"},{"internalType":"uint128","name":"result","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256[]","name":"minReturns","type":"uint256[]"}],"name":"withdraw","outputs":[{"internalType":"uint256[2]","name":"withdrawnAmounts","type":"uint256[2]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256[]","name":"minReturns","type":"uint256[]"},{"internalType":"address payable","name":"target","type":"address"}],"name":"withdrawFor","outputs":[{"internalType":"uint256[2]","name":"withdrawnAmounts","type":"uint256[2]"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040523480156200001157600080fd5b5060405162005ab138038062005ab1833981810160405260a08110156200003757600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006357600080fd5b9083019060208201858111156200007957600080fd5b82516401000000008111828201881017156200009457600080fd5b82525081516020918201929091019080838360005b83811015620000c3578181015183820152602001620000a9565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b9083019060208201858111156200012b57600080fd5b82516401000000008111828201881017156200014657600080fd5b82525081516020918201929091019080838360005b83811015620001755781810151838201526020016200015b565b50505050905090810190601f168015620001a35780820380516001836020036101000a031916815260200191505b50604052602090810151855190935083925085918591620001cb916003919085019062000584565b508051620001e190600490602084019062000584565b50506005805460ff191660121790555060016006556001600160601b0319606082901b16608052604080516305a6c72d60e41b815290516200028f916001600160a01b03841691635a6c72d091600480820192602092909190829003018186803b1580156200024f57600080fd5b505afa15801562000264573d6000803e3d6000fd5b505050506040513d60208110156200027b57600080fd5b505162000521602090811b62002f8617901c565b6007600001600001600d6101000a8154816001600160681b0302191690836001600160681b03160217905550620002f9816001600160a01b03166323662bb96040518163ffffffff1660e01b815260040160206040518083038186803b1580156200024f57600080fd5b600b600001600001600d6101000a8154816001600160681b0302191690836001600160681b0316021790555062000363816001600160a01b0316631845f0db6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200024f57600080fd5b600f80546001600160681b0392909216600160681b02600160681b600160d01b03199092169190911790555060006200039b62000580565b601380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600083511162000440576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206e616d6520697320656d7074790000000000000000604482015290519081900360640190fd5b600082511162000497576040805162461bcd60e51b815260206004820152601a60248201527f4d6f6f6e69737761703a2073796d626f6c20697320656d707479000000000000604482015290519081900360640190fd5b836001600160a01b0316856001600160a01b03161415620004ff576040805162461bcd60e51b815260206004820152601b60248201527f4d6f6f6e69737761703a206475706c696361746520746f6b656e730000000000604482015290519081900360640190fd5b5050506001600160601b0319606092831b811660a052911b1660c05262000616565b6000600160681b82106200057c576040805162461bcd60e51b815260206004820152601e60248201527f76616c756520646f6573206e6f742066697420696e2031303420626974730000604482015290519081900360640190fd5b5090565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005c757805160ff1916838001178555620005f7565b82800160010185558215620005f7579182015b82811115620005f7578251825591602001919060010190620005da565b506200057c9291505b808211156200057c576000815560010162000600565b60805160601c60a05160601c60c05160601c6153e8620006c9600039806114aa52806117535280611aac5280611b7d5280611ed15280612601528061268e52806132285250806110ad528061148552806117235280611a755280611af65280611eac52806125b352806131eb525080610ff7528061116b5280611c905280611d255280611dfe528061276e528061288f5280612d515280613ffd52806145b5528061466552806147ff52506153e86000f3fe6080604052600436106103085760003560e01c806378e3214f1161019a578063d21220a7116100e1578063e331d0391161008a578063f1ea604211610064578063f1ea604214610df6578063f2fde38b14610e0b578063f76d13b414610e3e57610308565b8063e331d03914610d4f578063e7ff42c914610d99578063eaadf84814610dcc57610308565b8063d9a0c217116100bb578063d9a0c21714610cea578063dd62ed3e14610cff578063ddca3f4314610d3a57610308565b8063d21220a714610c5e578063d5bcb9b514610c73578063d7d3aab514610cb757610308565b80639aad141b11610143578063a9059cbb1161011d578063a9059cbb14610b63578063aa6ca80814610b9c578063b1ec4c4014610bea57610308565b80639aad141b14610a7a5780639ea5ce0a14610aad578063a457c2d714610b2a57610308565b806393028d831161017457806393028d8314610a1d57806395cad3c714610a3257806395d89b4114610a6557610308565b806378e3214f1461099c5780637e82a6f3146109d55780638da5cb5b14610a0857610308565b8063313ce5671161025e5780635915d806116102075780636edc2c09116101e15780636edc2c091461092157806370a0823114610954578063715018a61461098757610308565b80635915d806146107e55780635ed9156d1461089c5780636669302a1461090c57610308565b80633c6216a6116102385780633c6216a6146106a957806348d67e1b146107a65780634f64b2be146107bb57610308565b8063313ce567146106305780633732b3941461065b578063395093511461067057610308565b806311212d66116102c057806323b872dd1161029a57806323b872dd1461052257806323e8cae1146105655780633049105d1461057a57610308565b806311212d661461048e57806318160ddd146104b85780631e1401f8146104df57610308565b806307a80070116102f157806307a80070146103e4578063095ea7b3146104105780630dfe16811461045d57610308565b80630146081f1461030d57806306fdde031461035a575b600080fd5b34801561031957600080fd5b50610322610e53565b604080516cffffffffffffffffffffffffff948516815292909316602083015265ffffffffffff168183015290519081900360600190f35b34801561036657600080fd5b5061036f610ea6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103a9578181015183820152602001610391565b50505050905090810190601f1680156103d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103f057600080fd5b5061040e6004803603602081101561040757600080fd5b5035610f5a565b005b34801561041c57600080fd5b506104496004803603604081101561043357600080fd5b506001600160a01b03813516906020013561108d565b604080519115158252519081900360200190f35b34801561046957600080fd5b506104726110ab565b604080516001600160a01b039092168252519081900360200190f35b34801561049a57600080fd5b5061040e600480360360208110156104b157600080fd5b50356110cf565b3480156104c457600080fd5b506104cd6111fe565b60408051918252519081900360200190f35b3480156104eb57600080fd5b506104cd6004803603606081101561050257600080fd5b506001600160a01b03813581169160208101359091169060400135611204565b34801561052e57600080fd5b506104496004803603606081101561054557600080fd5b506001600160a01b0381358116916020810135909116906040013561123d565b34801561057157600080fd5b506103226112c4565b6105ee6004803603608081101561059057600080fd5b6040805180820182529183019291818301918390600290839083908082843760009201919091525050604080518082018252929594938181019392509060029083908390808284376000920191909152509194506113179350505050565b6040518083815260200182600260200280838360005b8381101561061c578181015183820152602001610604565b505050509050019250505060405180910390f35b34801561063c57600080fd5b50610645611337565b6040805160ff9092168252519081900360200190f35b34801561066757600080fd5b506104cd611340565b34801561067c57600080fd5b506104496004803603604081101561069357600080fd5b506001600160a01b0381351690602001356113b5565b3480156106b557600080fd5b5061076b600480360360608110156106cc57600080fd5b813591908101906040810160208201356401000000008111156106ee57600080fd5b82018360208201111561070057600080fd5b8035906020019184602083028401116401000000008311171561072257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b031691506114039050565b6040518082600260200280838360005b8381101561079357818101518382015260200161077b565b5050505090500191505060405180910390f35b3480156107b257600080fd5b506104cd6116a9565b3480156107c757600080fd5b50610472600480360360208110156107de57600080fd5b5035611719565b3480156107f157600080fd5b5061076b6004803603604081101561080857600080fd5b8135919081019060408101602082013564010000000081111561082a57600080fd5b82018360208201111561083c57600080fd5b8035906020019184602083028401116401000000008311171561085e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506117c9945050505050565b3480156108a857600080fd5b506108cf600480360360208110156108bf57600080fd5b50356001600160a01b03166117dc565b604080517affffffffffffffffffffffffffffffffffffffffffffffffffffff909316835264ffffffffff90911660208301528051918290030190f35b34801561091857600080fd5b5061040e611833565b34801561092d57600080fd5b506108cf6004803603602081101561094457600080fd5b50356001600160a01b0316611861565b34801561096057600080fd5b506104cd6004803603602081101561097757600080fd5b50356001600160a01b03166118b8565b34801561099357600080fd5b5061040e6118d3565b3480156109a857600080fd5b5061040e600480360360408110156109bf57600080fd5b506001600160a01b03813516906020013561199f565b3480156109e157600080fd5b506104cd600480360360208110156109f857600080fd5b50356001600160a01b0316611c60565b348015610a1457600080fd5b50610472611cba565b348015610a2957600080fd5b5061040e611cc9565b348015610a3e57600080fd5b506104cd60048036036020811015610a5557600080fd5b50356001600160a01b0316611cf5565b348015610a7157600080fd5b5061036f611d4f565b348015610a8657600080fd5b506104cd60048036036020811015610a9d57600080fd5b50356001600160a01b0316611dce565b6105ee600480360360a0811015610ac357600080fd5b6040805180820182529183019291818301918390600290839083908082843760009201919091525050604080518082018252929594938181019392509060029083908390808284376000920191909152509194505050356001600160a01b03169050611e28565b348015610b3657600080fd5b5061044960048036036040811015610b4d57600080fd5b506001600160a01b038135169060200135612515565b348015610b6f57600080fd5b5061044960048036036040811015610b8657600080fd5b506001600160a01b03813516906020013561257d565b348015610ba857600080fd5b50610bb1612591565b6040805160208082528351818301528351919283929083019185810191028083836000831561061c578181015183820152602001610604565b348015610bf657600080fd5b50610c1d60048036036020811015610c0d57600080fd5b50356001600160a01b0316612650565b60405180836fffffffffffffffffffffffffffffffff168152602001826fffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b348015610c6a57600080fd5b5061047261268c565b6104cd600480360360a0811015610c8957600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013591608090910135166126b0565b348015610cc357600080fd5b506104cd60048036036020811015610cda57600080fd5b50356001600160a01b03166126ca565b348015610cf657600080fd5b5061047261276c565b348015610d0b57600080fd5b506104cd60048036036040811015610d2257600080fd5b506001600160a01b0381358116916020013516612790565b348015610d4657600080fd5b506104cd6127bb565b6104cd600480360360c0811015610d6557600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013591608082013581169160a001351661282b565b348015610da557600080fd5b506104cd60048036036020811015610dbc57600080fd5b50356001600160a01b0316612bc2565b348015610dd857600080fd5b5061040e60048036036020811015610def57600080fd5b5035612c64565b348015610e0257600080fd5b50610322612de4565b348015610e1757600080fd5b5061040e60048036036020811015610e2e57600080fd5b50356001600160a01b0316612e37565b348015610e4a57600080fd5b5061040e612f5a565b600f546cffffffffffffffffffffffffff808216926d01000000000000000000000000008304909116917a010000000000000000000000000000000000000000000000000000900465ffffffffffff1690565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f505780601f10610f2557610100808354040283529160200191610f50565b820191906000526020600020905b815481529060010190602001808311610f3357829003601f168201915b5050505050905090565b670de0b6b3a7640000811115610fb7576040805162461bcd60e51b815260206004820152601d60248201527f536c6970706167652066656520766f746520697320746f6f2068696768000000604482015290519081900360640190fd5b336000818152600e602090815260409182902082519182019092529054815261108a9190610fe484612fee565b610fed336118b8565b610ff56111fe565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323662bb96040518163ffffffff1660e01b815260040160206040518083038186803b15801561104e57600080fd5b505afa158015611062573d6000803e3d6000fd5b505050506040513d602081101561107857600080fd5b5051600b95949392919061300d613060565b50565b60006110a161109a61307b565b848461307f565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b662386f26fc1000081111561112b576040805162461bcd60e51b815260206004820152601460248201527f46656520766f746520697320746f6f2068696768000000000000000000000000604482015290519081900360640190fd5b336000818152600a602090815260409182902082519182019092529054815261108a919061115884612fee565b611161336118b8565b6111696111fe565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635a6c72d06040518163ffffffff1660e01b815260040160206040518083038186803b1580156111c257600080fd5b505afa1580156111d6573d6000803e3d6000fd5b505050506040513d60208110156111ec57600080fd5b5051600795949392919061316b613060565b60025490565b6000611233848484611215886126ca565b61121e88612bc2565b6112266127bb565b61122e611340565b6131be565b90505b9392505050565b600061124a8484846132ff565b6112ba8461125661307b565b6112b5856040518060600160405280602881526020016152d2602891396001600160a01b038a1660009081526001602052604081209061129461307b565b6001600160a01b03168152602081019190915260400160002054919061345a565b61307f565b5060019392505050565b600b546cffffffffffffffffffffffffff808216926d01000000000000000000000000008304909116917a010000000000000000000000000000000000000000000000000000900465ffffffffffff1690565b6000611321615137565b61132c848433611e28565b915091509250929050565b60055460ff1690565b60408051606081018252600b546cffffffffffffffffffffffffff80821683526d010000000000000000000000000082041660208301527a010000000000000000000000000000000000000000000000000000900465ffffffffffff16918101919091526000906113b0906134f1565b905090565b60006110a16113c261307b565b846112b585600160006113d361307b565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490613580565b61140b615137565b60026006541415611463576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655611470615137565b50604080518082019091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000000000000000000000000000000000000000000016602082015260006114d96111fe565b905060006114e56116a9565b90506114f133886135da565b60005b600281101561164657600084826002811061150b57fe5b6020020151905060006115276001600160a01b038316306136d6565b9050600061153f86611539848e613777565b906137d0565b90506115556001600160a01b0384168a83613812565b8088856002811061156257fe5b602002015289518410158061158a575089848151811061157e57fe5b60200260200101518110155b6115db576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b61160b85836115ea898f61387b565b6001600160a01b03871660009081526015602052604090209291908a6138bd565b61163b858361161a898f61387b565b6001600160a01b03871660009081526016602052604090209291908a6138bd565b5050506001016114f4565b508351602080860151604080518b8152928301939093528183015290516001600160a01b0387169133917f3cae9923fd3c2f468aa25a8ef687923e37f957459557c0380fd06526c0b8cdbc9181900360600190a350506001600655509392505050565b60408051606081018252600f546cffffffffffffffffffffffffff80821683526d010000000000000000000000000082041660208301527a010000000000000000000000000000000000000000000000000000900465ffffffffffff16918101919091526000906113b0906134f1565b60008161174757507f00000000000000000000000000000000000000000000000000000000000000006117c4565b816001141561177757507f00000000000000000000000000000000000000000000000000000000000000006117c4565b6040805162461bcd60e51b815260206004820152601360248201527f506f6f6c206861732074776f20746f6b656e7300000000000000000000000000604482015290519081900360640190fd5b919050565b6117d1615137565b611236838333611403565b6016602052600090815260409020547affffffffffffffffffffffffffffffffffffffffffffffffffffff8116907b01000000000000000000000000000000000000000000000000000000900464ffffffffff1682565b336000818152600e602090815260409182902082519182019092529054815261185f9190610fe461394d565b565b6015602052600090815260409020547affffffffffffffffffffffffffffffffffffffffffffffffffffff8116907b01000000000000000000000000000000000000000000000000000000900464ffffffffff1682565b6001600160a01b031660009081526020819052604090205490565b6118db61307b565b6013546001600160a01b0390811691161461193d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6013546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600260065414156119f7576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655611a0461307b565b6013546001600160a01b03908116911614611a66576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000611a9b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016306136d6565b90506000611ad26001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016306136d6565b9050611ae86001600160a01b0385163385613812565b81611b1c6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016306136d6565b1015611b6f576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206163636573732064656e6965640000000000000000604482015290519081900360640190fd5b80611ba36001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016306136d6565b1015611bf6576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206163636573732064656e6965640000000000000000604482015290519081900360640190fd5b6103e8611c02306118b8565b1015611c55576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206163636573732064656e6965640000000000000000604482015290519081900360640190fd5b505060016006555050565b6001600160a01b038181166000908152601260209081526040808320815192830190915254815290916110a591907f000000000000000000000000000000000000000000000000000000000000000016631845f0db613968565b6013546001600160a01b031690565b336000818152600a602090815260409182902082519182019092529054815261185f919061115861394d565b6001600160a01b038181166000908152600e60209081526040808320815192830190915254815290916110a591907f0000000000000000000000000000000000000000000000000000000000000000166323662bb9613968565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f505780601f10610f2557610100808354040283529160200191610f50565b6001600160a01b038181166000908152600a60209081526040808320815192830190915254815290916110a591907f000000000000000000000000000000000000000000000000000000000000000016635a6c72d0613968565b6000611e32615137565b60026006541415611e8a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655611e97615137565b50604080518082019091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f0000000000000000000000000000000000000000000000000000000000000000166020820152611f108160005b60200201516001600160a01b03166139fc565b611f3557611f1f816001611efd565b611f2a576000611f30565b60208601515b611f38565b85515b3414611f8b576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b6000611f956111fe565b90508061212157611fa96103e86063613777565b9350611fb7306103e8613a09565b60005b600281101561211b57611fdd85898360028110611fd357fe5b6020020151613af9565b94506000888260028110611fed57fe5b602002015111612044576040805162461bcd60e51b815260206004820152601960248201527f4d6f6f6e69737761703a20616d6f756e74206973207a65726f00000000000000604482015290519081900360640190fd5b86816002811061205057fe5b602002015188826002811061206157fe5b602002015110156120b9576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206d696e416d6f756e74206e6f742072656163686564604482015290519081900360640190fd5b6120f133308a84600281106120ca57fe5b60200201518685600281106120db57fe5b60200201516001600160a01b0316929190613b10565b8781600281106120fd57fe5b602002015184826002811061210e57fe5b6020020152600101611fba565b50612452565b612129615137565b60005b60028110156121975761217e612147858360028110611efd57fe5b612152576000612154565b345b6121783087856002811061216457fe5b60200201516001600160a01b0316906136d6565b9061387b565b82826002811061218a57fe5b602002015260010161212c565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff945060005b6002811015612209576121ff866121fa8484600281106121da57fe5b60200201516115398d86600281106121ee57fe5b60200201518890613777565b613c9c565b95506001016121be565b508460005b60028110156123965760008a826002811061222557fe5b60200201511161227c576040805162461bcd60e51b815260206004820152601960248201527f4d6f6f6e69737761703a20616d6f756e74206973207a65726f00000000000000604482015290519081900360640190fd5b60006122aa85611539600188036122a48789886002811061229957fe5b602002015190613777565b90613580565b90508982600281106122b857fe5b6020020151811015612311576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206d696e416d6f756e74206e6f742072656163686564604482015290519081900360640190fd5b6123233330838986600281106120db57fe5b61234784836002811061233257fe5b60200201516121783089866002811061216457fe5b87836002811061235357fe5b602002015261238b886121fa86856002811061236b57fe5b60200201516115398b876002811061237f57fe5b60200201518a90613777565b97505060010161220e565b5060006123a16116a9565b905060005b600281101561244d57612415828583600281106123bf57fe5b60200201516123ce888c613580565b88601660008c88600281106123df57fe5b60200201516001600160a01b03166001600160a01b031681526020019081526020016000206138bd90949392919063ffffffff16565b6124458285836002811061242557fe5b6020020151612434888c613580565b88601560008c88600281106123df57fe5b6001016123a6565b505050505b600084116124a7576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b6124b18585613a09565b825160208085015160408051888152928301939093528183015290516001600160a01b0387169133917f8bab6aed5a508937051a144e61d6e61336834a66aaee250a00613ae6f744c4229181900360600190a3505060016006559094909350915050565b60006110a161252261307b565b846112b58560405180606001604052806025815260200161538e602591396001600061254c61307b565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061345a565b60006110a161258a61307b565b84846132ff565b60408051600280825260608083018452926020830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106125df57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061262d57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6014602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006126c086868686863361282b565b9695505050505050565b6000806126e06001600160a01b038416306136d6565b90506112366127666126f06116a9565b6001600160a01b0386166000908152601560209081526040918290208251808401909352547affffffffffffffffffffffffffffffffffffffffffffffffffffff811683527b01000000000000000000000000000000000000000000000000000000900464ffffffffff16908201529084613cab565b82613af9565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b604080516060810182526007546cffffffffffffffffffffffffff80821683526d010000000000000000000000000082041660208301527a010000000000000000000000000000000000000000000000000000900465ffffffffffff16918101919091526000906113b0906134f1565b600060026006541415612885576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026006819055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166322f3e2d46040518163ffffffff1660e01b815260040160206040518083038186803b1580156128e657600080fd5b505afa1580156128fa573d6000803e3d6000fd5b505050506040513d602081101561291057600080fd5b5051612963576040805162461bcd60e51b815260206004820152601b60248201527f4d6f6f6e69737761703a20666163746f72792073687574646f776e0000000000604482015290519081900360640190fd5b612975876001600160a01b03166139fc565b612980576000612982565b845b34146129d5576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b6129dd615155565b6040518060400160405280612a1d6129fd8b6001600160a01b03166139fc565b612a08576000612a0a565b345b6121786001600160a01b038d16306136d6565b8152602001612a356001600160a01b038a16306136d6565b905290506000612a43615155565b612a4b615155565b6040518060400160405280612a5e6127bb565b8152602001612a6b611340565b90529050612a7e8b8b8b8b8a8987613d1a565b8094508197508295505050508a6001600160a01b0316866001600160a01b0316336001600160a01b03167fbd99c6719f088aa0abd9e7b7a4a635d1f931601e9f304b538dc42be25d8c65c68d878a886000015189602001518f60405180876001600160a01b03168152602001868152602001858152602001848152602001838152602001826001600160a01b03168152602001965050505050505060405180910390a4612b2e8386898785613ff5565b50506001600160a01b03909816600090815260146020526040902080547001000000000000000000000000000000006fffffffffffffffffffffffffffffffff808316909b018b167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091178181048b1685018b1690910299169890981790975560016006559695505050505050565b600080612bd86001600160a01b038416306136d6565b9050611236612c5e612be86116a9565b6001600160a01b0386166000908152601660209081526040918290208251808401909352547affffffffffffffffffffffffffffffffffffffffffffffffffffff811683527b01000000000000000000000000000000000000000000000000000000900464ffffffffff16908201529084613cab565b82613c9c565b61012c811115612cbb576040805162461bcd60e51b815260206004820152601d60248201527f446563617920706572696f6420766f746520697320746f6f2068696768000000604482015290519081900360640190fd5b603c811015612d11576040805162461bcd60e51b815260206004820152601c60248201527f446563617920706572696f6420766f746520697320746f6f206c6f7700000000604482015290519081900360640190fd5b3360008181526012602090815260409182902082519182019092529054815261108a9190612d3e84612fee565b612d47336118b8565b612d4f6111fe565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631845f0db6040518163ffffffff1660e01b815260040160206040518083038186803b158015612da857600080fd5b505afa158015612dbc573d6000803e3d6000fd5b505050506040513d6020811015612dd257600080fd5b5051600f959493929190614291613060565b6007546cffffffffffffffffffffffffff808216926d01000000000000000000000000008304909116917a010000000000000000000000000000000000000000000000000000900465ffffffffffff1690565b612e3f61307b565b6013546001600160a01b03908116911614612ea1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116612ee65760405162461bcd60e51b81526004018080602001828103825260268152602001806152436026913960400191505060405180910390fd5b6013546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b3360008181526012602090815260409182902082519182019092529054815261185f9190612d3e61394d565b60006d01000000000000000000000000008210612fea576040805162461bcd60e51b815260206004820152601e60248201527f76616c756520646f6573206e6f742066697420696e2031303420626974730000604482015290519081900360640190fd5b5090565b612ff661516f565b506040805160208101909152600182018152919050565b60408051848152831515602082015280820183905290516001600160a01b038616917fce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240919081900360600190a250505050565b6130718888888888898989896142e4565b5050505050505050565b3390565b6001600160a01b0383166130c45760405162461bcd60e51b81526004018080602001828103825260248152602001806153406024913960400191505060405180910390fd5b6001600160a01b0382166131095760405162461bcd60e51b81526004018080602001828103825260228152602001806152696022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60408051848152831515602082015280820183905290516001600160a01b038616917fe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac919081900360600190a250505050565b6000866001600160a01b0316886001600160a01b031611156131de579596955b60008611801561321f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b0316145b801561325c57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316876001600160a01b0316145b156132f457600061328361327c670de0b6b3a76400006115398a88613777565b889061387b565b905060006132918783613580565b905060006132a382611539858a613777565b905060006132c66132b48786613777565b612178670de0b6b3a764000086613777565b905060006132dc670de0b6b3a764000085613777565b90506132ec816115398585613777565b955050505050505b979650505050505050565b6001600160a01b0383166133445760405162461bcd60e51b815260040180806020018281038252602581526020018061531b6025913960400191505060405180910390fd5b6001600160a01b0382166133895760405162461bcd60e51b81526004018080602001828103825260238152602001806151fe6023913960400191505060405180910390fd5b613394838383614581565b6133d18160405180606001604052806026815260200161528b602691396001600160a01b038616600090815260208190526040902054919061345a565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546134009082613580565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156134e95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134ae578181015183820152602001613496565b50505050905090810190601f1680156134db5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008061351a620151806121fa856040015165ffffffffffff164261387b90919063ffffffff16565b9050600061352b620151808361387b565b90506135786201518061153961355d8588602001516cffffffffffffffffffffffffff1661377790919063ffffffff16565b87516122a4906cffffffffffffffffffffffffff1686613777565b949350505050565b600082820183811015611236576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03821661361f5760405162461bcd60e51b81526004018080602001828103825260218152602001806152fa6021913960400191505060405180910390fd5b61362b82600083614581565b61366881604051806060016040528060228152602001615221602291396001600160a01b038516600090815260208190526040902054919061345a565b6001600160a01b03831660009081526020819052604090205560025461368e908261387b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006136e1836139fc565b156136f757506001600160a01b038116316110a5565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561374457600080fd5b505afa158015613758573d6000803e3d6000fd5b505050506040513d602081101561376e57600080fd5b505190506110a5565b600082613786575060006110a5565b8282028284828161379357fe5b04146112365760405162461bcd60e51b81526004018080602001828103825260218152602001806152b16021913960400191505060405180910390fd5b600061123683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506148d1565b801561387657613821836139fc565b15613862576040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561385c573d6000803e3d6000fd5b50613876565b6138766001600160a01b0384168383614936565b505050565b600061123683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061345a565b61394685613941836115396138d382600161387b565b604080518082019091528b547affffffffffffffffffffffffffffffffffffffffffffffffffffff811682527b01000000000000000000000000000000000000000000000000000000900464ffffffffff1660208201526122a490899061393b908d8d613cab565b90613777565b6149b6565b5050505050565b61395561516f565b5060408051602081019091526000815290565b82516000901561399c575082517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01611236565b82826040518163ffffffff1660e01b815260040160206040518083038186803b1580156139c857600080fd5b505afa1580156139dc573d6000803e3d6000fd5b505050506040513d60208110156139f257600080fd5b5051949350505050565b6001600160a01b03161590565b6001600160a01b038216613a64576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b613a7060008383614581565b600254613a7d9082613580565b6002556001600160a01b038216600090815260208190526040902054613aa39082613580565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081831015613b095781611236565b5090919050565b8015613c9657613b1f846139fc565b15613c815780341015613b79576040805162461bcd60e51b815260206004820152601a60248201527f556e6945524332303a206e6f7420656e6f7567682076616c7565000000000000604482015290519081900360640190fd5b6001600160a01b0383163314613bd6576040805162461bcd60e51b815260206004820152601660248201527f66726f6d206973206e6f74206d73672e73656e64657200000000000000000000604482015290519081900360640190fd5b6001600160a01b0382163014613c33576040805162461bcd60e51b815260206004820152600e60248201527f746f206973206e6f742074686973000000000000000000000000000000000000604482015290519081900360640190fd5b80341115613c7c576001600160a01b0383166108fc613c52348461387b565b6040518115909202916000818181858888f19350505050158015613c7a573d6000803e3d6000fd5b505b613c96565b613c966001600160a01b038516848484614a5f565b50505050565b6000818310613b095781611236565b600080613cd0846121fa876020015164ffffffffff164261387b90919063ffffffff16565b90506000613cde858361387b565b90506126c085611539613cf18786613777565b89516122a4907affffffffffffffffffffffffffffffffffffffffffffffffffffff1686613777565b600080613d25615155565b6000613d2f6116a9565b86516001600160a01b038d166000908152601560209081526040918290208251808401909352547affffffffffffffffffffffffffffffffffffffffffffffffffffff811683527b01000000000000000000000000000000000000000000000000000000900464ffffffffff1690820152919250613daf91908390613cab565b8083528651613dbe9190613af9565b82526020868101516001600160a01b038c166000908152601683526040908190208151808301909252547affffffffffffffffffffffffffffffffffffffffffffffffffffff811682527b01000000000000000000000000000000000000000000000000000000900464ffffffffff1692810192909252613e4191908390613cab565b6020808401829052870151613e569190613c9c565b6020830152613e706001600160a01b038c1633308c613b10565b8551613e89906121786001600160a01b038e16306136d6565b9350613eaa8b8b86856000015186602001518a600001518b602001516131be565b9250600083118015613ebc5750878310155b613f0d576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2072657475726e206973206e6f7420656e6f75676800604482015290519081900360640190fd5b613f216001600160a01b038b168885613812565b8551825114613f58578151613f5890613f3a9086613580565b6001600160a01b038d166000908152601560205260409020906149b6565b8560200151826020015114613f98576020820151613f9890613f7a908561387b565b6001600160a01b038c166000908152601660205260409020906149b6565b85516001600160a01b038c166000908152601660205260409020613fbd918390614ae7565b6020808701516001600160a01b038c16600090815260159092526040909120613fe7918390614ae7565b509750975097945050505050565b6000806000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663172886e76040518163ffffffff1660e01b815260040160806040518083038186803b15801561405457600080fd5b505afa158015614068573d6000803e3d6000fd5b505050506040513d608081101561407e57600080fd5b5080516020820151604083015160609093015189519297509095509193509091506ec097ce7bc90715b34b9f1000000000906140c8906115396140c1828e613580565b8490613777565b60208801519091506140e1906115396140c1828d61387b565b90506ec097ce7bc90715b34b9f10000000008111156142275761410381614b4f565b905060006141288261153961412082670de0b6b3a764000061387b565b61393b6111fe565b90506001600160a01b038916156141ee5761414f670de0b6b3a76400006115398389613777565b955085156141ee576001600160a01b038316156141e4576141708387613a09565b826001600160a01b0316631a3991258a886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156141c757600080fd5b505af11580156141db573d6000803e3d6000fd5b505050506141ee565b6141ee8987613a09565b6001600160a01b0384161561422557614213670de0b6b3a76400006115398388613777565b94508415614225576142258486613a09565b505b865160208089015188518983015160408051958652938501929092528383015260608301526080820187905260a08201869052517f2a368c7f33bb86e2d999940a3989d849031aff29b750f67947e6b8e8c3d2ffd69181900360c00190a150505050505050505050565b60408051848152831515602082015280820183905290516001600160a01b038616917fd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7919081900360600190a250505050565b600189015460028a01548190806142fa8b614ba9565b1561431057614309818a61387b565b9050614331565b61432e6143276143208d89614bae565b8b90613777565b849061387b565b92505b61433a8a614ba9565b15614350576143498189613580565b9050614371565b61436e6143676143608c89614bae565b8a90613777565b8490613580565b92505b8383146143805760018d018390555b81811461438f5760028d018190555b600087156143b4576143af886115396143a8858b613777565b8790613580565b6143b6565b865b90506143c0615182565b50604080516060810182528f546cffffffffffffffffffffffffff80821683526d0100000000000000000000000000820416602083018190527a01000000000000000000000000000000000000000000000000000090910465ffffffffffff16928201929092529082146145215761443f61443a826134f1565b612f86565b8f547fffffffffffffffffffffffffffffffffffffff00000000000000000000000000166cffffffffffffffffffffffffff91909116178f5561448182612f86565b8f546cffffffffffffffffffffffffff919091166d0100000000000000000000000000027fffffffffffff00000000000000000000000000ffffffffffffffffffffffffff909116178f556144d542614be8565b8f5465ffffffffffff919091167a0100000000000000000000000000000000000000000000000000000279ffffffffffffffffffffffffffffffffffffffffffffffffffff909116178f555b5061452e90508a8c614c45565b614551576001600160a01b038c16600090815260038e01602052604090208a5190555b6145728c61455f8c89614bae565b6145688d614ba9565b8b8963ffffffff16565b50505050505050505050505050565b816001600160a01b0316836001600160a01b031614156145a057613876565b60006001600160a01b038416158061464d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b278110f856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561462057600080fd5b505afa158015614634573d6000803e3d6000fd5b505050506040513d602081101561464a57600080fd5b50515b15905060006001600160a01b03841615806146fd57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b278110f856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156146d057600080fd5b505afa1580156146e4573d6000803e3d6000fd5b505050506040513d60208110156146fa57600080fd5b50515b1590508115801561470c575080155b15614718575050613876565b60006001600160a01b03861661472f576000614738565b614738866118b8565b905060006001600160a01b03861661475157600061475a565b61475a866118b8565b9050600061479c6001600160a01b03881615614777576000614779565b865b6121786001600160a01b038b1615614792576000614794565b885b6122a46111fe565b90506147a66151a2565b6040518061010001604052808a6001600160a01b03168152602001896001600160a01b031681526020018715158152602001861515815260200188815260200185815260200184815260200183815250905060008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663edb7a6fa6040518163ffffffff1660e01b815260040160606040518083038186803b15801561485657600080fd5b505afa15801561486a573d6000803e3d6000fd5b505050506040513d606081101561488057600080fd5b508051602082015160409092015190945090925090506148a5848461316b6007614c4c565b6148b4848361300d600b614c4c565b6148c38482614291600f614c4c565b505050505050505050505050565b600081836149205760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156134ae578181015183820152602001613496565b50600083858161492c57fe5b0495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613876908490614dc6565b6149bf81614e77565b82547fffffffffff000000000000000000000000000000000000000000000000000000167affffffffffffffffffffffffffffffffffffffffffffffffffffff91909116178255614a0f42614ee9565b825464ffffffffff919091167b01000000000000000000000000000000000000000000000000000000027affffffffffffffffffffffffffffffffffffffffffffffffffffff9091161790915550565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052613c96908590614dc6565b6040805180820190915283547affffffffffffffffffffffffffffffffffffffffffffffffffffff811682527b01000000000000000000000000000000000000000000000000000000900464ffffffffff166020820152613876908490613941908585613cab565b60006003821115614b935781600160028204015b81811015614b8b57809150600281828681614b7a57fe5b040181614b8357fe5b049050614b63565b5090506117c4565b8115614ba1575060016117c4565b5060006117c4565b511590565b815160009015614be2575081517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016110a5565b50919050565b600066010000000000008210612fea576040805162461bcd60e51b815260206004820152601d60248201527f76616c756520646f6573206e6f742066697420696e2034382062697473000000604482015290519081900360640190fd5b5190511490565b614c5461516f565b5083516001600160a01b03166000908152600382016020908152604091829020825191820190925290548152614c8861516f565b506020808601516001600160a01b031660009081526003840182526040908190208151928301909152548152614cbd82614ba9565b8015614ccd5750614ccd81614ba9565b8015614cda575085604001515b8015614ce7575085606001515b15614d59578551614d2290614cfc8488614bae565b6001614d198a608001518b60a0015161387b90919063ffffffff16565b8863ffffffff16565b6020860151614d5290614d358388614bae565b6001614d198a608001518b60c0015161358090919063ffffffff16565b5050613c96565b856040015115614d9357855160a08701516080880151614d9392918591614d8190829061387b565b60e08b01518894939291908b8b614f45565b856060015115614dbe57602086015160c08701516080880151614dbe92918491614d81908290613580565b505050505050565b6060614e1b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614f699092919063ffffffff16565b80519091501561387657808060200190516020811015614e3a57600080fd5b50516138765760405162461bcd60e51b815260040180806020018281038252602a815260200180615364602a913960400191505060405180910390fd5b60007b010000000000000000000000000000000000000000000000000000008210612fea576040805162461bcd60e51b815260206004820152601e60248201527f76616c756520646f6573206e6f742066697420696e2032313620626974730000604482015290519081900360640190fd5b6000650100000000008210612fea576040805162461bcd60e51b815260206004820152601d60248201527f76616c756520646f6573206e6f742066697420696e2034302062697473000000604482015290519081900360640190fd5b6130718888888715614f575789614f5f565b614f5f61394d565b89898989896142e4565b606061123384846000856060614f7e856150fe565b614fcf576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061502c57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101614fef565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461508e576040519150601f19603f3d011682016040523d82523d6000602084013e615093565b606091505b509150915081156150a75791506135789050565b8051156150b75780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156134ae578181015183820152602001613496565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590613578575050151592915050565b60405180604001604052806002906020820280368337509192915050565b604051806040016040528060008152602001600081525090565b6040518060200160405280600081525090565b604080516060810182526000808252602082018190529181019190915290565b60405180610100016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160001515815260200160001515815260200160008152602001600081526020016000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b7c4ae76b928feb23d84039678b85c3796508e1246874f8b73fb7232c9d90ea364736f6c634300060c00330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d000000000000000000000000000000000000000000000000000000000000001f31696e6368204c697175696469747920506f6f6c20284554482d555344432900000000000000000000000000000000000000000000000000000000000000000c314c502d4554482d555344430000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103085760003560e01c806378e3214f1161019a578063d21220a7116100e1578063e331d0391161008a578063f1ea604211610064578063f1ea604214610df6578063f2fde38b14610e0b578063f76d13b414610e3e57610308565b8063e331d03914610d4f578063e7ff42c914610d99578063eaadf84814610dcc57610308565b8063d9a0c217116100bb578063d9a0c21714610cea578063dd62ed3e14610cff578063ddca3f4314610d3a57610308565b8063d21220a714610c5e578063d5bcb9b514610c73578063d7d3aab514610cb757610308565b80639aad141b11610143578063a9059cbb1161011d578063a9059cbb14610b63578063aa6ca80814610b9c578063b1ec4c4014610bea57610308565b80639aad141b14610a7a5780639ea5ce0a14610aad578063a457c2d714610b2a57610308565b806393028d831161017457806393028d8314610a1d57806395cad3c714610a3257806395d89b4114610a6557610308565b806378e3214f1461099c5780637e82a6f3146109d55780638da5cb5b14610a0857610308565b8063313ce5671161025e5780635915d806116102075780636edc2c09116101e15780636edc2c091461092157806370a0823114610954578063715018a61461098757610308565b80635915d806146107e55780635ed9156d1461089c5780636669302a1461090c57610308565b80633c6216a6116102385780633c6216a6146106a957806348d67e1b146107a65780634f64b2be146107bb57610308565b8063313ce567146106305780633732b3941461065b578063395093511461067057610308565b806311212d66116102c057806323b872dd1161029a57806323b872dd1461052257806323e8cae1146105655780633049105d1461057a57610308565b806311212d661461048e57806318160ddd146104b85780631e1401f8146104df57610308565b806307a80070116102f157806307a80070146103e4578063095ea7b3146104105780630dfe16811461045d57610308565b80630146081f1461030d57806306fdde031461035a575b600080fd5b34801561031957600080fd5b50610322610e53565b604080516cffffffffffffffffffffffffff948516815292909316602083015265ffffffffffff168183015290519081900360600190f35b34801561036657600080fd5b5061036f610ea6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103a9578181015183820152602001610391565b50505050905090810190601f1680156103d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103f057600080fd5b5061040e6004803603602081101561040757600080fd5b5035610f5a565b005b34801561041c57600080fd5b506104496004803603604081101561043357600080fd5b506001600160a01b03813516906020013561108d565b604080519115158252519081900360200190f35b34801561046957600080fd5b506104726110ab565b604080516001600160a01b039092168252519081900360200190f35b34801561049a57600080fd5b5061040e600480360360208110156104b157600080fd5b50356110cf565b3480156104c457600080fd5b506104cd6111fe565b60408051918252519081900360200190f35b3480156104eb57600080fd5b506104cd6004803603606081101561050257600080fd5b506001600160a01b03813581169160208101359091169060400135611204565b34801561052e57600080fd5b506104496004803603606081101561054557600080fd5b506001600160a01b0381358116916020810135909116906040013561123d565b34801561057157600080fd5b506103226112c4565b6105ee6004803603608081101561059057600080fd5b6040805180820182529183019291818301918390600290839083908082843760009201919091525050604080518082018252929594938181019392509060029083908390808284376000920191909152509194506113179350505050565b6040518083815260200182600260200280838360005b8381101561061c578181015183820152602001610604565b505050509050019250505060405180910390f35b34801561063c57600080fd5b50610645611337565b6040805160ff9092168252519081900360200190f35b34801561066757600080fd5b506104cd611340565b34801561067c57600080fd5b506104496004803603604081101561069357600080fd5b506001600160a01b0381351690602001356113b5565b3480156106b557600080fd5b5061076b600480360360608110156106cc57600080fd5b813591908101906040810160208201356401000000008111156106ee57600080fd5b82018360208201111561070057600080fd5b8035906020019184602083028401116401000000008311171561072257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b031691506114039050565b6040518082600260200280838360005b8381101561079357818101518382015260200161077b565b5050505090500191505060405180910390f35b3480156107b257600080fd5b506104cd6116a9565b3480156107c757600080fd5b50610472600480360360208110156107de57600080fd5b5035611719565b3480156107f157600080fd5b5061076b6004803603604081101561080857600080fd5b8135919081019060408101602082013564010000000081111561082a57600080fd5b82018360208201111561083c57600080fd5b8035906020019184602083028401116401000000008311171561085e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506117c9945050505050565b3480156108a857600080fd5b506108cf600480360360208110156108bf57600080fd5b50356001600160a01b03166117dc565b604080517affffffffffffffffffffffffffffffffffffffffffffffffffffff909316835264ffffffffff90911660208301528051918290030190f35b34801561091857600080fd5b5061040e611833565b34801561092d57600080fd5b506108cf6004803603602081101561094457600080fd5b50356001600160a01b0316611861565b34801561096057600080fd5b506104cd6004803603602081101561097757600080fd5b50356001600160a01b03166118b8565b34801561099357600080fd5b5061040e6118d3565b3480156109a857600080fd5b5061040e600480360360408110156109bf57600080fd5b506001600160a01b03813516906020013561199f565b3480156109e157600080fd5b506104cd600480360360208110156109f857600080fd5b50356001600160a01b0316611c60565b348015610a1457600080fd5b50610472611cba565b348015610a2957600080fd5b5061040e611cc9565b348015610a3e57600080fd5b506104cd60048036036020811015610a5557600080fd5b50356001600160a01b0316611cf5565b348015610a7157600080fd5b5061036f611d4f565b348015610a8657600080fd5b506104cd60048036036020811015610a9d57600080fd5b50356001600160a01b0316611dce565b6105ee600480360360a0811015610ac357600080fd5b6040805180820182529183019291818301918390600290839083908082843760009201919091525050604080518082018252929594938181019392509060029083908390808284376000920191909152509194505050356001600160a01b03169050611e28565b348015610b3657600080fd5b5061044960048036036040811015610b4d57600080fd5b506001600160a01b038135169060200135612515565b348015610b6f57600080fd5b5061044960048036036040811015610b8657600080fd5b506001600160a01b03813516906020013561257d565b348015610ba857600080fd5b50610bb1612591565b6040805160208082528351818301528351919283929083019185810191028083836000831561061c578181015183820152602001610604565b348015610bf657600080fd5b50610c1d60048036036020811015610c0d57600080fd5b50356001600160a01b0316612650565b60405180836fffffffffffffffffffffffffffffffff168152602001826fffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b348015610c6a57600080fd5b5061047261268c565b6104cd600480360360a0811015610c8957600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013591608090910135166126b0565b348015610cc357600080fd5b506104cd60048036036020811015610cda57600080fd5b50356001600160a01b03166126ca565b348015610cf657600080fd5b5061047261276c565b348015610d0b57600080fd5b506104cd60048036036040811015610d2257600080fd5b506001600160a01b0381358116916020013516612790565b348015610d4657600080fd5b506104cd6127bb565b6104cd600480360360c0811015610d6557600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013591608082013581169160a001351661282b565b348015610da557600080fd5b506104cd60048036036020811015610dbc57600080fd5b50356001600160a01b0316612bc2565b348015610dd857600080fd5b5061040e60048036036020811015610def57600080fd5b5035612c64565b348015610e0257600080fd5b50610322612de4565b348015610e1757600080fd5b5061040e60048036036020811015610e2e57600080fd5b50356001600160a01b0316612e37565b348015610e4a57600080fd5b5061040e612f5a565b600f546cffffffffffffffffffffffffff808216926d01000000000000000000000000008304909116917a010000000000000000000000000000000000000000000000000000900465ffffffffffff1690565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f505780601f10610f2557610100808354040283529160200191610f50565b820191906000526020600020905b815481529060010190602001808311610f3357829003601f168201915b5050505050905090565b670de0b6b3a7640000811115610fb7576040805162461bcd60e51b815260206004820152601d60248201527f536c6970706167652066656520766f746520697320746f6f2068696768000000604482015290519081900360640190fd5b336000818152600e602090815260409182902082519182019092529054815261108a9190610fe484612fee565b610fed336118b8565b610ff56111fe565b7f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b03166323662bb96040518163ffffffff1660e01b815260040160206040518083038186803b15801561104e57600080fd5b505afa158015611062573d6000803e3d6000fd5b505050506040513d602081101561107857600080fd5b5051600b95949392919061300d613060565b50565b60006110a161109a61307b565b848461307f565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b662386f26fc1000081111561112b576040805162461bcd60e51b815260206004820152601460248201527f46656520766f746520697320746f6f2068696768000000000000000000000000604482015290519081900360640190fd5b336000818152600a602090815260409182902082519182019092529054815261108a919061115884612fee565b611161336118b8565b6111696111fe565b7f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b0316635a6c72d06040518163ffffffff1660e01b815260040160206040518083038186803b1580156111c257600080fd5b505afa1580156111d6573d6000803e3d6000fd5b505050506040513d60208110156111ec57600080fd5b5051600795949392919061316b613060565b60025490565b6000611233848484611215886126ca565b61121e88612bc2565b6112266127bb565b61122e611340565b6131be565b90505b9392505050565b600061124a8484846132ff565b6112ba8461125661307b565b6112b5856040518060600160405280602881526020016152d2602891396001600160a01b038a1660009081526001602052604081209061129461307b565b6001600160a01b03168152602081019190915260400160002054919061345a565b61307f565b5060019392505050565b600b546cffffffffffffffffffffffffff808216926d01000000000000000000000000008304909116917a010000000000000000000000000000000000000000000000000000900465ffffffffffff1690565b6000611321615137565b61132c848433611e28565b915091509250929050565b60055460ff1690565b60408051606081018252600b546cffffffffffffffffffffffffff80821683526d010000000000000000000000000082041660208301527a010000000000000000000000000000000000000000000000000000900465ffffffffffff16918101919091526000906113b0906134f1565b905090565b60006110a16113c261307b565b846112b585600160006113d361307b565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490613580565b61140b615137565b60026006541415611463576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655611470615137565b50604080518082019091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4816602082015260006114d96111fe565b905060006114e56116a9565b90506114f133886135da565b60005b600281101561164657600084826002811061150b57fe5b6020020151905060006115276001600160a01b038316306136d6565b9050600061153f86611539848e613777565b906137d0565b90506115556001600160a01b0384168a83613812565b8088856002811061156257fe5b602002015289518410158061158a575089848151811061157e57fe5b60200260200101518110155b6115db576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b61160b85836115ea898f61387b565b6001600160a01b03871660009081526015602052604090209291908a6138bd565b61163b858361161a898f61387b565b6001600160a01b03871660009081526016602052604090209291908a6138bd565b5050506001016114f4565b508351602080860151604080518b8152928301939093528183015290516001600160a01b0387169133917f3cae9923fd3c2f468aa25a8ef687923e37f957459557c0380fd06526c0b8cdbc9181900360600190a350506001600655509392505050565b60408051606081018252600f546cffffffffffffffffffffffffff80821683526d010000000000000000000000000082041660208301527a010000000000000000000000000000000000000000000000000000900465ffffffffffff16918101919091526000906113b0906134f1565b60008161174757507f00000000000000000000000000000000000000000000000000000000000000006117c4565b816001141561177757507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486117c4565b6040805162461bcd60e51b815260206004820152601360248201527f506f6f6c206861732074776f20746f6b656e7300000000000000000000000000604482015290519081900360640190fd5b919050565b6117d1615137565b611236838333611403565b6016602052600090815260409020547affffffffffffffffffffffffffffffffffffffffffffffffffffff8116907b01000000000000000000000000000000000000000000000000000000900464ffffffffff1682565b336000818152600e602090815260409182902082519182019092529054815261185f9190610fe461394d565b565b6015602052600090815260409020547affffffffffffffffffffffffffffffffffffffffffffffffffffff8116907b01000000000000000000000000000000000000000000000000000000900464ffffffffff1682565b6001600160a01b031660009081526020819052604090205490565b6118db61307b565b6013546001600160a01b0390811691161461193d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6013546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600260065414156119f7576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655611a0461307b565b6013546001600160a01b03908116911614611a66576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000611a9b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016306136d6565b90506000611ad26001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4816306136d6565b9050611ae86001600160a01b0385163385613812565b81611b1c6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016306136d6565b1015611b6f576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206163636573732064656e6965640000000000000000604482015290519081900360640190fd5b80611ba36001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4816306136d6565b1015611bf6576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206163636573732064656e6965640000000000000000604482015290519081900360640190fd5b6103e8611c02306118b8565b1015611c55576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206163636573732064656e6965640000000000000000604482015290519081900360640190fd5b505060016006555050565b6001600160a01b038181166000908152601260209081526040808320815192830190915254815290916110a591907f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d16631845f0db613968565b6013546001600160a01b031690565b336000818152600a602090815260409182902082519182019092529054815261185f919061115861394d565b6001600160a01b038181166000908152600e60209081526040808320815192830190915254815290916110a591907f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d166323662bb9613968565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f505780601f10610f2557610100808354040283529160200191610f50565b6001600160a01b038181166000908152600a60209081526040808320815192830190915254815290916110a591907f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d16635a6c72d0613968565b6000611e32615137565b60026006541415611e8a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655611e97615137565b50604080518082019091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48166020820152611f108160005b60200201516001600160a01b03166139fc565b611f3557611f1f816001611efd565b611f2a576000611f30565b60208601515b611f38565b85515b3414611f8b576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b6000611f956111fe565b90508061212157611fa96103e86063613777565b9350611fb7306103e8613a09565b60005b600281101561211b57611fdd85898360028110611fd357fe5b6020020151613af9565b94506000888260028110611fed57fe5b602002015111612044576040805162461bcd60e51b815260206004820152601960248201527f4d6f6f6e69737761703a20616d6f756e74206973207a65726f00000000000000604482015290519081900360640190fd5b86816002811061205057fe5b602002015188826002811061206157fe5b602002015110156120b9576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206d696e416d6f756e74206e6f742072656163686564604482015290519081900360640190fd5b6120f133308a84600281106120ca57fe5b60200201518685600281106120db57fe5b60200201516001600160a01b0316929190613b10565b8781600281106120fd57fe5b602002015184826002811061210e57fe5b6020020152600101611fba565b50612452565b612129615137565b60005b60028110156121975761217e612147858360028110611efd57fe5b612152576000612154565b345b6121783087856002811061216457fe5b60200201516001600160a01b0316906136d6565b9061387b565b82826002811061218a57fe5b602002015260010161212c565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff945060005b6002811015612209576121ff866121fa8484600281106121da57fe5b60200201516115398d86600281106121ee57fe5b60200201518890613777565b613c9c565b95506001016121be565b508460005b60028110156123965760008a826002811061222557fe5b60200201511161227c576040805162461bcd60e51b815260206004820152601960248201527f4d6f6f6e69737761703a20616d6f756e74206973207a65726f00000000000000604482015290519081900360640190fd5b60006122aa85611539600188036122a48789886002811061229957fe5b602002015190613777565b90613580565b90508982600281106122b857fe5b6020020151811015612311576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206d696e416d6f756e74206e6f742072656163686564604482015290519081900360640190fd5b6123233330838986600281106120db57fe5b61234784836002811061233257fe5b60200201516121783089866002811061216457fe5b87836002811061235357fe5b602002015261238b886121fa86856002811061236b57fe5b60200201516115398b876002811061237f57fe5b60200201518a90613777565b97505060010161220e565b5060006123a16116a9565b905060005b600281101561244d57612415828583600281106123bf57fe5b60200201516123ce888c613580565b88601660008c88600281106123df57fe5b60200201516001600160a01b03166001600160a01b031681526020019081526020016000206138bd90949392919063ffffffff16565b6124458285836002811061242557fe5b6020020151612434888c613580565b88601560008c88600281106123df57fe5b6001016123a6565b505050505b600084116124a7576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b6124b18585613a09565b825160208085015160408051888152928301939093528183015290516001600160a01b0387169133917f8bab6aed5a508937051a144e61d6e61336834a66aaee250a00613ae6f744c4229181900360600190a3505060016006559094909350915050565b60006110a161252261307b565b846112b58560405180606001604052806025815260200161538e602591396001600061254c61307b565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061345a565b60006110a161258a61307b565b84846132ff565b60408051600280825260608083018452926020830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106125df57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488160018151811061262d57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6014602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b60006126c086868686863361282b565b9695505050505050565b6000806126e06001600160a01b038416306136d6565b90506112366127666126f06116a9565b6001600160a01b0386166000908152601560209081526040918290208251808401909352547affffffffffffffffffffffffffffffffffffffffffffffffffffff811683527b01000000000000000000000000000000000000000000000000000000900464ffffffffff16908201529084613cab565b82613af9565b7f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d81565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b604080516060810182526007546cffffffffffffffffffffffffff80821683526d010000000000000000000000000082041660208301527a010000000000000000000000000000000000000000000000000000900465ffffffffffff16918101919091526000906113b0906134f1565b600060026006541415612885576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026006819055507f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b03166322f3e2d46040518163ffffffff1660e01b815260040160206040518083038186803b1580156128e657600080fd5b505afa1580156128fa573d6000803e3d6000fd5b505050506040513d602081101561291057600080fd5b5051612963576040805162461bcd60e51b815260206004820152601b60248201527f4d6f6f6e69737761703a20666163746f72792073687574646f776e0000000000604482015290519081900360640190fd5b612975876001600160a01b03166139fc565b612980576000612982565b845b34146129d5576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b6129dd615155565b6040518060400160405280612a1d6129fd8b6001600160a01b03166139fc565b612a08576000612a0a565b345b6121786001600160a01b038d16306136d6565b8152602001612a356001600160a01b038a16306136d6565b905290506000612a43615155565b612a4b615155565b6040518060400160405280612a5e6127bb565b8152602001612a6b611340565b90529050612a7e8b8b8b8b8a8987613d1a565b8094508197508295505050508a6001600160a01b0316866001600160a01b0316336001600160a01b03167fbd99c6719f088aa0abd9e7b7a4a635d1f931601e9f304b538dc42be25d8c65c68d878a886000015189602001518f60405180876001600160a01b03168152602001868152602001858152602001848152602001838152602001826001600160a01b03168152602001965050505050505060405180910390a4612b2e8386898785613ff5565b50506001600160a01b03909816600090815260146020526040902080547001000000000000000000000000000000006fffffffffffffffffffffffffffffffff808316909b018b167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091178181048b1685018b1690910299169890981790975560016006559695505050505050565b600080612bd86001600160a01b038416306136d6565b9050611236612c5e612be86116a9565b6001600160a01b0386166000908152601660209081526040918290208251808401909352547affffffffffffffffffffffffffffffffffffffffffffffffffffff811683527b01000000000000000000000000000000000000000000000000000000900464ffffffffff16908201529084613cab565b82613c9c565b61012c811115612cbb576040805162461bcd60e51b815260206004820152601d60248201527f446563617920706572696f6420766f746520697320746f6f2068696768000000604482015290519081900360640190fd5b603c811015612d11576040805162461bcd60e51b815260206004820152601c60248201527f446563617920706572696f6420766f746520697320746f6f206c6f7700000000604482015290519081900360640190fd5b3360008181526012602090815260409182902082519182019092529054815261108a9190612d3e84612fee565b612d47336118b8565b612d4f6111fe565b7f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b0316631845f0db6040518163ffffffff1660e01b815260040160206040518083038186803b158015612da857600080fd5b505afa158015612dbc573d6000803e3d6000fd5b505050506040513d6020811015612dd257600080fd5b5051600f959493929190614291613060565b6007546cffffffffffffffffffffffffff808216926d01000000000000000000000000008304909116917a010000000000000000000000000000000000000000000000000000900465ffffffffffff1690565b612e3f61307b565b6013546001600160a01b03908116911614612ea1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116612ee65760405162461bcd60e51b81526004018080602001828103825260268152602001806152436026913960400191505060405180910390fd5b6013546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b3360008181526012602090815260409182902082519182019092529054815261185f9190612d3e61394d565b60006d01000000000000000000000000008210612fea576040805162461bcd60e51b815260206004820152601e60248201527f76616c756520646f6573206e6f742066697420696e2031303420626974730000604482015290519081900360640190fd5b5090565b612ff661516f565b506040805160208101909152600182018152919050565b60408051848152831515602082015280820183905290516001600160a01b038616917fce0cf859d853e1944032294143a1bf3ad799998ae77acbeb6c4d9b20d6910240919081900360600190a250505050565b6130718888888888898989896142e4565b5050505050505050565b3390565b6001600160a01b0383166130c45760405162461bcd60e51b81526004018080602001828103825260248152602001806153406024913960400191505060405180910390fd5b6001600160a01b0382166131095760405162461bcd60e51b81526004018080602001828103825260228152602001806152696022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60408051848152831515602082015280820183905290516001600160a01b038616917fe117cae46817b894b41a4412b73ae0ba746a5707b94e02d83b4c6502010b11ac919081900360600190a250505050565b6000866001600160a01b0316886001600160a01b031611156131de579596955b60008611801561321f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b0316145b801561325c57507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b0316876001600160a01b0316145b156132f457600061328361327c670de0b6b3a76400006115398a88613777565b889061387b565b905060006132918783613580565b905060006132a382611539858a613777565b905060006132c66132b48786613777565b612178670de0b6b3a764000086613777565b905060006132dc670de0b6b3a764000085613777565b90506132ec816115398585613777565b955050505050505b979650505050505050565b6001600160a01b0383166133445760405162461bcd60e51b815260040180806020018281038252602581526020018061531b6025913960400191505060405180910390fd5b6001600160a01b0382166133895760405162461bcd60e51b81526004018080602001828103825260238152602001806151fe6023913960400191505060405180910390fd5b613394838383614581565b6133d18160405180606001604052806026815260200161528b602691396001600160a01b038616600090815260208190526040902054919061345a565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546134009082613580565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156134e95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134ae578181015183820152602001613496565b50505050905090810190601f1680156134db5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008061351a620151806121fa856040015165ffffffffffff164261387b90919063ffffffff16565b9050600061352b620151808361387b565b90506135786201518061153961355d8588602001516cffffffffffffffffffffffffff1661377790919063ffffffff16565b87516122a4906cffffffffffffffffffffffffff1686613777565b949350505050565b600082820183811015611236576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03821661361f5760405162461bcd60e51b81526004018080602001828103825260218152602001806152fa6021913960400191505060405180910390fd5b61362b82600083614581565b61366881604051806060016040528060228152602001615221602291396001600160a01b038516600090815260208190526040902054919061345a565b6001600160a01b03831660009081526020819052604090205560025461368e908261387b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006136e1836139fc565b156136f757506001600160a01b038116316110a5565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561374457600080fd5b505afa158015613758573d6000803e3d6000fd5b505050506040513d602081101561376e57600080fd5b505190506110a5565b600082613786575060006110a5565b8282028284828161379357fe5b04146112365760405162461bcd60e51b81526004018080602001828103825260218152602001806152b16021913960400191505060405180910390fd5b600061123683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506148d1565b801561387657613821836139fc565b15613862576040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561385c573d6000803e3d6000fd5b50613876565b6138766001600160a01b0384168383614936565b505050565b600061123683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061345a565b61394685613941836115396138d382600161387b565b604080518082019091528b547affffffffffffffffffffffffffffffffffffffffffffffffffffff811682527b01000000000000000000000000000000000000000000000000000000900464ffffffffff1660208201526122a490899061393b908d8d613cab565b90613777565b6149b6565b5050505050565b61395561516f565b5060408051602081019091526000815290565b82516000901561399c575082517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01611236565b82826040518163ffffffff1660e01b815260040160206040518083038186803b1580156139c857600080fd5b505afa1580156139dc573d6000803e3d6000fd5b505050506040513d60208110156139f257600080fd5b5051949350505050565b6001600160a01b03161590565b6001600160a01b038216613a64576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b613a7060008383614581565b600254613a7d9082613580565b6002556001600160a01b038216600090815260208190526040902054613aa39082613580565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081831015613b095781611236565b5090919050565b8015613c9657613b1f846139fc565b15613c815780341015613b79576040805162461bcd60e51b815260206004820152601a60248201527f556e6945524332303a206e6f7420656e6f7567682076616c7565000000000000604482015290519081900360640190fd5b6001600160a01b0383163314613bd6576040805162461bcd60e51b815260206004820152601660248201527f66726f6d206973206e6f74206d73672e73656e64657200000000000000000000604482015290519081900360640190fd5b6001600160a01b0382163014613c33576040805162461bcd60e51b815260206004820152600e60248201527f746f206973206e6f742074686973000000000000000000000000000000000000604482015290519081900360640190fd5b80341115613c7c576001600160a01b0383166108fc613c52348461387b565b6040518115909202916000818181858888f19350505050158015613c7a573d6000803e3d6000fd5b505b613c96565b613c966001600160a01b038516848484614a5f565b50505050565b6000818310613b095781611236565b600080613cd0846121fa876020015164ffffffffff164261387b90919063ffffffff16565b90506000613cde858361387b565b90506126c085611539613cf18786613777565b89516122a4907affffffffffffffffffffffffffffffffffffffffffffffffffffff1686613777565b600080613d25615155565b6000613d2f6116a9565b86516001600160a01b038d166000908152601560209081526040918290208251808401909352547affffffffffffffffffffffffffffffffffffffffffffffffffffff811683527b01000000000000000000000000000000000000000000000000000000900464ffffffffff1690820152919250613daf91908390613cab565b8083528651613dbe9190613af9565b82526020868101516001600160a01b038c166000908152601683526040908190208151808301909252547affffffffffffffffffffffffffffffffffffffffffffffffffffff811682527b01000000000000000000000000000000000000000000000000000000900464ffffffffff1692810192909252613e4191908390613cab565b6020808401829052870151613e569190613c9c565b6020830152613e706001600160a01b038c1633308c613b10565b8551613e89906121786001600160a01b038e16306136d6565b9350613eaa8b8b86856000015186602001518a600001518b602001516131be565b9250600083118015613ebc5750878310155b613f0d576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2072657475726e206973206e6f7420656e6f75676800604482015290519081900360640190fd5b613f216001600160a01b038b168885613812565b8551825114613f58578151613f5890613f3a9086613580565b6001600160a01b038d166000908152601560205260409020906149b6565b8560200151826020015114613f98576020820151613f9890613f7a908561387b565b6001600160a01b038c166000908152601660205260409020906149b6565b85516001600160a01b038c166000908152601660205260409020613fbd918390614ae7565b6020808701516001600160a01b038c16600090815260159092526040909120613fe7918390614ae7565b509750975097945050505050565b6000806000807f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b031663172886e76040518163ffffffff1660e01b815260040160806040518083038186803b15801561405457600080fd5b505afa158015614068573d6000803e3d6000fd5b505050506040513d608081101561407e57600080fd5b5080516020820151604083015160609093015189519297509095509193509091506ec097ce7bc90715b34b9f1000000000906140c8906115396140c1828e613580565b8490613777565b60208801519091506140e1906115396140c1828d61387b565b90506ec097ce7bc90715b34b9f10000000008111156142275761410381614b4f565b905060006141288261153961412082670de0b6b3a764000061387b565b61393b6111fe565b90506001600160a01b038916156141ee5761414f670de0b6b3a76400006115398389613777565b955085156141ee576001600160a01b038316156141e4576141708387613a09565b826001600160a01b0316631a3991258a886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156141c757600080fd5b505af11580156141db573d6000803e3d6000fd5b505050506141ee565b6141ee8987613a09565b6001600160a01b0384161561422557614213670de0b6b3a76400006115398388613777565b94508415614225576142258486613a09565b505b865160208089015188518983015160408051958652938501929092528383015260608301526080820187905260a08201869052517f2a368c7f33bb86e2d999940a3989d849031aff29b750f67947e6b8e8c3d2ffd69181900360c00190a150505050505050505050565b60408051848152831515602082015280820183905290516001600160a01b038616917fd0784d105a7412ffec29813ff8401f04f3d1cdbe6aca756974b1a31f830e5cb7919081900360600190a250505050565b600189015460028a01548190806142fa8b614ba9565b1561431057614309818a61387b565b9050614331565b61432e6143276143208d89614bae565b8b90613777565b849061387b565b92505b61433a8a614ba9565b15614350576143498189613580565b9050614371565b61436e6143676143608c89614bae565b8a90613777565b8490613580565b92505b8383146143805760018d018390555b81811461438f5760028d018190555b600087156143b4576143af886115396143a8858b613777565b8790613580565b6143b6565b865b90506143c0615182565b50604080516060810182528f546cffffffffffffffffffffffffff80821683526d0100000000000000000000000000820416602083018190527a01000000000000000000000000000000000000000000000000000090910465ffffffffffff16928201929092529082146145215761443f61443a826134f1565b612f86565b8f547fffffffffffffffffffffffffffffffffffffff00000000000000000000000000166cffffffffffffffffffffffffff91909116178f5561448182612f86565b8f546cffffffffffffffffffffffffff919091166d0100000000000000000000000000027fffffffffffff00000000000000000000000000ffffffffffffffffffffffffff909116178f556144d542614be8565b8f5465ffffffffffff919091167a0100000000000000000000000000000000000000000000000000000279ffffffffffffffffffffffffffffffffffffffffffffffffffff909116178f555b5061452e90508a8c614c45565b614551576001600160a01b038c16600090815260038e01602052604090208a5190555b6145728c61455f8c89614bae565b6145688d614ba9565b8b8963ffffffff16565b50505050505050505050505050565b816001600160a01b0316836001600160a01b031614156145a057613876565b60006001600160a01b038416158061464d57507f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b031663b278110f856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561462057600080fd5b505afa158015614634573d6000803e3d6000fd5b505050506040513d602081101561464a57600080fd5b50515b15905060006001600160a01b03841615806146fd57507f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b031663b278110f856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156146d057600080fd5b505afa1580156146e4573d6000803e3d6000fd5b505050506040513d60208110156146fa57600080fd5b50515b1590508115801561470c575080155b15614718575050613876565b60006001600160a01b03861661472f576000614738565b614738866118b8565b905060006001600160a01b03861661475157600061475a565b61475a866118b8565b9050600061479c6001600160a01b03881615614777576000614779565b865b6121786001600160a01b038b1615614792576000614794565b885b6122a46111fe565b90506147a66151a2565b6040518061010001604052808a6001600160a01b03168152602001896001600160a01b031681526020018715158152602001861515815260200188815260200185815260200184815260200183815250905060008060007f000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d6001600160a01b031663edb7a6fa6040518163ffffffff1660e01b815260040160606040518083038186803b15801561485657600080fd5b505afa15801561486a573d6000803e3d6000fd5b505050506040513d606081101561488057600080fd5b508051602082015160409092015190945090925090506148a5848461316b6007614c4c565b6148b4848361300d600b614c4c565b6148c38482614291600f614c4c565b505050505050505050505050565b600081836149205760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156134ae578181015183820152602001613496565b50600083858161492c57fe5b0495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613876908490614dc6565b6149bf81614e77565b82547fffffffffff000000000000000000000000000000000000000000000000000000167affffffffffffffffffffffffffffffffffffffffffffffffffffff91909116178255614a0f42614ee9565b825464ffffffffff919091167b01000000000000000000000000000000000000000000000000000000027affffffffffffffffffffffffffffffffffffffffffffffffffffff9091161790915550565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052613c96908590614dc6565b6040805180820190915283547affffffffffffffffffffffffffffffffffffffffffffffffffffff811682527b01000000000000000000000000000000000000000000000000000000900464ffffffffff166020820152613876908490613941908585613cab565b60006003821115614b935781600160028204015b81811015614b8b57809150600281828681614b7a57fe5b040181614b8357fe5b049050614b63565b5090506117c4565b8115614ba1575060016117c4565b5060006117c4565b511590565b815160009015614be2575081517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016110a5565b50919050565b600066010000000000008210612fea576040805162461bcd60e51b815260206004820152601d60248201527f76616c756520646f6573206e6f742066697420696e2034382062697473000000604482015290519081900360640190fd5b5190511490565b614c5461516f565b5083516001600160a01b03166000908152600382016020908152604091829020825191820190925290548152614c8861516f565b506020808601516001600160a01b031660009081526003840182526040908190208151928301909152548152614cbd82614ba9565b8015614ccd5750614ccd81614ba9565b8015614cda575085604001515b8015614ce7575085606001515b15614d59578551614d2290614cfc8488614bae565b6001614d198a608001518b60a0015161387b90919063ffffffff16565b8863ffffffff16565b6020860151614d5290614d358388614bae565b6001614d198a608001518b60c0015161358090919063ffffffff16565b5050613c96565b856040015115614d9357855160a08701516080880151614d9392918591614d8190829061387b565b60e08b01518894939291908b8b614f45565b856060015115614dbe57602086015160c08701516080880151614dbe92918491614d81908290613580565b505050505050565b6060614e1b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614f699092919063ffffffff16565b80519091501561387657808060200190516020811015614e3a57600080fd5b50516138765760405162461bcd60e51b815260040180806020018281038252602a815260200180615364602a913960400191505060405180910390fd5b60007b010000000000000000000000000000000000000000000000000000008210612fea576040805162461bcd60e51b815260206004820152601e60248201527f76616c756520646f6573206e6f742066697420696e2032313620626974730000604482015290519081900360640190fd5b6000650100000000008210612fea576040805162461bcd60e51b815260206004820152601d60248201527f76616c756520646f6573206e6f742066697420696e2034302062697473000000604482015290519081900360640190fd5b6130718888888715614f575789614f5f565b614f5f61394d565b89898989896142e4565b606061123384846000856060614f7e856150fe565b614fcf576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061502c57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101614fef565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461508e576040519150601f19603f3d011682016040523d82523d6000602084013e615093565b606091505b509150915081156150a75791506135789050565b8051156150b75780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156134ae578181015183820152602001613496565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590613578575050151592915050565b60405180604001604052806002906020820280368337509192915050565b604051806040016040528060008152602001600081525090565b6040518060200160405280600081525090565b604080516060810182526000808252602082018190529181019190915290565b60405180610100016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160001515815260200160001515815260200160008152602001600081526020016000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b7c4ae76b928feb23d84039678b85c3796508e1246874f8b73fb7232c9d90ea364736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d000000000000000000000000000000000000000000000000000000000000001f31696e6368204c697175696469747920506f6f6c20284554482d555344432900000000000000000000000000000000000000000000000000000000000000000c314c502d4554482d555344430000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _token0 (address): 0x0000000000000000000000000000000000000000
Arg [1] : _token1 (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [2] : name (string): 1inch Liquidity Pool (ETH-USDC)
Arg [3] : symbol (string): 1LP-ETH-USDC
Arg [4] : _mooniswapFactoryGovernance (address): 0xC4A8B7e29E3C8ec560cd4945c1cF3461a85a148d
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 000000000000000000000000c4a8b7e29e3c8ec560cd4945c1cf3461a85a148d
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [6] : 31696e6368204c697175696469747920506f6f6c20284554482d555344432900
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [8] : 314c502d4554482d555344430000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
486:14867:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2173:181:1;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2219:81:16;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3173:361:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3173:361:1;;:::i;:::-;;4255:166:16;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4255:166:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1903:30:0;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1903:30:0;;;;;;;;;;;;;;2864:303:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2864:303:1;;:::i;3262:98:16:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;3852:221:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3852:221:0;;;;;;;;;;;;;;;;;:::i;4881:317:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4881:317:16;;;;;;;;;;;;;;;;;:::i;1986:181:1:-;;;;;;;;;;;;;:::i;4081:229:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4081:229:0;;;;;;;;;;;;;;;;;-1:-1:-1;4081:229:0;;;;;;;;;;;;;;;;;;-1:-1:-1;4081:229:0;;-1:-1:-1;4081:229:0;;-1:-1:-1;;;;4081:229:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3121:81:16;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1613:103:1;;;;;;;;;;;;;:::i;5593:215:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5593:215:16;;;;;;;;:::i;7424:1140:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7424:1140:0;;-1:-1:-1;;;7424:1140:0;;-1:-1:-1;;;;;7424:1140:0;;-1:-1:-1;7424:1140:0;;-1:-1:-1;7424:1140:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:103:1;;;;;;;;;;;;;:::i;3091:247:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3091:247:0;;:::i;7231:185::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7231:185:0;;-1:-1:-1;7231:185:0;;-1:-1:-1;;;;;7231:185:0:i;2108:71::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2108:71:0;-1:-1:-1;;;;;2108:71:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;4223:255:1;;;;;;;;;;;;;:::i;2029:72:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2029:72:0;-1:-1:-1;;;;;2029:72:0;;:::i;3418:117:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3418:117:16;-1:-1:-1;;;;;3418:117:16;;:::i;1689:145:13:-;;;;;;;;;;;;;:::i;14803:547:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14803:547:0;;;;;;;;:::i;2688:170:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2688:170:1;-1:-1:-1;;;;;2688:170:1;;:::i;1066:77:13:-;;;;;;;;;;;;;:::i;4002:215:1:-;;;;;;;;;;;;;:::i;2512:170::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2512:170:1;-1:-1:-1;;;;;2512:170:1;;:::i;2413:85:16:-;;;;;;;;;;;;;:::i;2360:146:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2360:146:1;-1:-1:-1;;;;;2360:146:1;;:::i;4318:2905:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4318:2905:0;;;;;;;;;;;;;;;;;-1:-1:-1;4318:2905:0;;;;;;;;;;;;;;;;;;-1:-1:-1;4318:2905:0;;-1:-1:-1;;;4318:2905:0;-1:-1:-1;;;;;4318:2905:0;;-1:-1:-1;4318:2905:0;:::i;6295:266:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6295:266:16;;;;;;;;:::i;3738:172::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3738:172:16;;;;;;;;:::i;2915:168:0:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2915:168:0;;;;;;;;;;;;;;;;1977:45;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1977:45:0;-1:-1:-1;;;;;1977:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1940:30;;;;;;;;;;;;;:::i;8572:216::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8572:216:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;3346:246::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3346:246:0;-1:-1:-1;;;;;3346:246:0;;:::i;886:71:1:-;;;;;;;;;;;;;:::i;3968:149:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3968:149:16;;;;;;;;;;:::i;1520:87:1:-;;;;;;;;;;;;;:::i;8796:1144:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8796:1144:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;3600:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3600:244:0;-1:-1:-1;;;;;3600:244:0;;:::i;3540:456:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3540:456:1;;:::i;1831:149::-;;;;;;;;;;;;;:::i;1983:240:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:13;-1:-1:-1;;;;;1983:240:13;;:::i;4484:255:1:-;;;;;;;;;;;;;:::i;2173:181::-;2269:12;:27;;;;;;2298:24;;;;;;;2324:22;;;;;;2173:181::o;2219:81:16:-;2288:5;2281:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2256:13;;2281:12;;2288:5;;2281:12;;2288:5;2281:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2219:81;:::o;3173:361:1:-;379:4:5;3239::1;:44;;3231:86;;;;;-1:-1:-1;;;3231:86:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;3352:10;3364:30;;;;:18;:30;;;;;;;;;3328:199;;;;;;;;;;;;;;3352:10;3396:15;3406:4;3396:9;:15::i;:::-;3413:21;3423:10;3413:9;:21::i;:::-;3436:13;:11;:13::i;:::-;3451:26;-1:-1:-1;;;;;3451:45:1;;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3451:47:1;3328:12;;:199;;;;;3500:26;3328:23;:199::i;:::-;3173:361;:::o;4255:166:16:-;4338:4;4354:39;4363:12;:10;:12::i;:::-;4377:7;4386:6;4354:8;:39::i;:::-;-1:-1:-1;4410:4:16;4255:166;;;;;:::o;1903:30:0:-;;;:::o;2864:303:1:-;314:7:5;2922:4:1;:35;;2914:68;;;;;-1:-1:-1;;;2914:68:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;3009:10;3021:22;;;;:10;:22;;;;;;;;;2993:167;;;;;;;;;;;;;;3009:10;3045:15;3055:4;3045:9;:15::i;:::-;3062:21;3072:10;3062:9;:21::i;:::-;3085:13;:11;:13::i;:::-;3100:26;-1:-1:-1;;;;;3100:37:1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3100:39:1;2993:4;;:167;;;;;3141:18;2993:15;:167::i;3262:98:16:-;3341:12;;3262:98;:::o;3852:221:0:-;3933:7;3960:105;3971:3;3976;3981:6;3989:26;4011:3;3989:21;:26::i;:::-;4017:25;4038:3;4017:20;:25::i;:::-;4044:5;:3;:5::i;:::-;4051:13;:11;:13::i;:::-;3960:10;:105::i;:::-;3953:112;;3852:221;;;;;;:::o;4881:317:16:-;4987:4;5003:36;5013:6;5021:9;5032:6;5003:9;:36::i;:::-;5049:121;5058:6;5066:12;:10;:12::i;:::-;5080:89;5118:6;5080:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5080:19:16;;;;;;:11;:19;;;;;;5100:12;:10;:12::i;:::-;-1:-1:-1;;;;;5080:33:16;;;;;;;;;;;;-1:-1:-1;5080:33:16;;;:89;:37;:89::i;:::-;5049:8;:121::i;:::-;-1:-1:-1;5187:4:16;4881:317;;;;;:::o;1986:181:1:-;2082:12;:27;;;;;;2111:24;;;;;;;2137:22;;;;;;1986:181::o;4081:229:0:-;4183:18;4203:33;;:::i;:::-;4256:46;4267:10;4279;4291;4256;:46::i;:::-;4249:53;;;;4081:229;;;;;:::o;3121:81:16:-;3186:9;;;;3121:81;:::o;1613:103:1:-;1682:25;;;;;;;;:12;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1682:27:1;;:25;:27::i;:::-;1675:34;;1613:103;:::o;5593:215:16:-;5681:4;5697:83;5706:12;:10;:12::i;:::-;5720:7;5729:50;5768:10;5729:11;:25;5741:12;:10;:12::i;:::-;-1:-1:-1;;;;;5729:25:16;;;;;;;;;;;;;;;;;-1:-1:-1;5729:25:16;;;:34;;;;;;;;;;;:38;:50::i;7424:1140:0:-;7542:34;;:::i;:::-;1671:1:20;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;7589:24:0::1;;:::i;:::-;-1:-1:-1::0;7589:43:0::1;::::0;;;;::::1;::::0;;;-1:-1:-1;;;;;7617:6:0::1;7589:43:::0;::::1;::::0;;7625:6:::1;7589:43;;::::0;::::1;::::0;-1:-1:-1;7667:13:0::1;:11;:13::i;:::-;7645:35;;7691:20;7714:13;:11;:13::i;:::-;7691:36;;7754:25;7760:10;7772:6;7754:5;:25::i;:::-;7797:6;7792:668;7813:14;7809:1;:18;7792:668;;;7849:12;7864:7;7872:1;7864:10;;;;;;;;;;::::0;;-1:-1:-1;7891:18:0::1;7912:33;-1:-1:-1::0;;;;;7912:18:0;::::1;7939:4;7912:18;:33::i;:::-;7891:54:::0;-1:-1:-1;7960:13:0::1;7976:39;8003:11:::0;7976:22:::1;7891:54:::0;7991:6;7976:14:::1;:22::i;:::-;:26:::0;::::1;:39::i;:::-;7960:55:::0;-1:-1:-1;8030:32:0::1;-1:-1:-1::0;;;;;8030:17:0;::::1;8048:6:::0;7960:55;8030:17:::1;:32::i;:::-;8099:5;8077:16;8094:1;8077:19;;;;;;;;;;:27:::0;8132:17;;8127:22;::::1;;::::0;:48:::1;;;8162:10;8173:1;8162:13;;;;;;;;;;;;;;8153:5;:22;;8127:48;8119:92;;;::::0;;-1:-1:-1;;;8119:92:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;8228:103;8268:12:::0;8282:10;8294:23:::1;:11:::0;8310:6;8294:15:::1;:23::i;:::-;-1:-1:-1::0;;;;;8228:33:0;::::1;;::::0;;;:26:::1;:33;::::0;;;;;:103;;8319:11;8228:39:::1;:103::i;:::-;8346:102;8385:12:::0;8399:10;8411:23:::1;:11:::0;8427:6;8411:15:::1;:23::i;:::-;-1:-1:-1::0;;;;;8346:32:0;::::1;;::::0;;;:25:::1;:32;::::0;;;;;:102;;8436:11;8346:38:::1;:102::i;:::-;-1:-1:-1::0;;;7829:3:0::1;;7792:668;;;-1:-1:-1::0;8515:19:0;;::::1;8536::::0;;::::1;::::0;8477:79:::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;-1:-1:-1;;;;;8477:79:0;::::1;::::0;8487:10:::1;::::0;8477:79:::1;::::0;;;;;;;::::1;-1:-1:-1::0;;1628:1:20;2563:7;:22;-1:-1:-1;7424:1140:0;;-1:-1:-1;;;7424:1140:0:o;1722:103:1:-;1791:25;;;;;;;;:12;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1791:27:1;;:25;:27::i;3091:247:0:-;3140:6;3163;3159:172;;-1:-1:-1;3193:6:0;3186:13;;3159:172;3221:1;3226;3221:6;3217:114;;;-1:-1:-1;3251:6:0;3244:13;;3217:114;3290:29;;;-1:-1:-1;;;3290:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3217:114;3091:247;;;:::o;7231:185::-;7311:34;;:::i;:::-;7365:43;7377:6;7385:10;7397;7365:11;:43::i;2108:71::-;;;;;;;;;;;;;;;;;;;;;;:::o;4223:255:1:-;4300:10;4312:30;;;;:18;:30;;;;;;;;;4276:195;;;;;;;;;;;;;;4300:10;4344:11;:9;:11::i;4276:195::-;4223:255::o;2029:72:0:-;;;;;;;;;;;;;;;;;;;;;;:::o;3418:117:16:-;-1:-1:-1;;;;;3510:18:16;3484:7;3510:18;;;;;;;;;;;;3418:117::o;1689:145:13:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:13;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1779:6:::1;::::0;1758:40:::1;::::0;1795:1:::1;::::0;-1:-1:-1;;;;;1779:6:13::1;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1808:6;:19:::0;;;::::1;::::0;;1689:145::o;14803:547:0:-;1671:1:20;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;1280:12:13::1;:10;:12::i;:::-;1270:6;::::0;-1:-1:-1;;;;;1270:6:13;;::::1;:22:::0;::::1;;1262:67;;;::::0;;-1:-1:-1;;;1262:67:13;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;14897:16:0::2;14916:34;-1:-1:-1::0;;;;;14916:6:0::2;:19;14944:4;14916:19;:34::i;:::-;14897:53:::0;-1:-1:-1;14961:16:0::2;14980:34;-1:-1:-1::0;;;;;14980:6:0::2;:19;15008:4;14980:19;:34::i;:::-;14961:53:::0;-1:-1:-1;15027:37:0::2;-1:-1:-1::0;;;;;15027:17:0;::::2;15045:10;15057:6:::0;15027:17:::2;:37::i;:::-;15123:8:::0;15085:34:::2;-1:-1:-1::0;;;;;15085:6:0::2;:19;15113:4;15085:19;:34::i;:::-;:46;;15077:83;;;::::0;;-1:-1:-1;;;15077:83:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;15217:8:::0;15179:34:::2;-1:-1:-1::0;;;;;15179:6:0::2;:19;15207:4;15179:19;:34::i;:::-;:46;;15171:83;;;::::0;;-1:-1:-1;;;15171:83:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;1856:4;15273:24;15291:4;15273:9;:24::i;:::-;:40;;15265:77;;;::::0;;-1:-1:-1;;;15265:77:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;1628:1:20;2563:7;:22;-1:-1:-1;;14803:547:0:o;2688:170:1:-;-1:-1:-1;;;;;2776:24:1;;;2750:7;2776:24;;;:18;:24;;;;;;;;:28;;;;;;;;;;;2750:7;;2776:75;;:28;2805:26;:45;;2776:28;:75::i;1066:77:13:-;1130:6;;-1:-1:-1;;;;;1130:6:13;1066:77;:::o;4002:215:1:-;4063:10;4075:22;;;;:10;:22;;;;;;;;;4047:163;;;;;;;;;;;;;;4063:10;4099:11;:9;:11::i;2512:170::-;-1:-1:-1;;;;;2600:24:1;;;2574:7;2600:24;;;:18;:24;;;;;;;;:28;;;;;;;;;;;2574:7;;2600:75;;:28;2629:26;:45;;2600:28;:75::i;2413:85:16:-;2484:7;2477:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2452:13;;2477:14;;2484:7;;2477:14;;2484:7;2477:14;;;;;;;;;;;;;;;;;;;;;;;;2360:146:1;-1:-1:-1;;;;;2440:16:1;;;2414:7;2440:16;;;:10;:16;;;;;;;;:20;;;;;;;;;;;2414:7;;2440:59;;:20;2461:26;:37;;2440:20;:59::i;4318:2905:0:-;4450:18;4470:33;;:::i;:::-;1671:1:20;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;4516:24:0::1;;:::i;:::-;-1:-1:-1::0;4516:43:0::1;::::0;;;;::::1;::::0;;;-1:-1:-1;;;;;4544:6:0::1;4516:43:::0;::::1;::::0;;4552:6:::1;4516:43;;::::0;::::1;::::0;4592:18:::1;4516:43:::0;-1:-1:-1;4592:10:0::1;;;;;-1:-1:-1::0;;;;;4592:16:0::1;;:18::i;:::-;:77;;4630:18;:7:::0;4638:1:::1;4630:10;::::0;:18:::1;:38;;4667:1;4630:38;;;4651:13;::::0;::::1;::::0;4630:38:::1;4592:77;;;4613:13:::0;;4592:77:::1;4578:9;:92;4570:133;;;::::0;;-1:-1:-1;;;4570:133:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;4716:19;4738:13;:11;:13::i;:::-;4716:35:::0;-1:-1:-1;4768:16:0;4764:2246:::1;;4814:20;1856:4;4831:2;4814:16;:20::i;:::-;4801:33;;4849:34;4863:4;1856;4849:5;:34::i;:::-;4924:6;4919:440;4940:17;4936:1;:21;4919:440;;;4996:35;5005:10;5017;5028:1;5017:13;;;;;;;;;;;4996:8;:35::i;:::-;4983:48;;5076:1;5060:10;5071:1;5060:13;;;;;;;;;;;:17;5052:55;;;::::0;;-1:-1:-1;;;5052:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;5151:10;5162:1;5151:13;;;;;;;;;;;5134:10;5145:1;5134:13;;;;;;;;;;;:30;;5126:75;;;::::0;;-1:-1:-1;;;5126:75:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;5222:68;5249:10;5269:4;5276:10;5287:1;5276:13;;;;;;;;;;;5222:7;5230:1;5222:10;;;;;;;;;;::::0;-1:-1:-1;;;;;5222:26:0::1;::::0;:68;;:26:::1;:68::i;:::-;5330:10;5341:1;5330:13;;;;;;;;;;;5309:15;5325:1;5309:18;;;;;;;;;;:34:::0;4959:3:::1;;4919:440;;;;4764:2246;;;5400:30;;:::i;:::-;5450:6;5445:178;5466:19;5462:1;:23;5445:178;;;5529:78;5572:18;:7;5580:1;5572:10;;;;;;:18;:34;;5605:1;5572:34;;;5593:9;5572:34;5529:38;5561:4;5529:7;5537:1;5529:10;;;;;;;;;;::::0;-1:-1:-1;;;;;5529:23:0::1;::::0;::::1;:38::i;:::-;:42:::0;::::1;:78::i;:::-;5511:12;5524:1;5511:15;;;;;;;;;;:96:::0;5487:3:::1;;5445:178;;;;5692:17;5679:30;;5729:6;5724:166;5745:17;5741:1;:21;5724:166;;;5801:73;5810:10;5822:51;5857:12;5870:1;5857:15;;;;;;;;;;;5822:30;5838:10;5849:1;5838:13;;;;;;;;;;::::0;5822:11;;:15:::1;:30::i;:51::-;5801:8;:73::i;:::-;5788:86:::0;-1:-1:-1;5764:3:0::1;;5724:166;;;-1:-1:-1::0;5933:10:0;5906:24:::1;5960:624;5981:17;5977:1;:21;5960:624;;;6048:1;6032:10;6043:1;6032:13;;;;;;;;;;;:17;6024:55;;;::::0;;-1:-1:-1;;;6024:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;6098:14;6115:75;6178:11;6115:58;6171:1;6157:11;:15;6115:37;6135:16;6115:12;6128:1;6115:15;;;;;;;;;;::::0;;:19:::1;:37::i;:::-;:41:::0;::::1;:58::i;:75::-;6098:92;;6227:10;6238:1;6227:13;;;;;;;;;;;6217:6;:23;;6209:68;;;::::0;;-1:-1:-1;;;6209:68:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;6298:61;6325:10;6345:4;6352:6;6298:7;6306:1;6298:10;;;;;;:61;6399:59;6442:12;6455:1;6442:15;;;;;;;;;;;6399:38;6431:4;6399:7;6407:1;6399:10;;;;;;:59;6378:15;6394:1;6378:18;;;;;;;;;;:80:::0;6490:78:::1;6499:10:::0;6511:56:::1;6551:12:::0;6564:1;6551:15:::1;::::0;::::1;;;;;;;;;6511:35;6527:15;6543:1;6527:18;;;;;;;;;;::::0;6511:11;;:15:::1;:35::i;6490:78::-;6477:91:::0;-1:-1:-1;;6000:3:0::1;;5960:624;;;;6600:20;6623:13;:11;:13::i;:::-;6600:36;;6672:6;6667:332;6688:17;6684:1;:21;6667:332;;;6731:116;6775:12;6789;6802:1;6789:15;;;;;;;;;;::::0;6806:27:::1;:11:::0;6822:10;6806:15:::1;:27::i;:::-;6835:11;6731:25;:37;6757:7;6765:1;6757:10;;;;;;;;;;;-1:-1:-1::0;;;;;6731:37:0::1;-1:-1:-1::0;;;;;6731:37:0::1;;;;;;;;;;;;:43;;:116;;;;;;;:::i;:::-;6866:117;6911:12;6925;6938:1;6925:15;;;;;;;;;;::::0;6942:27:::1;:11:::0;6958:10;6942:15:::1;:27::i;:::-;6971:11;6866:26;:38;6893:7;6901:1;6893:10;;;;;;6866:117;6707:3;;6667:332;;;;4764:2246;;;;7043:1;7030:10;:14;7022:58;;;::::0;;-1:-1:-1;;;7022:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;7091:25;7097:6;7105:10;7091:5;:25::i;:::-;7176:18:::0;;::::1;7196::::0;;::::1;::::0;7134:81:::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;-1:-1:-1;;;;;7134:81:0;::::1;::::0;7144:10:::1;::::0;7134:81:::1;::::0;;;;;;;::::1;-1:-1:-1::0;;1628:1:20;2563:7;:22;4318:2905:0;;;;-1:-1:-1;4318:2905:0;-1:-1:-1;;4318:2905:0:o;6295:266:16:-;6388:4;6404:129;6413:12;:10;:12::i;:::-;6427:7;6436:96;6475:15;6436:96;;;;;;;;;;;;;;;;;:11;:25;6448:12;:10;:12::i;:::-;-1:-1:-1;;;;;6436:25:16;;;;;;;;;;;;;;;;;-1:-1:-1;6436:25:16;;;:34;;;;;;;;;;;:96;:38;:96::i;3738:172::-;3824:4;3840:42;3850:12;:10;:12::i;:::-;3864:9;3875:6;3840:9;:42::i;2915:168:0:-;3002:15;;;3015:1;3002:15;;;2958:22;3002:15;;;;;2958:22;3002:15;;;;;;;;;;-1:-1:-1;3002:15:0;2993:24;;3040:6;3028;3035:1;3028:9;;;;;;;;;;;;;:18;-1:-1:-1;;;;;3028:18:0;;;-1:-1:-1;;;;;3028:18:0;;;;;3069:6;3057;3064:1;3057:9;;;;;;;;;;;;;:18;-1:-1:-1;;;;;3057:18:0;;;-1:-1:-1;;;;;3057:18:0;;;;;2915:168;:::o;1977:45::-;;;;;;;;;;;;;;;;;;;;;;:::o;1940:30::-;;;:::o;8572:216::-;8688:14;8722:58;8730:3;8735;8740:6;8748:9;8759:8;8769:10;8722:7;:58::i;:::-;8715:65;8572:216;-1:-1:-1;;;;;;8572:216:0:o;3346:246::-;3411:7;;3449:33;-1:-1:-1;;;;;3449:18:0;;3476:4;3449:18;:33::i;:::-;3431:51;;3500:84;3509:65;3551:13;:11;:13::i;:::-;-1:-1:-1;;;;;3509:33:0;;;;;;:26;:33;;;;;;;;;:41;;;;;;;;;;;;;;;;;;;;;;;;3566:7;3509:41;:65::i;:::-;3576:7;3500:8;:84::i;886:71:1:-;;;:::o;3968:149:16:-;-1:-1:-1;;;;;4083:18:16;;;4057:7;4083:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3968:149::o;1520:87:1:-;1581:17;;;;;;;;:4;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1581:19:1;;:17;:19::i;8796:1144:0:-;8968:14;1671:1:20;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;;;;2232:26:0::1;-1:-1:-1::0;;;;;2232:35:0::1;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;2232:37:0;2224:77:::1;;;::::0;;-1:-1:-1;;;2224:77:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;9017:11:::2;:3;-1:-1:-1::0;;;;;9017:9:0::2;;:11::i;:::-;:24;;9040:1;9017:24;;;9031:6;9017:24;9003:9;:39;8995:80;;;::::0;;-1:-1:-1;;;8995:80:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;9088:24;;:::i;:::-;9115:156;;;;;;;;9144:64;9180:11;:3;-1:-1:-1::0;;;;;9180:9:0::2;;:11::i;:::-;:27;;9206:1;9180:27;;;9194:9;9180:27;9144:31;-1:-1:-1::0;;;;;9144:16:0;::::2;9169:4;9144:16;:31::i;:64::-;9115:156:::0;;::::2;;9228:31;-1:-1:-1::0;;;;;9228:16:0;::::2;9253:4;9228:16;:31::i;:::-;9115:156:::0;;9088:183;-1:-1:-1;9282:17:0::2;9310:31;;:::i;:::-;9352:16;;:::i;:::-;9371:83;;;;;;;;9396:5;:3;:5::i;:::-;9371:83;;;;9429:13;:11;:13::i;:::-;9371:83:::0;;9352:102;-1:-1:-1;9504:67:0::2;9517:3:::0;9522;9527:6;9535:9;9546:8;9556;9352:102;9504:12:::2;:67::i;:::-;9465:106;;;;;;;;;;;;9625:3;-1:-1:-1::0;;;;;9587:128:0::2;9607:8;-1:-1:-1::0;;;;;9587:128:0::2;9595:10;-1:-1:-1::0;;;;;9587:128:0::2;;9639:3;9645:9;9656:6;9664:15;:19;;;9685:15;:19;;;9706:8;9587:128;;;;-1:-1:-1::0;;;;;9587:128:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;9587:128:0::2;;;;;;;;;;;;;;;;;;;;9726:57;9739:9;9750:6;9758:8;9768;9778:4;9726:12;:57::i;:::-;-1:-1:-1::0;;;;;;;9839:12:0;;::::2;;::::0;;;:7:::2;:12;::::0;;;;:44;;9894:38;9839:44:::2;::::0;;::::2;::::0;;::::2;::::0;::::2;::::0;;;::::2;::::0;;;::::2;9894:38:::0;;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;::::0;::::2;::::0;;;::::2;::::0;;;9839:44;2563:7:20;:22;9925:6:0;8796:1144;-1:-1:-1;;;;;;8796:1144:0:o;3600:244::-;3664:7;;3702:33;-1:-1:-1;;;;;3702:18:0;;3729:4;3702:18;:33::i;:::-;3684:51;;3753:83;3762:64;3803:13;:11;:13::i;:::-;-1:-1:-1;;;;;3762:32:0;;;;;;:25;:32;;;;;;;;;:40;;;;;;;;;;;;;;;;;;;;;;;;3818:7;3762:40;:64::i;:::-;3828:7;3753:8;:83::i;3540:456:1:-;502:9:5;3606:4:1;:44;;3598:86;;;;;-1:-1:-1;;;3598:86:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;261:9:5;3702:4:1;:44;;3694:85;;;;;-1:-1:-1;;;3694:85:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;3814:10;3826:30;;;;:18;:30;;;;;;;;;3790:199;;;;;;;;;;;;;;3814:10;3858:15;3868:4;3858:9;:15::i;:::-;3875:21;3885:10;3875:9;:21::i;:::-;3898:13;:11;:13::i;:::-;3913:26;-1:-1:-1;;;;;3913:45:1;;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3913:47:1;3790:12;;:199;;;;;3962:26;3790:23;:199::i;1831:149::-;1919:4;:19;;;;;;1940:16;;;;;;;1958:14;;;;;;1831:149::o;1983:240:13:-;1280:12;:10;:12::i;:::-;1270:6;;-1:-1:-1;;;;;1270:6:13;;;:22;;;1262:67;;;;;-1:-1:-1;;;1262:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2071:22:13;::::1;2063:73;;;;-1:-1:-1::0;;;2063:73:13::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;2151:38:::1;::::0;-1:-1:-1;;;;;2151:38:13;;::::1;::::0;2172:6:::1;::::0;2151:38:::1;::::0;2172:6:::1;::::0;2151:38:::1;2199:6;:17:::0;;;::::1;-1:-1:-1::0;;;;;2199:17:13;;;::::1;::::0;;;::::1;::::0;;1983:240::o;4484:255:1:-;4561:10;4573:30;;;;:18;:30;;;;;;;;;4537:195;;;;;;;;;;;;;;4561:10;4605:11;:9;:11::i;258:171:6:-;315:7;350:6;342:5;:14;334:57;;;;;-1:-1:-1;;;334:57:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;416:5:6;258:171::o;401:147:11:-;451:21;;:::i;:::-;-1:-1:-1;491:50:11;;;;;;;;;529:1;522:8;;491:50;;401:147;;;:::o;4931:212:1:-;5067:69;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5067:69:1;;;;;;;;;;;;;4931:212;;;;:::o;515:425:4:-;841:92;849:4;855;861:7;870;879;888;897:11;910;923:9;841:7;:92::i;:::-;515:425;;;;;;;;:::o;590:104:12:-;677:10;590:104;:::o;9359:340:16:-;-1:-1:-1;;;;;9460:19:16;;9452:68;;;;-1:-1:-1;;;9452:68:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9538:21:16;;9530:68;;;;-1:-1:-1;;;9530:68:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9609:18:16;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;9660:32;;;;;;;;;;;;;;;;;9359:340;;;:::o;4745:180:1:-;4865:53;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4865:53:1;;;;;;;;;;;;;4745:180;;;;:::o;13898:897:0:-;14054:7;14084:3;-1:-1:-1;;;;;14078:9:0;:3;-1:-1:-1;;;;;14078:9:0;;14074:65;;;14118:3;;14123;14074:65;14162:1;14153:6;:10;:27;;;;;14174:6;-1:-1:-1;;;;;14167:13:0;:3;-1:-1:-1;;;;;14167:13:0;;14153:27;:44;;;;;14191:6;-1:-1:-1;;;;;14184:13:0;:3;-1:-1:-1;;;;;14184:13:0;;14153:44;14149:639;;;14214:19;14236:68;14247:56;137:4:5;14247:15:0;:6;14258:3;14247:10;:15::i;:56::-;14236:6;;:10;:68::i;:::-;14214:90;-1:-1:-1;14319:33:0;14355:27;:10;14214:90;14355:14;:27::i;:::-;14319:63;-1:-1:-1;14397:11:0;14411:58;14319:63;14411:27;:11;14427:10;14411:15;:27::i;:58::-;14397:72;-1:-1:-1;14484:20:0;14507:100;14578:28;:11;14594;14578:15;:28::i;:::-;14507:66;137:4:5;14547:25:0;14507:39;:66::i;:100::-;14484:123;-1:-1:-1;14622:22:0;14647:66;137:4:5;14687:25:0;14647:39;:66::i;:::-;14622:91;-1:-1:-1;14735:41:0;14622:91;14735:21;:3;14743:12;14735:7;:21::i;:41::-;14728:48;;;;;;;14149:639;13898:897;;;;;;;;;:::o;7035:530:16:-;-1:-1:-1;;;;;7140:20:16;;7132:70;;;;-1:-1:-1;;;7132:70:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7220:23:16;;7212:71;;;;-1:-1:-1;;;7212:71:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7294:47;7315:6;7323:9;7334:6;7294:20;:47::i;:::-;7372:71;7394:6;7372:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7372:17:16;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;7352:17:16;;;:9;:17;;;;;;;;;;;:91;;;;7476:20;;;;;;;:32;;7501:6;7476:24;:32::i;:::-;-1:-1:-1;;;;;7453:20:16;;;:9;:20;;;;;;;;;;;;:55;;;;7523:35;;;;;;;7453:20;;7523:35;;;;;;;;;;;;;7035:530;;;:::o;1746:187:15:-;1832:7;1867:12;1859:6;;;;1851:29;;;;-1:-1:-1;;;1851:29:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1902:5:15;;;1746:187::o;376:385:10:-;445:7;464:18;485:60;266:6;514:30;534:4;:9;;;514:30;;:15;:19;;:30;;;;:::i;485:60::-;464:81;-1:-1:-1;555:18:10;576:34;266:6;464:81;576:22;:34::i;:::-;555:55;;627:127;266:6;627:103;684:36;709:10;692:4;:11;;;684:20;;:24;;:36;;;;:::i;:::-;635:14;;627:39;;:23;;655:10;627:27;:39::i;:127::-;620:134;376:385;-1:-1:-1;;;;376:385:10:o;874:176:15:-;932:7;963:5;;;986:6;;;;978:46;;;;;-1:-1:-1;;;978:46:15;;;;;;;;;;;;;;;;;;;;;;;;;;;8524:410:16;-1:-1:-1;;;;;8607:21:16;;8599:67;;;;-1:-1:-1;;;8599:67:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8677:49;8698:7;8715:1;8719:6;8677:20;:49::i;:::-;8758:68;8781:6;8758:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8758:18:16;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;8737:18:16;;:9;:18;;;;;;;;;;:89;8851:12;;:24;;8868:6;8851:16;:24::i;:::-;8836:12;:39;8890:37;;;;;;;;8916:1;;-1:-1:-1;;;;;8890:37:16;;;;;;;;;;;;8524:410;;:::o;434:228:8:-;510:7;533:12;539:5;533;:12::i;:::-;529:127;;;-1:-1:-1;;;;;;568:15:8;;;561:22;;529:127;621:5;-1:-1:-1;;;;;621:15:8;;637:7;621:24;;;;;;;;;;;;;-1:-1:-1;;;;;621:24:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;621:24:8;;-1:-1:-1;614:31:8;;2180:459:15;2238:7;2479:6;2475:45;;-1:-1:-1;2508:1:15;2501:8;;2475:45;2542:5;;;2546:1;2542;:5;:1;2565:5;;;;;:10;2557:56;;;;-1:-1:-1;;;2557:56:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3101:130;3159:7;3185:39;3189:1;3192;3185:39;;;;;;;;;;;;;;;;;:3;:39::i;668:275:8:-;762:10;;758:179;;792:12;798:5;792;:12::i;:::-;788:139;;;824:19;;-1:-1:-1;;;;;824:11:8;;;:19;;;;;836:6;;824:19;;;;836:6;824:11;:19;;;;;;;;;;;;;;;;;;;;;788:139;;;882:30;-1:-1:-1;;;;;882:18:8;;901:2;905:6;882:18;:30::i;:::-;668:275;;;:::o;1321:134:15:-;1379:7;1405:43;1409:1;1412;1405:43;;;;;;;;;;;;;;;;;:3;:43::i;704:233:9:-;842:88;846:4;852:77;923:5;852:66;905:12;923:5;915:1;905:9;:12::i;:::-;852:39;;;;;;;;;;;;;;;;;;;;;;;;;:48;;896:3;;852:39;;866:11;879;852:7;:39::i;:::-;:43;;:48::i;:77::-;842:3;:88::i;:::-;704:233;;;;;:::o;267:128:11:-;305:21;;:::i;:::-;-1:-1:-1;345:43:11;;;;;;;;;-1:-1:-1;345:43:11;;267:128;:::o;863:233::-;996:10;;973:7;;996:14;992:66;;-1:-1:-1;1033:10:11;;:14;;1026:21;;992:66;1074:13;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1074:15:11;;863:233;-1:-1:-1;;;;863:233:11:o;317:111:8:-;-1:-1:-1;;;;;392:28:8;;;317:111::o;7835:370:16:-;-1:-1:-1;;;;;7918:21:16;;7910:65;;;;;-1:-1:-1;;;7910:65:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;7986:49;8015:1;8019:7;8028:6;7986:20;:49::i;:::-;8061:12;;:24;;8078:6;8061:16;:24::i;:::-;8046:12;:39;-1:-1:-1;;;;;8116:18:16;;:9;:18;;;;;;;;;;;:30;;8139:6;8116:22;:30::i;:::-;-1:-1:-1;;;;;8095:18:16;;:9;:18;;;;;;;;;;;:51;;;;8161:37;;;;;;;8095:18;;:9;;8161:37;;;;;;;;;;7835:370;;:::o;215:105:14:-;273:7;304:1;299;:6;;:14;;312:1;299:14;;;-1:-1:-1;308:1:14;;215:105;-1:-1:-1;215:105:14:o;949:644:8:-;1061:10;;1057:530;;1091:12;1097:5;1091;:12::i;:::-;1087:490;;;1144:6;1131:9;:19;;1123:58;;;;;-1:-1:-1;;;1123:58:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1207:18:8;;1215:10;1207:18;1199:53;;;;;-1:-1:-1;;;1199:53:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1278:19:8;;1292:4;1278:19;1270:46;;;;;-1:-1:-1;;;1270:46:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;1350:6;1338:9;:18;1334:150;;;-1:-1:-1;;;;;1429:13:8;;:36;1443:21;:9;1457:6;1443:13;:21::i;:::-;1429:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1334:150;1087:490;;;1522:40;-1:-1:-1;;;;;1522:22:8;;1545:4;1551:2;1555:6;1522:22;:40::i;:::-;949:644;;;;:::o;391:104:14:-;449:7;479:1;475;:5;:13;;487:1;475:13;;943:398:9;1057:7;1076:18;1097:53;1106:11;1119:30;1139:4;:9;;;1119:30;;:15;:19;;:30;;;;:::i;1097:53::-;1076:74;-1:-1:-1;1160:18:9;1181:27;:11;1076:74;1181:15;:27::i;:::-;1160:48;-1:-1:-1;1225:109:9;1322:11;1225:92;1280:27;:11;1296:10;1280:15;:27::i;:::-;1233:12;;1225:37;;:21;;1251:10;1225:25;:37::i;9948:1639:0:-;10124:17;10143:14;10159:31;;:::i;:::-;10208:20;10231:13;:11;:13::i;:::-;10331:12;;-1:-1:-1;;;;;10277:31:0;;10331:12;10277:31;;;:26;:31;;;;;;;;;:39;;;;;;;;;;;;;;;;;;;;;;;10208:36;;-1:-1:-1;10277:67:0;;:39;10208:36;;10277:39;:67::i;:::-;10255:89;;;10407:12;;10377:43;;10255:89;10377:8;:43::i;:::-;10355:65;;10506:12;;;;;-1:-1:-1;;;;;10453:30:0;;10355:19;10453:30;;;:25;:30;;;;;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;:66;;:38;10492:12;;10453:38;:66::i;:::-;10431:19;;;;:88;;;10582:12;;;10552:43;;10431:88;10552:8;:43::i;:::-;10530:19;;;:65;10606:54;-1:-1:-1;;;;;10606:19:0;;10626:10;10646:4;10653:6;10606:19;:54::i;:::-;10719:12;;10683:49;;:31;-1:-1:-1;;;;;10683:16:0;;10708:4;10683:16;:31::i;:49::-;10671:61;;10752:101;10763:3;10768;10773:9;10784:15;:19;;;10805:15;:19;;;10826:4;:8;;;10836:4;:16;;;10752:10;:101::i;:::-;10743:110;;10881:1;10872:6;:10;:33;;;;;10896:9;10886:6;:19;;10872:33;10864:77;;;;;-1:-1:-1;;;10864:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10952:33;-1:-1:-1;;;;;10952:15:0;;10968:8;10978:6;10952:15;:33::i;:::-;11108:12;;11085:19;;:35;11081:139;;11173:19;;11137:71;;11173:34;;11197:9;11173:23;:34::i;:::-;-1:-1:-1;;;;;11137:31:0;;;;;;:26;:31;;;;;;:35;:71::i;:::-;11257:8;:12;;;11234:15;:19;;;:35;11230:135;;11321:19;;;;11286:67;;11321:31;;11345:6;11321:23;:31::i;:::-;-1:-1:-1;;;;;11286:30:0;;;;;;:25;:30;;;;;;:34;:67::i;:::-;11489:12;;-1:-1:-1;;;;;11437:30:0;;11489:12;11437:30;;;:25;:30;;;;;:65;;11475:12;;11437:37;:65::i;:::-;11566:12;;;;;-1:-1:-1;;;;;11513:31:0;;;;;;:26;:31;;;;;;;:66;;11552:12;;11513:38;:66::i;:::-;9948:1639;;;;;;;;;;;;:::o;11595:1794::-;11734:21;11757:23;11782:29;11813:27;11844:26;-1:-1:-1;;;;;11844:42:0;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11844:44:0;;;;;;;;;;;;;;;12019:12;;11844:44;;-1:-1:-1;11844:44:0;;-1:-1:-1;11844:44:0;;-1:-1:-1;11844:44:0;;-1:-1:-1;11934:4:0;;11967:65;;:47;11986:27;12019:12;12003:9;11986:16;:27::i;:::-;11967:14;;:18;:47::i;:65::-;12109:12;;;;11950:82;;-1:-1:-1;12060:62:0;;:44;12079:24;12109:12;12096:6;12079:16;:24::i;12060:62::-;12043:79;;12154:4;12137:14;:21;12133:1139;;;12252:21;:14;:19;:21::i;:::-;12235:38;-1:-1:-1;12288:19:0;12310:63;12235:38;12310:43;12328:24;12235:38;12347:4;12328:18;:24::i;:::-;12310:13;:11;:13::i;:63::-;12288:85;-1:-1:-1;;;;;;12394:22:0;;;12390:557;;12453:71;137:4:5;12453:30:0;:11;12469:13;12453:15;:30::i;:71::-;12437:87;-1:-1:-1;12547:17:0;;12543:389;;-1:-1:-1;;;;;12593:33:0;;;12589:324;;12655:41;12661:19;12682:13;12655:5;:41::i;:::-;12744:19;-1:-1:-1;;;;;12723:54:0;;12778:8;12788:13;12723:79;;;;;;;;;;;;;-1:-1:-1;;;;;12723:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12589:324;;;12859:30;12865:8;12875:13;12859:5;:30::i;:::-;-1:-1:-1;;;;;12967:35:0;;;12963:298;;13041:73;137:4:5;13041:32:0;:11;13057:15;13041;:32::i;:73::-;13023:91;-1:-1:-1;13137:19:0;;13133:113;;13181:45;13187:21;13210:15;13181:5;:45::i;:::-;12133:1139;;13294:12;;13308;;;;;13322:8;;13332:16;;;;13289:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11595:1794;;;;;;;;;;:::o;5149:212:1:-;5285:69;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5285:69:1;;;;;;;;;;;;;5149:212;;;;:::o;1421:1836:4:-;1795:17;;;;1897:18;;;;1795:17;;1897:18;1981:19;:7;:17;:19::i;:::-;1977:207;;;2034:31;:15;2054:10;2034:19;:31::i;:::-;2016:49;;1977:207;;;2113:60;2132:40;2147:24;:7;2159:11;2147;:24::i;:::-;2132:10;;:14;:40::i;:::-;2113:14;;:18;:60::i;:::-;2096:77;;1977:207;2198:19;:7;:17;:19::i;:::-;2194:207;;;2251:31;:15;2271:10;2251:19;:31::i;:::-;2233:49;;2194:207;;;2330:60;2349:40;2364:24;:7;2376:11;2364;:24::i;:::-;2349:10;;:14;:40::i;:::-;2330:14;;:18;:60::i;:::-;2313:77;;2194:207;2433:14;2415;:32;2411:97;;2463:17;;;:34;;;2411:97;2541:15;2522;:34;2518:101;;2572:18;;;:36;;;2518:101;2643:17;2663:19;;:108;;2699:72;2756:14;2699:52;2718:32;:15;2738:11;2718:19;:32::i;:::-;2699:14;;:18;:52::i;:72::-;2663:108;;;2685:11;2663:108;2643:128;;2785:28;;:::i;:::-;-1:-1:-1;2785:40:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2843:24;;2839:230;;2909:26;:14;:4;:12;:14::i;:::-;:24;:26::i;:::-;2887:48;;;;;;;;;;;;2972:21;:9;:19;:21::i;:::-;2953:40;;;;;;;;;;;;;;;;3028:26;:15;:24;:26::i;:::-;3011:43;;;;;;;;;;;;;;;;2839:230;-1:-1:-1;3094:19:4;;-1:-1:-1;3094:7:4;3105;3094:10;:19::i;:::-;3089:77;;-1:-1:-1;;;;;3129:16:4;;;;;;:10;;;:16;;;;;:26;;;;3089:77;3176:74;3186:4;3192:24;:7;3204:11;3192;:24::i;:::-;3218:19;:7;:17;:19::i;:::-;3239:10;3176:9;:74;;:::i;:::-;1421:1836;;;;;;;;;;;;;:::o;5367:1521:1:-;5479:2;-1:-1:-1;;;;;5471:10:1;:4;-1:-1:-1;;;;;5471:10:1;;5467:87;;;5537:7;;5467:87;5564:15;-1:-1:-1;;;;;5584:18:1;;;;:68;;;5606:26;-1:-1:-1;;;;;5606:40:1;;5647:4;5606:46;;;;;;;;;;;;;-1:-1:-1;;;;;5606:46:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5606:46:1;5584:68;5582:71;;-1:-1:-1;5663:13:1;-1:-1:-1;;;;;5681:16:1;;;;:64;;;5701:26;-1:-1:-1;;;;;5701:40:1;;5742:2;5701:44;;;;;;;;;;;;;-1:-1:-1;;;;;5701:44:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5701:44:1;5681:64;5679:67;5663:83;;5762:10;5761:11;:24;;;;;5777:8;5776:9;5761:24;5757:121;;;5861:7;;;;5757:121;5888:19;-1:-1:-1;;;;;5911:18:1;;5910:42;;5951:1;5910:42;;;5933:15;5943:4;5933:9;:15::i;:::-;5888:64;-1:-1:-1;5962:17:1;-1:-1:-1;;;;;5983:16:1;;5982:38;;6019:1;5982:38;;;6003:13;6013:2;6003:9;:13::i;:::-;5962:58;-1:-1:-1;6030:22:1;6055:111;-1:-1:-1;;;;;6136:16:1;;;:29;;6164:1;6136:29;;;6155:6;6136:29;6055:63;-1:-1:-1;;;;;6086:18:1;;;:31;;6116:1;6086:31;;;6107:6;6086:31;6055:13;:11;:13::i;:111::-;6030:136;;6177:26;;:::i;:::-;6206:280;;;;;;;;6239:4;-1:-1:-1;;;;;6206:280:1;;;;;6261:2;-1:-1:-1;;;;;6206:280:1;;;;;6289:10;6206:280;;;;;;6323:8;6206:280;;;;;;6353:6;6206:280;;;;6386:11;6206:280;;;;6422:9;6206:280;;;;6461:14;6206:280;;;6177:309;;6498:18;6518:26;6546;6576;-1:-1:-1;;;;;6576:35:1;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6576:37:1;;;;;;;;;;;;;-1:-1:-1;6576:37:1;;-1:-1:-1;6576:37:1;-1:-1:-1;6624:63:1;6642:6;6576:37;6662:18;6682:4;6624:17;:63::i;:::-;6697:87;6715:6;6723:18;6743:26;6771:12;6697:17;:87::i;:::-;6794;6812:6;6820:18;6840:26;6868:12;6794:17;:87::i;:::-;5367:1521;;;;;;;;;;;;:::o;3713:272:15:-;3799:7;3833:12;3826:5;3818:28;;;;-1:-1:-1;;;3818:28:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3856:9;3872:1;3868;:5;;;;;;;3713:272;-1:-1:-1;;;;;3713:272:15:o;696:175:18:-;805:58;;;-1:-1:-1;;;;;805:58:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;828:23;805:58;;;778:86;;798:5;;778:19;:86::i;352:172:9:-;450:19;:7;:17;:19::i;:::-;435:34;;;;;;;;;;;;491:26;:15;:24;:26::i;:::-;479:38;;;;;;;;;;;;;;;;;-1:-1:-1;352:172:9:o;877:203:18:-;1004:68;;;-1:-1:-1;;;;;1004:68:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1027:27;1004:68;;;977:96;;997:5;;977:19;:96::i;530:168:9:-;651:39;;;;;;;;;;;;;;;;;;;;;;;;;641:50;;651:39;;;;665:11;678;651:7;:39::i;187:371:7:-;235:7;262:1;258;:5;254:298;;;291:1;326;322;318:5;;:9;341:89;352:1;348;:5;341:89;;;377:1;373:5;;414:1;409;405;401;:5;;;;;;:9;400:15;;;;;;396:19;;341:89;;;-1:-1:-1;450:1:7;-1:-1:-1;443:8:7;;254:298;472:6;;468:84;;-1:-1:-1;501:1:7;494:8;;468:84;-1:-1:-1;540:1:7;533:8;;554:104:11;636:10;:15;;554:104::o;664:193::-;761:10;;738:7;;761:14;757:66;;-1:-1:-1;798:10:11;;:14;;791:21;;757:66;-1:-1:-1;839:11:11;664:193;-1:-1:-1;664:193:11:o;435:166:6:-;491:6;525:5;517;:13;509:55;;;;;-1:-1:-1;;;509:55:6;;;;;;;;;;;;;;;;;;;;;;;;;;;127:134:11;244:10;230;;:24;;127:134::o;7129:1115:1:-;7362:25;;:::i;:::-;-1:-1:-1;7407:11:1;;-1:-1:-1;;;;;7390:29:1;;;;;:16;;;:29;;;;;;;;;7362:57;;;;;;;;;;;;7429:23;;:::i;:::-;-1:-1:-1;7472:9:1;;;;;-1:-1:-1;;;;;7455:27:1;;;;;:16;;;:27;;;;;;;7429:53;;;;;;;;;;;7497:20;:8;:18;:20::i;:::-;:42;;;;;7521:18;:6;:16;:18::i;:::-;7497:63;;;;;7543:6;:17;;;7497:63;:82;;;;;7564:6;:15;;;7497:82;7493:331;;;7605:11;;7595:95;;7618:26;:8;7631:12;7618;:26::i;:::-;7646:4;7652:37;7675:6;:13;;;7652:6;:18;;;:22;;:37;;;;:::i;:::-;7595:9;:95;;:::i;:::-;7714:9;;;;7704:89;;7725:24;:6;7736:12;7725:10;:24::i;:::-;7751:4;7757:35;7778:6;:13;;;7757:6;:16;;;:20;;:35;;;;:::i;7704:89::-;7807:7;;;;7493:331;7838:6;:17;;;7834:202;;;7896:11;;7919:18;;;;7962:13;;;;7871:154;;7896:11;7909:8;;7939:37;;7919:18;;7939:22;:37::i;:::-;7978:21;;;;7871:10;;:154;;;;8001:12;8015:9;7871:24;:154::i;:::-;8050:6;:15;;;8046:192;;;8106:9;;;;8125:16;;;;8164:13;;;;8081:146;;8106:9;8117:6;;8143:35;;8125:16;;8143:20;:35::i;8081:146::-;7129:1115;;;;;;:::o;2959:751:18:-;3378:23;3404:69;3432:4;3404:69;;;;;;;;;;;;;;;;;3412:5;-1:-1:-1;;;;;3404:27:18;;;:69;;;;;:::i;:::-;3487:17;;3378:95;;-1:-1:-1;3487:21:18;3483:221;;3627:10;3616:30;;;;;;;;;;;;;;;-1:-1:-1;3616:30:18;3608:85;;;;-1:-1:-1;;;3608:85:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81:171:6;138:7;173:6;165:5;:14;157:57;;;;;-1:-1:-1;;;157:57:6;;;;;;;;;;;;;;;;;;;;;;;;;;;607:166;663:6;697:5;689;:13;681:55;;;;;-1:-1:-1;;;681:55:6;;;;;;;;;;;;;;;;;;;;;;;;;;;946:469:4;1275:133;1283:4;1289;1295:7;1304:15;;:39;;1336:7;1304:39;;;1322:11;:9;:11::i;:::-;1345:10;1357;1369:14;1385:11;1398:9;1275:7;:133::i;3770:194:19:-;3873:12;3904:53;3927:6;3935:4;3941:1;3944:12;5247;5279:18;5290:6;5279:10;:18::i;:::-;5271:60;;;;;-1:-1:-1;;;5271:60:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:12;5416:23;5443:6;-1:-1:-1;;;;;5443:11:19;5463:8;5474:4;5443:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5401:78;;;;5493:7;5489:580;;;5523:10;-1:-1:-1;5516:17:19;;-1:-1:-1;5516:17:19;5489:580;5634:17;;:21;5630:429;;5892:10;5886:17;5952:15;5939:10;5935:2;5931:19;5924:44;5841:145;6024:20;;-1:-1:-1;;;6024:20:19;;;;;;;;;;;;;;;;;6031:12;;6024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;718:610;778:4;1239:20;;1084:66;1278:23;;;;;;:42;;-1:-1:-1;;1305:15:19;;;718:610;-1:-1:-1;;718:610:19:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://b7c4ae76b928feb23d84039678b85c3796508e1246874f8b73fb7232c9d90ea3
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.