Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 212 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
User Deposit | 12116331 | 1356 days ago | IN | 3.46477608 ETH | 0.00401726 | ||||
User Deposit | 12116050 | 1356 days ago | IN | 2.2 ETH | 0.02407265 | ||||
User Deposit | 12115916 | 1356 days ago | IN | 5 ETH | 0.00633491 | ||||
User Deposit | 12115915 | 1356 days ago | IN | 2.5 ETH | 0.0092706 | ||||
User Deposit | 12115915 | 1356 days ago | IN | 2.5 ETH | 0.0108157 | ||||
User Deposit | 12115915 | 1356 days ago | IN | 1 ETH | 0.0108157 | ||||
User Deposit | 12115915 | 1356 days ago | IN | 15 ETH | 0.01372048 | ||||
User Deposit | 12115915 | 1356 days ago | IN | 5 ETH | 0.0216314 | ||||
User Deposit | 12115915 | 1356 days ago | IN | 3 ETH | 0.030902 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 5 ETH | 0.00559326 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 1 ETH | 0.00559326 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 2 ETH | 0.00559326 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 5 ETH | 0.00559326 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 1.9 ETH | 0.00577867 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 5 ETH | 0.00577867 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 1 ETH | 0.00596408 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 1 ETH | 0.00608769 | ||||
User Deposit | 12115914 | 1356 days ago | IN | 1 ETH | 0.00614949 | ||||
User Deposit | 12115913 | 1356 days ago | IN | 4 ETH | 0.00615258 | ||||
User Deposit | 12115913 | 1356 days ago | IN | 1 ETH | 0.0061804 | ||||
User Deposit | 12115913 | 1356 days ago | IN | 2 ETH | 0.00633491 | ||||
User Deposit | 12115913 | 1356 days ago | IN | 3 ETH | 0.00652032 | ||||
User Deposit | 12115913 | 1356 days ago | IN | 5 ETH | 0.0108157 | ||||
User Deposit | 12115913 | 1356 days ago | IN | 5 ETH | 0.0123608 | ||||
User Deposit | 12115913 | 1356 days ago | IN | 5 ETH | 0.046353 |
Latest 10 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12115917 | 1356 days ago | 220.95 ETH | ||||
12115917 | 1356 days ago | 7.29 ETH | ||||
12115917 | 1356 days ago | 0.81 ETH | ||||
12115917 | 1356 days ago | 220.95 ETH | ||||
12115912 | 1356 days ago | 4.62493024 ETH | ||||
12115910 | 1356 days ago | 0.51530334 ETH | ||||
12115909 | 1356 days ago | 2.5 ETH | ||||
12115908 | 1356 days ago | 4.5 ETH | ||||
12115907 | 1356 days ago | 3 ETH | ||||
12070778 | 1363 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x3556c9ac...0f82874fc 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 // Presale contract. Version 1 /** 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 = 1; 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 = 0x60e2E1b2a317EdfC870b6Fc6886F69083FB2099a; } 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 if (STATUS.WHITELIST_ONLY) { require(WHITELIST.contains(msg.sender), 'NOT WHITELISTED'); } // Presale Round 1 - require participant to hold a certain token and balance if (block.number < PRESALE_INFO.START_BLOCK + STATUS.ROUND1_LENGTH) { // 276 blocks = 1 hour require(PRESALE_SETTINGS.userHoldsSufficientRound1Token(msg.sender), 'INSUFFICENT ROUND 1 TOKEN BALANCE'); } 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 { 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
0x60806040526004361061019c5760003560e01c8063927ac44d116100ec578063c39e7dbb1161008a578063e8078d9411610064578063e8078d94146109db578063e86e6340146109f2578063f868e76614610a09578063fe8121de14610a375761019c565b8063c39e7dbb1461091a578063c870279e14610931578063e33865b3146109725761019c565b8063acfb2355116100c6578063acfb235514610791578063ad5c4648146107bc578063b93ac792146107fd578063b9863a44146108b35761019c565b8063927ac44d14610619578063a5d0de8c146106ea578063a94e7e801461077a5761019c565b806346ed62c911610159578063760fe56e11610133578063760fe56e146104ed5780637bfc66001461053257806389fc0056146105735780638c301df8146105b45761019c565b806346ed62c9146103bb5780634bb18e3f146104ab57806373c30b6c146104d65761019c565b80630bbebba4146101a157806310c55f2b146101e257806324ef1bc71461024e57806338b90333146102895780633f74aa38146102b45780634200e4fc1461037e575b600080fd5b3480156101ad57600080fd5b506101b6610a4e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101ee57600080fd5b506102316004803603602081101561020557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a74565b604051808381526020018281526020019250505060405180910390f35b34801561025a57600080fd5b506102876004803603602081101561027157600080fd5b8101908080359060200190929190505050610a98565b005b34801561029557600080fd5b5061029e610b6b565b6040518082815260200191505060405180910390f35b3480156102c057600080fd5b506102c9610b71565b604051808f73ffffffffffffffffffffffffffffffffffffffff1681526020018e73ffffffffffffffffffffffffffffffffffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff1681526020018c81526020018b81526020018a815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182151581526020019e50505050505050505050505050505060405180910390f35b34801561038a57600080fd5b506103b9600480360360208110156103a157600080fd5b81019080803515159060200190929190505050610c38565b005b3480156103c757600080fd5b506104a960048036036101008110156103df57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d1e565b005b3480156104b757600080fd5b506104c0611075565b6040518082815260200191505060405180910390f35b3480156104e257600080fd5b506104eb611086565b005b3480156104f957600080fd5b506105306004803603604081101561051057600080fd5b810190808035906020019092919080359060200190929190505050611100565b005b34801561053e57600080fd5b506105476112b0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561057f57600080fd5b506105886112d6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105c057600080fd5b506105ed600480360360208110156105d757600080fd5b81019080803590602001909291905050506112fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561062557600080fd5b506106e86004803603604081101561063c57600080fd5b810190808035906020019064010000000081111561065957600080fd5b82018360208201111561066b57600080fd5b8035906020019184602083028401116401000000008311171561068d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803515159060200190929190505050611319565b005b3480156106f657600080fd5b506106ff611473565b604051808781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001965050505050505060405180910390f35b34801561078657600080fd5b5061078f6114fd565b005b34801561079d57600080fd5b506107a66116f4565b6040518082815260200191505060405180910390f35b3480156107c857600080fd5b506107d16117b8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561080957600080fd5b506108b1600480360361016081101561082157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506117de565b005b3480156108bf57600080fd5b50610902600480360360208110156108d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611956565b60405180821515815260200191505060405180910390f35b34801561092657600080fd5b5061092f611973565b005b34801561093d57600080fd5b50610946611ce0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561097e57600080fd5b50610987611d06565b604051808a1515815260200189151581526020018815158152602001878152602001868152602001858152602001848152602001838152602001828152602001995050505050505050505060405180910390f35b3480156109e757600080fd5b506109f0611d69565b005b3480156109fe57600080fd5b50610a0761297b565b005b610a3560048036036020811015610a1f57600080fd5b8101908080359060200190929190505050612b05565b005b348015610a4357600080fd5b50610a4c61314a565b005b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60236020528060005260406000206000915090508060000154908060010154905082565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b5e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b8060026004018190555050565b60015481565b60028060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600301549080600401549080600501549080600601549080600701549080600801549080600901549080600a01549080600b01549080600c01549080600d0160009054906101000a900460ff1690508e565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cfe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b80601660000160006101000a81548160ff02191690831515021790555050565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610de1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f464f5242494444454e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16146002600d0160006101000a81548160ff02191690831515021790555086600260010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550876002800160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085601060000181905550846010600101819055508360106002018190555082601060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aac912166040518163ffffffff1660e01b815260040160206040518083038186803b15801561102757600080fd5b505afa15801561103b573d6000803e3d6000fd5b505050506040513d602081101561105157600080fd5b81019080805190602001909291905050506016600501819055505050505050505050565b60006110816024613489565b905090565b602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110e057600080fd5b6001601660000160026101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b436002600a0154116111d757600080fd5b601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663120ac7e66040518163ffffffff1660e01b815260040160206040518083038186803b15801561123f57600080fd5b505afa158015611253573d6000803e3d6000fd5b505050506040513d602081101561126957600080fd5b810190808051906020019092919050505061128d838361349e90919063ffffffff16565b111561129857600080fd5b816002600a0181905550806002600b01819055505050565b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113128260246134e890919063ffffffff16565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b801561142c5760005b82518110156114265761141883828151811061140057fe5b6020026020010151602461350290919063ffffffff16565b5080806001019150506113e8565b5061146f565b60005b825181101561146d5761145f83828151811061144757fe5b6020026020010151602461353290919063ffffffff16565b50808060010191505061142f565b505b5050565b60108060000154908060010154908060020154908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905086565b3373ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e4f542050524553414c45204f574e455200000000000000000000000000000081525060200191505060405180910390fd5b60036115cd6116f4565b146115d757600080fd5b6116f2600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116b257600080fd5b505afa1580156116c6573d6000803e3d6000fd5b505050506040513d60208110156116dc57600080fd5b8101908080519060200190929190505050613562565b565b6000601660000160029054906101000a900460ff161561171757600390506117b5565b6002600b0154431180156117345750600260070154601660010154105b1561174257600390506117b5565b6002600601546016600101541061175c57600290506117b5565b6002600b01544311801561177a575060026007015460166001015410155b1561178857600290506117b5565b6002600a015443101580156117a257506002600b01544311155b156117b057600190506117b5565b600090505b90565b602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f464f5242494444454e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8a600260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555089600260050181905550886002600301819055508760026004018190555086600260060181905550856002600701819055508460026008018190555083600260090181905550826002600a0181905550816002600b0181905550806002600c01819055505050505050505050505050565b600061196c82602461374590919063ffffffff16565b9050919050565b600260005414156119ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555060036119fe6116f4565b14611a71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e4f54204641494c45440000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000611ad360166004015460166001015461349e90919063ffffffff16565b905060006002600d0160009054906101000a900460ff16611bb9576002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611b7957600080fd5b505afa158015611b8d573d6000803e3d6000fd5b505050506040513d6020811015611ba357600080fd5b8101908080519060200190929190505050611bbb565b475b90506000611be883611bda86600001548561377590919063ffffffff16565b6137fb90919063ffffffff16565b905060008111611c60576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e4f5448494e4720544f2057495448445241570000000000000000000000000081525060200191505060405180910390fd5b611c7c846000015460166004015461384590919063ffffffff16565b60166004018190555060008460000181905550611cd26002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633836002600d0160009054906101000a900460ff16156138cd565b505050506001600081905550565b601d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60168060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060010154908060020154908060030154908060040154908060050154908060060154905089565b60026000541415611de2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550601660000160019054906101000a900460ff1615611e70576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f47454e45524154494f4e20434f4d504c4554450000000000000000000000000081525060200191505060405180910390fd5b6002611e7a6116f4565b14611eed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e4f54205355434345535300000000000000000000000000000000000000000081525060200191505060405180910390fd5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d8c70bb600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611fdd57600080fd5b505afa158015611ff1573d6000803e3d6000fd5b505050506040513d602081101561200757600080fd5b810190808051906020019092919050505015612040576001601660000160026101000a81548160ff021916908315150217905550612971565b60006120736103e861206560106000015460166001015461377590919063ffffffff16565b6137fb90919063ffffffff16565b905060006120ba6103e86120ac60026008015461209e8660166001015461349e90919063ffffffff16565b61377590919063ffffffff16565b6137fb90919063ffffffff16565b90506002600d0160009054906101000a900460ff161561215857602260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561213e57600080fd5b505af1158015612152573d6000803e3d6000fd5b50505050505b6121a96002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613b03565b600061227f6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561221857600080fd5b505afa15801561222c573d6000803e3d6000fd5b505050506040513d602081101561224257600080fd5b810190808051906020019092919050505060ff16600a0a6122716002600901548561377590919063ffffffff16565b6137fb90919063ffffffff16565b90506122d3600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613b03565b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632277d0e36002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685856002600c01544201600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019650505050505050600060405180830381600087803b15801561242757600080fd5b505af115801561243b573d6000803e3d6000fd5b5050505060006124726103e861246460106001015460166002015461377590919063ffffffff16565b6137fb90919063ffffffff16565b9050600073ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126175760006124fb6103e86124ed6010600201548861377590919063ffffffff16565b6137fb90919063ffffffff16565b90506125656002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002600d0160009054906101000a900460ff16156138cd565b612578818661349e90919063ffffffff16565b945060006125a86103e861259a6010600201548661377590919063ffffffff16565b6137fb90919063ffffffff16565b90506125ff600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613562565b612612818461349e90919063ffffffff16565b925050505b61267f6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866002600d0160009054906101000a900460ff16156138cd565b6126d4600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613562565b6000600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561276257600080fd5b505afa158015612776573d6000803e3d6000fd5b505050506040513d602081101561278c57600080fd5b810190808051906020019092919050505090506016600201548111156127fc5760006127c66016600201548361349e90919063ffffffff16565b90506127fa600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661dead83613562565b505b60006002600d0160009054906101000a900460ff166128e0576002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156128a057600080fd5b505afa1580156128b4573d6000803e3d6000fd5b505050506040513d60208110156128ca57600080fd5b81019080805190602001909291905050506128e2565b475b905061294c6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002600d0160009054906101000a900460ff16156138cd565b6001601660000160016101000a81548160ff0219169083151502179055505050505050505b6001600081905550565b601660000160019054906101000a900460ff161580156129ab5750601660000160029054906101000a900460ff16155b6129b457600080fd5b601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638d8c70bb600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612aa457600080fd5b505afa158015612ab8573d6000803e3d6000fd5b505050506040513d6020811015612ace57600080fd5b810190808051906020019092919050505015612b03576001601660000160026101000a81548160ff0219169083151502179055505b565b60026000541415612b7e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506001612b906116f4565b14612c03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e4f54204143544956450000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601660000160009054906101000a900460ff1615612ca257612c2f33602461374590919063ffffffff16565b612ca1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e4f542057484954454c4953544544000000000000000000000000000000000081525060200191505060405180910390fd5b5b6016600501546002600a015401431015612dd057601f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a6da481336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612d3f57600080fd5b505afa158015612d53573d6000803e3d6000fd5b505050506040513d6020811015612d6957600080fd5b8101908080519060200190929190505050612dcf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806142616021913960400191505060405180910390fd5b5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006002600d0160009054906101000a900460ff16612e325782612e34565b345b90506000612e54836000015460026004015461349e90919063ffffffff16565b90506000601660010154600260060154039050808211612e745781612e76565b805b915081831115612e84578192505b6000612f5a6002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015612ef357600080fd5b505afa158015612f07573d6000803e3d6000fd5b505050506040513d6020811015612f1d57600080fd5b810190808051906020019092919050505060ff16600a0a612f4c6002600301548761377590919063ffffffff16565b6137fb90919063ffffffff16565b905060008111612fd2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a45524f20544f4b454e5300000000000000000000000000000000000000000081525060200191505060405180910390fd5b600085600001541415612ff5576016600601600081548092919060010191905055505b61300c84866000015461384590919063ffffffff16565b856000018190555061302b81866001015461384590919063ffffffff16565b856001018190555061304b8460166001015461384590919063ffffffff16565b60166001018190555061306c8160166002015461384590919063ffffffff16565b6016600201819055506002600d0160009054906101000a900460ff16801561309357503484105b156130f2573373ffffffffffffffffffffffffffffffffffffffff166108fc6130c5863461349e90919063ffffffff16565b9081150290604051600060405180830381858888f193505050501580156130f0573d6000803e3d6000fd5b505b6002600d0160009054906101000a900460ff1661313a576131396002800160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16333087613ce6565b5b5050505050600160008190555050565b600260005414156131c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550601660000160019054906101000a900460ff16613250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4157414954494e47204c502047454e45524154494f4e0000000000000000000081525060200191505060405180910390fd5b6000602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006132b260166003015460166002015461349e90919063ffffffff16565b905060006133a5826133978560010154600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561334e57600080fd5b505afa158015613362573d6000803e3d6000fd5b505050506040513d602081101561337857600080fd5b810190808051906020019092919050505061377590919063ffffffff16565b6137fb90919063ffffffff16565b90506000811161341d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e4f5448494e4720544f2057495448445241570000000000000000000000000081525060200191505060405180910390fd5b613439836001015460166003015461384590919063ffffffff16565b6016600301819055506000836001018190555061347c600260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163383613562565b5050506001600081905550565b600061349782600001613ecb565b9050919050565b60006134e083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613edc565b905092915050565b60006134f78360000183613f9c565b60001c905092915050565b600061352a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61401f565b905092915050565b600061355a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61408f565b905092915050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106136255780518252602082019150602081019050602083039250613602565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613687576040519150601f19603f3d011682016040523d82523d6000602084013e61368c565b606091505b50915091508180156136cc57506000815114806136cb57508080602001905160208110156136b957600080fd5b81019080805190602001909291905050505b5b61373e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5472616e7366657248656c7065723a205452414e534645525f4641494c45440081525060200191505060405180910390fd5b5050505050565b600061376d836000018373ffffffffffffffffffffffffffffffffffffffff1660001b614177565b905092915050565b60008083141561378857600090506137f5565b600082840290508284828161379957fe5b04146137f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806142a46021913960400191505060405180910390fd5b809150505b92915050565b600061383d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061419a565b905092915050565b6000808284019050838110156138c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b8061391e578273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015613918573d6000803e3d6000fd5b50613afd565b600060608573ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8686604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106139e157805182526020820191506020810190506020830392506139be565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613a43576040519150601f19603f3d011682016040523d82523d6000602084013e613a48565b606091505b5091509150818015613a885750600081511480613a875750808060200190516020811015613a7557600080fd5b81019080805190602001909291905050505b5b613afa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5472616e7366657248656c7065723a205452414e534645525f4641494c45440081525060200191505060405180910390fd5b50505b50505050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663095ea7b38585604051602401808373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613bc65780518252602082019150602081019050602083039250613ba3565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613c28576040519150601f19603f3d011682016040523d82523d6000602084013e613c2d565b606091505b5091509150818015613c6d5750600081511480613c6c5750808060200190516020811015613c5a57600080fd5b81019080805190602001909291905050505b5b613cdf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f5472616e7366657248656c7065723a20415050524f56455f4641494c4544000081525060200191505060405180910390fd5b5050505050565b600060608573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200193505050506040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310613dc75780518252602082019150602081019050602083039250613da4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613e29576040519150601f19603f3d011682016040523d82523d6000602084013e613e2e565b606091505b5091509150818015613e6e5750600081511480613e6d5750808060200190516020811015613e5b57600080fd5b81019080805190602001909291905050505b5b613ec3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806142c56024913960400191505060405180910390fd5b505050505050565b600081600001805490509050919050565b6000838311158290613f89576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f4e578082015181840152602081019050613f33565b50505050905090810190601f168015613f7b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600081836000018054905011613ffd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806142826022913960400191505060405180910390fd5b82600001828154811061400c57fe5b9060005260206000200154905092915050565b600061402b8383614177565b614084578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050614089565b600090505b92915050565b6000808360010160008481526020019081526020016000205490506000811461416b57600060018203905060006001866000018054905003905060008660000182815481106140da57fe5b90600052602060002001549050808760000184815481106140f757fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061412f57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050614171565b60009150505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083118290614246576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561420b5780820151818401526020810190506141f0565b50505050905090810190601f1680156142385780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161425257fe5b04905080915050939250505056fe494e535546464943454e5420524f554e44203120544f4b454e2042414c414e4345456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544a26469706673582212206c98a4c2ad1e90429f6281716eeedc07a21b23fa42908bddeb98de03eaa0c95d64736f6c634300060c0033
Deployed Bytecode Sourcemap
2593:16484:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5146:40;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5287:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;17543:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2819:35;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4942:31;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18187:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6827:1113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18704:108;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13572:134;;;;;;;;;;;;;:::i;:::-;;17819:319;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5090:51;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5224:36;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18820:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18342:332;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4978:38;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12625:250;;;;;;;;;;;;;:::i;:::-;;8075:801;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5265:17;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5888:931;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18952:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11688:816;;;;;;;;;;;;;:::i;:::-;;5053:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5021:27;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14135:3400;;;;;;;;;;;;;:::i;:::-;;13232:285;;;;;;;;;;;;;:::i;:::-;;8944:1835;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10901:670;;;;;;;;;;;;;:::i;:::-;;5146:40;;;;;;;;;;;;;:::o;5287:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;17543:131::-;8021:10;7991:40;;:12;:26;;;;;;;;;;;;:40;;;7983:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17659:9:::1;17624:12;:32;;:44;;;;17543:131:::0;:::o;2819:35::-;;;;:::o;4942:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18187:106::-;8021:10;7991:40;;:12;:26;;;;;;;;;;;;:40;;;7983:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18282:5:::1;18258:6;:21;;;:29;;;;;;;;;;;;;;;;;;18187:106:::0;:::o;6827:1113::-;7159:17;;;;;;;;;;;7145:31;;:10;:31;;;7137:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7402:4;;;;;;;;;;;7371:36;;7379:10;7371:36;;;7341:12;:27;;;:66;;;;;;;;;;;;;;;;;;7439:13;7416:12;:20;;;:36;;;;;;;;;;;;;;;;;;7484:10;7461:12;:20;;;:33;;;;;;;;;;;;;;;;;;7540:16;7503;:34;;:53;;;;7603:17;7565:16;:35;;:55;;;;7661:12;7629:16;:29;;:44;;;;7726:15;7690:16;:33;;;:51;;;;;;;;;;;;;;;;;;7787:16;7750;:34;;;:53;;;;;;;;;;;;;;;;;;7852:16;7812;:37;;;:56;;;;;;;;;;;;;;;;;;7900:16;;;;;;;;;;;:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7877:6;:20;;:57;;;;6827:1113;;;;;;;;:::o;18704:108::-;18765:7;18788:18;:9;:16;:18::i;:::-;18781:25;;18704:108;:::o;13572:134::-;13644:20;;;;;;;;;;;13630:34;;:10;:34;;;13622:43;;;;;;13696:4;13674:6;:19;;;:26;;;;;;;;;;;;;;;;;;13572:134::o;17819:319::-;8021:10;7991:40;;:12;:26;;;;;;;;;;;;:40;;;7983:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17949:12:::1;17922;:24;;;:39;17914:48;;;::::0;::::1;;18007:16;;;;;;;;;;;:36;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;17977:26;17991:11;17977:9;:13;;:26;;;;:::i;:::-;:68;;17969:77;;;::::0;::::1;;18080:11;18053:12;:24;;:38;;;;18123:9;18098:12;:22;;:34;;;;17819:319:::0;;:::o;5090:51::-;;;;;;;;;;;;;:::o;5224:36::-;;;;;;;;;;;;;:::o;18820:124::-;18895:7;18918:20;18931:6;18918:9;:12;;:20;;;;:::i;:::-;18911:27;;18820:124;;;:::o;18342:332::-;8021:10;7991:40;;:12;:26;;;;;;;;;;;;:40;;;7983:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18438:4:::1;18434:235;;;18460:6;18455:90;18476:6;:13;18472:1;:17;18455:90;;;18509:24;18523:6;18530:1;18523:9;;;;;;;;;;;;;;18509;:13;;:24;;;;:::i;:::-;;18491:3;;;;;;;18455:90;;;;18434:235;;;18574:6;18569:93;18590:6;:13;18586:1;:17;18569:93;;;18623:27;18640:6;18647:1;18640:9;;;;;;;;;;;;;;18623;:16;;:27;;;;:::i;:::-;;18605:3;;;;;;;18569:93;;;;18434:235;18342:332:::0;;:::o;4978:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;12625:250::-;8021:10;7991:40;;:12;:26;;;;;;;;;;;;:40;;;7983:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12717:1:::1;12698:15;:13;:15::i;:::-;:20;12690:29;;;::::0;::::1;;12736:133;12772:12;:20;;;;;;;;;;;;12795:12;:26;;;;;;;;;;;;12823:12;:20;;;;;;;;;;;;:30;;;12862:4;12823:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;12736:27;:133::i;:::-;12625:250::o:0;8075:801::-;8122:7;8142:6;:19;;;;;;;;;;;;8138:73;;;8179:1;8172:8;;;;8138:73;8237:12;:22;;;8222:12;:37;8221:95;;;;;8295:12;:20;;;8265:6;:27;;;:50;8221:95;8217:167;;;8334:1;8327:8;;;;8217:167;8425:12;:20;;;8394:6;:27;;;:51;8390:107;;8463:1;8456:8;;;;8390:107;8523:12;:22;;;8508:12;:37;8507:96;;;;;8582:12;:20;;;8551:6;:27;;;:51;;8507:96;8503:170;;;8621:1;8614:8;;;;8503:170;8700:12;:24;;;8684:12;:40;;8683:86;;;;;8746:12;:22;;;8730:12;:38;;8683:86;8679:146;;;8787:1;8780:8;;;;8679:146;8838:1;8831:8;;8075:801;;:::o;5265:17::-;;;;;;;;;;;;;:::o;5888:931::-;6262:17;;;;;;;;;;;6248:31;;:10;:31;;;6240:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6331:13;6302:12;:26;;;:42;;;;;;;;;;;;;;;;;;6375:7;6353:12;:19;;:29;;;;6418:11;6391:12;:24;;:38;;;;6473:15;6438:12;:32;;:50;;;;6520:8;6497:12;:20;;:31;;;;6560:8;6537:12;:20;;:31;;;;6610:17;6577:12;:30;;:50;;;;6664:12;6636;:25;;:40;;;;6712:11;6685:12;:24;;:38;;;;6757:9;6732:12;:22;;:34;;;;6802:11;6775:12;:24;;:38;;;;5888:931;;;;;;;;;;;:::o;18952:122::-;19023:4;19043:25;19062:5;19043:9;:18;;:25;;;;:::i;:::-;19036:32;;18952:122;;;:::o;11688:816::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;11779:1:2::1;11760:15;:13;:15::i;:::-;:20;11752:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11812:23;11838:6;:18;11845:10;11838:18;;;;;;;;;;;;;;;11812:44;;11863:32;11898:60;11930:6;:27;;;11898:6;:27;;;:31;;:60;;;;:::i;:::-;11863:95;;11965:28;11996:12;:27;;;;;;;;;;;;:99;;12050:12;:20:::0;::::1;;;;;;;;;;;:30;;;12089:4;12050:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;11996:99;;;12026:21;11996:99;11965:130;;12102:18;12123:75;12173:24;12123:45;12148:5;:19;;;12123:20;:24;;:45;;;;:::i;:::-;:49;;:75;;;;:::i;:::-;12102:96;;12226:1;12213:10;:14;12205:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;12288:52;12320:5;:19;;;12288:6;:27;;;:31;;:52;;;;:::i;:::-;12258:6;:27;;:82;;;;12369:1;12347:5;:19;;:23;;;;12377:121;12422:12;:20:::0;::::1;;;;;;;;;;;12445:10;12457;12470:12;:27;;;;;;;;;;;;12469:28;12377:36;:121::i;:::-;2637:1:3;;;;1823::::0;2785:7;:22;;;;11688:816:2:o;5053:32::-;;;;;;;;;;;;;:::o;5021:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14135:3400::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;14197:6:2::1;:29;;;;;;;;;;;;14196:30;14188:62;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;14284:1;14265:15;:13;:15::i;:::-;:20;14257:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;14404:22;;;;;;;;;;;:47;;;14460:12;:20;;;;;;;;;;;;14491:12;:20:::0;::::1;;;;;;;;;;;14404:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;14400:177;;;14548:4;14526:6;:19;;;:26;;;;;;;;;;;;;;;;;;14563:7;;14400:177;14589:23;14615:77;14687:4;14615:67;14647:16;:34;;;14615:6;:27;;;:31;;:67;;;;:::i;:::-;:71;;:77;;;;:::i;:::-;14589:103;;14734:21;14758:94;14847:4;14758:84;14811:12;:30;;;14758:48;14790:15;14758:6;:27;;;:31;;:48;;;;:::i;:::-;:52;;:84;;;;:::i;:::-;:88;;:94;;;;:::i;:::-;14734:118;;14863:12;:27;;;;;;;;;;;;14859:89;;;14903:4;;;;;;;;;;;:12;;;14924:13;14903:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;14859:89;14954:105;14989:12;:20:::0;::::1;;;;;;;;;;;15020:22;;;;;;;;;;;15045:13;14954:26;:105::i;:::-;15101:22;15126:96;15189:12;:20:::0;::::1;;;;;;;;;;;:29;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;15181:40;;15175:2;:46;15126:44;15144:12;:25;;;15126:13;:17;;:44;;;;:::i;:::-;:48;;:96;;;;:::i;:::-;15101:121;;15229:106;15264:12;:20;;;;;;;;;;;;15295:22;;;;;;;;;;;15320:14;15229:26;:106::i;:::-;15348:22;;;;;;;;;;;:36;;;15385:12;:20:::0;::::1;;;;;;;;;;;15407:12;:20;;;;;;;;;;;;15429:13;15444:14;15478:12;:24;;;15460:15;:42;15504:12;:26;;;;;;;;;;;;15348:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;15566:24;15593:75;15663:4;15593:65;15622:16;:35;;;15593:6;:24;;;:28;;:65;;;;:::i;:::-;:69;;:75;;;;:::i;:::-;15566:102;;15796:1;15747:51;;:16;:37;;;;;;;;;;;;:51;;;15743:733;;15838:23;15864:60;15919:4;15864:50;15884:16;:29;;;15864:15;:19;;:50;;;;:::i;:::-;:54;;:60;;;;:::i;:::-;15838:86;;15935:153;15980:12;:20:::0;::::1;;;;;;;;;;;16003:16;:37;;;;;;;;;;;;16042:15;16060:12;:27;;;;;;;;;;;;16059:28;15935:36;:153::i;:::-;16117:36;16137:15;16117;:19;;:36;;;;:::i;:::-;16099:54;;16186:24;16213:61;16269:4;16213:51;16234:16;:29;;;16213:16;:20;;:51;;;;:::i;:::-;:55;;:61;;;;:::i;:::-;16186:88;;16285:115;16321:12;:20;;;;;;;;;;;;16344:16;:37;;;;;;;;;;;;16383:16;16285:27;:115::i;:::-;16430:38;16451:16;16430;:20;;:38;;;;:::i;:::-;16411:57;;15743:733;;;16482:149;16527:12;:20:::0;::::1;;;;;;;;;;;16550:16;:33;;;;;;;;;;;;16585:15;16603:12;:27;;;;;;;;;;;;16602:28;16482:36;:149::i;:::-;16638:112;16674:12;:20;;;;;;;;;;;;16697:16;:34;;;;;;;;;;;;16733:16;16638:27;:112::i;:::-;16790:25;16818:12;:20;;;;;;;;;;;;:30;;;16857:4;16818:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;16790:73;;16894:6;:24;;;16874:17;:44;16870:262;;;16931:18;16952:47;16974:6;:24;;;16952:17;:21;;:47;;;;:::i;:::-;16931:68;;17010:114;17046:12;:20;;;;;;;;;;;;17069:42;17113:10;17010:27;:114::i;:::-;16870:262;;17196:28;17227:12;:27;;;;;;;;;;;;:99;;17281:12;:20:::0;::::1;;;;;;;;;;;:30;;;17320:4;17281:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;17227:99;;;17257:21;17227:99;17196:130;;17333:147;17378:12;:20:::0;::::1;;;;;;;;;;;17401:12;:26;;;;;;;;;;;;17429:20;17452:12;:27;;;;;;;;;;;;17451:28;17333:36;:147::i;:::-;17525:4;17493:6;:29;;;:36;;;;;;;;;;;;;;;;;;2637:1:3;;;;;;;1823::::0;2785:7;:22;;;;14135:3400:2:o;13232:285::-;13291:6;:29;;;;;;;;;;;;13290:30;:54;;;;;13325:6;:19;;;;;;;;;;;;13324:20;13290:54;13282:63;;;;;;13356:22;;;;;;;;;;;:47;;;13412:12;:20;;;;;;;;;;;;13443:12;:20;;;;;;;;;;;;13356:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13352:160;;;13500:4;13478:6;:19;;;:26;;;;;;;;;;;;;;;;;;13352:160;13232:285::o;8944:1835::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;9047:1:2::1;9028:15;:13;:15::i;:::-;:20;9020:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9084:6;:21;;;;;;;;;;;;9080:102;;;9124:30;9143:10;9124:9;:18;;:30;;;;:::i;:::-;9116:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9080:102;9316:6;:20;;;9289:12;:24;;;:47;9274:12;:62;9270:215;;;9380:16;;;;;;;;;;;:47;;;9428:10;9380:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;9372:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9270:215;9491:23;9517:6;:18;9524:10;9517:18;;;;;;;;;;;;;;;9491:44;;9542:17;9562:12;:27;;;;;;;;;;;;:49;;9604:7;9562:49;;;9592:9;9562:49;9542:69;;9618:17;9638:57;9675:5;:19;;;9638:12;:32;;;:36;;:57;;;;:::i;:::-;9618:77;;9702:17;9745:6;:27;;;9722:12;:20;;;:50;9702:70;;9803:9;9791;:21;:45;;9827:9;9791:45;;;9815:9;9791:45;9779:57;;9859:9;9847;:21;9843:65;;;9891:9;9879:21;;9843:65;9914:18;9935:91;9993:12;:20:::0;::::1;;;;;;;;;;;:29;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;9985:40;;9979:2;:46;9935:39;9949:12;:24;;;9935:9;:13;;:39;;;;:::i;:::-;:43;;:91;;;;:::i;:::-;9914:112;;10054:1;10041:10;:14;10033:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;10105:1;10082:5;:19;;;:24;10078:68;;;10119:6;:17;;;:19;;;;;;;;;;;;;10078:68;10174:34;10198:9;10174:5;:19;;;:23;;:34;;;;:::i;:::-;10152:5;:19;;:56;;;;10234:32;10255:10;10234:5;:16;;;:20;;:32;;;;:::i;:::-;10215:5;:16;;:51;;;;10303:42;10335:9;10303:6;:27;;;:31;;:42;;;;:::i;:::-;10273:6;:27;;:72;;;;10379:40;10408:10;10379:6;:24;;;:28;;:40;;;;:::i;:::-;10352:6;:24;;:67;;;;10462:12;:27;;;;;;;;;;;;:52;;;;;10505:9;10493;:21;10462:52;10458:120;;;10525:10;:19;;:45;10545:24;10559:9;10545;:13;;:24;;;;:::i;:::-;10525:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;10458:120;10628:12;:27;;;;;;;;;;;;10623:151;;10666:100;10706:12;:20:::0;::::1;;;;;;;;;;;10729:10;10749:4;10756:9;10666:31;:100::i;:::-;10623:151;2637:1:3;;;;;1823::::0;2785:7;:22;;;;8944:1835:2;:::o;10901:670::-;1867:1:3;2473:7;;:19;;2465:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1867:1;2606:7;:18;;;;10969:6:2::1;:29;;;;;;;;;;;;10961:64;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11032:23;11058:6;:18;11065:10;11058:18;;;;;;;;;;;;;;;11032:44;;11083:34;11120:59;11149:6;:29;;;11120:6;:24;;;:28;;:59;;;;:::i;:::-;11083:96;;11186:18;11207:99;11279:26;11207:67;11257:5;:16;;;11207:12;:20;;;;;;;;;;;;:30;;;11246:4;11207:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:49;;:67;;;;:::i;:::-;:71;;:99;;;;:::i;:::-;11186:120;;11334:1;11321:10;:14;11313:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11398:51;11432:5;:16;;;11398:6;:29;;;:33;;:51;;;;:::i;:::-;11366:6;:29;;:83;;;;11475:1;11456:5;:16;;:20;;;;11483:82;11519:12;:20;;;;;;;;;;;;11542:10;11554;11483:27;:82::i;:::-;2637:1:3;;;1823::::0;2785:7;:22;;;;10901: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://6c98a4c2ad1e90429f6281716eeedc07a21b23fa42908bddeb98de03eaa0c95d
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.