Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 18536440 | 234 days ago | IN | Create: PresaleV1 | 0 ETH | 0.21675225 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PresaleV1
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT // _ _____ _ // __ _____| |__|___ / _ __ __ _ _ _ _ __ ___ ___ _ __ | |_ ___ // \ \ /\ / / _ \ '_ \ |_ \| '_ \ / _` | | | | '_ ` _ \ / _ \ '_ \| __/ __| // \ V V / __/ |_) |__) | |_) | (_| | |_| | | | | | | __/ | | | |_\__ \ // \_/\_/ \___|_.__/____/| .__/ \__,_|\__, |_| |_| |_|\___|_| |_|\__|___/ // |_| |___/ // pragma solidity 0.8.9; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; interface Aggregator { function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); } interface StakingManager { function depositByPresale(address _user, uint256 _amount) external; } contract PresaleV1 is Initializable, ReentrancyGuardUpgradeable, OwnableUpgradeable, PausableUpgradeable { uint256 public totalTokensSold; uint256 public startTime; uint256 public endTime; uint256 public claimStart; address public saleToken; uint256 public baseDecimals; uint256 public maxTokensToBuy; uint256 public currentStep; uint256 public checkPoint; uint256 public usdRaised; uint256 public timeConstant; uint256 public totalBoughtAndStaked; uint256[][3] public rounds; uint256[] public prevCheckpoints; uint256[] public remainingTokensTracker; uint256[] public percentages; address[] public wallets; address public paymentWallet; address public admin; bool public dynamicTimeFlag; bool public whitelistClaimOnly; bool public stakeingWhitelistStatus; IERC20Upgradeable public USDTInterface; Aggregator public aggregatorInterface; mapping(address => uint256) public userDeposits; mapping(address => bool) public hasClaimed; mapping(address => bool) public isBlacklisted; mapping(address => bool) public isWhitelisted; mapping(address => bool) public wertWhitelisted; StakingManager public stakingManagerInterface; event SaleTimeSet(uint256 _start, uint256 _end, uint256 timestamp); event SaleTimeUpdated(bytes32 indexed key, uint256 prevValue, uint256 newValue, uint256 timestamp); event TokensBought(address indexed user, uint256 indexed tokensBought, address indexed purchaseToken, uint256 amountPaid, uint256 usdEq, uint256 timestamp); event TokensAdded(address indexed token, uint256 noOfTokens, uint256 timestamp); event TokensClaimed(address indexed user, uint256 amount, uint256 timestamp); event ClaimStartUpdated(uint256 prevValue, uint256 newValue, uint256 timestamp); event MaxTokensUpdated(uint256 prevValue, uint256 newValue, uint256 timestamp); event TokensBoughtAndStaked(address indexed user, uint256 indexed tokensBought, address indexed purchaseToken, uint256 amountPaid, uint256 usdEq, uint256 timestamp); event TokensClaimedAndStaked(address indexed user, uint256 amount, uint256 timestamp); /// @custom:oz-upgrades-unsafe-allow constructor constructor() initializer {} /** * @dev Initializes the contract and sets key parameters * @param _oracle Oracle contract to fetch ETH/USDT price * @param _usdt USDT token contract address * @param _startTime start time of the presale * @param _endTime end time of the presale * @param _rounds array of round details * @param _maxTokensToBuy amount of max tokens to buy * @param _paymentWallet address to recive payments */ function initialize(address _oracle, address _usdt, uint256 _startTime, uint256 _endTime, uint256[][3] memory _rounds, uint256 _maxTokensToBuy, address _paymentWallet) external initializer { require(_oracle != address(0), "Zero aggregator address"); require(_usdt != address(0), "Zero USDT address"); require(_startTime > block.timestamp && _endTime > _startTime, "Invalid time"); __Pausable_init_unchained(); __Ownable_init_unchained(); __ReentrancyGuard_init_unchained(); baseDecimals = (10 ** 18); aggregatorInterface = Aggregator(_oracle); USDTInterface = IERC20Upgradeable(_usdt); startTime = _startTime; endTime = _endTime; rounds = _rounds; maxTokensToBuy = _maxTokensToBuy; paymentWallet = _paymentWallet; emit SaleTimeSet(startTime, endTime, block.timestamp); } /** * @dev To pause the presale */ function pause() external onlyOwner { _pause(); } /** * @dev To unpause the presale */ function unpause() external onlyOwner { _unpause(); } /** * @dev To calculate the price in USD for given amount of tokens. * @param _amount No of tokens */ function calculatePrice(uint256 _amount) public view returns (uint256) { uint256 USDTAmount; uint256 total = checkPoint == 0 ? totalTokensSold : checkPoint; require(_amount <= maxTokensToBuy, "Amount exceeds max tokens to buy"); if (_amount + total > rounds[0][currentStep] || block.timestamp >= rounds[2][currentStep]) { require(currentStep < (rounds[0].length - 1), "Wrong params"); if (block.timestamp >= rounds[2][currentStep]) { require(rounds[0][currentStep] + _amount <= rounds[0][currentStep + 1], "Cant Purchase More in individual tx"); USDTAmount = _amount * rounds[1][currentStep + 1]; } else { uint256 tokenAmountForCurrentPrice = rounds[0][currentStep] - total; USDTAmount = tokenAmountForCurrentPrice * rounds[1][currentStep] + (_amount - tokenAmountForCurrentPrice) * rounds[1][currentStep + 1]; } } else USDTAmount = _amount * rounds[1][currentStep]; return USDTAmount; } /** * @dev To update the sale times * @param _startTime New start time * @param _endTime New end time */ function changeSaleTimes(uint256 _startTime, uint256 _endTime) external onlyOwner { require(_startTime > 0 || _endTime > 0, "Invalid parameters"); if (_startTime > 0) { require(block.timestamp < startTime, "Sale already started"); require(block.timestamp < _startTime, "Sale time in past"); uint256 prevValue = startTime; startTime = _startTime; emit SaleTimeUpdated(bytes32("START"), prevValue, _startTime, block.timestamp); } if (_endTime > 0) { require(_endTime > startTime, "Invalid endTime"); uint256 prevValue = endTime; endTime = _endTime; emit SaleTimeUpdated(bytes32("END"), prevValue, _endTime, block.timestamp); } } /** * @dev To get latest ETH price in 10**18 format */ function getLatestPrice() public view returns (uint256) { (, int256 price, , , ) = aggregatorInterface.latestRoundData(); price = (price * (10 ** 10)); return uint256(price); } function setSplits(address[] memory _wallets, uint256[] memory _percentages) public onlyOwner { require(_wallets.length == _percentages.length, "Mismatched arrays"); delete wallets; delete percentages; uint256 totalPercentage = 0; for (uint256 i = 0; i < _wallets.length; i++) { require(_percentages[i] > 0, "Percentage must be greater than 0"); totalPercentage += _percentages[i]; wallets.push(_wallets[i]); percentages.push(_percentages[i]); } require(totalPercentage == 100, "Total percentage must equal 100"); } modifier checkSaleState(uint256 amount) { require(block.timestamp >= startTime && block.timestamp <= endTime, "Invalid time for buying"); require(amount > 0, "Invalid sale amount"); _; } /** * @dev To buy into a presale using USDT * @param amount No of tokens to buy * @param stake boolean flag for token staking */ function buyWithUSDT(uint256 amount, bool stake) external checkSaleState(amount) whenNotPaused returns (bool) { uint256 usdPrice = calculatePrice(amount); totalTokensSold += amount; uint256 price = usdPrice / (10 ** 12); if (checkPoint != 0) checkPoint += amount; uint256 total = totalTokensSold > checkPoint ? totalTokensSold : checkPoint; if (total > rounds[0][currentStep] || block.timestamp >= rounds[2][currentStep]) { if (block.timestamp >= rounds[2][currentStep]) { checkPoint = rounds[0][currentStep] + amount; } if (dynamicTimeFlag) { manageTimeDiff(); } uint256 unsoldTokens = total > rounds[0][currentStep] ? 0 : rounds[0][currentStep] - total; remainingTokensTracker.push(unsoldTokens); currentStep += 1; } if (stake) { if (stakeingWhitelistStatus) { require(isWhitelisted[_msgSender()], "User not whitelisted for stake"); } stakingManagerInterface.depositByPresale(_msgSender(), amount * baseDecimals); totalBoughtAndStaked += amount; emit TokensBoughtAndStaked(_msgSender(), amount, address(USDTInterface), price, usdPrice, block.timestamp); } else { userDeposits[_msgSender()] += (amount * baseDecimals); emit TokensBought(_msgSender(), amount, address(USDTInterface), price, usdPrice, block.timestamp); } usdRaised += usdPrice; uint256 ourAllowance = USDTInterface.allowance(_msgSender(), address(this)); require(price <= ourAllowance, "Make sure to add enough allowance"); splitUSDTValue(price); return true; } /** * @dev To buy into a presale using ETH * @param amount No of tokens to buy * @param stake boolean flag for token staking */ function buyWithEth(uint256 amount, bool stake) external payable checkSaleState(amount) whenNotPaused nonReentrant returns (bool) { uint256 usdPrice = calculatePrice(amount); uint256 ethAmount = (usdPrice * baseDecimals) / getLatestPrice(); require(msg.value >= ethAmount, "Less payment"); uint256 excess = msg.value - ethAmount; totalTokensSold += amount; if (checkPoint != 0) checkPoint += amount; uint256 total = totalTokensSold > checkPoint ? totalTokensSold : checkPoint; if (total > rounds[0][currentStep] || block.timestamp >= rounds[2][currentStep]) { if (block.timestamp >= rounds[2][currentStep]) { checkPoint = rounds[0][currentStep] + amount; } if (dynamicTimeFlag) { manageTimeDiff(); } uint256 unsoldTokens = total > rounds[0][currentStep] ? 0 : rounds[0][currentStep] - total; remainingTokensTracker.push(unsoldTokens); currentStep += 1; } if (stake) { if (stakeingWhitelistStatus) { require(isWhitelisted[_msgSender()], "User not whitelisted for stake"); } stakingManagerInterface.depositByPresale(_msgSender(), amount * baseDecimals); totalBoughtAndStaked += amount; emit TokensBoughtAndStaked(_msgSender(), amount, address(0), ethAmount, usdPrice, block.timestamp); } else { userDeposits[_msgSender()] += (amount * baseDecimals); emit TokensBought(_msgSender(), amount, address(0), ethAmount, usdPrice, block.timestamp); } usdRaised += usdPrice; splitETHValue(ethAmount); if (excess > 0) sendValue(payable(_msgSender()), excess); return true; } /** * @dev To buy ETH directly from wert .*wert contract address should be whitelisted if wertBuyRestrictionStatus is set true * @param _user address of the user * @param _amount No of ETH to buy * @param stake boolean flag for token staking */ function buyWithETHWert(address _user, uint256 _amount, bool stake) external payable checkSaleState(_amount) whenNotPaused nonReentrant returns (bool) { require(wertWhitelisted[_msgSender()], "User not whitelisted for this tx"); uint256 usdPrice = calculatePrice(_amount); uint256 ethAmount = (usdPrice * baseDecimals) / getLatestPrice(); require(msg.value >= ethAmount, "Less payment"); uint256 excess = msg.value - ethAmount; totalTokensSold += _amount; if (checkPoint != 0) checkPoint += _amount; uint256 total = totalTokensSold > checkPoint ? totalTokensSold : checkPoint; if (total > rounds[0][currentStep] || block.timestamp >= rounds[2][currentStep]) { if (block.timestamp >= rounds[2][currentStep]) { checkPoint = rounds[0][currentStep] + _amount; } if (dynamicTimeFlag) { manageTimeDiff(); } uint256 unsoldTokens = total > rounds[0][currentStep] ? 0 : rounds[0][currentStep] - total; remainingTokensTracker.push(unsoldTokens); currentStep += 1; } if (stake) { if (stakeingWhitelistStatus) { require(isWhitelisted[_user], "User not whitelisted for stake"); } stakingManagerInterface.depositByPresale(_user, _amount * baseDecimals); totalBoughtAndStaked += _amount; emit TokensBoughtAndStaked(_user, _amount, address(0), ethAmount, usdPrice, block.timestamp); } else { userDeposits[_user] += (_amount * baseDecimals); emit TokensBought(_user, _amount, address(0), ethAmount, usdPrice, block.timestamp); } usdRaised += usdPrice; splitETHValue(ethAmount); if (excess > 0) sendValue(payable(_user), excess); return true; } /** * @dev Helper funtion to get ETH price for given amount * @param amount No of tokens to buy */ function ethBuyHelper(uint256 amount) external view returns (uint256 ethAmount) { uint256 usdPrice = calculatePrice(amount); ethAmount = (usdPrice * baseDecimals) / getLatestPrice(); } /** * @dev Helper funtion to get USDT price for given amount * @param amount No of tokens to buy */ function usdtBuyHelper(uint256 amount) external view returns (uint256 usdPrice) { usdPrice = calculatePrice(amount); usdPrice = usdPrice / (10 ** 12); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Low balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "ETH Payment failed"); } function splitETHValue(uint256 _amount) internal { if (wallets.length == 0) { require(paymentWallet != address(0), "Payment wallet not set"); sendValue(payable(paymentWallet), _amount); } else { uint256 tempCalc; for (uint256 i = 0; i < wallets.length; i++) { uint256 amountToTransfer = (_amount * percentages[i]) / 100; sendValue(payable(wallets[i]), amountToTransfer); tempCalc += amountToTransfer; } if ((_amount - tempCalc) > 0) { sendValue(payable(wallets[wallets.length - 1]), _amount - tempCalc); } } } function splitUSDTValue(uint256 _amount) internal { if (wallets.length == 0) { require(paymentWallet != address(0), "Payment wallet not set"); (bool success, ) = address(USDTInterface).call(abi.encodeWithSignature("transferFrom(address,address,uint256)", _msgSender(), paymentWallet, _amount)); require(success, "Token payment failed"); } else { uint256 tempCalc; for (uint256 i = 0; i < wallets.length; i++) { uint256 amountToTransfer = (_amount * percentages[i]) / 100; (bool success, ) = address(USDTInterface).call(abi.encodeWithSignature("transferFrom(address,address,uint256)", _msgSender(), wallets[i], amountToTransfer)); require(success, "Token payment failed"); tempCalc += amountToTransfer; } if ((_amount - tempCalc) > 0) { (bool success, ) = address(USDTInterface).call(abi.encodeWithSignature("transferFrom(address,address,uint256)", _msgSender(), wallets[wallets.length - 1], _amount - tempCalc)); require(success, "Token payment failed"); } } } /** * @dev to initialize staking manager with new addredd * @param _stakingManagerAddress address of the staking smartcontract */ function setStakingManager(address _stakingManagerAddress) external onlyOwner { require(_stakingManagerAddress != address(0), "staking manager cannot be inatialized with zero address"); stakingManagerInterface = StakingManager(_stakingManagerAddress); IERC20Upgradeable(saleToken).approve(_stakingManagerAddress, type(uint256).max); } /** * @dev To set the claim start time and sale token address by the owner * @param _claimStart claim start time * @param noOfTokens no of tokens to add to the contract * @param _saleToken sale toke address */ function startClaim(uint256 _claimStart, uint256 noOfTokens, address _saleToken, address _stakingManagerAddress) external onlyOwner returns (bool) { require(_saleToken != address(0), "Zero token address"); require(claimStart == 0, "Claim already set"); claimStart = _claimStart; saleToken = _saleToken; whitelistClaimOnly = true; stakingManagerInterface = StakingManager(_stakingManagerAddress); IERC20Upgradeable(_saleToken).approve(_stakingManagerAddress, type(uint256).max); bool success = IERC20Upgradeable(_saleToken).transferFrom(_msgSender(), address(this), noOfTokens); require(success, "Token transfer failed"); emit TokensAdded(_saleToken, noOfTokens, block.timestamp); return true; } /** * @dev To set status for claim whitelisting * @param _status bool value */ function setStakeingWhitelistStatus(bool _status) external onlyOwner { stakeingWhitelistStatus = _status; } /** * @dev To change the claim start time by the owner * @param _claimStart new claim start time */ function changeClaimStart(uint256 _claimStart) external onlyOwner returns (bool) { require(claimStart > 0, "Initial claim data not set"); require(_claimStart > endTime, "Sale in progress"); require(_claimStart > block.timestamp, "Claim start in past"); uint256 prevValue = claimStart; claimStart = _claimStart; emit ClaimStartUpdated(prevValue, _claimStart, block.timestamp); return true; } /** * @dev To claim tokens after claiming starts */ function claim() external whenNotPaused returns (bool) { require(saleToken != address(0), "Sale token not added"); require(!isBlacklisted[_msgSender()], "This Address is Blacklisted"); if (whitelistClaimOnly) { require(isWhitelisted[_msgSender()], "User not whitelisted for claim"); } require(block.timestamp >= claimStart, "Claim has not started yet"); require(!hasClaimed[_msgSender()], "Already claimed"); hasClaimed[_msgSender()] = true; uint256 amount = userDeposits[_msgSender()]; require(amount > 0, "Nothing to claim"); delete userDeposits[_msgSender()]; bool success = IERC20Upgradeable(saleToken).transfer(_msgSender(), amount); require(success, "Token transfer failed"); emit TokensClaimed(_msgSender(), amount, block.timestamp); return true; } function claimAndStake() external whenNotPaused returns (bool) { require(saleToken != address(0), "Sale token not added"); require(!isBlacklisted[_msgSender()], "This Address is Blacklisted"); if (stakeingWhitelistStatus) { require(isWhitelisted[_msgSender()], "User not whitelisted for stake"); } uint256 amount = userDeposits[_msgSender()]; require(amount > 0, "Nothing to stake"); stakingManagerInterface.depositByPresale(_msgSender(), amount); delete userDeposits[_msgSender()]; emit TokensClaimedAndStaked(_msgSender(), amount, block.timestamp); return true; } /** * @dev To add wert contract addresses to whitelist * @param _addressesToWhitelist addresses of the contract */ function whitelistUsersForWERT(address[] calldata _addressesToWhitelist) external onlyOwner { for (uint256 i = 0; i < _addressesToWhitelist.length; i++) { wertWhitelisted[_addressesToWhitelist[i]] = true; } } /** * @dev To remove wert contract addresses to whitelist * @param _addressesToRemoveFromWhitelist addresses of the contracts */ function removeFromWhitelistForWERT(address[] calldata _addressesToRemoveFromWhitelist) external onlyOwner { for (uint256 i = 0; i < _addressesToRemoveFromWhitelist.length; i++) { wertWhitelisted[_addressesToRemoveFromWhitelist[i]] = false; } } function changeMaxTokensToBuy(uint256 _maxTokensToBuy) external onlyOwner { require(_maxTokensToBuy > 0, "Zero max tokens to buy value"); uint256 prevValue = maxTokensToBuy; maxTokensToBuy = _maxTokensToBuy; emit MaxTokensUpdated(prevValue, _maxTokensToBuy, block.timestamp); } function changeRoundsData(uint256[][3] memory _rounds) external onlyOwner { rounds = _rounds; } /** * @dev To add users to blacklist which restricts blacklisted users from claiming * @param _usersToBlacklist addresses of the users */ function blacklistUsers(address[] calldata _usersToBlacklist) external onlyOwner { for (uint256 i = 0; i < _usersToBlacklist.length; i++) { isBlacklisted[_usersToBlacklist[i]] = true; } } /** * @dev To remove users from blacklist which restricts blacklisted users from claiming * @param _userToRemoveFromBlacklist addresses of the users */ function removeFromBlacklist(address[] calldata _userToRemoveFromBlacklist) external onlyOwner { for (uint256 i = 0; i < _userToRemoveFromBlacklist.length; i++) { isBlacklisted[_userToRemoveFromBlacklist[i]] = false; } } /** * @dev To add users to whitelist which restricts users from claiming if claimWhitelistStatus is true * @param _usersToWhitelist addresses of the users */ function whitelistUsers(address[] calldata _usersToWhitelist) external onlyOwner { for (uint256 i = 0; i < _usersToWhitelist.length; i++) { isWhitelisted[_usersToWhitelist[i]] = true; } } /** * @dev To remove users from whitelist which restricts users from claiming if claimWhitelistStatus is true * @param _userToRemoveFromWhitelist addresses of the users */ function removeFromWhitelist(address[] calldata _userToRemoveFromWhitelist) external onlyOwner { for (uint256 i = 0; i < _userToRemoveFromWhitelist.length; i++) { isWhitelisted[_userToRemoveFromWhitelist[i]] = false; } } /** * @dev To set status for claim whitelisting * @param _status bool value */ function setClaimWhitelistStatus(bool _status) external onlyOwner { whitelistClaimOnly = _status; } /** * @dev To set payment wallet address * @param _newPaymentWallet new payment wallet address */ function changePaymentWallet(address _newPaymentWallet) external onlyOwner { require(_newPaymentWallet != address(0), "address cannot be zero"); paymentWallet = _newPaymentWallet; } /** * @dev To manage time gap between two rounds */ function manageTimeDiff() internal { for (uint256 i; i < rounds[2].length - currentStep; i++) { rounds[2][currentStep + i] = block.timestamp + i * timeConstant; } } /** * @dev To set time constant for manageTimeDiff() * @param _timeConstant time in <days>*24*60*60 format */ function setTimeConstant(uint256 _timeConstant) external onlyOwner { timeConstant = _timeConstant; } /** * @dev To get array of round details at once * @param _no array index */ function roundDetails(uint256 _no) external view returns (uint256[] memory) { return rounds[_no]; } /** * @dev to update userDeposits for purchases made on BSC * @param _users array of users * @param _userDeposits array of userDeposits associated with users */ function updateFromBSC(address[] calldata _users, uint256[] calldata _userDeposits) external onlyOwner { require(_users.length == _userDeposits.length, "Length mismatch"); for (uint256 i = 0; i < _users.length; i++) { userDeposits[_users[i]] += _userDeposits[i]; } } /** * @dev To increment the rounds from backend */ function incrementCurrentStep() external { require(msg.sender == admin || msg.sender == owner(), "caller not admin or owner"); prevCheckpoints.push(checkPoint); if (dynamicTimeFlag) { manageTimeDiff(); } if (checkPoint < rounds[0][currentStep]) { if (currentStep == 0) { remainingTokensTracker.push(rounds[0][currentStep] - totalTokensSold); } else { remainingTokensTracker.push(rounds[0][currentStep] - checkPoint); } checkPoint = rounds[0][currentStep]; } currentStep++; } /** * @dev To set admin * @param _admin new admin wallet address */ function setAdmin(address _admin) external onlyOwner { admin = _admin; } /** * @dev To change details of the round * @param _step round for which you want to change the details * @param _checkpoint token tracker amount */ function setCurrentStep(uint256 _step, uint256 _checkpoint) external onlyOwner { currentStep = _step; checkPoint = _checkpoint; } /** * @dev To set time shift functionality on/off * @param _dynamicTimeFlag bool value */ function setDynamicTimeFlag(bool _dynamicTimeFlag) external onlyOwner { dynamicTimeFlag = _dynamicTimeFlag; } function trackRemainingTokens() external view returns (uint256[] memory) { return remainingTokensTracker; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ReentrancyGuardUpgradeable is Initializable { // 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; function __ReentrancyGuard_init() internal onlyInitializing { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal onlyInitializing { _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 making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ClaimStartUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MaxTokensUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_end","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SaleTimeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"key","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"prevValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SaleTimeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"noOfTokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokensBought","type":"uint256"},{"indexed":true,"internalType":"address","name":"purchaseToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usdEq","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokensBought","type":"uint256"},{"indexed":true,"internalType":"address","name":"purchaseToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usdEq","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBoughtAndStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensClaimedAndStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"USDTInterface","outputs":[{"internalType":"contract IERC20Upgradeable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aggregatorInterface","outputs":[{"internalType":"contract Aggregator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_usersToBlacklist","type":"address[]"}],"name":"blacklistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"buyWithETHWert","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"buyWithEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"buyWithUSDT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"calculatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimStart","type":"uint256"}],"name":"changeClaimStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokensToBuy","type":"uint256"}],"name":"changeMaxTokensToBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPaymentWallet","type":"address"}],"name":"changePaymentWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[][3]","name":"_rounds","type":"uint256[][3]"}],"name":"changeRoundsData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"changeSaleTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"checkPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAndStake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentStep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicTimeFlag","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ethBuyHelper","outputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"incrementCurrentStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_usdt","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"uint256[][3]","name":"_rounds","type":"uint256[][3]"},{"internalType":"uint256","name":"_maxTokensToBuy","type":"uint256"},{"internalType":"address","name":"_paymentWallet","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensToBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"percentages","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"prevCheckpoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"remainingTokensTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userToRemoveFromBlacklist","type":"address[]"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_userToRemoveFromWhitelist","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addressesToRemoveFromWhitelist","type":"address[]"}],"name":"removeFromWhitelistForWERT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_no","type":"uint256"}],"name":"roundDetails","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rounds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setClaimWhitelistStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"},{"internalType":"uint256","name":"_checkpoint","type":"uint256"}],"name":"setCurrentStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_dynamicTimeFlag","type":"bool"}],"name":"setDynamicTimeFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"uint256[]","name":"_percentages","type":"uint256[]"}],"name":"setSplits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setStakeingWhitelistStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingManagerAddress","type":"address"}],"name":"setStakingManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timeConstant","type":"uint256"}],"name":"setTimeConstant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeingWhitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingManagerInterface","outputs":[{"internalType":"contract StakingManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimStart","type":"uint256"},{"internalType":"uint256","name":"noOfTokens","type":"uint256"},{"internalType":"address","name":"_saleToken","type":"address"},{"internalType":"address","name":"_stakingManagerAddress","type":"address"}],"name":"startClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeConstant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBoughtAndStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trackRemainingTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_userDeposits","type":"uint256[]"}],"name":"updateFromBSC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"usdtBuyHelper","outputs":[{"internalType":"uint256","name":"usdPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wallets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wertWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistClaimOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_usersToWhitelist","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addressesToWhitelist","type":"address[]"}],"name":"whitelistUsersForWERT","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50600054610100900460ff1615808015620000335750600054600160ff909116105b8062000063575062000050306200013d60201b62003a341760201c565b15801562000063575060005460ff166001145b620000cb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6000805460ff191660011790558015620000ef576000805461ff0019166101001790555b801562000136576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b506200014c565b6001600160a01b03163b151590565b614cee806200015c6000396000f3fe6080604052600436106104055760003560e01c80638456cb5911610213578063cad0055611610123578063edec5f27116100ab578063f597573f1161007a578063f597573f14610bca578063f851a44014610bea578063f885838614610c0a578063fb9a4acd14610c2a578063fe575a8714610c4a57600080fd5b8063edec5f2714610b54578063f04d688f14610b74578063f2fde38b14610b8a578063f446374314610baa57600080fd5b8063e19648db116100f2578063e19648db14610abe578063e32204dd14610ade578063e6da921314610afe578063e985e36714610b1e578063eadd94ec14610b3e57600080fd5b8063cad0055614610a52578063cb1a4fc014610a72578063cff805ab14610a87578063dad80e8614610a9d57600080fd5b8063ae104265116101a6578063ba166a3911610175578063ba166a39146109b0578063bb3d676a146109dd578063c23326f3146109fd578063c49cc64514610a1d578063c8adff0114610a3d57600080fd5b8063ae1042651461093d578063ae4e0a181461095d578063b00bba6a14610970578063b8977d6d1461099057600080fd5b80638e15f473116101e25780638e15f473146108d25780639a89c1fb146108e75780639cfa0f7c14610907578063a6d42e4e1461091d57600080fd5b80638456cb591461085f57806389daf799146108745780638ac08082146108945780638da5cb5b146108b457600080fd5b806343568eae1161031957806363b20117116102a1578063715018a611610270578063715018a6146107ce57806373b2e80e146107e357806378e97925146108135780637ad71f72146108295780637f6fb2531461084957600080fd5b806363b201171461076357806363e4087914610779578063641046f414610799578063704b6c02146107ae57600080fd5b806357405d05116102e857806357405d05146106c55780635bc34f71146106e55780635c975abb146106fb5780635ddc5688146107135780635df4f3531461073357600080fd5b806343568eae146106595780634e71d92d1461066f57806353d9920714610684578063548db174146106a557600080fd5b806323a8f1c01161039c5780633197cbb61161036b5780633197cbb6146105b057806333f76178146105c657806338646608146105dc5780633af32abf146106145780633f4ba83a1461064457600080fd5b806323a8f1c01461053d578063278c278b1461055d57806329a5a0b61461057d5780632c65169e1461059d57600080fd5b80630dc9c838116103d85780630dc9c838146104bc578063136021d9146104dc5780631ddc6091146104fc5780631fa2bc921461051c57600080fd5b806303b9c5ad1461040a57806307f180821461042c5780630a200fc7146104615780630ba36dcd14610481575b600080fd5b34801561041657600080fd5b5061042a610425366004614444565b610c7a565b005b34801561043857600080fd5b5061044c610447366004614486565b610cf9565b60405190151581526020015b60405180910390f35b34801561046d57600080fd5b5061042a61047c3660046144ad565b610e35565b34801561048d57600080fd5b506104ae61049c3660046144e1565b60e06020526000908152604090205481565b604051908152602001610458565b3480156104c857600080fd5b5061042a6104d73660046144fc565b610e5b565b3480156104e857600080fd5b5061044c6104f736600461451e565b611037565b34801561050857600080fd5b5061042a6105173660046144ad565b61157e565b34801561052857600080fd5b5060dd5461044c90600160a01b900460ff1681565b34801561054957600080fd5b5061042a610558366004614486565b6115a4565b34801561056957600080fd5b5061042a610578366004614486565b6115b1565b34801561058957600080fd5b506104ae610598366004614486565b611654565b61044c6105ab36600461451e565b611688565b3480156105bc57600080fd5b506104ae60cb5481565b3480156105d257600080fd5b506104ae60ce5481565b3480156105e857600080fd5b5060e5546105fc906001600160a01b031681565b6040516001600160a01b039091168152602001610458565b34801561062057600080fd5b5061044c61062f3660046144e1565b60e36020526000908152604090205460ff1681565b34801561065057600080fd5b5061042a611b1d565b34801561066557600080fd5b506104ae60d35481565b34801561067b57600080fd5b5061044c611b2f565b34801561069057600080fd5b5060dd5461044c90600160a81b900460ff1681565b3480156106b157600080fd5b5061042a6106c0366004614444565b611e8b565b3480156106d157600080fd5b5061042a6106e03660046146b2565b611f05565b3480156106f157600080fd5b506104ae60d05481565b34801561070757600080fd5b5060975460ff1661044c565b34801561071f57600080fd5b5061042a61072e36600461473e565b6121d1565b34801561073f57600080fd5b5061044c61074e3660046144e1565b60e46020526000908152604090205460ff1681565b34801561076f57600080fd5b506104ae60c95481565b34801561078557600080fd5b506104ae610794366004614486565b6123c5565b3480156107a557600080fd5b5061042a6123e7565b3480156107ba57600080fd5b5061042a6107c93660046144e1565b6125b0565b3480156107da57600080fd5b5061042a6125da565b3480156107ef57600080fd5b5061044c6107fe3660046144e1565b60e16020526000908152604090205460ff1681565b34801561081f57600080fd5b506104ae60ca5481565b34801561083557600080fd5b506105fc610844366004614486565b6125ec565b34801561085557600080fd5b506104ae60d45481565b34801561086b57600080fd5b5061042a612616565b34801561088057600080fd5b5061042a61088f366004614444565b612626565b3480156108a057600080fd5b5061044c6108af3660046147fe565b6126a0565b3480156108c057600080fd5b506065546001600160a01b03166105fc565b3480156108de57600080fd5b506104ae612915565b3480156108f357600080fd5b5061042a6109023660046144fc565b6129b5565b34801561091357600080fd5b506104ae60cf5481565b34801561092957600080fd5b5061042a610938366004614844565b6129c8565b34801561094957600080fd5b506104ae610958366004614486565b6129dd565b61044c61096b366004614879565b612d11565b34801561097c57600080fd5b5061042a61098b3660046144e1565b613236565b34801561099c57600080fd5b5061042a6109ab3660046144ad565b613358565b3480156109bc57600080fd5b506109d06109cb366004614486565b61337e565b60405161045891906148b9565b3480156109e957600080fd5b5061042a6109f8366004614444565b6133ea565b348015610a0957600080fd5b506104ae610a18366004614486565b613464565b348015610a2957600080fd5b5060df546105fc906001600160a01b031681565b348015610a4957600080fd5b506109d0613485565b348015610a5e57600080fd5b5061042a610a6d3660046144e1565b6134dd565b348015610a7e57600080fd5b5061044c613556565b348015610a9357600080fd5b506104ae60d15481565b348015610aa957600080fd5b5060dd5461044c90600160b01b900460ff1681565b348015610aca57600080fd5b506104ae610ad9366004614486565b61378d565b348015610aea57600080fd5b5060dc546105fc906001600160a01b031681565b348015610b0a57600080fd5b506104ae610b193660046144fc565b61379d565b348015610b2a57600080fd5b5060cd546105fc906001600160a01b031681565b348015610b4a57600080fd5b506104ae60d25481565b348015610b6057600080fd5b5061042a610b6f366004614444565b6137d1565b348015610b8057600080fd5b506104ae60cc5481565b348015610b9657600080fd5b5061042a610ba53660046144e1565b61384b565b348015610bb657600080fd5b5061042a610bc5366004614444565b6138c4565b348015610bd657600080fd5b5060de546105fc906001600160a01b031681565b348015610bf657600080fd5b5060dd546105fc906001600160a01b031681565b348015610c1657600080fd5b506104ae610c25366004614486565b61393e565b348015610c3657600080fd5b5061042a610c453660046148fd565b61394e565b348015610c5657600080fd5b5061044c610c653660046144e1565b60e26020526000908152604090205460ff1681565b610c82613a43565b60005b81811015610cf457600160e46000858585818110610ca557610ca5614969565b9050602002016020810190610cba91906144e1565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610cec81614995565b915050610c85565b505050565b6000610d03613a43565b600060cc5411610d5a5760405162461bcd60e51b815260206004820152601a60248201527f496e697469616c20636c61696d2064617461206e6f742073657400000000000060448201526064015b60405180910390fd5b60cb548211610d9e5760405162461bcd60e51b815260206004820152601060248201526f53616c6520696e2070726f677265737360801b6044820152606401610d51565b428211610de35760405162461bcd60e51b815260206004820152601360248201527210db185a5b481cdd185c9d081a5b881c185cdd606a1b6044820152606401610d51565b60cc8054908390556040805182815260208101859052428183015290517f5f3a900c85949962b4cc192dd3714dae64071dc2e907049ec720b023270905a49181900360600190a160019150505b919050565b610e3d613a43565b60dd8054911515600160a01b0260ff60a01b19909216919091179055565b610e63613a43565b6000821180610e725750600081115b610eb35760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420706172616d657465727360701b6044820152606401610d51565b8115610f985760ca544210610f015760405162461bcd60e51b815260206004820152601460248201527314d85b1948185b1c9958591e481cdd185c9d195960621b6044820152606401610d51565b814210610f445760405162461bcd60e51b815260206004820152601160248201527014d85b19481d1a5b59481a5b881c185cdd607a1b6044820152606401610d51565b60ca8054908390556040805182815260208101859052428183015290516414d510549560da1b917fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2919081900360600190a2505b80156110335760ca548111610fe15760405162461bcd60e51b815260206004820152600f60248201526e496e76616c696420656e6454696d6560881b6044820152606401610d51565b60cb8054908290556040805182815260208101849052428183015290516211539160ea1b917fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2919081900360600190a2505b5050565b60008260ca54421015801561104e575060cb544211155b61106a5760405162461bcd60e51b8152600401610d51906149b0565b6000811161108a5760405162461bcd60e51b8152600401610d51906149e7565b611092613a9d565b600061109d856129dd565b90508460c960008282546110b19190614a14565b90915550600090506110c864e8d4a5100083614a2c565b905060d1546000146110ec578560d160008282546110e69190614a14565b90915550505b600060d15460c954116111015760d154611105565b60c9545b905060d560000160d0548154811061111f5761111f614969565b9060005260206000200154811180611159575060d560020160d0548154811061114a5761114a614969565b90600052602060002001544210155b156112885760d560020160d0548154811061117657611176614969565b906000526020600020015442106111b9578660d560000160d054815481106111a0576111a0614969565b90600052602060002001546111b59190614a14565b60d1555b60dd54600160a01b900460ff16156111d3576111d3613ae3565b600060d5810160d054815481106111ec576111ec614969565b90600052602060002001548211611230578160d560000160d0548154811061121657611216614969565b906000526020600020015461122b9190614a4e565b611233565b60005b60d980546001818101835560009283527fcc6782fd46dd71c5f512301ab049782450b4eaf79fdac5443d93d274d391678690910183905560d080549394509092909190611281908490614a14565b9091555050505b85156113cb5760dd54600160b01b900460ff16156112cf5733600090815260e3602052604090205460ff166112cf5760405162461bcd60e51b8152600401610d5190614a65565b60e5546001600160a01b03166391c619663360ce546112ee908b614a9c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561133457600080fd5b505af1158015611348573d6000803e3d6000fd5b505050508660d4600082825461135e9190614a14565b909155505060de546001600160a01b031687336001600160a01b03167f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a8587426040516113be939291909283526020830191909152604082015260600190565b60405180910390a4611460565b60ce546113d89088614a9c565b33600090815260e06020526040812080549091906113f7908490614a14565b909155505060de546001600160a01b031687336001600160a01b03167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36858742604051611457939291909283526020830191909152604082015260600190565b60405180910390a45b8260d260008282546114729190614a14565b909155505060de546000906001600160a01b031663dd62ed3e336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015230602482015260440160206040518083038186803b1580156114d157600080fd5b505afa1580156114e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190614abb565b9050808311156115655760405162461bcd60e51b815260206004820152602160248201527f4d616b65207375726520746f2061646420656e6f75676820616c6c6f77616e636044820152606560f81b6064820152608401610d51565b61156e83613b53565b60019550505050505b5092915050565b611586613a43565b60dd8054911515600160a81b0260ff60a81b19909216919091179055565b6115ac613a43565b60d355565b6115b9613a43565b600081116116095760405162461bcd60e51b815260206004820152601c60248201527f5a65726f206d617820746f6b656e7320746f206275792076616c7565000000006044820152606401610d51565b60cf8054908290556040805182815260208101849052428183015290517f76f9e5e1f6af6a9f180708b77a5c99210fbf19b91f1f194f3918c262b8edf77c9181900360600190a15050565b600080611660836129dd565b905061166a612915565b60ce546116779083614a9c565b6116819190614a2c565b9392505050565b60008260ca54421015801561169f575060cb544211155b6116bb5760405162461bcd60e51b8152600401610d51906149b0565b600081116116db5760405162461bcd60e51b8152600401610d51906149e7565b6116e3613a9d565b6116eb613eca565b60006116f6856129dd565b90506000611702612915565b60ce5461170f9084614a9c565b6117199190614a2c565b90508034101561175a5760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610d51565b60006117668234614a4e565b90508660c9600082825461177a9190614a14565b909155505060d1541561179f578660d160008282546117999190614a14565b90915550505b600060d15460c954116117b45760d1546117b8565b60c9545b905060d560000160d054815481106117d2576117d2614969565b906000526020600020015481118061180c575060d560020160d054815481106117fd576117fd614969565b90600052602060002001544210155b1561193b5760d560020160d0548154811061182957611829614969565b9060005260206000200154421061186c578760d560000160d0548154811061185357611853614969565b90600052602060002001546118689190614a14565b60d1555b60dd54600160a01b900460ff161561188657611886613ae3565b600060d5810160d0548154811061189f5761189f614969565b906000526020600020015482116118e3578160d560000160d054815481106118c9576118c9614969565b90600052602060002001546118de9190614a4e565b6118e6565b60005b60d980546001818101835560009283527fcc6782fd46dd71c5f512301ab049782450b4eaf79fdac5443d93d274d391678690910183905560d080549394509092909190611934908490614a14565b9091555050505b8615611a625760dd54600160b01b900460ff16156119825733600090815260e3602052604090205460ff166119825760405162461bcd60e51b8152600401610d5190614a65565b60e5546001600160a01b03166391c619663360ce546119a1908c614a9c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156119e757600080fd5b505af11580156119fb573d6000803e3d6000fd5b505050508760d46000828254611a119190614a14565b90915550506040805184815260208101869052428183015290516000918a9133917f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a919081900360600190a4611adb565b60ce54611a6f9089614a9c565b33600090815260e0602052604081208054909190611a8e908490614a14565b90915550506040805184815260208101869052428183015290516000918a9133917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36919081900360600190a45b8360d26000828254611aed9190614a14565b90915550611afc905083613f24565b8115611b0c57611b0c3383614081565b600195505050505061157760018055565b611b25613a43565b611b2d61415d565b565b6000611b39613a9d565b60cd546001600160a01b0316611b885760405162461bcd60e51b815260206004820152601460248201527314d85b19481d1bdad95b881b9bdd08185919195960621b6044820152606401610d51565b33600090815260e2602052604090205460ff1615611be85760405162461bcd60e51b815260206004820152601b60248201527f54686973204164647265737320697320426c61636b6c697374656400000000006044820152606401610d51565b60dd54600160a81b900460ff1615611c595733600090815260e3602052604090205460ff16611c595760405162461bcd60e51b815260206004820152601e60248201527f55736572206e6f742077686974656c697374656420666f7220636c61696d00006044820152606401610d51565b60cc54421015611cab5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20686173206e6f74207374617274656420796574000000000000006044820152606401610d51565b33600090815260e1602052604090205460ff1615611cfd5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b6044820152606401610d51565b33600090815260e160209081526040808320805460ff1916600117905560e090915290205480611d625760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b6044820152606401610d51565b33600081815260e06020908152604080832083905560cd54815163a9059cbb60e01b8152600481019590955260248501869052905192936001600160a01b039091169263a9059cbb9260448084019391929182900301818787803b158015611dc957600080fd5b505af1158015611ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e019190614ad4565b905080611e485760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610d51565b6040805183815242602082015233917f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b910160405180910390a260019250505090565b611e93613a43565b60005b81811015610cf457600060e36000858585818110611eb657611eb6614969565b9050602002016020810190611ecb91906144e1565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611efd81614995565b915050611e96565b600054610100900460ff1615808015611f255750600054600160ff909116105b80611f3f5750303b158015611f3f575060005460ff166001145b611fa25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610d51565b6000805460ff191660011790558015611fc5576000805461ff0019166101001790555b6001600160a01b03881661201b5760405162461bcd60e51b815260206004820152601760248201527f5a65726f2061676772656761746f7220616464726573730000000000000000006044820152606401610d51565b6001600160a01b0387166120655760405162461bcd60e51b81526020600482015260116024820152705a65726f2055534454206164647265737360781b6044820152606401610d51565b428611801561207357508585115b6120ae5760405162461bcd60e51b815260206004820152600c60248201526b496e76616c69642074696d6560a01b6044820152606401610d51565b6120b66141af565b6120be6141e2565b6120c6614212565b670de0b6b3a764000060ce5560df80546001600160a01b03808b166001600160a01b03199283161790925560de8054928a169290911691909117905560ca86905560cb85905561211960d5856003614311565b5060cf83905560dc80546001600160a01b0319166001600160a01b03841617905560ca5460cb5460408051928352602083019190915242908201527f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a209060600160405180910390a180156121c7576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6121d9613a43565b805182511461221e5760405162461bcd60e51b81526020600482015260116024820152704d69736d6174636865642061727261797360781b6044820152606401610d51565b61222a60db6000614361565b61223660da6000614361565b6000805b835181101561237457600083828151811061225757612257614969565b6020026020010151116122b65760405162461bcd60e51b815260206004820152602160248201527f50657263656e74616765206d7573742062652067726561746572207468616e206044820152600360fc1b6064820152608401610d51565b8281815181106122c8576122c8614969565b6020026020010151826122db9190614a14565b915060db8482815181106122f1576122f1614969565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b03909216919091179055825160da9084908390811061234357612343614969565b602090810291909101810151825460018101845560009384529190922001558061236c81614995565b91505061223a565b5080606414610cf45760405162461bcd60e51b815260206004820152601f60248201527f546f74616c2070657263656e74616765206d75737420657175616c20313030006044820152606401610d51565b60006123d0826129dd565b90506123e164e8d4a5100082614a2c565b92915050565b60dd546001600160a01b031633148061240a57506065546001600160a01b031633145b6124565760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206e6f742061646d696e206f72206f776e6572000000000000006044820152606401610d51565b60d15460d880546001810182556000919091527f5320ad99a619a90804cd2efe3a5cf0ac1ac5c41ad9ff2c61cf699efdad771096015560dd54600160a01b900460ff16156124a6576124a6613ae3565b60d560000160d054815481106124be576124be614969565b906000526020600020015460d15410156125995760d0546125275760c95460d99060d560000160d054815481106124f7576124f7614969565b906000526020600020015461250c9190614a4e565b81546001810183556000928352602090922090910155612571565b60d15460d99060d560000160d0548154811061254557612545614969565b906000526020600020015461255a9190614a4e565b815460018101835560009283526020909220909101555b60d560000160d0548154811061258957612589614969565b60009182526020909120015460d1555b60d080549060006125a983614995565b9190505550565b6125b8613a43565b60dd80546001600160a01b0319166001600160a01b0392909216919091179055565b6125e2613a43565b611b2d6000614239565b60db81815481106125fc57600080fd5b6000918252602090912001546001600160a01b0316905081565b61261e613a43565b611b2d61428b565b61262e613a43565b60005b81811015610cf457600060e2600085858581811061265157612651614969565b905060200201602081019061266691906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061269881614995565b915050612631565b60006126aa613a43565b6001600160a01b0383166126f55760405162461bcd60e51b81526020600482015260126024820152715a65726f20746f6b656e206164647265737360701b6044820152606401610d51565b60cc54156127395760405162461bcd60e51b815260206004820152601160248201527010db185a5b48185b1c9958591e481cd95d607a1b6044820152606401610d51565b60cc85905560cd80546001600160a01b038581166001600160a01b0319928316811790935560dd805460ff60a81b1916600160a81b17905560e5805491861691909216811790915560405163095ea7b360e01b81526004810191909152600019602482015263095ea7b390604401602060405180830381600087803b1580156127c157600080fd5b505af11580156127d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f99190614ad4565b506040516323b872dd60e01b81526000906001600160a01b038516906323b872dd9061282d90339030908a90600401614af1565b602060405180830381600087803b15801561284757600080fd5b505af115801561285b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287f9190614ad4565b9050806128c65760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610d51565b604080518681524260208201526001600160a01b038616917fdc9670dbabdd488b372eb16ebe49a39b3124a12cdffdcefbc89834a408bf8ff8910160405180910390a250600195945050505050565b60008060df60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561296657600080fd5b505afa15801561297a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299e9190614b2f565b505050915050806402540be4006123e19190614b7f565b6129bd613a43565b60d09190915560d155565b6129d0613a43565b61103360d5826003614311565b600080600060d1546000146129f45760d1546129f8565b60c9545b905060cf54841115612a4c5760405162461bcd60e51b815260206004820181905260248201527f416d6f756e742065786365656473206d617820746f6b656e7320746f206275796044820152606401610d51565b60d560000160d05481548110612a6457612a64614969565b90600052602060002001548185612a7b9190614a14565b1180612aa9575060d560020160d05481548110612a9a57612a9a614969565b90600052602060002001544210155b15612cdb5760d554612abd90600190614a4e565b60d05410612afc5760405162461bcd60e51b815260206004820152600c60248201526b57726f6e6720706172616d7360a01b6044820152606401610d51565b60d560020160d05481548110612b1457612b14614969565b90600052602060002001544210612c275760d05460d590612b36906001614a14565b81548110612b4657612b46614969565b90600052602060002001548460d5600060038110612b6657612b66614969565b0160d05481548110612b7a57612b7a614969565b9060005260206000200154612b8f9190614a14565b1115612be95760405162461bcd60e51b815260206004820152602360248201527f43616e74205075726368617365204d6f726520696e20696e646976696475616c604482015262040e8f60eb1b6064820152608401610d51565b60d05460d690612bfa906001614a14565b81548110612c0a57612c0a614969565b906000526020600020015484612c209190614a9c565b9150611577565b60008160d5820160d05481548110612c4157612c41614969565b9060005260206000200154612c569190614a4e565b60d05490915060d690612c6a906001614a14565b81548110612c7a57612c7a614969565b90600052602060002001548186612c919190614a4e565b612c9b9190614a9c565b60d560010160d05481548110612cb357612cb3614969565b906000526020600020015482612cc99190614a9c565b612cd39190614a14565b925050611577565b60d560010160d05481548110612cf357612cf3614969565b906000526020600020015484612d099190614a9c565b949350505050565b60008260ca544210158015612d28575060cb544211155b612d445760405162461bcd60e51b8152600401610d51906149b0565b60008111612d645760405162461bcd60e51b8152600401610d51906149e7565b612d6c613a9d565b612d74613eca565b33600090815260e4602052604090205460ff16612dd35760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f7220746869732074786044820152606401610d51565b6000612dde856129dd565b90506000612dea612915565b60ce54612df79084614a9c565b612e019190614a2c565b905080341015612e425760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610d51565b6000612e4e8234614a4e565b90508660c96000828254612e629190614a14565b909155505060d15415612e87578660d16000828254612e819190614a14565b90915550505b600060d15460c95411612e9c5760d154612ea0565b60c9545b905060d560000160d05481548110612eba57612eba614969565b9060005260206000200154811180612ef4575060d560020160d05481548110612ee557612ee5614969565b90600052602060002001544210155b156130235760d560020160d05481548110612f1157612f11614969565b90600052602060002001544210612f54578760d560000160d05481548110612f3b57612f3b614969565b9060005260206000200154612f509190614a14565b60d1555b60dd54600160a01b900460ff1615612f6e57612f6e613ae3565b600060d5810160d05481548110612f8757612f87614969565b90600052602060002001548211612fcb578160d560000160d05481548110612fb157612fb1614969565b9060005260206000200154612fc69190614a4e565b612fce565b60005b60d980546001818101835560009283527fcc6782fd46dd71c5f512301ab049782450b4eaf79fdac5443d93d274d391678690910183905560d08054939450909290919061301c908490614a14565b9091555050505b86156131615760dd54600160b01b900460ff1615613073576001600160a01b038916600090815260e3602052604090205460ff166130735760405162461bcd60e51b8152600401610d5190614a65565b60e55460ce546001600160a01b03909116906391c61966908b90613097908c614a9c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156130dd57600080fd5b505af11580156130f1573d6000803e3d6000fd5b505050508760d460008282546131079190614a14565b90915550506040805184815260208101869052428183015290516000918a916001600160a01b038d16917f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a919081900360600190a46131ec565b60ce5461316e9089614a9c565b6001600160a01b038a16600090815260e0602052604081208054909190613196908490614a14565b90915550506040805184815260208101869052428183015290516000918a916001600160a01b038d16917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36919081900360600190a45b8360d260008282546131fe9190614a14565b9091555061320d905083613f24565b811561321d5761321d8983614081565b600195505050505061322e60018055565b509392505050565b61323e613a43565b6001600160a01b0381166132ba5760405162461bcd60e51b815260206004820152603760248201527f7374616b696e67206d616e616765722063616e6e6f7420626520696e6174696160448201527f6c697a65642077697468207a65726f20616464726573730000000000000000006064820152608401610d51565b60e580546001600160a01b0319166001600160a01b0383811691821790925560cd5460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b15801561332057600080fd5b505af1158015613334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190614ad4565b613360613a43565b60dd8054911515600160b01b0260ff60b01b19909216919091179055565b606060d5826003811061339357613393614969565b018054806020026020016040519081016040528092919081815260200182805480156133de57602002820191906000526020600020905b8154815260200190600101908083116133ca575b50505050509050919050565b6133f2613a43565b60005b81811015610cf457600160e2600085858581811061341557613415614969565b905060200201602081019061342a91906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061345c81614995565b9150506133f5565b60d9818154811061347457600080fd5b600091825260209091200154905081565b606060d98054806020026020016040519081016040528092919081815260200182805480156134d357602002820191906000526020600020905b8154815260200190600101908083116134bf575b5050505050905090565b6134e5613a43565b6001600160a01b0381166135345760405162461bcd60e51b8152602060048201526016602482015275616464726573732063616e6e6f74206265207a65726f60501b6044820152606401610d51565b60dc80546001600160a01b0319166001600160a01b0392909216919091179055565b6000613560613a9d565b60cd546001600160a01b03166135af5760405162461bcd60e51b815260206004820152601460248201527314d85b19481d1bdad95b881b9bdd08185919195960621b6044820152606401610d51565b33600090815260e2602052604090205460ff161561360f5760405162461bcd60e51b815260206004820152601b60248201527f54686973204164647265737320697320426c61636b6c697374656400000000006044820152606401610d51565b60dd54600160b01b900460ff16156136505733600090815260e3602052604090205460ff166136505760405162461bcd60e51b8152600401610d5190614a65565b33600090815260e06020526040902054806136a05760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f207374616b6560801b6044820152606401610d51565b60e5546001600160a01b03166391c61966336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401600060405180830381600087803b1580156136fa57600080fd5b505af115801561370e573d6000803e3d6000fd5b5050505060e0600061371d3390565b6001600160a01b031681526020810191909152604001600090812055336001600160a01b03167ffa4ec67f9254455933eb145bae864b26f29dd0a7bbb76eb11e4d6b8b9b184c2b824260405161377d929190918252602082015260400190565b60405180910390a2600191505090565b60d8818154811061347457600080fd5b60d582600381106137ad57600080fd5b0181815481106137bc57600080fd5b90600052602060002001600091509150505481565b6137d9613a43565b60005b81811015610cf457600160e360008585858181106137fc576137fc614969565b905060200201602081019061381191906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061384381614995565b9150506137dc565b613853613a43565b6001600160a01b0381166138b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d51565b6138c181614239565b50565b6138cc613a43565b60005b81811015610cf457600060e460008585858181106138ef576138ef614969565b905060200201602081019061390491906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061393681614995565b9150506138cf565b60da818154811061347457600080fd5b613956613a43565b8281146139975760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610d51565b60005b83811015613a2d578282828181106139b4576139b4614969565b9050602002013560e060008787858181106139d1576139d1614969565b90506020020160208101906139e691906144e1565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254613a159190614a14565b90915550819050613a2581614995565b91505061399a565b5050505050565b6001600160a01b03163b151590565b6065546001600160a01b03163314611b2d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d51565b60975460ff1615611b2d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d51565b60005b60d05460d754613af69190614a4e565b8110156138c15760d354613b0a9082614a9c565b613b149042614a14565b60d05460d790613b25908490614a14565b81548110613b3557613b35614969565b60009182526020909120015580613b4b81614995565b915050613ae6565b60db54613c725760dc546001600160a01b0316613bab5760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610d51565b60de546000906001600160a01b03163360dc54604051613bda92916001600160a01b0316908690602401614af1565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251613c0f9190614c04565b6000604051808303816000865af19150503d8060008114613c4c576040519150601f19603f3d011682016040523d82523d6000602084013e613c51565b606091505b50509050806110335760405162461bcd60e51b8152600401610d5190614c3f565b6000805b60db54811015613dbe576000606460da8381548110613c9757613c97614969565b906000526020600020015485613cad9190614a9c565b613cb79190614a2c565b60de549091506000906001600160a01b03163360db8581548110613cdd57613cdd614969565b600091825260209091200154604051613d0592916001600160a01b0316908690602401614af1565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251613d3a9190614c04565b6000604051808303816000865af19150503d8060008114613d77576040519150601f19603f3d011682016040523d82523d6000602084013e613d7c565b606091505b5050905080613d9d5760405162461bcd60e51b8152600401610d5190614c3f565b613da78285614a14565b935050508080613db690614995565b915050613c76565b506000613dcb8284614a4e565b11156110335760de546000906001600160a01b03163360db8054613df190600190614a4e565b81548110613e0157613e01614969565b6000918252602090912001546001600160a01b0316613e208587614a4e565b604051602401613e3293929190614af1565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251613e679190614c04565b6000604051808303816000865af19150503d8060008114613ea4576040519150601f19603f3d011682016040523d82523d6000602084013e613ea9565b606091505b5050905080610cf45760405162461bcd60e51b8152600401610d5190614c3f565b60026001541415613f1d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d51565b6002600155565b60db54613f925760dc546001600160a01b0316613f7c5760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610d51565b60dc546138c1906001600160a01b031682614081565b6000805b60db5481101561402a576000606460da8381548110613fb757613fb7614969565b906000526020600020015485613fcd9190614a9c565b613fd79190614a2c565b905061400a60db8381548110613fef57613fef614969565b6000918252602090912001546001600160a01b031682614081565b6140148184614a14565b925050808061402290614995565b915050613f96565b5060006140378284614a4e565b11156110335760db8054611033919061405290600190614a4e565b8154811061406257614062614969565b6000918252602090912001546001600160a01b03166140818385614a4e565b804710156140bf5760405162461bcd60e51b815260206004820152600b60248201526a4c6f772062616c616e636560a81b6044820152606401610d51565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461410c576040519150601f19603f3d011682016040523d82523d6000602084013e614111565b606091505b5050905080610cf45760405162461bcd60e51b81526020600482015260126024820152711155120814185e5b595b9d0819985a5b195960721b6044820152606401610d51565b60018055565b6141656142c8565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600054610100900460ff166141d65760405162461bcd60e51b8152600401610d5190614c6d565b6097805460ff19169055565b600054610100900460ff166142095760405162461bcd60e51b8152600401610d5190614c6d565b611b2d33614239565b600054610100900460ff166141575760405162461bcd60e51b8152600401610d5190614c6d565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b614293613a9d565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586141923390565b60975460ff16611b2d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610d51565b8260038101928215614351579160200282015b82811115614351578251805161434191849160209091019061437f565b5091602001919060010190614324565b5061435d9291506143c6565b5090565b50805460008255906000526020600020908101906138c191906143e3565b8280548282559060005260206000209081019282156143ba579160200282015b828111156143ba57825182559160200191906001019061439f565b5061435d9291506143e3565b8082111561435d5760006143da8282614361565b506001016143c6565b5b8082111561435d57600081556001016143e4565b60008083601f84011261440a57600080fd5b50813567ffffffffffffffff81111561442257600080fd5b6020830191508360208260051b850101111561443d57600080fd5b9250929050565b6000806020838503121561445757600080fd5b823567ffffffffffffffff81111561446e57600080fd5b61447a858286016143f8565b90969095509350505050565b60006020828403121561449857600080fd5b5035919050565b80151581146138c157600080fd5b6000602082840312156144bf57600080fd5b81356116818161449f565b80356001600160a01b0381168114610e3057600080fd5b6000602082840312156144f357600080fd5b611681826144ca565b6000806040838503121561450f57600080fd5b50508035926020909101359150565b6000806040838503121561453157600080fd5b8235915060208301356145438161449f565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561458d5761458d61454e565b604052919050565b600067ffffffffffffffff8211156145af576145af61454e565b5060051b60200190565b600082601f8301126145ca57600080fd5b813560206145df6145da83614595565b614564565b82815260059290921b840181019181810190868411156145fe57600080fd5b8286015b848110156146195780358352918301918301614602565b509695505050505050565b600082601f83011261463557600080fd5b6040516060810167ffffffffffffffff82821081831117156146595761465961454e565b81604052829150606085018681111561467157600080fd5b855b818110156146a65780358381111561468b5760008081fd5b61469789828a016145b9565b85525060209384019301614673565b50929695505050505050565b600080600080600080600060e0888a0312156146cd57600080fd5b6146d6886144ca565b96506146e4602089016144ca565b95506040880135945060608801359350608088013567ffffffffffffffff81111561470e57600080fd5b61471a8a828b01614624565b93505060a0880135915061473060c089016144ca565b905092959891949750929550565b6000806040838503121561475157600080fd5b823567ffffffffffffffff8082111561476957600080fd5b818501915085601f83011261477d57600080fd5b8135602061478d6145da83614595565b82815260059290921b840181019181810190898411156147ac57600080fd5b948201945b838610156147d1576147c2866144ca565b825294820194908201906147b1565b965050860135925050808211156147e757600080fd5b506147f4858286016145b9565b9150509250929050565b6000806000806080858703121561481457600080fd5b843593506020850135925061482b604086016144ca565b9150614839606086016144ca565b905092959194509250565b60006020828403121561485657600080fd5b813567ffffffffffffffff81111561486d57600080fd5b612d0984828501614624565b60008060006060848603121561488e57600080fd5b614897846144ca565b92506020840135915060408401356148ae8161449f565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156148f1578351835292840192918401916001016148d5565b50909695505050505050565b6000806000806040858703121561491357600080fd5b843567ffffffffffffffff8082111561492b57600080fd5b614937888389016143f8565b9096509450602087013591508082111561495057600080fd5b5061495d878288016143f8565b95989497509550505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156149a9576149a961497f565b5060010190565b60208082526017908201527f496e76616c69642074696d6520666f7220627579696e67000000000000000000604082015260600190565b602080825260139082015272125b9d985b1a59081cd85b1948185b5bdd5b9d606a1b604082015260600190565b60008219821115614a2757614a2761497f565b500190565b600082614a4957634e487b7160e01b600052601260045260246000fd5b500490565b600082821015614a6057614a6061497f565b500390565b6020808252601e908201527f55736572206e6f742077686974656c697374656420666f72207374616b650000604082015260600190565b6000816000190483118215151615614ab657614ab661497f565b500290565b600060208284031215614acd57600080fd5b5051919050565b600060208284031215614ae657600080fd5b81516116818161449f565b6001600160a01b039384168152919092166020820152604081019190915260600190565b805169ffffffffffffffffffff81168114610e3057600080fd5b600080600080600060a08688031215614b4757600080fd5b614b5086614b15565b9450602086015193506040860151925060608601519150614b7360808701614b15565b90509295509295909350565b60006001600160ff1b0381841382841380821686840486111615614ba557614ba561497f565b600160ff1b6000871282811687830589121615614bc457614bc461497f565b60008712925087820587128484161615614be057614be061497f565b87850587128184161615614bf657614bf661497f565b505050929093029392505050565b6000825160005b81811015614c255760208186018101518583015201614c0b565b81811115614c34576000828501525b509190910192915050565b602080825260149082015273151bdad95b881c185e5b595b9d0819985a5b195960621b604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220833f02812ec24f20d3a57c0b6201b8a49d088026e26d71d296b0a9e732f3095064736f6c63430008090033
Deployed Bytecode
0x6080604052600436106104055760003560e01c80638456cb5911610213578063cad0055611610123578063edec5f27116100ab578063f597573f1161007a578063f597573f14610bca578063f851a44014610bea578063f885838614610c0a578063fb9a4acd14610c2a578063fe575a8714610c4a57600080fd5b8063edec5f2714610b54578063f04d688f14610b74578063f2fde38b14610b8a578063f446374314610baa57600080fd5b8063e19648db116100f2578063e19648db14610abe578063e32204dd14610ade578063e6da921314610afe578063e985e36714610b1e578063eadd94ec14610b3e57600080fd5b8063cad0055614610a52578063cb1a4fc014610a72578063cff805ab14610a87578063dad80e8614610a9d57600080fd5b8063ae104265116101a6578063ba166a3911610175578063ba166a39146109b0578063bb3d676a146109dd578063c23326f3146109fd578063c49cc64514610a1d578063c8adff0114610a3d57600080fd5b8063ae1042651461093d578063ae4e0a181461095d578063b00bba6a14610970578063b8977d6d1461099057600080fd5b80638e15f473116101e25780638e15f473146108d25780639a89c1fb146108e75780639cfa0f7c14610907578063a6d42e4e1461091d57600080fd5b80638456cb591461085f57806389daf799146108745780638ac08082146108945780638da5cb5b146108b457600080fd5b806343568eae1161031957806363b20117116102a1578063715018a611610270578063715018a6146107ce57806373b2e80e146107e357806378e97925146108135780637ad71f72146108295780637f6fb2531461084957600080fd5b806363b201171461076357806363e4087914610779578063641046f414610799578063704b6c02146107ae57600080fd5b806357405d05116102e857806357405d05146106c55780635bc34f71146106e55780635c975abb146106fb5780635ddc5688146107135780635df4f3531461073357600080fd5b806343568eae146106595780634e71d92d1461066f57806353d9920714610684578063548db174146106a557600080fd5b806323a8f1c01161039c5780633197cbb61161036b5780633197cbb6146105b057806333f76178146105c657806338646608146105dc5780633af32abf146106145780633f4ba83a1461064457600080fd5b806323a8f1c01461053d578063278c278b1461055d57806329a5a0b61461057d5780632c65169e1461059d57600080fd5b80630dc9c838116103d85780630dc9c838146104bc578063136021d9146104dc5780631ddc6091146104fc5780631fa2bc921461051c57600080fd5b806303b9c5ad1461040a57806307f180821461042c5780630a200fc7146104615780630ba36dcd14610481575b600080fd5b34801561041657600080fd5b5061042a610425366004614444565b610c7a565b005b34801561043857600080fd5b5061044c610447366004614486565b610cf9565b60405190151581526020015b60405180910390f35b34801561046d57600080fd5b5061042a61047c3660046144ad565b610e35565b34801561048d57600080fd5b506104ae61049c3660046144e1565b60e06020526000908152604090205481565b604051908152602001610458565b3480156104c857600080fd5b5061042a6104d73660046144fc565b610e5b565b3480156104e857600080fd5b5061044c6104f736600461451e565b611037565b34801561050857600080fd5b5061042a6105173660046144ad565b61157e565b34801561052857600080fd5b5060dd5461044c90600160a01b900460ff1681565b34801561054957600080fd5b5061042a610558366004614486565b6115a4565b34801561056957600080fd5b5061042a610578366004614486565b6115b1565b34801561058957600080fd5b506104ae610598366004614486565b611654565b61044c6105ab36600461451e565b611688565b3480156105bc57600080fd5b506104ae60cb5481565b3480156105d257600080fd5b506104ae60ce5481565b3480156105e857600080fd5b5060e5546105fc906001600160a01b031681565b6040516001600160a01b039091168152602001610458565b34801561062057600080fd5b5061044c61062f3660046144e1565b60e36020526000908152604090205460ff1681565b34801561065057600080fd5b5061042a611b1d565b34801561066557600080fd5b506104ae60d35481565b34801561067b57600080fd5b5061044c611b2f565b34801561069057600080fd5b5060dd5461044c90600160a81b900460ff1681565b3480156106b157600080fd5b5061042a6106c0366004614444565b611e8b565b3480156106d157600080fd5b5061042a6106e03660046146b2565b611f05565b3480156106f157600080fd5b506104ae60d05481565b34801561070757600080fd5b5060975460ff1661044c565b34801561071f57600080fd5b5061042a61072e36600461473e565b6121d1565b34801561073f57600080fd5b5061044c61074e3660046144e1565b60e46020526000908152604090205460ff1681565b34801561076f57600080fd5b506104ae60c95481565b34801561078557600080fd5b506104ae610794366004614486565b6123c5565b3480156107a557600080fd5b5061042a6123e7565b3480156107ba57600080fd5b5061042a6107c93660046144e1565b6125b0565b3480156107da57600080fd5b5061042a6125da565b3480156107ef57600080fd5b5061044c6107fe3660046144e1565b60e16020526000908152604090205460ff1681565b34801561081f57600080fd5b506104ae60ca5481565b34801561083557600080fd5b506105fc610844366004614486565b6125ec565b34801561085557600080fd5b506104ae60d45481565b34801561086b57600080fd5b5061042a612616565b34801561088057600080fd5b5061042a61088f366004614444565b612626565b3480156108a057600080fd5b5061044c6108af3660046147fe565b6126a0565b3480156108c057600080fd5b506065546001600160a01b03166105fc565b3480156108de57600080fd5b506104ae612915565b3480156108f357600080fd5b5061042a6109023660046144fc565b6129b5565b34801561091357600080fd5b506104ae60cf5481565b34801561092957600080fd5b5061042a610938366004614844565b6129c8565b34801561094957600080fd5b506104ae610958366004614486565b6129dd565b61044c61096b366004614879565b612d11565b34801561097c57600080fd5b5061042a61098b3660046144e1565b613236565b34801561099c57600080fd5b5061042a6109ab3660046144ad565b613358565b3480156109bc57600080fd5b506109d06109cb366004614486565b61337e565b60405161045891906148b9565b3480156109e957600080fd5b5061042a6109f8366004614444565b6133ea565b348015610a0957600080fd5b506104ae610a18366004614486565b613464565b348015610a2957600080fd5b5060df546105fc906001600160a01b031681565b348015610a4957600080fd5b506109d0613485565b348015610a5e57600080fd5b5061042a610a6d3660046144e1565b6134dd565b348015610a7e57600080fd5b5061044c613556565b348015610a9357600080fd5b506104ae60d15481565b348015610aa957600080fd5b5060dd5461044c90600160b01b900460ff1681565b348015610aca57600080fd5b506104ae610ad9366004614486565b61378d565b348015610aea57600080fd5b5060dc546105fc906001600160a01b031681565b348015610b0a57600080fd5b506104ae610b193660046144fc565b61379d565b348015610b2a57600080fd5b5060cd546105fc906001600160a01b031681565b348015610b4a57600080fd5b506104ae60d25481565b348015610b6057600080fd5b5061042a610b6f366004614444565b6137d1565b348015610b8057600080fd5b506104ae60cc5481565b348015610b9657600080fd5b5061042a610ba53660046144e1565b61384b565b348015610bb657600080fd5b5061042a610bc5366004614444565b6138c4565b348015610bd657600080fd5b5060de546105fc906001600160a01b031681565b348015610bf657600080fd5b5060dd546105fc906001600160a01b031681565b348015610c1657600080fd5b506104ae610c25366004614486565b61393e565b348015610c3657600080fd5b5061042a610c453660046148fd565b61394e565b348015610c5657600080fd5b5061044c610c653660046144e1565b60e26020526000908152604090205460ff1681565b610c82613a43565b60005b81811015610cf457600160e46000858585818110610ca557610ca5614969565b9050602002016020810190610cba91906144e1565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610cec81614995565b915050610c85565b505050565b6000610d03613a43565b600060cc5411610d5a5760405162461bcd60e51b815260206004820152601a60248201527f496e697469616c20636c61696d2064617461206e6f742073657400000000000060448201526064015b60405180910390fd5b60cb548211610d9e5760405162461bcd60e51b815260206004820152601060248201526f53616c6520696e2070726f677265737360801b6044820152606401610d51565b428211610de35760405162461bcd60e51b815260206004820152601360248201527210db185a5b481cdd185c9d081a5b881c185cdd606a1b6044820152606401610d51565b60cc8054908390556040805182815260208101859052428183015290517f5f3a900c85949962b4cc192dd3714dae64071dc2e907049ec720b023270905a49181900360600190a160019150505b919050565b610e3d613a43565b60dd8054911515600160a01b0260ff60a01b19909216919091179055565b610e63613a43565b6000821180610e725750600081115b610eb35760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420706172616d657465727360701b6044820152606401610d51565b8115610f985760ca544210610f015760405162461bcd60e51b815260206004820152601460248201527314d85b1948185b1c9958591e481cdd185c9d195960621b6044820152606401610d51565b814210610f445760405162461bcd60e51b815260206004820152601160248201527014d85b19481d1a5b59481a5b881c185cdd607a1b6044820152606401610d51565b60ca8054908390556040805182815260208101859052428183015290516414d510549560da1b917fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2919081900360600190a2505b80156110335760ca548111610fe15760405162461bcd60e51b815260206004820152600f60248201526e496e76616c696420656e6454696d6560881b6044820152606401610d51565b60cb8054908290556040805182815260208101849052428183015290516211539160ea1b917fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2919081900360600190a2505b5050565b60008260ca54421015801561104e575060cb544211155b61106a5760405162461bcd60e51b8152600401610d51906149b0565b6000811161108a5760405162461bcd60e51b8152600401610d51906149e7565b611092613a9d565b600061109d856129dd565b90508460c960008282546110b19190614a14565b90915550600090506110c864e8d4a5100083614a2c565b905060d1546000146110ec578560d160008282546110e69190614a14565b90915550505b600060d15460c954116111015760d154611105565b60c9545b905060d560000160d0548154811061111f5761111f614969565b9060005260206000200154811180611159575060d560020160d0548154811061114a5761114a614969565b90600052602060002001544210155b156112885760d560020160d0548154811061117657611176614969565b906000526020600020015442106111b9578660d560000160d054815481106111a0576111a0614969565b90600052602060002001546111b59190614a14565b60d1555b60dd54600160a01b900460ff16156111d3576111d3613ae3565b600060d5810160d054815481106111ec576111ec614969565b90600052602060002001548211611230578160d560000160d0548154811061121657611216614969565b906000526020600020015461122b9190614a4e565b611233565b60005b60d980546001818101835560009283527fcc6782fd46dd71c5f512301ab049782450b4eaf79fdac5443d93d274d391678690910183905560d080549394509092909190611281908490614a14565b9091555050505b85156113cb5760dd54600160b01b900460ff16156112cf5733600090815260e3602052604090205460ff166112cf5760405162461bcd60e51b8152600401610d5190614a65565b60e5546001600160a01b03166391c619663360ce546112ee908b614a9c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561133457600080fd5b505af1158015611348573d6000803e3d6000fd5b505050508660d4600082825461135e9190614a14565b909155505060de546001600160a01b031687336001600160a01b03167f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a8587426040516113be939291909283526020830191909152604082015260600190565b60405180910390a4611460565b60ce546113d89088614a9c565b33600090815260e06020526040812080549091906113f7908490614a14565b909155505060de546001600160a01b031687336001600160a01b03167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36858742604051611457939291909283526020830191909152604082015260600190565b60405180910390a45b8260d260008282546114729190614a14565b909155505060de546000906001600160a01b031663dd62ed3e336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015230602482015260440160206040518083038186803b1580156114d157600080fd5b505afa1580156114e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190614abb565b9050808311156115655760405162461bcd60e51b815260206004820152602160248201527f4d616b65207375726520746f2061646420656e6f75676820616c6c6f77616e636044820152606560f81b6064820152608401610d51565b61156e83613b53565b60019550505050505b5092915050565b611586613a43565b60dd8054911515600160a81b0260ff60a81b19909216919091179055565b6115ac613a43565b60d355565b6115b9613a43565b600081116116095760405162461bcd60e51b815260206004820152601c60248201527f5a65726f206d617820746f6b656e7320746f206275792076616c7565000000006044820152606401610d51565b60cf8054908290556040805182815260208101849052428183015290517f76f9e5e1f6af6a9f180708b77a5c99210fbf19b91f1f194f3918c262b8edf77c9181900360600190a15050565b600080611660836129dd565b905061166a612915565b60ce546116779083614a9c565b6116819190614a2c565b9392505050565b60008260ca54421015801561169f575060cb544211155b6116bb5760405162461bcd60e51b8152600401610d51906149b0565b600081116116db5760405162461bcd60e51b8152600401610d51906149e7565b6116e3613a9d565b6116eb613eca565b60006116f6856129dd565b90506000611702612915565b60ce5461170f9084614a9c565b6117199190614a2c565b90508034101561175a5760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610d51565b60006117668234614a4e565b90508660c9600082825461177a9190614a14565b909155505060d1541561179f578660d160008282546117999190614a14565b90915550505b600060d15460c954116117b45760d1546117b8565b60c9545b905060d560000160d054815481106117d2576117d2614969565b906000526020600020015481118061180c575060d560020160d054815481106117fd576117fd614969565b90600052602060002001544210155b1561193b5760d560020160d0548154811061182957611829614969565b9060005260206000200154421061186c578760d560000160d0548154811061185357611853614969565b90600052602060002001546118689190614a14565b60d1555b60dd54600160a01b900460ff161561188657611886613ae3565b600060d5810160d0548154811061189f5761189f614969565b906000526020600020015482116118e3578160d560000160d054815481106118c9576118c9614969565b90600052602060002001546118de9190614a4e565b6118e6565b60005b60d980546001818101835560009283527fcc6782fd46dd71c5f512301ab049782450b4eaf79fdac5443d93d274d391678690910183905560d080549394509092909190611934908490614a14565b9091555050505b8615611a625760dd54600160b01b900460ff16156119825733600090815260e3602052604090205460ff166119825760405162461bcd60e51b8152600401610d5190614a65565b60e5546001600160a01b03166391c619663360ce546119a1908c614a9c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156119e757600080fd5b505af11580156119fb573d6000803e3d6000fd5b505050508760d46000828254611a119190614a14565b90915550506040805184815260208101869052428183015290516000918a9133917f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a919081900360600190a4611adb565b60ce54611a6f9089614a9c565b33600090815260e0602052604081208054909190611a8e908490614a14565b90915550506040805184815260208101869052428183015290516000918a9133917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36919081900360600190a45b8360d26000828254611aed9190614a14565b90915550611afc905083613f24565b8115611b0c57611b0c3383614081565b600195505050505061157760018055565b611b25613a43565b611b2d61415d565b565b6000611b39613a9d565b60cd546001600160a01b0316611b885760405162461bcd60e51b815260206004820152601460248201527314d85b19481d1bdad95b881b9bdd08185919195960621b6044820152606401610d51565b33600090815260e2602052604090205460ff1615611be85760405162461bcd60e51b815260206004820152601b60248201527f54686973204164647265737320697320426c61636b6c697374656400000000006044820152606401610d51565b60dd54600160a81b900460ff1615611c595733600090815260e3602052604090205460ff16611c595760405162461bcd60e51b815260206004820152601e60248201527f55736572206e6f742077686974656c697374656420666f7220636c61696d00006044820152606401610d51565b60cc54421015611cab5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20686173206e6f74207374617274656420796574000000000000006044820152606401610d51565b33600090815260e1602052604090205460ff1615611cfd5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b6044820152606401610d51565b33600090815260e160209081526040808320805460ff1916600117905560e090915290205480611d625760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b6044820152606401610d51565b33600081815260e06020908152604080832083905560cd54815163a9059cbb60e01b8152600481019590955260248501869052905192936001600160a01b039091169263a9059cbb9260448084019391929182900301818787803b158015611dc957600080fd5b505af1158015611ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e019190614ad4565b905080611e485760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610d51565b6040805183815242602082015233917f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b910160405180910390a260019250505090565b611e93613a43565b60005b81811015610cf457600060e36000858585818110611eb657611eb6614969565b9050602002016020810190611ecb91906144e1565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611efd81614995565b915050611e96565b600054610100900460ff1615808015611f255750600054600160ff909116105b80611f3f5750303b158015611f3f575060005460ff166001145b611fa25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610d51565b6000805460ff191660011790558015611fc5576000805461ff0019166101001790555b6001600160a01b03881661201b5760405162461bcd60e51b815260206004820152601760248201527f5a65726f2061676772656761746f7220616464726573730000000000000000006044820152606401610d51565b6001600160a01b0387166120655760405162461bcd60e51b81526020600482015260116024820152705a65726f2055534454206164647265737360781b6044820152606401610d51565b428611801561207357508585115b6120ae5760405162461bcd60e51b815260206004820152600c60248201526b496e76616c69642074696d6560a01b6044820152606401610d51565b6120b66141af565b6120be6141e2565b6120c6614212565b670de0b6b3a764000060ce5560df80546001600160a01b03808b166001600160a01b03199283161790925560de8054928a169290911691909117905560ca86905560cb85905561211960d5856003614311565b5060cf83905560dc80546001600160a01b0319166001600160a01b03841617905560ca5460cb5460408051928352602083019190915242908201527f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a209060600160405180910390a180156121c7576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6121d9613a43565b805182511461221e5760405162461bcd60e51b81526020600482015260116024820152704d69736d6174636865642061727261797360781b6044820152606401610d51565b61222a60db6000614361565b61223660da6000614361565b6000805b835181101561237457600083828151811061225757612257614969565b6020026020010151116122b65760405162461bcd60e51b815260206004820152602160248201527f50657263656e74616765206d7573742062652067726561746572207468616e206044820152600360fc1b6064820152608401610d51565b8281815181106122c8576122c8614969565b6020026020010151826122db9190614a14565b915060db8482815181106122f1576122f1614969565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b03909216919091179055825160da9084908390811061234357612343614969565b602090810291909101810151825460018101845560009384529190922001558061236c81614995565b91505061223a565b5080606414610cf45760405162461bcd60e51b815260206004820152601f60248201527f546f74616c2070657263656e74616765206d75737420657175616c20313030006044820152606401610d51565b60006123d0826129dd565b90506123e164e8d4a5100082614a2c565b92915050565b60dd546001600160a01b031633148061240a57506065546001600160a01b031633145b6124565760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206e6f742061646d696e206f72206f776e6572000000000000006044820152606401610d51565b60d15460d880546001810182556000919091527f5320ad99a619a90804cd2efe3a5cf0ac1ac5c41ad9ff2c61cf699efdad771096015560dd54600160a01b900460ff16156124a6576124a6613ae3565b60d560000160d054815481106124be576124be614969565b906000526020600020015460d15410156125995760d0546125275760c95460d99060d560000160d054815481106124f7576124f7614969565b906000526020600020015461250c9190614a4e565b81546001810183556000928352602090922090910155612571565b60d15460d99060d560000160d0548154811061254557612545614969565b906000526020600020015461255a9190614a4e565b815460018101835560009283526020909220909101555b60d560000160d0548154811061258957612589614969565b60009182526020909120015460d1555b60d080549060006125a983614995565b9190505550565b6125b8613a43565b60dd80546001600160a01b0319166001600160a01b0392909216919091179055565b6125e2613a43565b611b2d6000614239565b60db81815481106125fc57600080fd5b6000918252602090912001546001600160a01b0316905081565b61261e613a43565b611b2d61428b565b61262e613a43565b60005b81811015610cf457600060e2600085858581811061265157612651614969565b905060200201602081019061266691906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061269881614995565b915050612631565b60006126aa613a43565b6001600160a01b0383166126f55760405162461bcd60e51b81526020600482015260126024820152715a65726f20746f6b656e206164647265737360701b6044820152606401610d51565b60cc54156127395760405162461bcd60e51b815260206004820152601160248201527010db185a5b48185b1c9958591e481cd95d607a1b6044820152606401610d51565b60cc85905560cd80546001600160a01b038581166001600160a01b0319928316811790935560dd805460ff60a81b1916600160a81b17905560e5805491861691909216811790915560405163095ea7b360e01b81526004810191909152600019602482015263095ea7b390604401602060405180830381600087803b1580156127c157600080fd5b505af11580156127d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f99190614ad4565b506040516323b872dd60e01b81526000906001600160a01b038516906323b872dd9061282d90339030908a90600401614af1565b602060405180830381600087803b15801561284757600080fd5b505af115801561285b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287f9190614ad4565b9050806128c65760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610d51565b604080518681524260208201526001600160a01b038616917fdc9670dbabdd488b372eb16ebe49a39b3124a12cdffdcefbc89834a408bf8ff8910160405180910390a250600195945050505050565b60008060df60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561296657600080fd5b505afa15801561297a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299e9190614b2f565b505050915050806402540be4006123e19190614b7f565b6129bd613a43565b60d09190915560d155565b6129d0613a43565b61103360d5826003614311565b600080600060d1546000146129f45760d1546129f8565b60c9545b905060cf54841115612a4c5760405162461bcd60e51b815260206004820181905260248201527f416d6f756e742065786365656473206d617820746f6b656e7320746f206275796044820152606401610d51565b60d560000160d05481548110612a6457612a64614969565b90600052602060002001548185612a7b9190614a14565b1180612aa9575060d560020160d05481548110612a9a57612a9a614969565b90600052602060002001544210155b15612cdb5760d554612abd90600190614a4e565b60d05410612afc5760405162461bcd60e51b815260206004820152600c60248201526b57726f6e6720706172616d7360a01b6044820152606401610d51565b60d560020160d05481548110612b1457612b14614969565b90600052602060002001544210612c275760d05460d590612b36906001614a14565b81548110612b4657612b46614969565b90600052602060002001548460d5600060038110612b6657612b66614969565b0160d05481548110612b7a57612b7a614969565b9060005260206000200154612b8f9190614a14565b1115612be95760405162461bcd60e51b815260206004820152602360248201527f43616e74205075726368617365204d6f726520696e20696e646976696475616c604482015262040e8f60eb1b6064820152608401610d51565b60d05460d690612bfa906001614a14565b81548110612c0a57612c0a614969565b906000526020600020015484612c209190614a9c565b9150611577565b60008160d5820160d05481548110612c4157612c41614969565b9060005260206000200154612c569190614a4e565b60d05490915060d690612c6a906001614a14565b81548110612c7a57612c7a614969565b90600052602060002001548186612c919190614a4e565b612c9b9190614a9c565b60d560010160d05481548110612cb357612cb3614969565b906000526020600020015482612cc99190614a9c565b612cd39190614a14565b925050611577565b60d560010160d05481548110612cf357612cf3614969565b906000526020600020015484612d099190614a9c565b949350505050565b60008260ca544210158015612d28575060cb544211155b612d445760405162461bcd60e51b8152600401610d51906149b0565b60008111612d645760405162461bcd60e51b8152600401610d51906149e7565b612d6c613a9d565b612d74613eca565b33600090815260e4602052604090205460ff16612dd35760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f7220746869732074786044820152606401610d51565b6000612dde856129dd565b90506000612dea612915565b60ce54612df79084614a9c565b612e019190614a2c565b905080341015612e425760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610d51565b6000612e4e8234614a4e565b90508660c96000828254612e629190614a14565b909155505060d15415612e87578660d16000828254612e819190614a14565b90915550505b600060d15460c95411612e9c5760d154612ea0565b60c9545b905060d560000160d05481548110612eba57612eba614969565b9060005260206000200154811180612ef4575060d560020160d05481548110612ee557612ee5614969565b90600052602060002001544210155b156130235760d560020160d05481548110612f1157612f11614969565b90600052602060002001544210612f54578760d560000160d05481548110612f3b57612f3b614969565b9060005260206000200154612f509190614a14565b60d1555b60dd54600160a01b900460ff1615612f6e57612f6e613ae3565b600060d5810160d05481548110612f8757612f87614969565b90600052602060002001548211612fcb578160d560000160d05481548110612fb157612fb1614969565b9060005260206000200154612fc69190614a4e565b612fce565b60005b60d980546001818101835560009283527fcc6782fd46dd71c5f512301ab049782450b4eaf79fdac5443d93d274d391678690910183905560d08054939450909290919061301c908490614a14565b9091555050505b86156131615760dd54600160b01b900460ff1615613073576001600160a01b038916600090815260e3602052604090205460ff166130735760405162461bcd60e51b8152600401610d5190614a65565b60e55460ce546001600160a01b03909116906391c61966908b90613097908c614a9c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156130dd57600080fd5b505af11580156130f1573d6000803e3d6000fd5b505050508760d460008282546131079190614a14565b90915550506040805184815260208101869052428183015290516000918a916001600160a01b038d16917f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a919081900360600190a46131ec565b60ce5461316e9089614a9c565b6001600160a01b038a16600090815260e0602052604081208054909190613196908490614a14565b90915550506040805184815260208101869052428183015290516000918a916001600160a01b038d16917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36919081900360600190a45b8360d260008282546131fe9190614a14565b9091555061320d905083613f24565b811561321d5761321d8983614081565b600195505050505061322e60018055565b509392505050565b61323e613a43565b6001600160a01b0381166132ba5760405162461bcd60e51b815260206004820152603760248201527f7374616b696e67206d616e616765722063616e6e6f7420626520696e6174696160448201527f6c697a65642077697468207a65726f20616464726573730000000000000000006064820152608401610d51565b60e580546001600160a01b0319166001600160a01b0383811691821790925560cd5460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b15801561332057600080fd5b505af1158015613334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190614ad4565b613360613a43565b60dd8054911515600160b01b0260ff60b01b19909216919091179055565b606060d5826003811061339357613393614969565b018054806020026020016040519081016040528092919081815260200182805480156133de57602002820191906000526020600020905b8154815260200190600101908083116133ca575b50505050509050919050565b6133f2613a43565b60005b81811015610cf457600160e2600085858581811061341557613415614969565b905060200201602081019061342a91906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061345c81614995565b9150506133f5565b60d9818154811061347457600080fd5b600091825260209091200154905081565b606060d98054806020026020016040519081016040528092919081815260200182805480156134d357602002820191906000526020600020905b8154815260200190600101908083116134bf575b5050505050905090565b6134e5613a43565b6001600160a01b0381166135345760405162461bcd60e51b8152602060048201526016602482015275616464726573732063616e6e6f74206265207a65726f60501b6044820152606401610d51565b60dc80546001600160a01b0319166001600160a01b0392909216919091179055565b6000613560613a9d565b60cd546001600160a01b03166135af5760405162461bcd60e51b815260206004820152601460248201527314d85b19481d1bdad95b881b9bdd08185919195960621b6044820152606401610d51565b33600090815260e2602052604090205460ff161561360f5760405162461bcd60e51b815260206004820152601b60248201527f54686973204164647265737320697320426c61636b6c697374656400000000006044820152606401610d51565b60dd54600160b01b900460ff16156136505733600090815260e3602052604090205460ff166136505760405162461bcd60e51b8152600401610d5190614a65565b33600090815260e06020526040902054806136a05760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f207374616b6560801b6044820152606401610d51565b60e5546001600160a01b03166391c61966336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401600060405180830381600087803b1580156136fa57600080fd5b505af115801561370e573d6000803e3d6000fd5b5050505060e0600061371d3390565b6001600160a01b031681526020810191909152604001600090812055336001600160a01b03167ffa4ec67f9254455933eb145bae864b26f29dd0a7bbb76eb11e4d6b8b9b184c2b824260405161377d929190918252602082015260400190565b60405180910390a2600191505090565b60d8818154811061347457600080fd5b60d582600381106137ad57600080fd5b0181815481106137bc57600080fd5b90600052602060002001600091509150505481565b6137d9613a43565b60005b81811015610cf457600160e360008585858181106137fc576137fc614969565b905060200201602081019061381191906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061384381614995565b9150506137dc565b613853613a43565b6001600160a01b0381166138b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d51565b6138c181614239565b50565b6138cc613a43565b60005b81811015610cf457600060e460008585858181106138ef576138ef614969565b905060200201602081019061390491906144e1565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061393681614995565b9150506138cf565b60da818154811061347457600080fd5b613956613a43565b8281146139975760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610d51565b60005b83811015613a2d578282828181106139b4576139b4614969565b9050602002013560e060008787858181106139d1576139d1614969565b90506020020160208101906139e691906144e1565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254613a159190614a14565b90915550819050613a2581614995565b91505061399a565b5050505050565b6001600160a01b03163b151590565b6065546001600160a01b03163314611b2d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d51565b60975460ff1615611b2d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d51565b60005b60d05460d754613af69190614a4e565b8110156138c15760d354613b0a9082614a9c565b613b149042614a14565b60d05460d790613b25908490614a14565b81548110613b3557613b35614969565b60009182526020909120015580613b4b81614995565b915050613ae6565b60db54613c725760dc546001600160a01b0316613bab5760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610d51565b60de546000906001600160a01b03163360dc54604051613bda92916001600160a01b0316908690602401614af1565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251613c0f9190614c04565b6000604051808303816000865af19150503d8060008114613c4c576040519150601f19603f3d011682016040523d82523d6000602084013e613c51565b606091505b50509050806110335760405162461bcd60e51b8152600401610d5190614c3f565b6000805b60db54811015613dbe576000606460da8381548110613c9757613c97614969565b906000526020600020015485613cad9190614a9c565b613cb79190614a2c565b60de549091506000906001600160a01b03163360db8581548110613cdd57613cdd614969565b600091825260209091200154604051613d0592916001600160a01b0316908690602401614af1565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251613d3a9190614c04565b6000604051808303816000865af19150503d8060008114613d77576040519150601f19603f3d011682016040523d82523d6000602084013e613d7c565b606091505b5050905080613d9d5760405162461bcd60e51b8152600401610d5190614c3f565b613da78285614a14565b935050508080613db690614995565b915050613c76565b506000613dcb8284614a4e565b11156110335760de546000906001600160a01b03163360db8054613df190600190614a4e565b81548110613e0157613e01614969565b6000918252602090912001546001600160a01b0316613e208587614a4e565b604051602401613e3293929190614af1565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251613e679190614c04565b6000604051808303816000865af19150503d8060008114613ea4576040519150601f19603f3d011682016040523d82523d6000602084013e613ea9565b606091505b5050905080610cf45760405162461bcd60e51b8152600401610d5190614c3f565b60026001541415613f1d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d51565b6002600155565b60db54613f925760dc546001600160a01b0316613f7c5760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610d51565b60dc546138c1906001600160a01b031682614081565b6000805b60db5481101561402a576000606460da8381548110613fb757613fb7614969565b906000526020600020015485613fcd9190614a9c565b613fd79190614a2c565b905061400a60db8381548110613fef57613fef614969565b6000918252602090912001546001600160a01b031682614081565b6140148184614a14565b925050808061402290614995565b915050613f96565b5060006140378284614a4e565b11156110335760db8054611033919061405290600190614a4e565b8154811061406257614062614969565b6000918252602090912001546001600160a01b03166140818385614a4e565b804710156140bf5760405162461bcd60e51b815260206004820152600b60248201526a4c6f772062616c616e636560a81b6044820152606401610d51565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461410c576040519150601f19603f3d011682016040523d82523d6000602084013e614111565b606091505b5050905080610cf45760405162461bcd60e51b81526020600482015260126024820152711155120814185e5b595b9d0819985a5b195960721b6044820152606401610d51565b60018055565b6141656142c8565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600054610100900460ff166141d65760405162461bcd60e51b8152600401610d5190614c6d565b6097805460ff19169055565b600054610100900460ff166142095760405162461bcd60e51b8152600401610d5190614c6d565b611b2d33614239565b600054610100900460ff166141575760405162461bcd60e51b8152600401610d5190614c6d565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b614293613a9d565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586141923390565b60975460ff16611b2d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610d51565b8260038101928215614351579160200282015b82811115614351578251805161434191849160209091019061437f565b5091602001919060010190614324565b5061435d9291506143c6565b5090565b50805460008255906000526020600020908101906138c191906143e3565b8280548282559060005260206000209081019282156143ba579160200282015b828111156143ba57825182559160200191906001019061439f565b5061435d9291506143e3565b8082111561435d5760006143da8282614361565b506001016143c6565b5b8082111561435d57600081556001016143e4565b60008083601f84011261440a57600080fd5b50813567ffffffffffffffff81111561442257600080fd5b6020830191508360208260051b850101111561443d57600080fd5b9250929050565b6000806020838503121561445757600080fd5b823567ffffffffffffffff81111561446e57600080fd5b61447a858286016143f8565b90969095509350505050565b60006020828403121561449857600080fd5b5035919050565b80151581146138c157600080fd5b6000602082840312156144bf57600080fd5b81356116818161449f565b80356001600160a01b0381168114610e3057600080fd5b6000602082840312156144f357600080fd5b611681826144ca565b6000806040838503121561450f57600080fd5b50508035926020909101359150565b6000806040838503121561453157600080fd5b8235915060208301356145438161449f565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561458d5761458d61454e565b604052919050565b600067ffffffffffffffff8211156145af576145af61454e565b5060051b60200190565b600082601f8301126145ca57600080fd5b813560206145df6145da83614595565b614564565b82815260059290921b840181019181810190868411156145fe57600080fd5b8286015b848110156146195780358352918301918301614602565b509695505050505050565b600082601f83011261463557600080fd5b6040516060810167ffffffffffffffff82821081831117156146595761465961454e565b81604052829150606085018681111561467157600080fd5b855b818110156146a65780358381111561468b5760008081fd5b61469789828a016145b9565b85525060209384019301614673565b50929695505050505050565b600080600080600080600060e0888a0312156146cd57600080fd5b6146d6886144ca565b96506146e4602089016144ca565b95506040880135945060608801359350608088013567ffffffffffffffff81111561470e57600080fd5b61471a8a828b01614624565b93505060a0880135915061473060c089016144ca565b905092959891949750929550565b6000806040838503121561475157600080fd5b823567ffffffffffffffff8082111561476957600080fd5b818501915085601f83011261477d57600080fd5b8135602061478d6145da83614595565b82815260059290921b840181019181810190898411156147ac57600080fd5b948201945b838610156147d1576147c2866144ca565b825294820194908201906147b1565b965050860135925050808211156147e757600080fd5b506147f4858286016145b9565b9150509250929050565b6000806000806080858703121561481457600080fd5b843593506020850135925061482b604086016144ca565b9150614839606086016144ca565b905092959194509250565b60006020828403121561485657600080fd5b813567ffffffffffffffff81111561486d57600080fd5b612d0984828501614624565b60008060006060848603121561488e57600080fd5b614897846144ca565b92506020840135915060408401356148ae8161449f565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156148f1578351835292840192918401916001016148d5565b50909695505050505050565b6000806000806040858703121561491357600080fd5b843567ffffffffffffffff8082111561492b57600080fd5b614937888389016143f8565b9096509450602087013591508082111561495057600080fd5b5061495d878288016143f8565b95989497509550505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156149a9576149a961497f565b5060010190565b60208082526017908201527f496e76616c69642074696d6520666f7220627579696e67000000000000000000604082015260600190565b602080825260139082015272125b9d985b1a59081cd85b1948185b5bdd5b9d606a1b604082015260600190565b60008219821115614a2757614a2761497f565b500190565b600082614a4957634e487b7160e01b600052601260045260246000fd5b500490565b600082821015614a6057614a6061497f565b500390565b6020808252601e908201527f55736572206e6f742077686974656c697374656420666f72207374616b650000604082015260600190565b6000816000190483118215151615614ab657614ab661497f565b500290565b600060208284031215614acd57600080fd5b5051919050565b600060208284031215614ae657600080fd5b81516116818161449f565b6001600160a01b039384168152919092166020820152604081019190915260600190565b805169ffffffffffffffffffff81168114610e3057600080fd5b600080600080600060a08688031215614b4757600080fd5b614b5086614b15565b9450602086015193506040860151925060608601519150614b7360808701614b15565b90509295509295909350565b60006001600160ff1b0381841382841380821686840486111615614ba557614ba561497f565b600160ff1b6000871282811687830589121615614bc457614bc461497f565b60008712925087820587128484161615614be057614be061497f565b87850587128184161615614bf657614bf661497f565b505050929093029392505050565b6000825160005b81811015614c255760208186018101518583015201614c0b565b81811115614c34576000828501525b509190910192915050565b602080825260149082015273151bdad95b881c185e5b595b9d0819985a5b195960621b604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220833f02812ec24f20d3a57c0b6201b8a49d088026e26d71d296b0a9e732f3095064736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.