More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 541 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
User Withdraw To... | 12964221 | 1195 days ago | IN | 0 ETH | 0.00267236 | ||||
User Withdraw To... | 12941984 | 1199 days ago | IN | 0 ETH | 0.00198873 | ||||
User Withdraw To... | 12929798 | 1201 days ago | IN | 0 ETH | 0.00198252 | ||||
User Withdraw To... | 12929226 | 1201 days ago | IN | 0 ETH | 0.00287123 | ||||
User Withdraw To... | 12918358 | 1203 days ago | IN | 0 ETH | 0.00136725 | ||||
User Withdraw To... | 12916431 | 1203 days ago | IN | 0 ETH | 0.00261021 | ||||
User Withdraw To... | 12916431 | 1203 days ago | IN | 0 ETH | 0.00261021 | ||||
User Withdraw To... | 12916430 | 1203 days ago | IN | 0 ETH | 0.00261021 | ||||
User Withdraw To... | 12916429 | 1203 days ago | IN | 0 ETH | 0.001486 | ||||
User Withdraw To... | 12916428 | 1203 days ago | IN | 0 ETH | 0.00261021 | ||||
User Withdraw To... | 12916412 | 1203 days ago | IN | 0 ETH | 0.00205088 | ||||
User Withdraw To... | 12916411 | 1203 days ago | IN | 0 ETH | 0.00205088 | ||||
User Withdraw To... | 12916410 | 1203 days ago | IN | 0 ETH | 0.00198873 | ||||
User Withdraw To... | 12893337 | 1206 days ago | IN | 0 ETH | 0.0005469 | ||||
User Withdraw To... | 12889490 | 1207 days ago | IN | 0 ETH | 0.00105651 | ||||
User Withdraw To... | 12885716 | 1208 days ago | IN | 0 ETH | 0.00198252 | ||||
User Withdraw To... | 12872638 | 1210 days ago | IN | 0 ETH | 0.00087007 | ||||
User Withdraw To... | 12871427 | 1210 days ago | IN | 0 ETH | 0.00226964 | ||||
User Withdraw To... | 12868255 | 1210 days ago | IN | 0 ETH | 0.00085764 | ||||
User Withdraw To... | 12865603 | 1211 days ago | IN | 0 ETH | 0.00124296 | ||||
User Withdraw To... | 12865012 | 1211 days ago | IN | 0 ETH | 0.00129267 | ||||
User Withdraw To... | 12861080 | 1212 days ago | IN | 0 ETH | 0.00422606 | ||||
User Withdraw To... | 12856181 | 1212 days ago | IN | 0 ETH | 0.00149155 | ||||
User Withdraw To... | 12854588 | 1213 days ago | IN | 0 ETH | 0.00104408 | ||||
User Withdraw To... | 12849875 | 1213 days ago | IN | 0 ETH | 0.00087007 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12770231 | 1226 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x21C77587...28FE94875 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Presale01
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: UNLICENSED // ALL RIGHTS RESERVED // Unicrypt reserves all rights on this code. You may NOT copy these contracts. // Presale contract. Version 2 /** Allows a decentralised presale to take place, and on success creates a uniswap pair and locks liquidity on Unicrypt. B_TOKEN, or base token, is the token the presale attempts to raise. (Usally ETH). S_TOKEN, or sale token, is the token being sold, which investors buy with the base token. If the base currency is set to the WETH9 address, the presale is in ETH. Otherwise it is for an ERC20 token - such as DAI, USDC, WBTC etc. For the Base token - It is advised to only use tokens such as ETH (WETH), DAI, USDC or tokens that have no rebasing, or complex fee on transfers. 1 token should ideally always be 1 token. Token withdrawls are done on a percent of total contribution basis (opposed to via a hardcoded 'amount'). This allows fee on transfer, rebasing, or any magically changing balances to still work for the Sale token. */ pragma solidity 0.6.12; import "./TransferHelper.sol"; import "./EnumerableSet.sol"; import "./SafeMath.sol"; import "./ReentrancyGuard.sol"; import "./IERC20.sol"; interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); function createPair(address tokenA, address tokenB) external returns (address pair); } interface IPresaleLockForwarder { function lockLiquidity (IERC20 _baseToken, IERC20 _saleToken, uint256 _baseAmount, uint256 _saleAmount, uint256 _unlock_date, address payable _withdrawer) external; function uniswapPairIsInitialised (address _token0, address _token1) external view returns (bool); } interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; } interface IPresaleSettings { function getMaxPresaleLength () external view returns (uint256); function getRound1Length () external view returns (uint256); function userHoldsSufficientRound1Token (address _user) external view returns (bool); function referrerIsValid(address _referrer) external view returns (bool); function getBaseFee () external view returns (uint256); function getTokenFee () external view returns (uint256); function getEthAddress () external view returns (address payable); function getTokenAddress () external view returns (address payable); function getReferralFee () external view returns (uint256); function getEthCreationFee () external view returns (uint256); } contract Presale01 is ReentrancyGuard { using SafeMath for uint256; using EnumerableSet for EnumerableSet.AddressSet; /// @notice Presale Contract Version, used to choose the correct ABI to decode the contract uint256 public CONTRACT_VERSION = 2; struct PresaleInfo { address payable PRESALE_OWNER; IERC20 S_TOKEN; // sale token IERC20 B_TOKEN; // base token // usually WETH (ETH) uint256 TOKEN_PRICE; // 1 base token = ? s_tokens, fixed price uint256 MAX_SPEND_PER_BUYER; // maximum base token BUY amount per account uint256 AMOUNT; // the amount of presale tokens up for presale uint256 HARDCAP; uint256 SOFTCAP; uint256 LIQUIDITY_PERCENT; // divided by 1000 uint256 LISTING_RATE; // fixed rate at which the token will list on uniswap uint256 START_BLOCK; uint256 END_BLOCK; uint256 LOCK_PERIOD; // unix timestamp -> e.g. 2 weeks bool PRESALE_IN_ETH; // if this flag is true the presale is raising ETH, otherwise an ERC20 token such as DAI } struct PresaleFeeInfo { uint256 UNICRYPT_BASE_FEE; // divided by 1000 uint256 UNICRYPT_TOKEN_FEE; // divided by 1000 uint256 REFERRAL_FEE; // divided by 1000 address payable BASE_FEE_ADDRESS; address payable TOKEN_FEE_ADDRESS; address payable REFERRAL_FEE_ADDRESS; // if this is not address(0), there is a valid referral } struct PresaleStatus { bool WHITELIST_ONLY; // if set to true only whitelisted members may participate bool LP_GENERATION_COMPLETE; // final flag required to end a presale and enable withdrawls bool FORCE_FAILED; // set this flag to force fail the presale uint256 TOTAL_BASE_COLLECTED; // total base currency raised (usually ETH) uint256 TOTAL_TOKENS_SOLD; // total presale tokens sold uint256 TOTAL_TOKENS_WITHDRAWN; // total tokens withdrawn post successful presale uint256 TOTAL_BASE_WITHDRAWN; // total base tokens withdrawn on presale failure uint256 ROUND1_LENGTH; // in blocks uint256 NUM_BUYERS; // number of unique participants } struct BuyerInfo { uint256 baseDeposited; // total base token (usually ETH) deposited by user, can be withdrawn on presale failure uint256 tokensOwed; // num presale tokens a user is owed, can be withdrawn on presale success } PresaleInfo public PRESALE_INFO; PresaleFeeInfo public PRESALE_FEE_INFO; PresaleStatus public STATUS; address public PRESALE_GENERATOR; IPresaleLockForwarder public PRESALE_LOCK_FORWARDER; IPresaleSettings public PRESALE_SETTINGS; address UNICRYPT_DEV_ADDRESS; IUniswapV2Factory public UNI_FACTORY; IWETH public WETH; mapping(address => BuyerInfo) public BUYERS; EnumerableSet.AddressSet private WHITELIST; constructor(address _presaleGenerator) public { PRESALE_GENERATOR = _presaleGenerator; UNI_FACTORY = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); WETH = IWETH(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2); PRESALE_SETTINGS = IPresaleSettings(0x2A8977E2A829BE0dD8c94fC7886b15937a376C41); PRESALE_LOCK_FORWARDER = IPresaleLockForwarder(0xCA07E89e9674e9BC5bB9CaDE6771FEc8e14e4042); UNICRYPT_DEV_ADDRESS = 0xAA3d85aD9D128DFECb55424085754F6dFa643eb1; } function init1 ( address payable _presaleOwner, uint256 _amount, uint256 _tokenPrice, uint256 _maxEthPerBuyer, uint256 _hardcap, uint256 _softcap, uint256 _liquidityPercent, uint256 _listingRate, uint256 _startblock, uint256 _endblock, uint256 _lockPeriod ) external { require(msg.sender == PRESALE_GENERATOR, 'FORBIDDEN'); PRESALE_INFO.PRESALE_OWNER = _presaleOwner; PRESALE_INFO.AMOUNT = _amount; PRESALE_INFO.TOKEN_PRICE = _tokenPrice; PRESALE_INFO.MAX_SPEND_PER_BUYER = _maxEthPerBuyer; PRESALE_INFO.HARDCAP = _hardcap; PRESALE_INFO.SOFTCAP = _softcap; PRESALE_INFO.LIQUIDITY_PERCENT = _liquidityPercent; PRESALE_INFO.LISTING_RATE = _listingRate; PRESALE_INFO.START_BLOCK = _startblock; PRESALE_INFO.END_BLOCK = _endblock; PRESALE_INFO.LOCK_PERIOD = _lockPeriod; } function init2 ( IERC20 _baseToken, IERC20 _presaleToken, uint256 _unicryptBaseFee, uint256 _unicryptTokenFee, uint256 _referralFee, address payable _baseFeeAddress, address payable _tokenFeeAddress, address payable _referralAddress ) external { require(msg.sender == PRESALE_GENERATOR, 'FORBIDDEN'); // require(!PRESALE_LOCK_FORWARDER.uniswapPairIsInitialised(address(_presaleToken), address(_baseToken)), 'PAIR INITIALISED'); PRESALE_INFO.PRESALE_IN_ETH = address(_baseToken) == address(WETH); PRESALE_INFO.S_TOKEN = _presaleToken; PRESALE_INFO.B_TOKEN = _baseToken; PRESALE_FEE_INFO.UNICRYPT_BASE_FEE = _unicryptBaseFee; PRESALE_FEE_INFO.UNICRYPT_TOKEN_FEE = _unicryptTokenFee; PRESALE_FEE_INFO.REFERRAL_FEE = _referralFee; PRESALE_FEE_INFO.BASE_FEE_ADDRESS = _baseFeeAddress; PRESALE_FEE_INFO.TOKEN_FEE_ADDRESS = _tokenFeeAddress; PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS = _referralAddress; STATUS.ROUND1_LENGTH = PRESALE_SETTINGS.getRound1Length(); } modifier onlyPresaleOwner() { require(PRESALE_INFO.PRESALE_OWNER == msg.sender, "NOT PRESALE OWNER"); _; } function presaleStatus () public view returns (uint256) { if (STATUS.FORCE_FAILED) { return 3; // FAILED - force fail } if ((block.number > PRESALE_INFO.END_BLOCK) && (STATUS.TOTAL_BASE_COLLECTED < PRESALE_INFO.SOFTCAP)) { return 3; // FAILED - softcap not met by end block } if (STATUS.TOTAL_BASE_COLLECTED >= PRESALE_INFO.HARDCAP) { return 2; // SUCCESS - hardcap met } if ((block.number > PRESALE_INFO.END_BLOCK) && (STATUS.TOTAL_BASE_COLLECTED >= PRESALE_INFO.SOFTCAP)) { return 2; // SUCCESS - endblock and soft cap reached } if ((block.number >= PRESALE_INFO.START_BLOCK) && (block.number <= PRESALE_INFO.END_BLOCK)) { return 1; // ACTIVE - deposits enabled } return 0; // QUED - awaiting start block } // accepts msg.value for eth or _amount for ERC20 tokens function userDeposit (uint256 _amount) external payable nonReentrant { require(presaleStatus() == 1, 'NOT ACTIVE'); // ACTIVE // Presale Round 1 - require participant to hold a certain token and balance bool userHoldsUnicryptTokens = PRESALE_SETTINGS.userHoldsSufficientRound1Token(msg.sender); if (block.number < PRESALE_INFO.START_BLOCK + STATUS.ROUND1_LENGTH) { // 276 blocks = 1 hour require(userHoldsUnicryptTokens, 'INSUFFICENT ROUND 1 TOKEN BALANCE'); } else if (STATUS.WHITELIST_ONLY && !userHoldsUnicryptTokens) { // Round 2 require(WHITELIST.contains(msg.sender), 'NOT WHITELISTED'); } BuyerInfo storage buyer = BUYERS[msg.sender]; uint256 amount_in = PRESALE_INFO.PRESALE_IN_ETH ? msg.value : _amount; uint256 allowance = PRESALE_INFO.MAX_SPEND_PER_BUYER.sub(buyer.baseDeposited); uint256 remaining = PRESALE_INFO.HARDCAP - STATUS.TOTAL_BASE_COLLECTED; allowance = allowance > remaining ? remaining : allowance; if (amount_in > allowance) { amount_in = allowance; } uint256 tokensSold = amount_in.mul(PRESALE_INFO.TOKEN_PRICE).div(10 ** uint256(PRESALE_INFO.B_TOKEN.decimals())); require(tokensSold > 0, 'ZERO TOKENS'); if (buyer.baseDeposited == 0) { STATUS.NUM_BUYERS++; } buyer.baseDeposited = buyer.baseDeposited.add(amount_in); buyer.tokensOwed = buyer.tokensOwed.add(tokensSold); STATUS.TOTAL_BASE_COLLECTED = STATUS.TOTAL_BASE_COLLECTED.add(amount_in); STATUS.TOTAL_TOKENS_SOLD = STATUS.TOTAL_TOKENS_SOLD.add(tokensSold); // return unused ETH if (PRESALE_INFO.PRESALE_IN_ETH && amount_in < msg.value) { msg.sender.transfer(msg.value.sub(amount_in)); } // deduct non ETH token from user if (!PRESALE_INFO.PRESALE_IN_ETH) { TransferHelper.safeTransferFrom(address(PRESALE_INFO.B_TOKEN), msg.sender, address(this), amount_in); } } // withdraw presale tokens // percentile withdrawls allows fee on transfer or rebasing tokens to still work function userWithdrawTokens () external nonReentrant { require(STATUS.LP_GENERATION_COMPLETE, 'AWAITING LP GENERATION'); BuyerInfo storage buyer = BUYERS[msg.sender]; uint256 tokensRemainingDenominator = STATUS.TOTAL_TOKENS_SOLD.sub(STATUS.TOTAL_TOKENS_WITHDRAWN); uint256 tokensOwed = PRESALE_INFO.S_TOKEN.balanceOf(address(this)).mul(buyer.tokensOwed).div(tokensRemainingDenominator); require(tokensOwed > 0, 'NOTHING TO WITHDRAW'); STATUS.TOTAL_TOKENS_WITHDRAWN = STATUS.TOTAL_TOKENS_WITHDRAWN.add(buyer.tokensOwed); buyer.tokensOwed = 0; TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), msg.sender, tokensOwed); } // on presale failure // percentile withdrawls allows fee on transfer or rebasing tokens to still work function userWithdrawBaseTokens () external nonReentrant { require(presaleStatus() == 3, 'NOT FAILED'); // FAILED BuyerInfo storage buyer = BUYERS[msg.sender]; uint256 baseRemainingDenominator = STATUS.TOTAL_BASE_COLLECTED.sub(STATUS.TOTAL_BASE_WITHDRAWN); uint256 remainingBaseBalance = PRESALE_INFO.PRESALE_IN_ETH ? address(this).balance : PRESALE_INFO.B_TOKEN.balanceOf(address(this)); uint256 tokensOwed = remainingBaseBalance.mul(buyer.baseDeposited).div(baseRemainingDenominator); require(tokensOwed > 0, 'NOTHING TO WITHDRAW'); STATUS.TOTAL_BASE_WITHDRAWN = STATUS.TOTAL_BASE_WITHDRAWN.add(buyer.baseDeposited); buyer.baseDeposited = 0; TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), msg.sender, tokensOwed, !PRESALE_INFO.PRESALE_IN_ETH); } // on presale failure // allows the owner to withdraw the tokens they sent for presale & initial liquidity function ownerWithdrawTokens () external onlyPresaleOwner { require(presaleStatus() == 3); // FAILED TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), PRESALE_INFO.PRESALE_OWNER, PRESALE_INFO.S_TOKEN.balanceOf(address(this))); } // Can be called at any stage before or during the presale to cancel it before it ends. // If the pair already exists on uniswap and it contains the presale token as liquidity // the final stage of the presale 'addLiquidity()' will fail. This function // allows anyone to end the presale prematurely to release funds in such a case. function forceFailIfPairExists () external { require(!STATUS.LP_GENERATION_COMPLETE && !STATUS.FORCE_FAILED); if (PRESALE_LOCK_FORWARDER.uniswapPairIsInitialised(address(PRESALE_INFO.S_TOKEN), address(PRESALE_INFO.B_TOKEN))) { STATUS.FORCE_FAILED = true; } } // if something goes wrong in LP generation function forceFailByUnicrypt () external { require(msg.sender == UNICRYPT_DEV_ADDRESS); STATUS.FORCE_FAILED = true; } // on presale success, this is the final step to end the presale, lock liquidity and enable withdrawls of the sale token. // This function does not use percentile distribution. Rebasing mechanisms, fee on transfers, or any deflationary logic // are not taken into account at this stage to ensure stated liquidity is locked and the pool is initialised according to // the presale parameters and fixed prices. function addLiquidity() external nonReentrant { require(!STATUS.LP_GENERATION_COMPLETE, 'GENERATION COMPLETE'); require(presaleStatus() == 2, 'NOT SUCCESS'); // SUCCESS // Fail the presale if the pair exists and contains presale token liquidity if (PRESALE_LOCK_FORWARDER.uniswapPairIsInitialised(address(PRESALE_INFO.S_TOKEN), address(PRESALE_INFO.B_TOKEN))) { STATUS.FORCE_FAILED = true; return; } uint256 unicryptBaseFee = STATUS.TOTAL_BASE_COLLECTED.mul(PRESALE_FEE_INFO.UNICRYPT_BASE_FEE).div(1000); // base token liquidity uint256 baseLiquidity = STATUS.TOTAL_BASE_COLLECTED.sub(unicryptBaseFee).mul(PRESALE_INFO.LIQUIDITY_PERCENT).div(1000); if (PRESALE_INFO.PRESALE_IN_ETH) { WETH.deposit{value : baseLiquidity}(); } TransferHelper.safeApprove(address(PRESALE_INFO.B_TOKEN), address(PRESALE_LOCK_FORWARDER), baseLiquidity); // sale token liquidity uint256 tokenLiquidity = baseLiquidity.mul(PRESALE_INFO.LISTING_RATE).div(10 ** uint256(PRESALE_INFO.B_TOKEN.decimals())); TransferHelper.safeApprove(address(PRESALE_INFO.S_TOKEN), address(PRESALE_LOCK_FORWARDER), tokenLiquidity); PRESALE_LOCK_FORWARDER.lockLiquidity(PRESALE_INFO.B_TOKEN, PRESALE_INFO.S_TOKEN, baseLiquidity, tokenLiquidity, block.timestamp + PRESALE_INFO.LOCK_PERIOD, PRESALE_INFO.PRESALE_OWNER); // transfer fees uint256 unicryptTokenFee = STATUS.TOTAL_TOKENS_SOLD.mul(PRESALE_FEE_INFO.UNICRYPT_TOKEN_FEE).div(1000); // referrals are checked for validity in the presale generator if (PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS != address(0)) { // Base token fee uint256 referralBaseFee = unicryptBaseFee.mul(PRESALE_FEE_INFO.REFERRAL_FEE).div(1000); TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS, referralBaseFee, !PRESALE_INFO.PRESALE_IN_ETH); unicryptBaseFee = unicryptBaseFee.sub(referralBaseFee); // Token fee uint256 referralTokenFee = unicryptTokenFee.mul(PRESALE_FEE_INFO.REFERRAL_FEE).div(1000); TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), PRESALE_FEE_INFO.REFERRAL_FEE_ADDRESS, referralTokenFee); unicryptTokenFee = unicryptTokenFee.sub(referralTokenFee); } TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), PRESALE_FEE_INFO.BASE_FEE_ADDRESS, unicryptBaseFee, !PRESALE_INFO.PRESALE_IN_ETH); TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), PRESALE_FEE_INFO.TOKEN_FEE_ADDRESS, unicryptTokenFee); // burn unsold tokens uint256 remainingSBalance = PRESALE_INFO.S_TOKEN.balanceOf(address(this)); if (remainingSBalance > STATUS.TOTAL_TOKENS_SOLD) { uint256 burnAmount = remainingSBalance.sub(STATUS.TOTAL_TOKENS_SOLD); TransferHelper.safeTransfer(address(PRESALE_INFO.S_TOKEN), 0x000000000000000000000000000000000000dEaD, burnAmount); } // send remaining base tokens to presale owner uint256 remainingBaseBalance = PRESALE_INFO.PRESALE_IN_ETH ? address(this).balance : PRESALE_INFO.B_TOKEN.balanceOf(address(this)); TransferHelper.safeTransferBaseToken(address(PRESALE_INFO.B_TOKEN), PRESALE_INFO.PRESALE_OWNER, remainingBaseBalance, !PRESALE_INFO.PRESALE_IN_ETH); STATUS.LP_GENERATION_COMPLETE = true; } function updateMaxSpendLimit(uint256 _maxSpend) external onlyPresaleOwner { require(PRESALE_INFO.START_BLOCK > block.number); PRESALE_INFO.MAX_SPEND_PER_BUYER = _maxSpend; } // postpone or bring a presale forward, this will only work when a presale is inactive. // i.e. current start block > block.number function updateBlocks(uint256 _startBlock, uint256 _endBlock) external onlyPresaleOwner { require(PRESALE_INFO.START_BLOCK > block.number); require(_endBlock.sub(_startBlock) <= PRESALE_SETTINGS.getMaxPresaleLength()); PRESALE_INFO.START_BLOCK = _startBlock; PRESALE_INFO.END_BLOCK = _endBlock; } // editable at any stage of the presale function setWhitelistFlag(bool _flag) external onlyPresaleOwner { STATUS.WHITELIST_ONLY = _flag; } // editable at any stage of the presale function editWhitelist(address[] memory _users, bool _add) external onlyPresaleOwner { if (_add) { for (uint i = 0; i < _users.length; i++) { WHITELIST.add(_users[i]); } } else { for (uint i = 0; i < _users.length; i++) { WHITELIST.remove(_users[i]); } } } // whitelist getters function getWhitelistedUsersLength () external view returns (uint256) { return WHITELIST.length(); } function getWhitelistedUserAtIndex (uint256 _index) external view returns (address) { return WHITELIST.at(_index); } function getUserWhitelistStatus (address _user) external view returns (bool) { return WHITELIST.contains(_user); } }
// SPDX-License-Identifier: MIT // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/EnumerableSet.sol // Subject to the MIT license. pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
pragma solidity >=0.5.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function decimals() external view returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); }
// SPDX-License-Identifier: MIT // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol // Subject to the MIT license. pragma solidity >=0.6.0 <0.8.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]. */ abstract 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; } }
// SPDX-License-Identifier: MIT // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol // Subject to the MIT license. pragma solidity >=0.6.0 <0.8.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; } }
pragma solidity 0.6.12; /** helper methods for interacting with ERC20 tokens that do not consistently return true/false with the addition of a transfer function to send eth or an erc20 token */ library TransferHelper { function safeApprove(address token, address to, uint value) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED'); } function safeTransfer(address token, address to, uint value) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED'); } // sends ETH or an erc20 token function safeTransferBaseToken(address token, address payable to, uint value, bool isERC20) internal { if (!isERC20) { to.transfer(value); } else { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED'); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_presaleGenerator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"BUYERS","outputs":[{"internalType":"uint256","name":"baseDeposited","type":"uint256"},{"internalType":"uint256","name":"tokensOwed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRACT_VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_FEE_INFO","outputs":[{"internalType":"uint256","name":"UNICRYPT_BASE_FEE","type":"uint256"},{"internalType":"uint256","name":"UNICRYPT_TOKEN_FEE","type":"uint256"},{"internalType":"uint256","name":"REFERRAL_FEE","type":"uint256"},{"internalType":"address payable","name":"BASE_FEE_ADDRESS","type":"address"},{"internalType":"address payable","name":"TOKEN_FEE_ADDRESS","type":"address"},{"internalType":"address payable","name":"REFERRAL_FEE_ADDRESS","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_GENERATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_INFO","outputs":[{"internalType":"address payable","name":"PRESALE_OWNER","type":"address"},{"internalType":"contract IERC20","name":"S_TOKEN","type":"address"},{"internalType":"contract IERC20","name":"B_TOKEN","type":"address"},{"internalType":"uint256","name":"TOKEN_PRICE","type":"uint256"},{"internalType":"uint256","name":"MAX_SPEND_PER_BUYER","type":"uint256"},{"internalType":"uint256","name":"AMOUNT","type":"uint256"},{"internalType":"uint256","name":"HARDCAP","type":"uint256"},{"internalType":"uint256","name":"SOFTCAP","type":"uint256"},{"internalType":"uint256","name":"LIQUIDITY_PERCENT","type":"uint256"},{"internalType":"uint256","name":"LISTING_RATE","type":"uint256"},{"internalType":"uint256","name":"START_BLOCK","type":"uint256"},{"internalType":"uint256","name":"END_BLOCK","type":"uint256"},{"internalType":"uint256","name":"LOCK_PERIOD","type":"uint256"},{"internalType":"bool","name":"PRESALE_IN_ETH","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_LOCK_FORWARDER","outputs":[{"internalType":"contract IPresaleLockForwarder","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_SETTINGS","outputs":[{"internalType":"contract IPresaleSettings","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STATUS","outputs":[{"internalType":"bool","name":"WHITELIST_ONLY","type":"bool"},{"internalType":"bool","name":"LP_GENERATION_COMPLETE","type":"bool"},{"internalType":"bool","name":"FORCE_FAILED","type":"bool"},{"internalType":"uint256","name":"TOTAL_BASE_COLLECTED","type":"uint256"},{"internalType":"uint256","name":"TOTAL_TOKENS_SOLD","type":"uint256"},{"internalType":"uint256","name":"TOTAL_TOKENS_WITHDRAWN","type":"uint256"},{"internalType":"uint256","name":"TOTAL_BASE_WITHDRAWN","type":"uint256"},{"internalType":"uint256","name":"ROUND1_LENGTH","type":"uint256"},{"internalType":"uint256","name":"NUM_BUYERS","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNI_FACTORY","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"bool","name":"_add","type":"bool"}],"name":"editWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceFailByUnicrypt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceFailIfPairExists","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUserWhitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getWhitelistedUserAtIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedUsersLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_presaleOwner","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_maxEthPerBuyer","type":"uint256"},{"internalType":"uint256","name":"_hardcap","type":"uint256"},{"internalType":"uint256","name":"_softcap","type":"uint256"},{"internalType":"uint256","name":"_liquidityPercent","type":"uint256"},{"internalType":"uint256","name":"_listingRate","type":"uint256"},{"internalType":"uint256","name":"_startblock","type":"uint256"},{"internalType":"uint256","name":"_endblock","type":"uint256"},{"internalType":"uint256","name":"_lockPeriod","type":"uint256"}],"name":"init1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_baseToken","type":"address"},{"internalType":"contract IERC20","name":"_presaleToken","type":"address"},{"internalType":"uint256","name":"_unicryptBaseFee","type":"uint256"},{"internalType":"uint256","name":"_unicryptTokenFee","type":"uint256"},{"internalType":"uint256","name":"_referralFee","type":"uint256"},{"internalType":"address payable","name":"_baseFeeAddress","type":"address"},{"internalType":"address payable","name":"_tokenFeeAddress","type":"address"},{"internalType":"address payable","name":"_referralAddress","type":"address"}],"name":"init2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ownerWithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleStatus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setWhitelistFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"updateBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSpend","type":"uint256"}],"name":"updateMaxSpendLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"userDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"userWithdrawBaseTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userWithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x60806040526004361061019c5760003560e01c8063927ac44d116100ec578063c39e7dbb1161008a578063e8078d9411610064578063e8078d94146109db578063e86e6340146109f2578063f868e76614610a09578063fe8121de14610a375761019c565b8063c39e7dbb1461091a578063c870279e14610931578063e33865b3146109725761019c565b8063acfb2355116100c6578063acfb235514610791578063ad5c4648146107bc578063b93ac792146107fd578063b9863a44146108b35761019c565b8063927ac44d14610619578063a5d0de8c146106ea578063a94e7e801461077a5761019c565b806346ed62c911610159578063760fe56e11610133578063760fe56e146104ed5780637bfc66001461053257806389fc0056146105735780638c301df8146105b45761019c565b806346ed62c9146103bb5780634bb18e3f146104ab57806373c30b6c146104d65761019c565b80630bbebba4146101a157806310c55f2b146101e257806324ef1bc71461024e57806338b90333146102895780633f74aa38146102b45780634200e4fc1461037e575b600080fd5b3480156101ad57600080fd5b506101b6610a4e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101ee57600080fd5b506102316004803603602081101561020557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a74565b604051808381526020018281526020019250505060405180910390f35b34801561025a57600080fd5b506102876004803603602081101561027157600080fd5b8101908080359060200190929190505050610a98565b005b34801561029557600080fd5b5061029e610b7c565b6040518082815260200191505060405180910390f35b3480156102c057600080fd5b506102c9610b82565b604051808f73ffffffffffffffffffffffffffffffffffffffff1681526020018e73ffffffffffffffffffffffffffffffffffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff1681526020018c81526020018b81526020018a815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182151581526020019e50505050505050505050505050505060405180910390f35b34801561038a57600080fd5b506103b9600480360360208110156103a157600080fd5b81019080803515159060200190929190505050610c49565b005b3480156103c757600080fd5b506104a960048036036101008110156103df57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d2f565b005b3480156104b757600080fd5b506104c0611086565b6040518082815260200191505060405180910390f35b3480156104e257600080fd5b506104eb611097565b005b3480156104f957600080fd5b506105306004803603604081101561051057600080fd5b810190808035906020019092919080359060200190929190505050611111565b005b34801561053e57600080fd5b506105476112c1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561057f57600080fd5b506105886112e7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105c057600080fd5b506105ed600480360360208110156105d757600080fd5b810190808035906020019092919050505061130d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561062557600080fd5b506106e86004803603604081101561063c57600080fd5b810190808035906020019064010000000081111561065957600080fd5b82018360208201111561066b57600080fd5b8035906020019184602083028401116401000000008311171561068d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080351515906020019092919050505061132a565b005b3480156106f657600080fd5b506106ff611484565b604051808781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001965050505050505060405180910390f35b34801561078657600080fd5b5061078f61150e565b005b34801561079d57600080fd5b506107a6611705565b6040518082815260200191505060405180910390f35b3480156107c857600080fd5b506107d16117c9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561080957600080fd5b506108b1600480360361016081101561082157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506117ef565b005b3480156108bf57600080fd5b50610902600480360360208110156108d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611967565b60405180821515815260200191505060405180910390f35b34801561092657600080fd5b5061092f611984565b005b34801561093d57600080fd5b50610946611cf1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561097e57600080fd5b50610987611d17565b604051808a1515815260200189151581526020018815158152602001878152602001868152602001858152602001848152602001838152602001828152602001995050505050505050505060405180910390f35b3480156109e757600080fd5b506109f0611d7a565b005b3480156109fe57600080fd5b50610a0761298c565b005b610a3560048036036020811015610a1f57600080fd5b8101908080359060200190929190505050612b16565b005b348015610a4357600080fd5b50610a4c613170565b005b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60236020528060005260406000206000915090508060000154908060010154905082565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b5e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b436002600a015411610b6f57600080fd5b8060026004018190555050565b60015481565b60028060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600301549080600401549080600501549080600601549080600701549080600801549080600901549080600a01549080600b01549080600c01549080600d0160009054906101000a900460ff1690508e565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b80601660000160006101000a81548160ff02191690831515021790555050565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610df2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f464f5242494444454e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16146002600d0160006101000a81548160ff02191690831515021790555086600260010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550876002800160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085601060000181905550846010600101819055508360106002018190555082601060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aac912166040518163ffffffff1660e01b815260040160206040518083038186803b15801561103857600080fd5b505afa15801561104c573d6000803e3d6000fd5b505050506040513d602081101561106257600080fd5b81019080805190602001909291905050506016600501819055505050505050505050565b600061109260246134af565b905090565b602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110f157600080fd5b6001601660000160026101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b436002600a0154116111e857600080fd5b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663120ac7e66040518163ffffffff1660e01b815260040160206040518083038186803b15801561125057600080fd5b505afa158015611264573d6000803e3d6000fd5b505050506040513d602081101561127a57600080fd5b810190808051906020019092919050505061129e83836134c490919063ffffffff16565b11156112a957600080fd5b816002600a0181905550806002600b01819055505050565b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061132382602461350e90919063ffffffff16565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b801561143d5760005b82518110156114375761142983828151811061141157fe5b6020026020010151602461352890919063ffffffff16565b5080806001019150506113f9565b50611480565b60005b825181101561147e5761147083828151811061145857fe5b6020026020010151602461355890919063ffffffff16565b508080600101915050611440565b505b5050565b60108060000154908060010154908060020154908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905086565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b60036115de611705565b146115e857600080fd5b611703600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116c357600080fd5b505afa1580156116d7573d6000803e3d6000fd5b505050506040513d60208110156116ed57600080fd5b8101908080519060200190929190505050613588565b565b6000601660000160029054906101000a900460ff161561172857600390506117c6565b6002600b0154431180156117455750600260070154601660010154105b1561175357600390506117c6565b6002600601546016600101541061176d57600290506117c6565b6002600b01544311801561178b575060026007015460166001015410155b1561179957600290506117c6565b6002600a015443101580156117b357506002600b01544311155b156117c157600190506117c6565b600090505b90565b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f464f5242494444454e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8a600260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555089600260050181905550886002600301819055508760026004018190555086600260060181905550856002600701819055508460026008018190555083600260090181905550826002600a0181905550816002600b0181905550806002600c01819055505050505050505050505050565b600061197d82602461376b90919063ffffffff16565b9050919050565b600260005414156119fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506003611a0f611705565b14611a82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e4f54204641494c45440000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000611ae46016600401546016600101546134c490919063ffffffff16565b905060006002600d0160009054906101000a900460ff16611bca576002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611b8a57600080fd5b505afa158015611b9e573d6000803e3d6000fd5b505050506040513d6020811015611bb457600080fd5b8101908080519060200190929190505050611bcc565b475b90506000611bf983611beb86600001548561379b90919063ffffffff16565b61382190919063ffffffff16565b905060008111611c71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e4f5448494e4720544f2057495448445241570000000000000000000000000081525060200191505060405180910390fd5b611c8d846000015460166004015461386b90919063ffffffff16565b60166004018190555060008460000181905550611ce36002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633836002600d0160009054906101000a900460ff16156138f3565b505050506001600081905550565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60168060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060010154908060020154908060030154908060040154908060050154908060060154905089565b60026000541415611df3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550601660000160019054906101000a900460ff1615611e81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f47454e45524154494f4e20434f4d504c4554450000000000000000000000000081525060200191505060405180910390fd5b6002611e8b611705565b14611efe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e4f54205355434345535300000000000000000000000000000000000000000081525060200191505060405180910390fd5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d8c70bb600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611fee57600080fd5b505afa158015612002573d6000803e3d6000fd5b505050506040513d602081101561201857600080fd5b810190808051906020019092919050505015612051576001601660000160026101000a81548160ff021916908315150217905550612982565b60006120846103e861207660106000015460166001015461379b90919063ffffffff16565b61382190919063ffffffff16565b905060006120cb6103e86120bd6002600801546120af866016600101546134c490919063ffffffff16565b61379b90919063ffffffff16565b61382190919063ffffffff16565b90506002600d0160009054906101000a900460ff161561216957602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561214f57600080fd5b505af1158015612163573d6000803e3d6000fd5b50505050505b6121ba6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613b29565b60006122906002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561222957600080fd5b505afa15801561223d573d6000803e3d6000fd5b505050506040513d602081101561225357600080fd5b810190808051906020019092919050505060ff16600a0a6122826002600901548561379b90919063ffffffff16565b61382190919063ffffffff16565b90506122e4600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613b29565b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632277d0e36002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685856002600c01544201600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019650505050505050600060405180830381600087803b15801561243857600080fd5b505af115801561244c573d6000803e3d6000fd5b5050505060006124836103e861247560106001015460166002015461379b90919063ffffffff16565b61382190919063ffffffff16565b9050600073ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461262857600061250c6103e86124fe6010600201548861379b90919063ffffffff16565b61382190919063ffffffff16565b90506125766002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002600d0160009054906101000a900460ff16156138f3565b61258981866134c490919063ffffffff16565b945060006125b96103e86125ab6010600201548661379b90919063ffffffff16565b61382190919063ffffffff16565b9050612610600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613588565b61262381846134c490919063ffffffff16565b925050505b6126906002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866002600d0160009054906101000a900460ff16156138f3565b6126e5600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613588565b6000600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561277357600080fd5b505afa158015612787573d6000803e3d6000fd5b505050506040513d602081101561279d57600080fd5b8101908080519060200190929190505050905060166002015481111561280d5760006127d7601660020154836134c490919063ffffffff16565b905061280b600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661dead83613588565b505b60006002600d0160009054906101000a900460ff166128f1576002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156128b157600080fd5b505afa1580156128c5573d6000803e3d6000fd5b505050506040513d60208110156128db57600080fd5b81019080805190602001909291905050506128f3565b475b905061295d6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002600d0160009054906101000a900460ff16156138f3565b6001601660000160016101000a81548160ff0219169083151502179055505050505050505b6001600081905550565b601660000160019054906101000a900460ff161580156129bc5750601660000160029054906101000a900460ff16155b6129c557600080fd5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d8c70bb600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612ab557600080fd5b505afa158015612ac9573d6000803e3d6000fd5b505050506040513d6020811015612adf57600080fd5b810190808051906020019092919050505015612b14576001601660000160026101000a81548160ff0219169083151502179055505b565b60026000541415612b8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506001612ba1611705565b14612c14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e4f54204143544956450000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a6da481336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612c9f57600080fd5b505afa158015612cb3573d6000803e3d6000fd5b505050506040513d6020811015612cc957600080fd5b810190808051906020019092919050505090506016600501546002600a015401431015612d4b5780612d46576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806142876021913960400191505060405180910390fd5b612df5565b601660000160009054906101000a900460ff168015612d68575080155b15612df457612d8133602461376b90919063ffffffff16565b612df3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e4f542057484954454c4953544544000000000000000000000000000000000081525060200191505060405180910390fd5b5b5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006002600d0160009054906101000a900460ff16612e575783612e59565b345b90506000612e7983600001546002600401546134c490919063ffffffff16565b90506000601660010154600260060154039050808211612e995781612e9b565b805b915081831115612ea9578192505b6000612f7f6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015612f1857600080fd5b505afa158015612f2c573d6000803e3d6000fd5b505050506040513d6020811015612f4257600080fd5b810190808051906020019092919050505060ff16600a0a612f716002600301548761379b90919063ffffffff16565b61382190919063ffffffff16565b905060008111612ff7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a45524f20544f4b454e5300000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008560000154141561301a576016600601600081548092919060010191905055505b61303184866000015461386b90919063ffffffff16565b856000018190555061305081866001015461386b90919063ffffffff16565b85600101819055506130708460166001015461386b90919063ffffffff16565b6016600101819055506130918160166002015461386b90919063ffffffff16565b6016600201819055506002600d0160009054906101000a900460ff1680156130b857503484105b15613117573373ffffffffffffffffffffffffffffffffffffffff166108fc6130ea86346134c490919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015613115573d6000803e3d6000fd5b505b6002600d0160009054906101000a900460ff1661315f5761315e6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16333087613d0c565b5b505050505050600160008190555050565b600260005414156131e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550601660000160019054906101000a900460ff16613276576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4157414954494e47204c502047454e45524154494f4e0000000000000000000081525060200191505060405180910390fd5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006132d86016600301546016600201546134c490919063ffffffff16565b905060006133cb826133bd8560010154600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561337457600080fd5b505afa158015613388573d6000803e3d6000fd5b505050506040513d602081101561339e57600080fd5b810190808051906020019092919050505061379b90919063ffffffff16565b61382190919063ffffffff16565b905060008111613443576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e4f5448494e4720544f2057495448445241570000000000000000000000000081525060200191505060405180910390fd5b61345f836001015460166003015461386b90919063ffffffff16565b601660030181905550600083600101819055506134a2600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163383613588565b5050506001600081905550565b60006134bd82600001613ef1565b9050919050565b600061350683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613f02565b905092915050565b600061351d8360000183613fc2565b60001c905092915050565b6000613550836000018373ffffffffffffffffffffffffffffffffffffffff1660001b614045565b905092915050565b6000613580836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6140b5565b905092915050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b6020831061364b5780518252602082019150602081019050602083039250613628565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146136ad576040519150601f19603f3d011682016040523d82523d6000602084013e6136b2565b606091505b50915091508180156136f257506000815114806136f157508080602001905160208110156136df57600080fd5b81019080805190602001909291905050505b5b613764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5472616e7366657248656c7065723a205452414e534645525f4641494c45440081525060200191505060405180910390fd5b5050505050565b6000613793836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61419d565b905092915050565b6000808314156137ae576000905061381b565b60008284029050828482816137bf57fe5b0414613816576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806142ca6021913960400191505060405180910390fd5b809150505b92915050565b600061386383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506141c0565b905092915050565b6000808284019050838110156138e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b80613944578273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561393e573d6000803e3d6000fd5b50613b23565b600060608573ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8686604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613a0757805182526020820191506020810190506020830392506139e4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613a69576040519150601f19603f3d011682016040523d82523d6000602084013e613a6e565b606091505b5091509150818015613aae5750600081511480613aad5750808060200190516020811015613a9b57600080fd5b81019080805190602001909291905050505b5b613b20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5472616e7366657248656c7065723a205452414e534645525f4641494c45440081525060200191505060405180910390fd5b50505b50505050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663095ea7b38585604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613bec5780518252602082019150602081019050602083039250613bc9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613c4e576040519150601f19603f3d011682016040523d82523d6000602084013e613c53565b606091505b5091509150818015613c935750600081511480613c925750808060200190516020811015613c8057600080fd5b81019080805190602001909291905050505b5b613d05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f5472616e7366657248656c7065723a20415050524f56455f4641494c4544000081525060200191505060405180910390fd5b5050505050565b600060608573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200193505050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613ded5780518252602082019150602081019050602083039250613dca565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613e4f576040519150601f19603f3d011682016040523d82523d6000602084013e613e54565b606091505b5091509150818015613e945750600081511480613e935750808060200190516020811015613e8157600080fd5b81019080805190602001909291905050505b5b613ee9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806142eb6024913960400191505060405180910390fd5b505050505050565b600081600001805490509050919050565b6000838311158290613faf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f74578082015181840152602081019050613f59565b50505050905090810190601f168015613fa15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600081836000018054905011614023576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806142a86022913960400191505060405180910390fd5b82600001828154811061403257fe5b9060005260206000200154905092915050565b6000614051838361419d565b6140aa5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506140af565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114614191576000600182039050600060018660000180549050039050600086600001828154811061410057fe5b906000526020600020015490508087600001848154811061411d57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061415557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050614197565b60009150505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b6000808311829061426c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614231578082015181840152602081019050614216565b50505050905090810190601f16801561425e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161427857fe5b04905080915050939250505056fe494e535546464943454e5420524f554e44203120544f4b454e2042414c414e4345456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544a2646970667358221220f980fdf02ce253f557066bff8f35bed277032c3dd8d8868a92fa712d3a64d35464736f6c634300060c0033
Deployed Bytecode Sourcemap
2674:16646:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5227:40;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5368:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;17731:186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2900:35;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5023:31;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18430:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6908:1113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18947:108;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13760:134;;;;;;;;;;;;;:::i;:::-;;18062:319;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5171:51;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5305:36;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19063:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18585:332;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5059:38;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12813:250;;;;;;;;;;;;;:::i;:::-;;8156:801;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5346:17;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5969:931;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19195:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11876:816;;;;;;;;;;;;;:::i;:::-;;5134:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5102:27;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14323:3400;;;;;;;;;;;;;:::i;:::-;;13420:285;;;;;;;;;;;;;:::i;:::-;;9025:1942;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;11089:670;;;;;;;;;;;;;:::i;:::-;;5227:40;;;;;;;;;;;;;:::o;5368:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;17731:186::-;8102:10;8072:40;;:12;:26;;;;;;;;;;;;:40;;;8064:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17847:12:::1;17820;:24;;;:39;17812:48;;;::::0;::::1;;17902:9;17867:12;:32;;:44;;;;17731:186:::0;:::o;2900:35::-;;;;:::o;5023:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18430:106::-;8102:10;8072:40;;:12;:26;;;;;;;;;;;;:40;;;8064:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18525:5:::1;18501:6;:21;;;:29;;;;;;;;;;;;;;;;;;18430:106:::0;:::o;6908:1113::-;7240:17;;;;;;;;;;;7226:31;;:10;:31;;;7218:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7483:4;;;;;;;;;;;7452:36;;7460:10;7452:36;;;7422:12;:27;;;:66;;;;;;;;;;;;;;;;;;7520:13;7497:12;:20;;;:36;;;;;;;;;;;;;;;;;;7565:10;7542:12;:20;;;:33;;;;;;;;;;;;;;;;;;7621:16;7584;:34;;:53;;;;7684:17;7646:16;:35;;:55;;;;7742:12;7710:16;:29;;:44;;;;7807:15;7771:16;:33;;;:51;;;;;;;;;;;;;;;;;;7868:16;7831;:34;;;:53;;;;;;;;;;;;;;;;;;7933:16;7893;:37;;;:56;;;;;;;;;;;;;;;;;;7981:16;;;;;;;;;;;:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7958:6;:20;;:57;;;;6908:1113;;;;;;;;:::o;18947:108::-;19008:7;19031:18;:9;:16;:18::i;:::-;19024:25;;18947:108;:::o;13760:134::-;13832:20;;;;;;;;;;;13818:34;;:10;:34;;;13810:43;;;;;;13884:4;13862:6;:19;;;:26;;;;;;;;;;;;;;;;;;13760:134::o;18062:319::-;8102:10;8072:40;;:12;:26;;;;;;;;;;;;:40;;;8064:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18192:12:::1;18165;:24;;;:39;18157:48;;;::::0;::::1;;18250:16;;;;;;;;;;;:36;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;18220:26;18234:11;18220:9;:13;;:26;;;;:::i;:::-;:68;;18212:77;;;::::0;::::1;;18323:11;18296:12;:24;;:38;;;;18366:9;18341:12;:22;;:34;;;;18062:319:::0;;:::o;5171:51::-;;;;;;;;;;;;;:::o;5305:36::-;;;;;;;;;;;;;:::o;19063:124::-;19138:7;19161:20;19174:6;19161:9;:12;;:20;;;;:::i;:::-;19154:27;;19063:124;;;:::o;18585:332::-;8102:10;8072:40;;:12;:26;;;;;;;;;;;;:40;;;8064:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18681:4:::1;18677:235;;;18703:6;18698:90;18719:6;:13;18715:1;:17;18698:90;;;18752:24;18766:6;18773:1;18766:9;;;;;;;;;;;;;;18752;:13;;:24;;;;:::i;:::-;;18734:3;;;;;;;18698:90;;;;18677:235;;;18817:6;18812:93;18833:6;:13;18829:1;:17;18812:93;;;18866:27;18883:6;18890:1;18883:9;;;;;;;;;;;;;;18866;:16;;:27;;;;:::i;:::-;;18848:3;;;;;;;18812:93;;;;18677:235;18585:332:::0;;:::o;5059:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;12813:250::-;8102:10;8072:40;;:12;:26;;;;;;;;;;;;:40;;;8064:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12905:1:::1;12886:15;:13;:15::i;:::-;:20;12878:29;;;::::0;::::1;;12924:133;12960:12;:20;;;;;;;;;;;;12983:12;:26;;;;;;;;;;;;13011:12;:20;;;;;;;;;;;;:30;;;13050:4;13011:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;12924:27;:133::i;:::-;12813:250::o:0;8156:801::-;8203:7;8223:6;:19;;;;;;;;;;;;8219:73;;;8260:1;8253:8;;;;8219:73;8318:12;:22;;;8303:12;:37;8302:95;;;;;8376:12;:20;;;8346:6;:27;;;:50;8302:95;8298:167;;;8415:1;8408:8;;;;8298:167;8506:12;:20;;;8475:6;:27;;;:51;8471:107;;8544:1;8537:8;;;;8471:107;8604:12;:22;;;8589:12;:37;8588:96;;;;;8663:12;:20;;;8632:6;:27;;;:51;;8588:96;8584:170;;;8702:1;8695:8;;;;8584:170;8781:12;:24;;;8765:12;:40;;8764:86;;;;;8827:12;:22;;;8811:12;:38;;8764:86;8760:146;;;8868:1;8861:8;;;;8760:146;8919:1;8912:8;;8156:801;;:::o;5346:17::-;;;;;;;;;;;;;:::o;5969:931::-;6343:17;;;;;;;;;;;6329:31;;:10;:31;;;6321:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6412:13;6383:12;:26;;;:42;;;;;;;;;;;;;;;;;;6456:7;6434:12;:19;;:29;;;;6499:11;6472:12;:24;;:38;;;;6554:15;6519:12;:32;;:50;;;;6601:8;6578:12;:20;;:31;;;;6641:8;6618:12;:20;;:31;;;;6691:17;6658:12;:30;;:50;;;;6745:12;6717;:25;;:40;;;;6793:11;6766:12;:24;;:38;;;;6838:9;6813:12;:22;;:34;;;;6883:11;6856:12;:24;;:38;;;;5969:931;;;;;;;;;;;:::o;19195:122::-;19266:4;19286:25;19305:5;19286:9;:18;;:25;;;;:::i;:::-;19279:32;;19195:122;;;:::o;11876:816::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;11967:1:2::1;11948:15;:13;:15::i;:::-;:20;11940:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;12000:23;12026:6;:18;12033:10;12026:18;;;;;;;;;;;;;;;12000:44;;12051:32;12086:60;12118:6;:27;;;12086:6;:27;;;:31;;:60;;;;:::i;:::-;12051:95;;12153:28;12184:12;:27;;;;;;;;;;;;:99;;12238:12;:20:::0;::::1;;;;;;;;;;;:30;;;12277:4;12238:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;12184:99;;;12214:21;12184:99;12153:130;;12290:18;12311:75;12361:24;12311:45;12336:5;:19;;;12311:20;:24;;:45;;;;:::i;:::-;:49;;:75;;;;:::i;:::-;12290:96;;12414:1;12401:10;:14;12393:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;12476:52;12508:5;:19;;;12476:6;:27;;;:31;;:52;;;;:::i;:::-;12446:6;:27;;:82;;;;12557:1;12535:5;:19;;:23;;;;12565:121;12610:12;:20:::0;::::1;;;;;;;;;;;12633:10;12645;12658:12;:27;;;;;;;;;;;;12657:28;12565:36;:121::i;:::-;2637:1:3;;;;1823::::0;2785:7;:22;;;;11876:816:2:o;5134:32::-;;;;;;;;;;;;;:::o;5102:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14323:3400::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;14385:6:2::1;:29;;;;;;;;;;;;14384:30;14376:62;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;14472:1;14453:15;:13;:15::i;:::-;:20;14445:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;14592:22;;;;;;;;;;;:47;;;14648:12;:20;;;;;;;;;;;;14679:12;:20:::0;::::1;;;;;;;;;;;14592:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;14588:177;;;14736:4;14714:6;:19;;;:26;;;;;;;;;;;;;;;;;;14751:7;;14588:177;14777:23;14803:77;14875:4;14803:67;14835:16;:34;;;14803:6;:27;;;:31;;:67;;;;:::i;:::-;:71;;:77;;;;:::i;:::-;14777:103;;14922:21;14946:94;15035:4;14946:84;14999:12;:30;;;14946:48;14978:15;14946:6;:27;;;:31;;:48;;;;:::i;:::-;:52;;:84;;;;:::i;:::-;:88;;:94;;;;:::i;:::-;14922:118;;15051:12;:27;;;;;;;;;;;;15047:89;;;15091:4;;;;;;;;;;;:12;;;15112:13;15091:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;15047:89;15142:105;15177:12;:20:::0;::::1;;;;;;;;;;;15208:22;;;;;;;;;;;15233:13;15142:26;:105::i;:::-;15289:22;15314:96;15377:12;:20:::0;::::1;;;;;;;;;;;:29;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;15369:40;;15363:2;:46;15314:44;15332:12;:25;;;15314:13;:17;;:44;;;;:::i;:::-;:48;;:96;;;;:::i;:::-;15289:121;;15417:106;15452:12;:20;;;;;;;;;;;;15483:22;;;;;;;;;;;15508:14;15417:26;:106::i;:::-;15536:22;;;;;;;;;;;:36;;;15573:12;:20:::0;::::1;;;;;;;;;;;15595:12;:20;;;;;;;;;;;;15617:13;15632:14;15666:12;:24;;;15648:15;:42;15692:12;:26;;;;;;;;;;;;15536:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;15754:24;15781:75;15851:4;15781:65;15810:16;:35;;;15781:6;:24;;;:28;;:65;;;;:::i;:::-;:69;;:75;;;;:::i;:::-;15754:102;;15984:1;15935:51;;:16;:37;;;;;;;;;;;;:51;;;15931:733;;16026:23;16052:60;16107:4;16052:50;16072:16;:29;;;16052:15;:19;;:50;;;;:::i;:::-;:54;;:60;;;;:::i;:::-;16026:86;;16123:153;16168:12;:20:::0;::::1;;;;;;;;;;;16191:16;:37;;;;;;;;;;;;16230:15;16248:12;:27;;;;;;;;;;;;16247:28;16123:36;:153::i;:::-;16305:36;16325:15;16305;:19;;:36;;;;:::i;:::-;16287:54;;16374:24;16401:61;16457:4;16401:51;16422:16;:29;;;16401:16;:20;;:51;;;;:::i;:::-;:55;;:61;;;;:::i;:::-;16374:88;;16473:115;16509:12;:20;;;;;;;;;;;;16532:16;:37;;;;;;;;;;;;16571:16;16473:27;:115::i;:::-;16618:38;16639:16;16618;:20;;:38;;;;:::i;:::-;16599:57;;15931:733;;;16670:149;16715:12;:20:::0;::::1;;;;;;;;;;;16738:16;:33;;;;;;;;;;;;16773:15;16791:12;:27;;;;;;;;;;;;16790:28;16670:36;:149::i;:::-;16826:112;16862:12;:20;;;;;;;;;;;;16885:16;:34;;;;;;;;;;;;16921:16;16826:27;:112::i;:::-;16978:25;17006:12;:20;;;;;;;;;;;;:30;;;17045:4;17006:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;16978:73;;17082:6;:24;;;17062:17;:44;17058:262;;;17119:18;17140:47;17162:6;:24;;;17140:17;:21;;:47;;;;:::i;:::-;17119:68;;17198:114;17234:12;:20;;;;;;;;;;;;17257:42;17301:10;17198:27;:114::i;:::-;17058:262;;17384:28;17415:12;:27;;;;;;;;;;;;:99;;17469:12;:20:::0;::::1;;;;;;;;;;;:30;;;17508:4;17469:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;17415:99;;;17445:21;17415:99;17384:130;;17521:147;17566:12;:20:::0;::::1;;;;;;;;;;;17589:12;:26;;;;;;;;;;;;17617:20;17640:12;:27;;;;;;;;;;;;17639:28;17521:36;:147::i;:::-;17713:4;17681:6;:29;;;:36;;;;;;;;;;;;;;;;;;2637:1:3;;;;;;;1823::::0;2785:7;:22;;;;14323:3400:2:o;13420:285::-;13479:6;:29;;;;;;;;;;;;13478:30;:54;;;;;13513:6;:19;;;;;;;;;;;;13512:20;13478:54;13470:63;;;;;;13544:22;;;;;;;;;;;:47;;;13600:12;:20;;;;;;;;;;;;13631:12;:20;;;;;;;;;;;;13544:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13540:160;;;13688:4;13666:6;:19;;;:26;;;;;;;;;;;;;;;;;;13540:160;13420:285::o;9025:1942::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;9128:1:2::1;9109:15;:13;:15::i;:::-;:20;9101:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9243:28;9274:16;;;;;;;;;;;:47;;;9322:10;9274:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;9243:90;;9386:6;:20;;;9359:12;:24;;;:47;9344:12;:62;9340:333;;;9450:23;9442:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9340:333;;;9529:6;:21;;;;;;;;;;;;:49;;;;;9555:23;9554:24;9529:49;9525:148;;;9615:30;9634:10;9615:9;:18;;:30;;;;:::i;:::-;9607:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9525:148;9340:333;9679:23;9705:6;:18;9712:10;9705:18;;;;;;;;;;;;;;;9679:44;;9730:17;9750:12;:27;;;;;;;;;;;;:49;;9792:7;9750:49;;;9780:9;9750:49;9730:69;;9806:17;9826:57;9863:5;:19;;;9826:12;:32;;;:36;;:57;;;;:::i;:::-;9806:77;;9890:17;9933:6;:27;;;9910:12;:20;;;:50;9890:70;;9991:9;9979;:21;:45;;10015:9;9979:45;;;10003:9;9979:45;9967:57;;10047:9;10035;:21;10031:65;;;10079:9;10067:21;;10031:65;10102:18;10123:91;10181:12;:20:::0;::::1;;;;;;;;;;;:29;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;10173:40;;10167:2;:46;10123:39;10137:12;:24;;;10123:9;:13;;:39;;;;:::i;:::-;:43;;:91;;;;:::i;:::-;10102:112;;10242:1;10229:10;:14;10221:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;10293:1;10270:5;:19;;;:24;10266:68;;;10307:6;:17;;;:19;;;;;;;;;;;;;10266:68;10362:34;10386:9;10362:5;:19;;;:23;;:34;;;;:::i;:::-;10340:5;:19;;:56;;;;10422:32;10443:10;10422:5;:16;;;:20;;:32;;;;:::i;:::-;10403:5;:16;;:51;;;;10491:42;10523:9;10491:6;:27;;;:31;;:42;;;;:::i;:::-;10461:6;:27;;:72;;;;10567:40;10596:10;10567:6;:24;;;:28;;:40;;;;:::i;:::-;10540:6;:24;;:67;;;;10650:12;:27;;;;;;;;;;;;:52;;;;;10693:9;10681;:21;10650:52;10646:120;;;10713:10;:19;;:45;10733:24;10747:9;10733;:13;;:24;;;;:::i;:::-;10713:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;10646:120;10816:12;:27;;;;;;;;;;;;10811:151;;10854:100;10894:12;:20:::0;::::1;;;;;;;;;;;10917:10;10937:4;10944:9;10854:31;:100::i;:::-;10811:151;2637:1:3;;;;;;1823::::0;2785:7;:22;;;;9025:1942:2;:::o;11089:670::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;11157:6:2::1;:29;;;;;;;;;;;;11149:64;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11220:23;11246:6;:18;11253:10;11246:18;;;;;;;;;;;;;;;11220:44;;11271:34;11308:59;11337:6;:29;;;11308:6;:24;;;:28;;:59;;;;:::i;:::-;11271:96;;11374:18;11395:99;11467:26;11395:67;11445:5;:16;;;11395:12;:20;;;;;;;;;;;;:30;;;11434:4;11395:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:49;;:67;;;;:::i;:::-;:71;;:99;;;;:::i;:::-;11374:120;;11522:1;11509:10;:14;11501:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11586:51;11620:5;:16;;;11586:6;:29;;;:33;;:51;;;;:::i;:::-;11554:6;:29;;:83;;;;11663:1;11644:5;:16;;:20;;;;11671:82;11707:12;:20;;;;;;;;;;;;11730:10;11742;11671:27;:82::i;:::-;2637:1:3;;;1823::::0;2785:7;:22;;;;11089:670:2:o;7571:117:0:-;7634:7;7661:19;7669:3;:10;;7661:7;:19::i;:::-;7654:26;;7571:117;;;:::o;1512:136:4:-;1570:7;1597:43;1601:1;1604;1597:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1590:50;;1512:136;;;;:::o;8032:149:0:-;8106:7;8149:22;8153:3;:10;;8165:5;8149:3;:22::i;:::-;8141:31;;8126:47;;8032:149;;;;:::o;6773:143::-;6843:4;6867:41;6872:3;:10;;6900:5;6892:14;;6884:23;;6867:4;:41::i;:::-;6860:48;;6773:143;;;;:::o;7092:149::-;7165:4;7189:44;7197:3;:10;;7225:5;7217:14;;7209:23;;7189:7;:44::i;:::-;7182:51;;7092:149;;;;:::o;539:294:5:-;621:12;635:17;656:5;:10;;690;702:2;706:5;667:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;656:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;620:93;;;;732:7;:57;;;;;759:1;744:4;:11;:16;:44;;;;775:4;764:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;744:44;732:57;724:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;539:294;;;;;:::o;7327:158:0:-;7407:4;7431:46;7441:3;:10;;7469:5;7461:14;;7453:23;;7431:9;:46::i;:::-;7424:53;;7327:158;;;;:::o;2402:471:4:-;2460:7;2710:1;2705;:6;2701:47;;;2735:1;2728:8;;;;2701:47;2760:9;2776:1;2772;:5;2760:17;;2805:1;2800;2796;:5;;;;;;:10;2788:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2864:1;2857:8;;;2402:471;;;;;:::o;3349:132::-;3407:7;3434:39;3438:1;3441;3434:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3427:46;;3349:132;;;;:::o;1048:181::-;1106:7;1126:9;1142:1;1138;:5;1126:17;;1167:1;1162;:6;;1154:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1220:1;1213:8;;;1048:181;;;;:::o;1212:420:5:-;1329:7;1324:301;;1353:2;:11;;:18;1365:5;1353:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1324:301;;;1405:12;1419:17;1440:5;:10;;1474;1486:2;1490:5;1451:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1440:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1404:93;;;;1520:7;:57;;;;;1547:1;1532:4;:11;:16;:44;;;;1563:4;1552:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1532:44;1520:57;1512:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1324:301;;;1212:420;;;;:::o;239:292::-;320:12;334:17;355:5;:10;;389;401:2;405:5;366:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;355:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;319:93;;;;431:7;:57;;;;;458:1;443:4;:11;:16;:44;;;;474:4;463:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;443:44;431:57;423:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;239:292;;;;;:::o;841:323::-;941:12;955:17;976:5;:10;;1010;1022:4;1028:2;1032:5;987:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;976:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;940:99;;;;1058:7;:57;;;;;1085:1;1070:4;:11;:16;:44;;;;1101:4;1090:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1070:44;1058:57;1050:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;841:323;;;;;;:::o;4272:109:0:-;4328:7;4355:3;:11;;:18;;;;4348:25;;4272:109;;;:::o;1951:192:4:-;2037:7;2070:1;2065;:6;;2073:12;2057:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2097:9;2113:1;2109;:5;2097:17;;2134:1;2127:8;;;1951:192;;;;;:::o;4725:204:0:-;4792:7;4841:5;4820:3;:11;;:18;;;;:26;4812:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4903:3;:11;;4915:5;4903:18;;;;;;;;;;;;;;;;4896:25;;4725:204;;;;:::o;1837:414::-;1900:4;1922:21;1932:3;1937:5;1922:9;:21::i;:::-;1917:327;;1960:3;:11;;1977:5;1960:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2143:3;:11;;:18;;;;2121:3;:12;;:19;2134:5;2121:19;;;;;;;;;;;:40;;;;2183:4;2176:11;;;;1917:327;2227:5;2220:12;;1837:414;;;;;:::o;2427:1544::-;2493:4;2611:18;2632:3;:12;;:19;2645:5;2632:19;;;;;;;;;;;;2611:40;;2682:1;2668:10;:15;2664:1300;;3030:21;3067:1;3054:10;:14;3030:38;;3083:17;3124:1;3103:3;:11;;:18;;;;:22;3083:42;;3370:17;3390:3;:11;;3402:9;3390:22;;;;;;;;;;;;;;;;3370:42;;3536:9;3507:3;:11;;3519:13;3507:26;;;;;;;;;;;;;;;:38;;;;3655:1;3639:13;:17;3613:3;:12;;:23;3626:9;3613:23;;;;;;;;;;;:43;;;;3765:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;3860:3;:12;;:19;3873:5;3860:19;;;;;;;;;;;3853:26;;;3903:4;3896:11;;;;;;;;2664:1300;3947:5;3940:12;;;2427:1544;;;;;:::o;4057:129::-;4130:4;4177:1;4154:3;:12;;:19;4167:5;4154:19;;;;;;;;;;;;:24;;4147:31;;4057:129;;;;:::o;3977:278:4:-;4063:7;4095:1;4091;:5;4098:12;4083:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4122:9;4138:1;4134;:5;;;;;;4122:17;;4246:1;4239:8;;;3977:278;;;;;:::o
Swarm Source
ipfs://f980fdf02ce253f557066bff8f35bed277032c3dd8d8868a92fa712d3a64d354
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.