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
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 16548586 | 605 days ago | IN | 0 ETH | 0.09644363 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PresaleV2
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.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 ); } contract PresaleV2 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 NINE_MONTHS; struct UserInfo { uint256 boughtAmount; uint256 initialClaim; uint256 claimedAmount; } IERC20Upgradeable public USDTInterface; Aggregator public aggregatorInterface; // https://docs.chain.link/docs/ethereum-addresses/ => (ETH / USD) uint256[3] public token_amount; uint256[3] public token_price; mapping(address => UserInfo) public userInfo; 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 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 ); /// @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 */ function initialize( address _oracle, address _usdt, uint256 _startTime, uint256 _endTime ) 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(); maxTokensToBuy = 85_000_000; baseDecimals = (10**18); token_amount = [90_000_000, 180_000_000, 270_000_000]; token_price = [ 20000000000000000, // 0.02 USD 25000000000000000, // 0.025 USD 32000000000000000 // 0.032 USD ]; NINE_MONTHS = (270 * 86400); // 9 months in seconds aggregatorInterface = Aggregator(_oracle); USDTInterface = IERC20Upgradeable(_usdt); startTime = _startTime; endTime = _endTime; 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) internal view returns (uint256 totalValue) { uint256 USDTAmount; require(_amount <= maxTokensToBuy, "Amount exceeds max tokens to buy"); if (_amount + totalTokensSold > token_amount[currentStep]) { require(currentStep < 2, "Insufficient token amount."); uint256 tokenAmountForCurrentPrice = token_amount[currentStep] - totalTokensSold; USDTAmount = tokenAmountForCurrentPrice * token_price[currentStep] + (_amount - tokenAmountForCurrentPrice) * token_price[currentStep + 1]; } else USDTAmount = _amount * token_price[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 ethereum price in 10**18 format */ function getLatestPrice() public view returns (uint256) { (, int256 price, , , ) = aggregatorInterface.latestRoundData(); price = (price * (10**10)); return uint256(price); } 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 */ function buyWithUSDT(uint256 amount) external checkSaleState(amount) whenNotPaused returns (bool) { uint256 usdPrice = usdtBuyHelper(amount); totalTokensSold += amount; if (totalTokensSold > token_amount[currentStep]) currentStep += 1; UserInfo storage userDetails = userInfo[_msgSender()]; userDetails.boughtAmount += (amount * baseDecimals); userDetails.initialClaim = (userDetails.boughtAmount * 10) / 100; uint256 ourAllowance = USDTInterface.allowance( _msgSender(), address(this) ); require(usdPrice <= ourAllowance, "Make sure to add enough allowance"); (bool success, ) = address(USDTInterface).call( abi.encodeWithSignature( "transferFrom(address,address,uint256)", _msgSender(), owner(), usdPrice ) ); require(success, "Token payment failed"); emit TokensBought( _msgSender(), amount, address(USDTInterface), usdPrice, block.timestamp ); return true; } /** * @dev To buy into a presale using ETH * @param amount No of tokens to buy */ function buyWithEth(uint256 amount) external payable checkSaleState(amount) whenNotPaused nonReentrant returns (bool) { uint256 ethAmount = ethBuyHelper(amount); require(msg.value >= ethAmount, "Less payment"); uint256 excess = msg.value - ethAmount; totalTokensSold += amount; if (totalTokensSold > token_amount[currentStep]) currentStep += 1; UserInfo storage userDetails = userInfo[_msgSender()]; userDetails.boughtAmount += (amount * baseDecimals); userDetails.initialClaim = (userDetails.boughtAmount * 10) / 100; sendValue(payable(owner()), ethAmount); if (excess > 0) sendValue(payable(_msgSender()), excess); emit TokensBought( _msgSender(), amount, address(0), ethAmount, block.timestamp ); return true; } /** * @dev Helper funtion to get ETH price for given amount * @param amount No of tokens to buy */ function ethBuyHelper(uint256 amount) public 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) public 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"); } /** * @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 ) external onlyOwner returns (bool) { require( _claimStart > endTime && _claimStart > block.timestamp, "Invalid claim start time" ); require( noOfTokens >= (totalTokensSold * baseDecimals), "Tokens less than sold" ); require(_saleToken != address(0), "Zero token address"); require(claimStart == 0, "Claim already set"); claimStart = _claimStart; saleToken = _saleToken; bool success = IERC20Upgradeable(_saleToken).transferFrom( _msgSender(), address(this), noOfTokens ); require(success, "Token transfer failed"); emit TokensAdded(saleToken, noOfTokens, block.timestamp); return true; } /** * @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"); uint256 tokens = getClaimableAmount(_msgSender()); require(tokens > 0, "No claimable tokens available"); userInfo[_msgSender()].claimedAmount += tokens; bool success = IERC20Upgradeable(saleToken).transfer( _msgSender(), tokens ); require(success, "Token transfer failed"); emit TokensClaimed(_msgSender(), tokens, block.timestamp); return true; } /** * @dev Helper funtion to get claimable tokens for a user after claiming starts * @param _user Address of the user */ function getClaimableAmount(address _user) public view returns (uint256 claimableAmount) { require(claimStart > 0, "Claim start time not set"); UserInfo memory userDetails = userInfo[_user]; require(userDetails.boughtAmount > 0, "No tokens available for user"); if (userDetails.boughtAmount - userDetails.claimedAmount == 0) return 0; if (block.timestamp < claimStart) return 0; if (block.timestamp < (claimStart + NINE_MONTHS)) { uint256 timePassedRatio = ((block.timestamp - claimStart) * baseDecimals) / (NINE_MONTHS); claimableAmount = (((userDetails.boughtAmount - userDetails.initialClaim) * timePassedRatio) / baseDecimals) + userDetails.initialClaim; } else { claimableAmount = userDetails.boughtAmount; } claimableAmount = claimableAmount - userDetails.claimedAmount; } }
// 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; }
// 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.7.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 functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @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 (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.7.0) (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. Equivalent to `reinitializer(1)`. */ 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. * * `initializer` is equivalent to `reinitializer(1)`, so 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. * * 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. */ 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. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } }
// 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 v4.4.1 (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() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @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; }
{ "optimizer": { "enabled": false, "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":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":"timestamp","type":"uint256"}],"name":"TokensBought","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"NINE_MONTHS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDTInterface","outputs":[{"internalType":"contract IERC20Upgradeable","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":"uint256","name":"amount","type":"uint256"}],"name":"buyWithEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyWithUSDT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"changeSaleTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","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":"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":[{"internalType":"address","name":"_user","type":"address"}],"name":"getClaimableAmount","outputs":[{"internalType":"uint256","name":"claimableAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","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"}],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"token_amount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"token_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSold","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":"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":"userInfo","outputs":[{"internalType":"uint256","name":"boughtAmount","type":"uint256"},{"internalType":"uint256","name":"initialClaim","type":"uint256"},{"internalType":"uint256","name":"claimedAmount","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060008060019054906101000a900460ff16159050808015620000445750600160008054906101000a900460ff1660ff16105b8062000080575062000061306200016360201b620020f91760201c565b1580156200007f5750600160008054906101000a900460ff1660ff16145b5b620000c2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000b9906200020d565b60405180910390fd5b60016000806101000a81548160ff021916908360ff160217905550801562000100576001600060016101000a81548160ff0219169083151502179055505b80156200015c5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498600160405162000153919062000289565b60405180910390a15b50620002a6565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000620001f5602e8362000186565b9150620002028262000197565b604082019050919050565b600060208201905081810360008301526200022881620001e6565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b6000620002716200026b62000265846200022f565b62000246565b62000239565b9050919050565b620002838162000250565b82525050565b6000602082019050620002a0600083018462000278565b92915050565b61413980620002b66000396000f3fe6080604052600436106101d85760003560e01c8063715018a611610102578063b2caaebd11610095578063eb990c5911610064578063eb990c59146106d1578063f04d688f146106fa578063f2fde38b14610725578063f597573f1461074e576101d8565b8063b2caaebd14610601578063c49cc6451461063e578063e12f3a6114610669578063e985e367146106a6576101d8565b80638da5cb5b116100d15780638da5cb5b146105435780638e15f4731461056e5780639cfa0f7c14610599578063a7c60160146105c4576101d8565b8063715018a6146104ba5780637649b957146104d157806378e97925146105015780638456cb591461052c576101d8565b806333f761781161017a5780635c975abb116101495780635c975abb146103fc57806363b201171461042757806363e4087914610452578063695dbf971461048f576101d8565b806333f76178146103645780633f4ba83a1461038f5780634e71d92d146103a65780635bc34f71146103d1576101d8565b806324128ee4116101b657806324128ee4146102825780632818553f146102bf57806329a5a0b6146102fc5780633197cbb614610339576101d8565b806307f18082146101dd5780630dc9c8381461021a5780631959a00214610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612845565b610779565b604051610211919061288d565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c91906128a8565b6108a1565b005b34801561024f57600080fd5b5061026a60048036038101906102659190612946565b610aaf565b60405161027993929190612982565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612845565b610ad9565b6040516102b691906129b9565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190612845565b610af4565b6040516102f391906129b9565b60405180910390f35b34801561030857600080fd5b50610323600480360381019061031e9190612845565b610b0f565b60405161033091906129b9565b60405180910390f35b34801561034557600080fd5b5061034e610b45565b60405161035b91906129b9565b60405180910390f35b34801561037057600080fd5b50610379610b4b565b60405161038691906129b9565b60405180910390f35b34801561039b57600080fd5b506103a4610b51565b005b3480156103b257600080fd5b506103bb610b63565b6040516103c8919061288d565b60405180910390f35b3480156103dd57600080fd5b506103e6610e10565b6040516103f391906129b9565b60405180910390f35b34801561040857600080fd5b50610411610e16565b60405161041e919061288d565b60405180910390f35b34801561043357600080fd5b5061043c610e2d565b60405161044991906129b9565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190612845565b610e33565b60405161048691906129b9565b60405180910390f35b34801561049b57600080fd5b506104a4610e58565b6040516104b191906129b9565b60405180910390f35b3480156104c657600080fd5b506104cf610e5e565b005b6104eb60048036038101906104e69190612845565b610e72565b6040516104f8919061288d565b60405180910390f35b34801561050d57600080fd5b5061051661115d565b60405161052391906129b9565b60405180910390f35b34801561053857600080fd5b50610541611163565b005b34801561054f57600080fd5b50610558611175565b60405161056591906129e3565b60405180910390f35b34801561057a57600080fd5b5061058361119f565b60405161059091906129b9565b60405180910390f35b3480156105a557600080fd5b506105ae611262565b6040516105bb91906129b9565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190612845565b611268565b6040516105f8919061288d565b60405180910390f35b34801561060d57600080fd5b50610628600480360381019061062391906129fe565b61170a565b604051610635919061288d565b60405180910390f35b34801561064a57600080fd5b50610653611a0a565b6040516106609190612ab0565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190612946565b611a30565b60405161069d91906129b9565b60405180910390f35b3480156106b257600080fd5b506106bb611c0a565b6040516106c891906129e3565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190612acb565b611c30565b005b34801561070657600080fd5b5061070f612049565b60405161071c91906129b9565b60405180910390f35b34801561073157600080fd5b5061074c60048036038101906107479190612946565b61204f565b005b34801561075a57600080fd5b506107636120d3565b6040516107709190612b53565b60405180910390f35b600061078361211c565b600060cc54116107c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bf90612bcb565b60405180910390fd5b60cb54821161080c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080390612c37565b60405180910390fd5b42821161084e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084590612ca3565b60405180910390fd5b600060cc5490508260cc819055507f5f3a900c85949962b4cc192dd3714dae64071dc2e907049ec720b023270905a481844260405161088f93929190612982565b60405180910390a16001915050919050565b6108a961211c565b60008211806108b85750600081115b6108f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ee90612d0f565b60405180910390fd5b60008211156109f25760ca544210610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90612d7b565b60405180910390fd5b814210610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d90612de7565b60405180910390fd5b600060ca5490508260ca819055507f53544152540000000000000000000000000000000000000000000000000000007fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b28285426040516109e893929190612982565b60405180910390a2505b6000811115610aab5760ca548111610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3690612e53565b60405180910390fd5b600060cb5490508160cb819055507f454e4400000000000000000000000000000000000000000000000000000000007fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2828442604051610aa193929190612982565b60405180910390a2505b5050565b60da6020528060005260406000206000915090508060000154908060010154908060020154905083565b60d48160038110610ae957600080fd5b016000915090505481565b60d78160038110610b0457600080fd5b016000915090505481565b600080610b1b8361219a565b9050610b2561119f565b60ce5482610b339190612ea2565b610b3d9190612f2b565b915050919050565b60cb5481565b60ce5481565b610b5961211c565b610b6161231a565b565b6000610b6d61237d565b600073ffffffffffffffffffffffffffffffffffffffff1660cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf690612fa8565b60405180910390fd5b6000610c11610c0c6123c7565b611a30565b905060008111610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d90613014565b60405180910390fd5b8060da6000610c636123c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002016000828254610caf9190613034565b92505081905550600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610cfe6123c7565b846040518363ffffffff1660e01b8152600401610d1c92919061308a565b602060405180830381600087803b158015610d3657600080fd5b505af1158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e91906130df565b905080610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613158565b60405180910390fd5b610db86123c7565b73ffffffffffffffffffffffffffffffffffffffff167f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b8342604051610dff929190613178565b60405180910390a260019250505090565b60d05481565b6000609760009054906101000a900460ff16905090565b60c95481565b6000610e3e8261219a565b905064e8d4a5100081610e519190612f2b565b9050919050565b60d15481565b610e6661211c565b610e7060006123cf565b565b60008160ca544210158015610e89575060cb544211155b610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf906131ed565b60405180910390fd5b60008111610f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0290613259565b60405180910390fd5b610f1361237d565b60026001541415610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f50906132c5565b60405180910390fd5b60026001819055506000610f6c84610b0f565b905080341015610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa890613331565b60405180910390fd5b60008134610fbf9190613351565b90508460c96000828254610fd39190613034565b9250508190555060d460d05460038110610ff057610fef613385565b5b015460c954111561101657600160d0600082825461100e9190613034565b925050819055505b600060da60006110246123c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060ce548661106e9190612ea2565b8160000160008282546110819190613034565b925050819055506064600a826000015461109b9190612ea2565b6110a59190612f2b565b81600101819055506110be6110b8611175565b84612495565b60008211156110d9576110d86110d26123c7565b83612495565b5b600073ffffffffffffffffffffffffffffffffffffffff16866110fa6123c7565b73ffffffffffffffffffffffffffffffffffffffff167f62e796e00a8e66154d78da76daae129635b4795a6e1b889f2caa6c5cea22ac688642604051611141929190613178565b60405180910390a4600194505050506001808190555050919050565b60ca5481565b61116b61211c565b611173612589565b565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060d360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561120a57600080fd5b505afa15801561121e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112429190613441565b5050509150506402540be4008161125991906134bc565b90508091505090565b60cf5481565b60008160ca54421015801561127f575060cb544211155b6112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b5906131ed565b60405180910390fd5b60008111611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f890613259565b60405180910390fd5b61130961237d565b600061131484610e33565b90508360c960008282546113289190613034565b9250508190555060d460d0546003811061134557611344613385565b5b015460c954111561136b57600160d060008282546113639190613034565b925050819055505b600060da60006113796123c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060ce54856113c39190612ea2565b8160000160008282546113d69190613034565b925050819055506064600a82600001546113f09190612ea2565b6113fa9190612f2b565b8160010181905550600060d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e61144a6123c7565b306040518363ffffffff1660e01b81526004016114689291906135d3565b60206040518083038186803b15801561148057600080fd5b505afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b891906135fc565b9050808311156114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f49061369b565b60405180910390fd5b600060d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166115406123c7565b611548611175565b8660405160240161155b939291906136bb565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516115e5919061376c565b6000604051808303816000865af19150503d8060008114611622576040519150601f19603f3d011682016040523d82523d6000602084013e611627565b606091505b505090508061166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906137cf565b60405180910390fd5b60d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16876116ad6123c7565b73ffffffffffffffffffffffffffffffffffffffff167f62e796e00a8e66154d78da76daae129635b4795a6e1b889f2caa6c5cea22ac6887426040516116f4929190613178565b60405180910390a4600195505050505050919050565b600061171461211c565b60cb548411801561172457504284115b611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175a9061383b565b60405180910390fd5b60ce5460c9546117739190612ea2565b8310156117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac906138a7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c90613913565b60405180910390fd5b600060cc541461186a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118619061397f565b60405180910390fd5b8360cc819055508160cd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008273ffffffffffffffffffffffffffffffffffffffff166323b872dd6118d86123c7565b30876040518463ffffffff1660e01b81526004016118f8939291906136bb565b602060405180830381600087803b15801561191257600080fd5b505af1158015611926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194a91906130df565b90508061198c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198390613158565b60405180910390fd5b60cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fdc9670dbabdd488b372eb16ebe49a39b3124a12cdffdcefbc89834a408bf8ff885426040516119f6929190613178565b60405180910390a260019150509392505050565b60d360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060cc5411611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d906139eb565b60405180910390fd5b600060da60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806060016040529081600082015481526020016001820154815260200160028201548152505090506000816000015111611b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2090613a57565b60405180910390fd5b600081604001518260000151611b3f9190613351565b1415611b4f576000915050611c05565b60cc54421015611b63576000915050611c05565b60d15460cc54611b739190613034565b421015611be957600060d15460ce5460cc5442611b909190613351565b611b9a9190612ea2565b611ba49190612f2b565b9050816020015160ce548284602001518560000151611bc39190613351565b611bcd9190612ea2565b611bd79190612f2b565b611be19190613034565b925050611bf1565b806000015191505b806040015182611c019190613351565b9150505b919050565b60cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060019054906101000a900460ff16159050808015611c615750600160008054906101000a900460ff1660ff16105b80611c8e5750611c70306120f9565b158015611c8d5750600160008054906101000a900460ff1660ff16145b5b611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc490613ae9565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611d0a576001600060016101000a81548160ff0219169083151502179055505b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190613b55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190613bc1565b60405180910390fd5b4283118015611df857508282115b611e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2e90613c2d565b60405180910390fd5b611e3f6125ec565b611e47612658565b611e4f6126b9565b630510ff4060cf81905550670de0b6b3a764000060ce81905550604051806060016040528063055d4a8063ffffffff168152602001630aba950063ffffffff168152602001631017df8063ffffffff1681525060d4906003611eb292919061275a565b50604051806060016040528066470de4df82000066ffffffffffffff1681526020016658d15e1762800066ffffffffffffff1681526020016671afd498d0000066ffffffffffffff1681525060d7906003611f0e9291906127a2565b50630163f50060d1819055508460d360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360d260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ca819055508160cb819055507f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a2060ca5460cb5442604051611fe193929190612982565b60405180910390a180156120425760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516120399190613c95565b60405180910390a15b5050505050565b60cc5481565b61205761211c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be90613d22565b60405180910390fd5b6120d0816123cf565b50565b60d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6121246123c7565b73ffffffffffffffffffffffffffffffffffffffff16612142611175565b73ffffffffffffffffffffffffffffffffffffffff1614612198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218f90613d8e565b60405180910390fd5b565b60008060cf548311156121e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d990613dfa565b60405180910390fd5b60d460d054600381106121f8576121f7613385565b5b015460c954846122089190613034565b11156122eb57600260d05410612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a90613e66565b60405180910390fd5b600060c95460d460d0546003811061226e5761226d613385565b5b015461227a9190613351565b905060d7600160d05461228d9190613034565b6003811061229e5761229d613385565b5b015481856122ac9190613351565b6122b69190612ea2565b60d760d054600381106122cc576122cb613385565b5b0154826122d99190612ea2565b6122e39190613034565b915050612311565b60d760d0546003811061230157612300613385565b5b01548361230e9190612ea2565b90505b80915050919050565b612322612711565b6000609760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6123666123c7565b60405161237391906129e3565b60405180910390a1565b612385610e16565b156123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc90613ed2565b60405180910390fd5b565b600033905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b804710156124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf90613f3e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124fe90613f84565b60006040518083038185875af1925050503d806000811461253b576040519150601f19603f3d011682016040523d82523d6000602084013e612540565b606091505b5050905080612584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257b90613fe5565b60405180910390fd5b505050565b61259161237d565b6001609760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125d56123c7565b6040516125e291906129e3565b60405180910390a1565b600060019054906101000a900460ff1661263b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263290614077565b60405180910390fd5b6000609760006101000a81548160ff021916908315150217905550565b600060019054906101000a900460ff166126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e90614077565b60405180910390fd5b6126b76126b26123c7565b6123cf565b565b600060019054906101000a900460ff16612708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ff90614077565b60405180910390fd5b60018081905550565b612719610e16565b612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274f906140e3565b60405180910390fd5b565b8260038101928215612791579160200282015b82811115612790578251829063ffffffff1690559160200191906001019061276d565b5b50905061279e91906127ed565b5090565b82600381019282156127dc579160200282015b828111156127db578251829066ffffffffffffff169055916020019190600101906127b5565b5b5090506127e991906127ed565b5090565b5b808211156128065760008160009055506001016127ee565b5090565b600080fd5b6000819050919050565b6128228161280f565b811461282d57600080fd5b50565b60008135905061283f81612819565b92915050565b60006020828403121561285b5761285a61280a565b5b600061286984828501612830565b91505092915050565b60008115159050919050565b61288781612872565b82525050565b60006020820190506128a2600083018461287e565b92915050565b600080604083850312156128bf576128be61280a565b5b60006128cd85828601612830565b92505060206128de85828601612830565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612913826128e8565b9050919050565b61292381612908565b811461292e57600080fd5b50565b6000813590506129408161291a565b92915050565b60006020828403121561295c5761295b61280a565b5b600061296a84828501612931565b91505092915050565b61297c8161280f565b82525050565b60006060820190506129976000830186612973565b6129a46020830185612973565b6129b16040830184612973565b949350505050565b60006020820190506129ce6000830184612973565b92915050565b6129dd81612908565b82525050565b60006020820190506129f860008301846129d4565b92915050565b600080600060608486031215612a1757612a1661280a565b5b6000612a2586828701612830565b9350506020612a3686828701612830565b9250506040612a4786828701612931565b9150509250925092565b6000819050919050565b6000612a76612a71612a6c846128e8565b612a51565b6128e8565b9050919050565b6000612a8882612a5b565b9050919050565b6000612a9a82612a7d565b9050919050565b612aaa81612a8f565b82525050565b6000602082019050612ac56000830184612aa1565b92915050565b60008060008060808587031215612ae557612ae461280a565b5b6000612af387828801612931565b9450506020612b0487828801612931565b9350506040612b1587828801612830565b9250506060612b2687828801612830565b91505092959194509250565b6000612b3d82612a7d565b9050919050565b612b4d81612b32565b82525050565b6000602082019050612b686000830184612b44565b92915050565b600082825260208201905092915050565b7f496e697469616c20636c61696d2064617461206e6f7420736574000000000000600082015250565b6000612bb5601a83612b6e565b9150612bc082612b7f565b602082019050919050565b60006020820190508181036000830152612be481612ba8565b9050919050565b7f53616c6520696e2070726f677265737300000000000000000000000000000000600082015250565b6000612c21601083612b6e565b9150612c2c82612beb565b602082019050919050565b60006020820190508181036000830152612c5081612c14565b9050919050565b7f436c61696d20737461727420696e207061737400000000000000000000000000600082015250565b6000612c8d601383612b6e565b9150612c9882612c57565b602082019050919050565b60006020820190508181036000830152612cbc81612c80565b9050919050565b7f496e76616c696420706172616d65746572730000000000000000000000000000600082015250565b6000612cf9601283612b6e565b9150612d0482612cc3565b602082019050919050565b60006020820190508181036000830152612d2881612cec565b9050919050565b7f53616c6520616c72656164792073746172746564000000000000000000000000600082015250565b6000612d65601483612b6e565b9150612d7082612d2f565b602082019050919050565b60006020820190508181036000830152612d9481612d58565b9050919050565b7f53616c652074696d6520696e2070617374000000000000000000000000000000600082015250565b6000612dd1601183612b6e565b9150612ddc82612d9b565b602082019050919050565b60006020820190508181036000830152612e0081612dc4565b9050919050565b7f496e76616c696420656e6454696d650000000000000000000000000000000000600082015250565b6000612e3d600f83612b6e565b9150612e4882612e07565b602082019050919050565b60006020820190508181036000830152612e6c81612e30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ead8261280f565b9150612eb88361280f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ef157612ef0612e73565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f368261280f565b9150612f418361280f565b925082612f5157612f50612efc565b5b828204905092915050565b7f53616c6520746f6b656e206e6f74206164646564000000000000000000000000600082015250565b6000612f92601483612b6e565b9150612f9d82612f5c565b602082019050919050565b60006020820190508181036000830152612fc181612f85565b9050919050565b7f4e6f20636c61696d61626c6520746f6b656e7320617661696c61626c65000000600082015250565b6000612ffe601d83612b6e565b915061300982612fc8565b602082019050919050565b6000602082019050818103600083015261302d81612ff1565b9050919050565b600061303f8261280f565b915061304a8361280f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561307f5761307e612e73565b5b828201905092915050565b600060408201905061309f60008301856129d4565b6130ac6020830184612973565b9392505050565b6130bc81612872565b81146130c757600080fd5b50565b6000815190506130d9816130b3565b92915050565b6000602082840312156130f5576130f461280a565b5b6000613103848285016130ca565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000613142601583612b6e565b915061314d8261310c565b602082019050919050565b6000602082019050818103600083015261317181613135565b9050919050565b600060408201905061318d6000830185612973565b61319a6020830184612973565b9392505050565b7f496e76616c69642074696d6520666f7220627579696e67000000000000000000600082015250565b60006131d7601783612b6e565b91506131e2826131a1565b602082019050919050565b60006020820190508181036000830152613206816131ca565b9050919050565b7f496e76616c69642073616c6520616d6f756e7400000000000000000000000000600082015250565b6000613243601383612b6e565b915061324e8261320d565b602082019050919050565b6000602082019050818103600083015261327281613236565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006132af601f83612b6e565b91506132ba82613279565b602082019050919050565b600060208201905081810360008301526132de816132a2565b9050919050565b7f4c657373207061796d656e740000000000000000000000000000000000000000600082015250565b600061331b600c83612b6e565b9150613326826132e5565b602082019050919050565b6000602082019050818103600083015261334a8161330e565b9050919050565b600061335c8261280f565b91506133678361280f565b92508282101561337a57613379612e73565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600069ffffffffffffffffffff82169050919050565b6133d3816133b4565b81146133de57600080fd5b50565b6000815190506133f0816133ca565b92915050565b6000819050919050565b613409816133f6565b811461341457600080fd5b50565b60008151905061342681613400565b92915050565b60008151905061343b81612819565b92915050565b600080600080600060a0868803121561345d5761345c61280a565b5b600061346b888289016133e1565b955050602061347c88828901613417565b945050604061348d8882890161342c565b935050606061349e8882890161342c565b92505060806134af888289016133e1565b9150509295509295909350565b60006134c7826133f6565b91506134d2836133f6565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211600084136000841316161561351157613510612e73565b5b817f8000000000000000000000000000000000000000000000000000000000000000058312600084126000841316161561354e5761354d612e73565b5b827f8000000000000000000000000000000000000000000000000000000000000000058212600084136000841216161561358b5761358a612e73565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff05821260008412600084121616156135c8576135c7612e73565b5b828202905092915050565b60006040820190506135e860008301856129d4565b6135f560208301846129d4565b9392505050565b6000602082840312156136125761361161280a565b5b60006136208482850161342c565b91505092915050565b7f4d616b65207375726520746f2061646420656e6f75676820616c6c6f77616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000613685602183612b6e565b915061369082613629565b604082019050919050565b600060208201905081810360008301526136b481613678565b9050919050565b60006060820190506136d060008301866129d4565b6136dd60208301856129d4565b6136ea6040830184612973565b949350505050565b600081519050919050565b600081905092915050565b60005b8381101561372657808201518184015260208101905061370b565b83811115613735576000848401525b50505050565b6000613746826136f2565b61375081856136fd565b9350613760818560208601613708565b80840191505092915050565b6000613778828461373b565b915081905092915050565b7f546f6b656e207061796d656e74206661696c6564000000000000000000000000600082015250565b60006137b9601483612b6e565b91506137c482613783565b602082019050919050565b600060208201905081810360008301526137e8816137ac565b9050919050565b7f496e76616c696420636c61696d2073746172742074696d650000000000000000600082015250565b6000613825601883612b6e565b9150613830826137ef565b602082019050919050565b6000602082019050818103600083015261385481613818565b9050919050565b7f546f6b656e73206c657373207468616e20736f6c640000000000000000000000600082015250565b6000613891601583612b6e565b915061389c8261385b565b602082019050919050565b600060208201905081810360008301526138c081613884565b9050919050565b7f5a65726f20746f6b656e20616464726573730000000000000000000000000000600082015250565b60006138fd601283612b6e565b9150613908826138c7565b602082019050919050565b6000602082019050818103600083015261392c816138f0565b9050919050565b7f436c61696d20616c726561647920736574000000000000000000000000000000600082015250565b6000613969601183612b6e565b915061397482613933565b602082019050919050565b600060208201905081810360008301526139988161395c565b9050919050565b7f436c61696d2073746172742074696d65206e6f74207365740000000000000000600082015250565b60006139d5601883612b6e565b91506139e08261399f565b602082019050919050565b60006020820190508181036000830152613a04816139c8565b9050919050565b7f4e6f20746f6b656e7320617661696c61626c6520666f72207573657200000000600082015250565b6000613a41601c83612b6e565b9150613a4c82613a0b565b602082019050919050565b60006020820190508181036000830152613a7081613a34565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613ad3602e83612b6e565b9150613ade82613a77565b604082019050919050565b60006020820190508181036000830152613b0281613ac6565b9050919050565b7f5a65726f2061676772656761746f722061646472657373000000000000000000600082015250565b6000613b3f601783612b6e565b9150613b4a82613b09565b602082019050919050565b60006020820190508181036000830152613b6e81613b32565b9050919050565b7f5a65726f20555344542061646472657373000000000000000000000000000000600082015250565b6000613bab601183612b6e565b9150613bb682613b75565b602082019050919050565b60006020820190508181036000830152613bda81613b9e565b9050919050565b7f496e76616c69642074696d650000000000000000000000000000000000000000600082015250565b6000613c17600c83612b6e565b9150613c2282613be1565b602082019050919050565b60006020820190508181036000830152613c4681613c0a565b9050919050565b6000819050919050565b600060ff82169050919050565b6000613c7f613c7a613c7584613c4d565b612a51565b613c57565b9050919050565b613c8f81613c64565b82525050565b6000602082019050613caa6000830184613c86565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d0c602683612b6e565b9150613d1782613cb0565b604082019050919050565b60006020820190508181036000830152613d3b81613cff565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d78602083612b6e565b9150613d8382613d42565b602082019050919050565b60006020820190508181036000830152613da781613d6b565b9050919050565b7f416d6f756e742065786365656473206d617820746f6b656e7320746f20627579600082015250565b6000613de4602083612b6e565b9150613def82613dae565b602082019050919050565b60006020820190508181036000830152613e1381613dd7565b9050919050565b7f496e73756666696369656e7420746f6b656e20616d6f756e742e000000000000600082015250565b6000613e50601a83612b6e565b9150613e5b82613e1a565b602082019050919050565b60006020820190508181036000830152613e7f81613e43565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613ebc601083612b6e565b9150613ec782613e86565b602082019050919050565b60006020820190508181036000830152613eeb81613eaf565b9050919050565b7f4c6f772062616c616e6365000000000000000000000000000000000000000000600082015250565b6000613f28600b83612b6e565b9150613f3382613ef2565b602082019050919050565b60006020820190508181036000830152613f5781613f1b565b9050919050565b50565b6000613f6e6000836136fd565b9150613f7982613f5e565b600082019050919050565b6000613f8f82613f61565b9150819050919050565b7f455448205061796d656e74206661696c65640000000000000000000000000000600082015250565b6000613fcf601283612b6e565b9150613fda82613f99565b602082019050919050565b60006020820190508181036000830152613ffe81613fc2565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000614061602b83612b6e565b915061406c82614005565b604082019050919050565b6000602082019050818103600083015261409081614054565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006140cd601483612b6e565b91506140d882614097565b602082019050919050565b600060208201905081810360008301526140fc816140c0565b905091905056fea26469706673582212204160f339b2eb249722a30a7a6ba9d3a1c1b0d28e6a684f50ddf1674e9fb6175664736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c8063715018a611610102578063b2caaebd11610095578063eb990c5911610064578063eb990c59146106d1578063f04d688f146106fa578063f2fde38b14610725578063f597573f1461074e576101d8565b8063b2caaebd14610601578063c49cc6451461063e578063e12f3a6114610669578063e985e367146106a6576101d8565b80638da5cb5b116100d15780638da5cb5b146105435780638e15f4731461056e5780639cfa0f7c14610599578063a7c60160146105c4576101d8565b8063715018a6146104ba5780637649b957146104d157806378e97925146105015780638456cb591461052c576101d8565b806333f761781161017a5780635c975abb116101495780635c975abb146103fc57806363b201171461042757806363e4087914610452578063695dbf971461048f576101d8565b806333f76178146103645780633f4ba83a1461038f5780634e71d92d146103a65780635bc34f71146103d1576101d8565b806324128ee4116101b657806324128ee4146102825780632818553f146102bf57806329a5a0b6146102fc5780633197cbb614610339576101d8565b806307f18082146101dd5780630dc9c8381461021a5780631959a00214610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612845565b610779565b604051610211919061288d565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c91906128a8565b6108a1565b005b34801561024f57600080fd5b5061026a60048036038101906102659190612946565b610aaf565b60405161027993929190612982565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612845565b610ad9565b6040516102b691906129b9565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190612845565b610af4565b6040516102f391906129b9565b60405180910390f35b34801561030857600080fd5b50610323600480360381019061031e9190612845565b610b0f565b60405161033091906129b9565b60405180910390f35b34801561034557600080fd5b5061034e610b45565b60405161035b91906129b9565b60405180910390f35b34801561037057600080fd5b50610379610b4b565b60405161038691906129b9565b60405180910390f35b34801561039b57600080fd5b506103a4610b51565b005b3480156103b257600080fd5b506103bb610b63565b6040516103c8919061288d565b60405180910390f35b3480156103dd57600080fd5b506103e6610e10565b6040516103f391906129b9565b60405180910390f35b34801561040857600080fd5b50610411610e16565b60405161041e919061288d565b60405180910390f35b34801561043357600080fd5b5061043c610e2d565b60405161044991906129b9565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190612845565b610e33565b60405161048691906129b9565b60405180910390f35b34801561049b57600080fd5b506104a4610e58565b6040516104b191906129b9565b60405180910390f35b3480156104c657600080fd5b506104cf610e5e565b005b6104eb60048036038101906104e69190612845565b610e72565b6040516104f8919061288d565b60405180910390f35b34801561050d57600080fd5b5061051661115d565b60405161052391906129b9565b60405180910390f35b34801561053857600080fd5b50610541611163565b005b34801561054f57600080fd5b50610558611175565b60405161056591906129e3565b60405180910390f35b34801561057a57600080fd5b5061058361119f565b60405161059091906129b9565b60405180910390f35b3480156105a557600080fd5b506105ae611262565b6040516105bb91906129b9565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190612845565b611268565b6040516105f8919061288d565b60405180910390f35b34801561060d57600080fd5b50610628600480360381019061062391906129fe565b61170a565b604051610635919061288d565b60405180910390f35b34801561064a57600080fd5b50610653611a0a565b6040516106609190612ab0565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190612946565b611a30565b60405161069d91906129b9565b60405180910390f35b3480156106b257600080fd5b506106bb611c0a565b6040516106c891906129e3565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190612acb565b611c30565b005b34801561070657600080fd5b5061070f612049565b60405161071c91906129b9565b60405180910390f35b34801561073157600080fd5b5061074c60048036038101906107479190612946565b61204f565b005b34801561075a57600080fd5b506107636120d3565b6040516107709190612b53565b60405180910390f35b600061078361211c565b600060cc54116107c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bf90612bcb565b60405180910390fd5b60cb54821161080c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080390612c37565b60405180910390fd5b42821161084e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084590612ca3565b60405180910390fd5b600060cc5490508260cc819055507f5f3a900c85949962b4cc192dd3714dae64071dc2e907049ec720b023270905a481844260405161088f93929190612982565b60405180910390a16001915050919050565b6108a961211c565b60008211806108b85750600081115b6108f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ee90612d0f565b60405180910390fd5b60008211156109f25760ca544210610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90612d7b565b60405180910390fd5b814210610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d90612de7565b60405180910390fd5b600060ca5490508260ca819055507f53544152540000000000000000000000000000000000000000000000000000007fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b28285426040516109e893929190612982565b60405180910390a2505b6000811115610aab5760ca548111610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3690612e53565b60405180910390fd5b600060cb5490508160cb819055507f454e4400000000000000000000000000000000000000000000000000000000007fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2828442604051610aa193929190612982565b60405180910390a2505b5050565b60da6020528060005260406000206000915090508060000154908060010154908060020154905083565b60d48160038110610ae957600080fd5b016000915090505481565b60d78160038110610b0457600080fd5b016000915090505481565b600080610b1b8361219a565b9050610b2561119f565b60ce5482610b339190612ea2565b610b3d9190612f2b565b915050919050565b60cb5481565b60ce5481565b610b5961211c565b610b6161231a565b565b6000610b6d61237d565b600073ffffffffffffffffffffffffffffffffffffffff1660cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf690612fa8565b60405180910390fd5b6000610c11610c0c6123c7565b611a30565b905060008111610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d90613014565b60405180910390fd5b8060da6000610c636123c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002016000828254610caf9190613034565b92505081905550600060cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610cfe6123c7565b846040518363ffffffff1660e01b8152600401610d1c92919061308a565b602060405180830381600087803b158015610d3657600080fd5b505af1158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e91906130df565b905080610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613158565b60405180910390fd5b610db86123c7565b73ffffffffffffffffffffffffffffffffffffffff167f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b8342604051610dff929190613178565b60405180910390a260019250505090565b60d05481565b6000609760009054906101000a900460ff16905090565b60c95481565b6000610e3e8261219a565b905064e8d4a5100081610e519190612f2b565b9050919050565b60d15481565b610e6661211c565b610e7060006123cf565b565b60008160ca544210158015610e89575060cb544211155b610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf906131ed565b60405180910390fd5b60008111610f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0290613259565b60405180910390fd5b610f1361237d565b60026001541415610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f50906132c5565b60405180910390fd5b60026001819055506000610f6c84610b0f565b905080341015610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa890613331565b60405180910390fd5b60008134610fbf9190613351565b90508460c96000828254610fd39190613034565b9250508190555060d460d05460038110610ff057610fef613385565b5b015460c954111561101657600160d0600082825461100e9190613034565b925050819055505b600060da60006110246123c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060ce548661106e9190612ea2565b8160000160008282546110819190613034565b925050819055506064600a826000015461109b9190612ea2565b6110a59190612f2b565b81600101819055506110be6110b8611175565b84612495565b60008211156110d9576110d86110d26123c7565b83612495565b5b600073ffffffffffffffffffffffffffffffffffffffff16866110fa6123c7565b73ffffffffffffffffffffffffffffffffffffffff167f62e796e00a8e66154d78da76daae129635b4795a6e1b889f2caa6c5cea22ac688642604051611141929190613178565b60405180910390a4600194505050506001808190555050919050565b60ca5481565b61116b61211c565b611173612589565b565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060d360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561120a57600080fd5b505afa15801561121e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112429190613441565b5050509150506402540be4008161125991906134bc565b90508091505090565b60cf5481565b60008160ca54421015801561127f575060cb544211155b6112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b5906131ed565b60405180910390fd5b60008111611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f890613259565b60405180910390fd5b61130961237d565b600061131484610e33565b90508360c960008282546113289190613034565b9250508190555060d460d0546003811061134557611344613385565b5b015460c954111561136b57600160d060008282546113639190613034565b925050819055505b600060da60006113796123c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060ce54856113c39190612ea2565b8160000160008282546113d69190613034565b925050819055506064600a82600001546113f09190612ea2565b6113fa9190612f2b565b8160010181905550600060d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e61144a6123c7565b306040518363ffffffff1660e01b81526004016114689291906135d3565b60206040518083038186803b15801561148057600080fd5b505afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b891906135fc565b9050808311156114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f49061369b565b60405180910390fd5b600060d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166115406123c7565b611548611175565b8660405160240161155b939291906136bb565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516115e5919061376c565b6000604051808303816000865af19150503d8060008114611622576040519150601f19603f3d011682016040523d82523d6000602084013e611627565b606091505b505090508061166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906137cf565b60405180910390fd5b60d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16876116ad6123c7565b73ffffffffffffffffffffffffffffffffffffffff167f62e796e00a8e66154d78da76daae129635b4795a6e1b889f2caa6c5cea22ac6887426040516116f4929190613178565b60405180910390a4600195505050505050919050565b600061171461211c565b60cb548411801561172457504284115b611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175a9061383b565b60405180910390fd5b60ce5460c9546117739190612ea2565b8310156117b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ac906138a7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c90613913565b60405180910390fd5b600060cc541461186a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118619061397f565b60405180910390fd5b8360cc819055508160cd60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008273ffffffffffffffffffffffffffffffffffffffff166323b872dd6118d86123c7565b30876040518463ffffffff1660e01b81526004016118f8939291906136bb565b602060405180830381600087803b15801561191257600080fd5b505af1158015611926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194a91906130df565b90508061198c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198390613158565b60405180910390fd5b60cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fdc9670dbabdd488b372eb16ebe49a39b3124a12cdffdcefbc89834a408bf8ff885426040516119f6929190613178565b60405180910390a260019150509392505050565b60d360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060cc5411611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d906139eb565b60405180910390fd5b600060da60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806060016040529081600082015481526020016001820154815260200160028201548152505090506000816000015111611b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2090613a57565b60405180910390fd5b600081604001518260000151611b3f9190613351565b1415611b4f576000915050611c05565b60cc54421015611b63576000915050611c05565b60d15460cc54611b739190613034565b421015611be957600060d15460ce5460cc5442611b909190613351565b611b9a9190612ea2565b611ba49190612f2b565b9050816020015160ce548284602001518560000151611bc39190613351565b611bcd9190612ea2565b611bd79190612f2b565b611be19190613034565b925050611bf1565b806000015191505b806040015182611c019190613351565b9150505b919050565b60cd60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060019054906101000a900460ff16159050808015611c615750600160008054906101000a900460ff1660ff16105b80611c8e5750611c70306120f9565b158015611c8d5750600160008054906101000a900460ff1660ff16145b5b611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc490613ae9565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611d0a576001600060016101000a81548160ff0219169083151502179055505b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190613b55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190613bc1565b60405180910390fd5b4283118015611df857508282115b611e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2e90613c2d565b60405180910390fd5b611e3f6125ec565b611e47612658565b611e4f6126b9565b630510ff4060cf81905550670de0b6b3a764000060ce81905550604051806060016040528063055d4a8063ffffffff168152602001630aba950063ffffffff168152602001631017df8063ffffffff1681525060d4906003611eb292919061275a565b50604051806060016040528066470de4df82000066ffffffffffffff1681526020016658d15e1762800066ffffffffffffff1681526020016671afd498d0000066ffffffffffffff1681525060d7906003611f0e9291906127a2565b50630163f50060d1819055508460d360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360d260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ca819055508160cb819055507f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a2060ca5460cb5442604051611fe193929190612982565b60405180910390a180156120425760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516120399190613c95565b60405180910390a15b5050505050565b60cc5481565b61205761211c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be90613d22565b60405180910390fd5b6120d0816123cf565b50565b60d260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6121246123c7565b73ffffffffffffffffffffffffffffffffffffffff16612142611175565b73ffffffffffffffffffffffffffffffffffffffff1614612198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218f90613d8e565b60405180910390fd5b565b60008060cf548311156121e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d990613dfa565b60405180910390fd5b60d460d054600381106121f8576121f7613385565b5b015460c954846122089190613034565b11156122eb57600260d05410612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a90613e66565b60405180910390fd5b600060c95460d460d0546003811061226e5761226d613385565b5b015461227a9190613351565b905060d7600160d05461228d9190613034565b6003811061229e5761229d613385565b5b015481856122ac9190613351565b6122b69190612ea2565b60d760d054600381106122cc576122cb613385565b5b0154826122d99190612ea2565b6122e39190613034565b915050612311565b60d760d0546003811061230157612300613385565b5b01548361230e9190612ea2565b90505b80915050919050565b612322612711565b6000609760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6123666123c7565b60405161237391906129e3565b60405180910390a1565b612385610e16565b156123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc90613ed2565b60405180910390fd5b565b600033905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b804710156124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf90613f3e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124fe90613f84565b60006040518083038185875af1925050503d806000811461253b576040519150601f19603f3d011682016040523d82523d6000602084013e612540565b606091505b5050905080612584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257b90613fe5565b60405180910390fd5b505050565b61259161237d565b6001609760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125d56123c7565b6040516125e291906129e3565b60405180910390a1565b600060019054906101000a900460ff1661263b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263290614077565b60405180910390fd5b6000609760006101000a81548160ff021916908315150217905550565b600060019054906101000a900460ff166126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e90614077565b60405180910390fd5b6126b76126b26123c7565b6123cf565b565b600060019054906101000a900460ff16612708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ff90614077565b60405180910390fd5b60018081905550565b612719610e16565b612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274f906140e3565b60405180910390fd5b565b8260038101928215612791579160200282015b82811115612790578251829063ffffffff1690559160200191906001019061276d565b5b50905061279e91906127ed565b5090565b82600381019282156127dc579160200282015b828111156127db578251829066ffffffffffffff169055916020019190600101906127b5565b5b5090506127e991906127ed565b5090565b5b808211156128065760008160009055506001016127ee565b5090565b600080fd5b6000819050919050565b6128228161280f565b811461282d57600080fd5b50565b60008135905061283f81612819565b92915050565b60006020828403121561285b5761285a61280a565b5b600061286984828501612830565b91505092915050565b60008115159050919050565b61288781612872565b82525050565b60006020820190506128a2600083018461287e565b92915050565b600080604083850312156128bf576128be61280a565b5b60006128cd85828601612830565b92505060206128de85828601612830565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612913826128e8565b9050919050565b61292381612908565b811461292e57600080fd5b50565b6000813590506129408161291a565b92915050565b60006020828403121561295c5761295b61280a565b5b600061296a84828501612931565b91505092915050565b61297c8161280f565b82525050565b60006060820190506129976000830186612973565b6129a46020830185612973565b6129b16040830184612973565b949350505050565b60006020820190506129ce6000830184612973565b92915050565b6129dd81612908565b82525050565b60006020820190506129f860008301846129d4565b92915050565b600080600060608486031215612a1757612a1661280a565b5b6000612a2586828701612830565b9350506020612a3686828701612830565b9250506040612a4786828701612931565b9150509250925092565b6000819050919050565b6000612a76612a71612a6c846128e8565b612a51565b6128e8565b9050919050565b6000612a8882612a5b565b9050919050565b6000612a9a82612a7d565b9050919050565b612aaa81612a8f565b82525050565b6000602082019050612ac56000830184612aa1565b92915050565b60008060008060808587031215612ae557612ae461280a565b5b6000612af387828801612931565b9450506020612b0487828801612931565b9350506040612b1587828801612830565b9250506060612b2687828801612830565b91505092959194509250565b6000612b3d82612a7d565b9050919050565b612b4d81612b32565b82525050565b6000602082019050612b686000830184612b44565b92915050565b600082825260208201905092915050565b7f496e697469616c20636c61696d2064617461206e6f7420736574000000000000600082015250565b6000612bb5601a83612b6e565b9150612bc082612b7f565b602082019050919050565b60006020820190508181036000830152612be481612ba8565b9050919050565b7f53616c6520696e2070726f677265737300000000000000000000000000000000600082015250565b6000612c21601083612b6e565b9150612c2c82612beb565b602082019050919050565b60006020820190508181036000830152612c5081612c14565b9050919050565b7f436c61696d20737461727420696e207061737400000000000000000000000000600082015250565b6000612c8d601383612b6e565b9150612c9882612c57565b602082019050919050565b60006020820190508181036000830152612cbc81612c80565b9050919050565b7f496e76616c696420706172616d65746572730000000000000000000000000000600082015250565b6000612cf9601283612b6e565b9150612d0482612cc3565b602082019050919050565b60006020820190508181036000830152612d2881612cec565b9050919050565b7f53616c6520616c72656164792073746172746564000000000000000000000000600082015250565b6000612d65601483612b6e565b9150612d7082612d2f565b602082019050919050565b60006020820190508181036000830152612d9481612d58565b9050919050565b7f53616c652074696d6520696e2070617374000000000000000000000000000000600082015250565b6000612dd1601183612b6e565b9150612ddc82612d9b565b602082019050919050565b60006020820190508181036000830152612e0081612dc4565b9050919050565b7f496e76616c696420656e6454696d650000000000000000000000000000000000600082015250565b6000612e3d600f83612b6e565b9150612e4882612e07565b602082019050919050565b60006020820190508181036000830152612e6c81612e30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ead8261280f565b9150612eb88361280f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ef157612ef0612e73565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f368261280f565b9150612f418361280f565b925082612f5157612f50612efc565b5b828204905092915050565b7f53616c6520746f6b656e206e6f74206164646564000000000000000000000000600082015250565b6000612f92601483612b6e565b9150612f9d82612f5c565b602082019050919050565b60006020820190508181036000830152612fc181612f85565b9050919050565b7f4e6f20636c61696d61626c6520746f6b656e7320617661696c61626c65000000600082015250565b6000612ffe601d83612b6e565b915061300982612fc8565b602082019050919050565b6000602082019050818103600083015261302d81612ff1565b9050919050565b600061303f8261280f565b915061304a8361280f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561307f5761307e612e73565b5b828201905092915050565b600060408201905061309f60008301856129d4565b6130ac6020830184612973565b9392505050565b6130bc81612872565b81146130c757600080fd5b50565b6000815190506130d9816130b3565b92915050565b6000602082840312156130f5576130f461280a565b5b6000613103848285016130ca565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000613142601583612b6e565b915061314d8261310c565b602082019050919050565b6000602082019050818103600083015261317181613135565b9050919050565b600060408201905061318d6000830185612973565b61319a6020830184612973565b9392505050565b7f496e76616c69642074696d6520666f7220627579696e67000000000000000000600082015250565b60006131d7601783612b6e565b91506131e2826131a1565b602082019050919050565b60006020820190508181036000830152613206816131ca565b9050919050565b7f496e76616c69642073616c6520616d6f756e7400000000000000000000000000600082015250565b6000613243601383612b6e565b915061324e8261320d565b602082019050919050565b6000602082019050818103600083015261327281613236565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006132af601f83612b6e565b91506132ba82613279565b602082019050919050565b600060208201905081810360008301526132de816132a2565b9050919050565b7f4c657373207061796d656e740000000000000000000000000000000000000000600082015250565b600061331b600c83612b6e565b9150613326826132e5565b602082019050919050565b6000602082019050818103600083015261334a8161330e565b9050919050565b600061335c8261280f565b91506133678361280f565b92508282101561337a57613379612e73565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600069ffffffffffffffffffff82169050919050565b6133d3816133b4565b81146133de57600080fd5b50565b6000815190506133f0816133ca565b92915050565b6000819050919050565b613409816133f6565b811461341457600080fd5b50565b60008151905061342681613400565b92915050565b60008151905061343b81612819565b92915050565b600080600080600060a0868803121561345d5761345c61280a565b5b600061346b888289016133e1565b955050602061347c88828901613417565b945050604061348d8882890161342c565b935050606061349e8882890161342c565b92505060806134af888289016133e1565b9150509295509295909350565b60006134c7826133f6565b91506134d2836133f6565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211600084136000841316161561351157613510612e73565b5b817f8000000000000000000000000000000000000000000000000000000000000000058312600084126000841316161561354e5761354d612e73565b5b827f8000000000000000000000000000000000000000000000000000000000000000058212600084136000841216161561358b5761358a612e73565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff05821260008412600084121616156135c8576135c7612e73565b5b828202905092915050565b60006040820190506135e860008301856129d4565b6135f560208301846129d4565b9392505050565b6000602082840312156136125761361161280a565b5b60006136208482850161342c565b91505092915050565b7f4d616b65207375726520746f2061646420656e6f75676820616c6c6f77616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000613685602183612b6e565b915061369082613629565b604082019050919050565b600060208201905081810360008301526136b481613678565b9050919050565b60006060820190506136d060008301866129d4565b6136dd60208301856129d4565b6136ea6040830184612973565b949350505050565b600081519050919050565b600081905092915050565b60005b8381101561372657808201518184015260208101905061370b565b83811115613735576000848401525b50505050565b6000613746826136f2565b61375081856136fd565b9350613760818560208601613708565b80840191505092915050565b6000613778828461373b565b915081905092915050565b7f546f6b656e207061796d656e74206661696c6564000000000000000000000000600082015250565b60006137b9601483612b6e565b91506137c482613783565b602082019050919050565b600060208201905081810360008301526137e8816137ac565b9050919050565b7f496e76616c696420636c61696d2073746172742074696d650000000000000000600082015250565b6000613825601883612b6e565b9150613830826137ef565b602082019050919050565b6000602082019050818103600083015261385481613818565b9050919050565b7f546f6b656e73206c657373207468616e20736f6c640000000000000000000000600082015250565b6000613891601583612b6e565b915061389c8261385b565b602082019050919050565b600060208201905081810360008301526138c081613884565b9050919050565b7f5a65726f20746f6b656e20616464726573730000000000000000000000000000600082015250565b60006138fd601283612b6e565b9150613908826138c7565b602082019050919050565b6000602082019050818103600083015261392c816138f0565b9050919050565b7f436c61696d20616c726561647920736574000000000000000000000000000000600082015250565b6000613969601183612b6e565b915061397482613933565b602082019050919050565b600060208201905081810360008301526139988161395c565b9050919050565b7f436c61696d2073746172742074696d65206e6f74207365740000000000000000600082015250565b60006139d5601883612b6e565b91506139e08261399f565b602082019050919050565b60006020820190508181036000830152613a04816139c8565b9050919050565b7f4e6f20746f6b656e7320617661696c61626c6520666f72207573657200000000600082015250565b6000613a41601c83612b6e565b9150613a4c82613a0b565b602082019050919050565b60006020820190508181036000830152613a7081613a34565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613ad3602e83612b6e565b9150613ade82613a77565b604082019050919050565b60006020820190508181036000830152613b0281613ac6565b9050919050565b7f5a65726f2061676772656761746f722061646472657373000000000000000000600082015250565b6000613b3f601783612b6e565b9150613b4a82613b09565b602082019050919050565b60006020820190508181036000830152613b6e81613b32565b9050919050565b7f5a65726f20555344542061646472657373000000000000000000000000000000600082015250565b6000613bab601183612b6e565b9150613bb682613b75565b602082019050919050565b60006020820190508181036000830152613bda81613b9e565b9050919050565b7f496e76616c69642074696d650000000000000000000000000000000000000000600082015250565b6000613c17600c83612b6e565b9150613c2282613be1565b602082019050919050565b60006020820190508181036000830152613c4681613c0a565b9050919050565b6000819050919050565b600060ff82169050919050565b6000613c7f613c7a613c7584613c4d565b612a51565b613c57565b9050919050565b613c8f81613c64565b82525050565b6000602082019050613caa6000830184613c86565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d0c602683612b6e565b9150613d1782613cb0565b604082019050919050565b60006020820190508181036000830152613d3b81613cff565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d78602083612b6e565b9150613d8382613d42565b602082019050919050565b60006020820190508181036000830152613da781613d6b565b9050919050565b7f416d6f756e742065786365656473206d617820746f6b656e7320746f20627579600082015250565b6000613de4602083612b6e565b9150613def82613dae565b602082019050919050565b60006020820190508181036000830152613e1381613dd7565b9050919050565b7f496e73756666696369656e7420746f6b656e20616d6f756e742e000000000000600082015250565b6000613e50601a83612b6e565b9150613e5b82613e1a565b602082019050919050565b60006020820190508181036000830152613e7f81613e43565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613ebc601083612b6e565b9150613ec782613e86565b602082019050919050565b60006020820190508181036000830152613eeb81613eaf565b9050919050565b7f4c6f772062616c616e6365000000000000000000000000000000000000000000600082015250565b6000613f28600b83612b6e565b9150613f3382613ef2565b602082019050919050565b60006020820190508181036000830152613f5781613f1b565b9050919050565b50565b6000613f6e6000836136fd565b9150613f7982613f5e565b600082019050919050565b6000613f8f82613f61565b9150819050919050565b7f455448205061796d656e74206661696c65640000000000000000000000000000600082015250565b6000613fcf601283612b6e565b9150613fda82613f99565b602082019050919050565b60006020820190508181036000830152613ffe81613fc2565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000614061602b83612b6e565b915061406c82614005565b604082019050919050565b6000602082019050818103600083015261409081614054565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006140cd601483612b6e565b91506140d882614097565b602082019050919050565b600060208201905081810360008301526140fc816140c0565b905091905056fea26469706673582212204160f339b2eb249722a30a7a6ba9d3a1c1b0d28e6a684f50ddf1674e9fb6175664736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 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.