Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 316 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Reward | 19936861 | 166 days ago | IN | 0 ETH | 0.00018341 | ||||
Claim Reward | 19656026 | 206 days ago | IN | 0 ETH | 0.00248169 | ||||
Claim Reward | 19656016 | 206 days ago | IN | 0 ETH | 0.00272574 | ||||
Claim Reward | 19656013 | 206 days ago | IN | 0 ETH | 0.00274612 | ||||
Stake Esco | 18516506 | 365 days ago | IN | 0 ETH | 0.00781467 | ||||
Claim Reward | 18002581 | 437 days ago | IN | 0 ETH | 0.00024843 | ||||
Claim Reward | 17768165 | 470 days ago | IN | 0 ETH | 0.00050818 | ||||
Claim Reward | 17768145 | 470 days ago | IN | 0 ETH | 0.00051052 | ||||
Claim Reward | 17768022 | 470 days ago | IN | 0 ETH | 0.00054351 | ||||
Claim Reward | 17767924 | 470 days ago | IN | 0 ETH | 0.00051231 | ||||
Claim Reward | 17767900 | 470 days ago | IN | 0 ETH | 0.00062215 | ||||
Claim Reward | 17767874 | 470 days ago | IN | 0 ETH | 0.0004327 | ||||
Claim Reward | 17767636 | 470 days ago | IN | 0 ETH | 0.0044698 | ||||
Claim Reward | 17730281 | 476 days ago | IN | 0 ETH | 0.00342114 | ||||
Claim Reward | 17730274 | 476 days ago | IN | 0 ETH | 0.00406276 | ||||
Claim Reward | 17722679 | 477 days ago | IN | 0 ETH | 0.00739445 | ||||
Claim Reward | 17722668 | 477 days ago | IN | 0 ETH | 0.00884411 | ||||
Claim Reward | 17722659 | 477 days ago | IN | 0 ETH | 0.00945 | ||||
Claim Reward | 17716392 | 478 days ago | IN | 0 ETH | 0.00349243 | ||||
Claim Reward | 17716375 | 478 days ago | IN | 0 ETH | 0.00346386 | ||||
Claim Reward | 17716370 | 478 days ago | IN | 0 ETH | 0.00318785 | ||||
Claim Reward | 17716350 | 478 days ago | IN | 0 ETH | 0.00378711 | ||||
Claim Reward | 17716335 | 478 days ago | IN | 0 ETH | 0.00409266 | ||||
Claim Reward | 17716328 | 478 days ago | IN | 0 ETH | 0.00336406 | ||||
Claim Reward | 17716323 | 478 days ago | IN | 0 ETH | 0.00336655 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EscoStaking
Compiler Version
v0.8.15+commit.e14f2714
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.15; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract EscoStaking is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; uint256 public currentPercentage; uint256 public totalInvestors; uint256 public totalStakedAmount; uint256 public currentLockedAmount; uint256 public totalClaimedReward; uint256 public REWARD_PERIOD = 7 days; uint256 public TOTAL_PERCENTAGE = 1000000000000000000; uint256 public MIN_ESCO_STAKE = 1000 ether; uint256 public MAX_INVESTMENTS = 100; uint256 public LAUNCH_TIME; IERC20 public usdtContract; IERC20 public escoContract; struct Investor { address investorAddress; uint256 totalInvestment; uint256 currentLockedAmount; uint256 startDate; uint256 rewardAmount; uint256[] userInvestments; } struct Investment { address investorAddress; uint256 totalInvestment; uint256 startDate; uint256 claimedDate; uint256 rewardAmount; uint256 rewardPercentage; bool isWithdrawn; } uint256 public currentInvestmentId; mapping(address => Investor) public investors; mapping(uint256 => Investment) public investments; mapping(address => uint256) public totalUserInvestments; address public moderatorAddress; event AmountStaked( address investorAddress, uint256 totalInvestment, uint256 investmentId, uint256 time ); event AmountUnstaked( address investorAddress, uint256 totalInvestment, uint256 investmentId, uint256 time ); event RewardClaimed( address investorAddress, uint256 totalInvestment, uint256 rewardAmount, uint256 investmentId, uint256 time ); constructor( address _usdtAddress, address _escoAddress, address _moderatorAddress, uint256 _launchTime ) { require(_usdtAddress != address(0), "Invalid USDT address"); require(_escoAddress != address(0), "Invalid Esco address"); require(_launchTime >= block.timestamp, "Invalid launch time"); require(_moderatorAddress != address(0), "Invalid Moderator address"); LAUNCH_TIME = _launchTime; usdtContract = IERC20(_usdtAddress); escoContract = IERC20(_escoAddress); moderatorAddress = _moderatorAddress; } modifier onlyModerator() { require( msg.sender == moderatorAddress || msg.sender == owner(), "Only moderator can do this transaction" ); _; } function setModeratorAddress(address _moderatorAddress) external onlyOwner { require(_moderatorAddress != address(0), "Invalid Moderator address"); usdtContract = IERC20(_moderatorAddress); } function setUSDTAddress(address _usdtAddress) external onlyModerator { require(_usdtAddress != address(0), "Invalid USDT address"); usdtContract = IERC20(_usdtAddress); } function setEscoAddress(address _escoAddress) external onlyModerator { require(_escoAddress != address(0), "Invalid Esco address"); escoContract = IERC20(_escoAddress); } function setRewardPercentage( uint256 _rewardPercentage ) external onlyModerator { require( currentPercentage != _rewardPercentage, "Reward Percentage is already same" ); currentPercentage = _rewardPercentage; } function setMinimumStakeAmount( uint256 _minimumStakeAmount ) external onlyModerator { require( _minimumStakeAmount > 0, "Minimum stake amount must be greater than 0" ); MIN_ESCO_STAKE = _minimumStakeAmount; } function getUserInvestments( address _investorAddress ) public view returns (uint256[] memory userInvestments) { userInvestments = investors[_investorAddress].userInvestments; } function stakeEsco(uint256 _amount) external { require(block.timestamp >= LAUNCH_TIME, "Staking is not live yet"); require( _amount >= MIN_ESCO_STAKE, "Cannot stake less than minimum stake ESCO" ); require( totalUserInvestments[msg.sender] < MAX_INVESTMENTS, "Cannot stake more than 100 times" ); if (investors[msg.sender].investorAddress == address(0)) { investors[msg.sender].investorAddress = msg.sender; investors[msg.sender].startDate = block.timestamp; totalInvestors = totalInvestors.add(1); } currentInvestmentId = currentInvestmentId.add(1); totalUserInvestments[msg.sender] = totalUserInvestments[msg.sender].add( 1 ); investors[msg.sender].totalInvestment = investors[msg.sender] .totalInvestment .add(_amount); investors[msg.sender].currentLockedAmount = investors[msg.sender] .currentLockedAmount .add(_amount); investors[msg.sender].userInvestments.push(currentInvestmentId); investments[currentInvestmentId] = Investment({ investorAddress: msg.sender, totalInvestment: _amount, startDate: block.timestamp, claimedDate: 0, rewardAmount: 0, isWithdrawn: false, rewardPercentage: 0 }); totalStakedAmount = totalStakedAmount.add(_amount); currentLockedAmount = currentLockedAmount.add(_amount); emit AmountStaked( msg.sender, _amount, currentInvestmentId, block.timestamp ); escoContract.safeTransferFrom(msg.sender, address(this), _amount); } function unstakeAmount(uint256 _investmentId) external { require( investments[_investmentId].investorAddress == msg.sender, "Caller is not investor" ); require(!investments[_investmentId].isWithdrawn, "Already claimed"); require( getEscoBalance() >= investments[_investmentId].totalInvestment, "Insufficient Esco balance right now" ); investments[_investmentId].isWithdrawn = true; investments[_investmentId].claimedDate = block.timestamp; uint256 _investmentAmount = investments[_investmentId].totalInvestment; currentLockedAmount = currentLockedAmount.sub(_investmentAmount); investors[msg.sender].currentLockedAmount = investors[msg.sender] .currentLockedAmount .sub(_investmentAmount); emit AmountUnstaked( msg.sender, _investmentAmount, currentInvestmentId, block.timestamp ); escoContract.safeTransfer( msg.sender, investments[_investmentId].totalInvestment ); } function getRewardBalance() public view returns (uint256) { return usdtContract.balanceOf(address(this)); } function getEscoBalance() public view returns (uint256) { return escoContract.balanceOf(address(this)); } function calculatePercentage() private view returns (uint256) { uint256 totalPercentage; if (currentLockedAmount > 0) { uint256 rewardBalance = getRewardBalance(); totalPercentage = (rewardBalance.mul(TOTAL_PERCENTAGE)).div( currentLockedAmount ); } return totalPercentage; } function depositReward(uint256 _amount) external onlyModerator { if (_amount > 0) { usdtContract.safeTransferFrom(msg.sender, address(this), _amount); } currentPercentage = calculatePercentage(); } function calculateReward( uint256 _amount ) private view returns (uint256 usdtReward) { usdtReward = _amount.mul(currentPercentage).div(TOTAL_PERCENTAGE); } function getReward( uint256 _investmentId ) public view returns (uint256 usdtReward) { if ( !investments[_investmentId].isWithdrawn && investments[_investmentId].startDate.add(REWARD_PERIOD) <= block.timestamp ) { uint256 _amount = investments[_investmentId].totalInvestment; usdtReward = _amount.mul(currentPercentage).div(TOTAL_PERCENTAGE); } else { usdtReward = 0; } } function claimReward(uint256 _investmentId) external { require( investments[_investmentId].investorAddress == msg.sender, "Caller is not investor" ); require(!investments[_investmentId].isWithdrawn, "Already claimed"); require( investments[_investmentId].startDate.add(REWARD_PERIOD) <= block.timestamp, "Cannot claim reward before 7 days" ); uint256 _investmentAmount = investments[_investmentId].totalInvestment; uint256 _rewardAmount = calculateReward(_investmentAmount); currentLockedAmount = currentLockedAmount.sub(_investmentAmount); investors[msg.sender].currentLockedAmount = investors[msg.sender] .currentLockedAmount .sub(_investmentAmount); investors[msg.sender].rewardAmount = investors[msg.sender] .rewardAmount .add(_rewardAmount); investments[_investmentId].isWithdrawn = true; investments[_investmentId].rewardAmount = _rewardAmount; investments[_investmentId].rewardPercentage = currentPercentage; investments[_investmentId].claimedDate = block.timestamp; totalClaimedReward = totalClaimedReward.add(_rewardAmount); emit RewardClaimed( msg.sender, _investmentAmount, _rewardAmount, currentInvestmentId, block.timestamp ); if (_investmentAmount > 0) { require( getEscoBalance() >= investments[_investmentId].totalInvestment, "Insufficient Esco balance right now" ); escoContract.safeTransfer(msg.sender, _investmentAmount); } if (_rewardAmount > 0) { require( getRewardBalance() >= _rewardAmount, "Insufficient USDT balance right now" ); usdtContract.safeTransfer(msg.sender, _rewardAmount); } } function depositUsdt(uint256 _amount) external onlyModerator { require(_amount > 0, "Invalid usdt amount"); usdtContract.safeTransferFrom(msg.sender, address(this), _amount); } function withdrawUsdt(uint256 _usdtAmount) external onlyModerator { require(_usdtAmount > 0, "Invalid usdt amount"); usdtContract.safeTransfer(msg.sender, _usdtAmount); } function depositEsco(uint256 _amount) external onlyModerator { require(_amount > 0, "Invalid Esco amount"); escoContract.safeTransferFrom(msg.sender, address(this), _amount); } function withdrawEsco(uint256 _escoAmount) external onlyModerator { require(_escoAmount > 0, "Invalid Esco amount"); escoContract.safeTransfer(msg.sender, _escoAmount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// 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 IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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 Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "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":[{"internalType":"address","name":"_usdtAddress","type":"address"},{"internalType":"address","name":"_escoAddress","type":"address"},{"internalType":"address","name":"_moderatorAddress","type":"address"},{"internalType":"uint256","name":"_launchTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"investorAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalInvestment","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"investmentId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"AmountStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"investorAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalInvestment","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"investmentId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"AmountUnstaked","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":"investorAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalInvestment","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"investmentId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"RewardClaimed","type":"event"},{"inputs":[],"name":"LAUNCH_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_INVESTMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_ESCO_STAKE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_investmentId","type":"uint256"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentInvestmentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentLockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositEsco","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositUsdt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"escoContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEscoBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_investmentId","type":"uint256"}],"name":"getReward","outputs":[{"internalType":"uint256","name":"usdtReward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_investorAddress","type":"address"}],"name":"getUserInvestments","outputs":[{"internalType":"uint256[]","name":"userInvestments","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"investments","outputs":[{"internalType":"address","name":"investorAddress","type":"address"},{"internalType":"uint256","name":"totalInvestment","type":"uint256"},{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint256","name":"claimedDate","type":"uint256"},{"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"internalType":"uint256","name":"rewardPercentage","type":"uint256"},{"internalType":"bool","name":"isWithdrawn","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"investors","outputs":[{"internalType":"address","name":"investorAddress","type":"address"},{"internalType":"uint256","name":"totalInvestment","type":"uint256"},{"internalType":"uint256","name":"currentLockedAmount","type":"uint256"},{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"moderatorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_escoAddress","type":"address"}],"name":"setEscoAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumStakeAmount","type":"uint256"}],"name":"setMinimumStakeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_moderatorAddress","type":"address"}],"name":"setModeratorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPercentage","type":"uint256"}],"name":"setRewardPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_usdtAddress","type":"address"}],"name":"setUSDTAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stakeEsco","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalClaimedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalInvestors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalUserInvestments","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":[{"internalType":"uint256","name":"_investmentId","type":"uint256"}],"name":"unstakeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdtContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_escoAmount","type":"uint256"}],"name":"withdrawEsco","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_usdtAmount","type":"uint256"}],"name":"withdrawUsdt","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405262093a80600655670de0b6b3a7640000600755683635c9adc5dea0000060085560646009553480156200003657600080fd5b50604051620045933803806200459383398181016040528101906200005c91906200045d565b6200007c62000070620002ec60201b60201c565b620002f460201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603620000ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000e59062000530565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000160576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200015790620005a2565b60405180910390fd5b42811015620001a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200019d9062000614565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000218576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200020f9062000686565b60405180910390fd5b80600a8190555083600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620006a8565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003ea82620003bd565b9050919050565b620003fc81620003dd565b81146200040857600080fd5b50565b6000815190506200041c81620003f1565b92915050565b6000819050919050565b620004378162000422565b81146200044357600080fd5b50565b60008151905062000457816200042c565b92915050565b600080600080608085870312156200047a5762000479620003b8565b5b60006200048a878288016200040b565b94505060206200049d878288016200040b565b9350506040620004b0878288016200040b565b9250506060620004c38782880162000446565b91505092959194509250565b600082825260208201905092915050565b7f496e76616c696420555344542061646472657373000000000000000000000000600082015250565b600062000518601483620004cf565b91506200052582620004e0565b602082019050919050565b600060208201905081810360008301526200054b8162000509565b9050919050565b7f496e76616c6964204573636f2061646472657373000000000000000000000000600082015250565b60006200058a601483620004cf565b9150620005978262000552565b602082019050919050565b60006020820190508181036000830152620005bd816200057b565b9050919050565b7f496e76616c6964206c61756e63682074696d6500000000000000000000000000600082015250565b6000620005fc601383620004cf565b91506200060982620005c4565b602082019050919050565b600060208201905081810360008301526200062f81620005ed565b9050919050565b7f496e76616c6964204d6f64657261746f72206164647265737300000000000000600082015250565b60006200066e601983620004cf565b91506200067b8262000636565b602082019050919050565b60006020820190508181036000830152620006a1816200065f565b9050919050565b613edb80620006b86000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c8063679e0d3711610130578063c9e17a71116100b8578063d7fd1ed71161007c578063d7fd1ed714610610578063f2fde38b1461062c578063f959189c14610648578063fd345c8a14610664578063ff70369d1461069a57610227565b8063c9e17a711461057e578063cab681381461059a578063cb87f479146105b8578063d3635a02146105d6578063d6d844f4146105f257610227565b8063936c63d9116100ff578063936c63d9146104d85780639c3e0d6a146104f6578063ae169a5014610514578063bd0b053a14610530578063c52c5c881461054e57610227565b8063679e0d371461045e5780636f7bc9be1461047c578063715018a6146104b05780638da5cb5b146104ba57610227565b806329b8caff116101b35780634fbdea4d116101825780634fbdea4d146103ca57806355eba868146103e8578063567e98f9146104045780635e42b45514610422578063611509231461044057610227565b806329b8caff1461035657806329dc839414610374578063459e657f146103925780634a1352c5146103ae57610227565b80630d29fcd4116101fa5780630d29fcd4146102a05780631346f16f146102bc5780631c4b774b146102da5780631e2720ff1461030a57806329695df71461032657610227565b8063022466b51461022c578063031ad30c1461024a57806309653674146102665780630a171df814610282575b600080fd5b6102346106b6565b6040516102419190612d1c565b60405180910390f35b610264600480360381019061025f9190612d68565b6106bc565b005b610280600480360381019061027b9190612d68565b61081c565b005b61028a610937565b6040516102979190612d1c565b60405180910390f35b6102ba60048036038101906102b59190612d68565b61093d565b005b6102c4610a57565b6040516102d19190612d1c565b60405180910390f35b6102f460048036038101906102ef9190612d68565b610afa565b6040516103019190612d1c565b60405180910390f35b610324600480360381019061031f9190612d68565b610bb2565b005b610340600480360381019061033b9190612df3565b610ce9565b60405161034d9190612d1c565b60405180910390f35b61035e610d01565b60405161036b9190612d1c565b60405180910390f35b61037c610d07565b6040516103899190612d1c565b60405180910390f35b6103ac60048036038101906103a79190612d68565b610d0d565b005b6103c860048036038101906103c39190612df3565b611036565b005b6103d26111b6565b6040516103df9190612d1c565b60405180910390f35b61040260048036038101906103fd9190612df3565b6111bc565b005b61040c61133c565b6040516104199190612d1c565b60405180910390f35b61042a611342565b6040516104379190612d1c565b60405180910390f35b6104486113e5565b6040516104559190612e7f565b60405180910390f35b61046661140b565b6040516104739190612d1c565b60405180910390f35b61049660048036038101906104919190612df3565b611411565b6040516104a7959493929190612ea9565b60405180910390f35b6104b8611467565b005b6104c261147b565b6040516104cf9190612efc565b60405180910390f35b6104e06114a4565b6040516104ed9190612d1c565b60405180910390f35b6104fe6114aa565b60405161050b9190612efc565b60405180910390f35b61052e60048036038101906105299190612d68565b6114d0565b005b6105386119f9565b6040516105459190612d1c565b60405180910390f35b61056860048036038101906105639190612df3565b6119ff565b6040516105759190612fd5565b60405180910390f35b61059860048036038101906105939190612d68565b611a99565b005b6105a261213b565b6040516105af9190612d1c565b60405180910390f35b6105c0612141565b6040516105cd9190612d1c565b60405180910390f35b6105f060048036038101906105eb9190612d68565b612147565b005b6105fa6122a7565b6040516106079190612e7f565b60405180910390f35b61062a60048036038101906106259190612df3565b6122cd565b005b61064660048036038101906106419190612df3565b612388565b005b610662600480360381019061065d9190612d68565b61240b565b005b61067e60048036038101906106799190612d68565b61256d565b6040516106919796959493929190613012565b60405180910390f35b6106b460048036038101906106af9190612d68565b6125dc565b005b600a5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061074a575061071b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078090613104565b60405180910390fd5b600081116107cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c390613170565b60405180910390fd5b6108193382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806108aa575061087b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e090613104565b60405180910390fd5b806001540361092d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092490613202565b60405180910390fd5b8060018190555050565b60065481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109cb575061099c61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0190613104565b60405180910390fd5b60008111610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4490613294565b60405180910390fd5b8060088190555050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ab49190612efc565b602060405180830381865afa158015610ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af591906132c9565b905090565b6000600f600083815260200190815260200160002060060160009054906101000a900460ff16158015610b57575042610b54600654600f6000868152602001908152602001600020600201546127c490919063ffffffff16565b11155b15610ba8576000600f6000848152602001908152602001600020600101549050610ba0600754610b92600154846127da90919063ffffffff16565b6127f090919063ffffffff16565b915050610bad565b600090505b919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c405750610c1161147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690613104565b60405180910390fd5b6000811115610cd857610cd7333083600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b5b610ce061288f565b60018190555050565b60106020528060005260406000206000915090505481565b60025481565b60085481565b3373ffffffffffffffffffffffffffffffffffffffff16600f600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da890613342565b60405180910390fd5b600f600082815260200190815260200160002060060160009054906101000a900460ff1615610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c906133ae565b60405180910390fd5b600f600082815260200190815260200160002060010154610e34610a57565b1015610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613440565b60405180910390fd5b6001600f600083815260200190815260200160002060060160006101000a81548160ff02191690831515021790555042600f6000838152602001908152602001600020600301819055506000600f6000838152602001908152602001600020600101549050610eef816004546128dd90919063ffffffff16565b600481905550610f4a81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546128dd90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055507fd9da58e8ea2ff2aad2630127c060f0e108643bf2dd541b7e68739750bcb019213382600d5442604051610fc79493929190613460565b60405180910390a161103233600f600085815260200190815260200160002060010154600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b5050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110c4575061109561147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa90613104565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611169906134f1565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60055481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061124a575061121b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090613104565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef9061355d565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60035481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161139f9190612efc565b602060405180830381865afa1580156113bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e091906132c9565b905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600e6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154905085565b61146f6128f3565b6114796000612971565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600f600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b90613342565b60405180910390fd5b600f600082815260200190815260200160002060060160009054906101000a900460ff16156115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf906133ae565b60405180910390fd5b42611604600654600f6000858152602001908152602001600020600201546127c490919063ffffffff16565b1115611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c906135ef565b60405180910390fd5b6000600f6000838152602001908152602001600020600101549050600061166b82612a35565b9050611682826004546128dd90919063ffffffff16565b6004819055506116dd82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546128dd90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002018190555061177881600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401546127c490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401819055506001600f600085815260200190815260200160002060060160006101000a81548160ff02191690831515021790555080600f600085815260200190815260200160002060040181905550600154600f60008581526020019081526020016000206005018190555042600f600085815260200190815260200160002060030181905550611855816005546127c490919063ffffffff16565b6005819055507f9e80c048bc588b388047ffc6e8153e7c11aa34312de7ed62e1858ff3a44ddce8338383600d5442604051611894959493929190612ea9565b60405180910390a1600082111561195357600f6000848152602001908152602001600020600101546118c4610a57565b1015611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90613440565b60405180910390fd5b6119523383600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b5b60008111156119f45780611965611342565b10156119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90613681565b60405180910390fd5b6119f33382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b5b505050565b60095481565b6060600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501805480602002602001604051908101604052809291908181526020018280548015611a8d57602002820191906000526020600020905b815481526020019060010190808311611a79575b50505050509050919050565b600a54421015611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad5906136ed565b60405180910390fd5b600854811015611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a9061377f565b60405180910390fd5b600954601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d906137eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611d215733600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030181905550611d1a60016002546127c490919063ffffffff16565b6002819055505b611d376001600d546127c490919063ffffffff16565b600d81905550611d906001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127c490919063ffffffff16565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e2881600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546127c490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181905550611ec381600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546127c490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501600d5490806001815401808255809150506001900390600052602060002001600090919091909150556040518060e001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200142815260200160008152602001600081526020016000815260200160001515815250600f6000600d54815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff021916908315150217905550905050612089816003546127c490919063ffffffff16565b6003819055506120a4816004546127c490919063ffffffff16565b6004819055507f49db5b438ba15ac8b63f352e9a664a11bcc15d73cf40fadc2c5e26b1d9ebe1553382600d54426040516120e19493929190613460565b60405180910390a1612138333083600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b50565b60015481565b600d5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121d557506121a661147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220b90613104565b60405180910390fd5b60008111612257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224e90613857565b60405180910390fd5b6122a43382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b50565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6122d56128f3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233b906138c3565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6123906128f3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690613955565b60405180910390fd5b61240881612971565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612499575061246a61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf90613104565b60405180910390fd5b6000811161251b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251290613170565b60405180910390fd5b61256a333083600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b50565b600f6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900460ff16905087565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061266a575061263b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6126a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a090613104565b60405180910390fd5b600081116126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390613857565b60405180910390fd5b61273b333083600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b50565b6127bf8363a9059cbb60e01b848460405160240161275d929190613975565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a67565b505050565b600081836127d291906139cd565b905092915050565b600081836127e89190613a23565b905092915050565b600081836127fe9190613aac565b905092915050565b612889846323b872dd60e01b85858560405160240161282793929190613add565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a67565b50505050565b600080600060045411156128d65760006128a7611342565b90506128d26004546128c4600754846127da90919063ffffffff16565b6127f090919063ffffffff16565b9150505b8091505090565b600081836128eb9190613b14565b905092915050565b6128fb612b2e565b73ffffffffffffffffffffffffffffffffffffffff1661291961147b565b73ffffffffffffffffffffffffffffffffffffffff161461296f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296690613b94565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612a60600754612a52600154856127da90919063ffffffff16565b6127f090919063ffffffff16565b9050919050565b6000612ac9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612b369092919063ffffffff16565b9050600081511115612b295780806020019051810190612ae99190613be0565b612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f90613c7f565b60405180910390fd5b5b505050565b600033905090565b6060612b458484600085612b4e565b90509392505050565b606082471015612b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8a90613d11565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612bbc9190613dab565b60006040518083038185875af1925050503d8060008114612bf9576040519150601f19603f3d011682016040523d82523d6000602084013e612bfe565b606091505b5091509150612c0f87838387612c1b565b92505050949350505050565b60608315612c7d576000835103612c7557612c3585612c90565b612c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6b90613e0e565b60405180910390fd5b5b829050612c88565b612c878383612cb3565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115612cc65781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa9190613e83565b60405180910390fd5b6000819050919050565b612d1681612d03565b82525050565b6000602082019050612d316000830184612d0d565b92915050565b600080fd5b612d4581612d03565b8114612d5057600080fd5b50565b600081359050612d6281612d3c565b92915050565b600060208284031215612d7e57612d7d612d37565b5b6000612d8c84828501612d53565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612dc082612d95565b9050919050565b612dd081612db5565b8114612ddb57600080fd5b50565b600081359050612ded81612dc7565b92915050565b600060208284031215612e0957612e08612d37565b5b6000612e1784828501612dde565b91505092915050565b6000819050919050565b6000612e45612e40612e3b84612d95565b612e20565b612d95565b9050919050565b6000612e5782612e2a565b9050919050565b6000612e6982612e4c565b9050919050565b612e7981612e5e565b82525050565b6000602082019050612e946000830184612e70565b92915050565b612ea381612db5565b82525050565b600060a082019050612ebe6000830188612e9a565b612ecb6020830187612d0d565b612ed86040830186612d0d565b612ee56060830185612d0d565b612ef26080830184612d0d565b9695505050505050565b6000602082019050612f116000830184612e9a565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f4c81612d03565b82525050565b6000612f5e8383612f43565b60208301905092915050565b6000602082019050919050565b6000612f8282612f17565b612f8c8185612f22565b9350612f9783612f33565b8060005b83811015612fc8578151612faf8882612f52565b9750612fba83612f6a565b925050600181019050612f9b565b5085935050505092915050565b60006020820190508181036000830152612fef8184612f77565b905092915050565b60008115159050919050565b61300c81612ff7565b82525050565b600060e082019050613027600083018a612e9a565b6130346020830189612d0d565b6130416040830188612d0d565b61304e6060830187612d0d565b61305b6080830186612d0d565b61306860a0830185612d0d565b61307560c0830184613003565b98975050505050505050565b600082825260208201905092915050565b7f4f6e6c79206d6f64657261746f722063616e20646f2074686973207472616e7360008201527f616374696f6e0000000000000000000000000000000000000000000000000000602082015250565b60006130ee602683613081565b91506130f982613092565b604082019050919050565b6000602082019050818103600083015261311d816130e1565b9050919050565b7f496e76616c6964204573636f20616d6f756e7400000000000000000000000000600082015250565b600061315a601383613081565b915061316582613124565b602082019050919050565b600060208201905081810360008301526131898161314d565b9050919050565b7f5265776172642050657263656e7461676520697320616c72656164792073616d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006131ec602183613081565b91506131f782613190565b604082019050919050565b6000602082019050818103600083015261321b816131df565b9050919050565b7f4d696e696d756d207374616b6520616d6f756e74206d7573742062652067726560008201527f61746572207468616e2030000000000000000000000000000000000000000000602082015250565b600061327e602b83613081565b915061328982613222565b604082019050919050565b600060208201905081810360008301526132ad81613271565b9050919050565b6000815190506132c381612d3c565b92915050565b6000602082840312156132df576132de612d37565b5b60006132ed848285016132b4565b91505092915050565b7f43616c6c6572206973206e6f7420696e766573746f7200000000000000000000600082015250565b600061332c601683613081565b9150613337826132f6565b602082019050919050565b6000602082019050818103600083015261335b8161331f565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000613398600f83613081565b91506133a382613362565b602082019050919050565b600060208201905081810360008301526133c78161338b565b9050919050565b7f496e73756666696369656e74204573636f2062616c616e63652072696768742060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b600061342a602383613081565b9150613435826133ce565b604082019050919050565b600060208201905081810360008301526134598161341d565b9050919050565b60006080820190506134756000830187612e9a565b6134826020830186612d0d565b61348f6040830185612d0d565b61349c6060830184612d0d565b95945050505050565b7f496e76616c6964204573636f2061646472657373000000000000000000000000600082015250565b60006134db601483613081565b91506134e6826134a5565b602082019050919050565b6000602082019050818103600083015261350a816134ce565b9050919050565b7f496e76616c696420555344542061646472657373000000000000000000000000600082015250565b6000613547601483613081565b915061355282613511565b602082019050919050565b600060208201905081810360008301526135768161353a565b9050919050565b7f43616e6e6f7420636c61696d20726577617264206265666f726520372064617960008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006135d9602183613081565b91506135e48261357d565b604082019050919050565b60006020820190508181036000830152613608816135cc565b9050919050565b7f496e73756666696369656e7420555344542062616c616e63652072696768742060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b600061366b602383613081565b91506136768261360f565b604082019050919050565b6000602082019050818103600083015261369a8161365e565b9050919050565b7f5374616b696e67206973206e6f74206c69766520796574000000000000000000600082015250565b60006136d7601783613081565b91506136e2826136a1565b602082019050919050565b60006020820190508181036000830152613706816136ca565b9050919050565b7f43616e6e6f74207374616b65206c657373207468616e206d696e696d756d207360008201527f74616b65204553434f0000000000000000000000000000000000000000000000602082015250565b6000613769602983613081565b91506137748261370d565b604082019050919050565b600060208201905081810360008301526137988161375c565b9050919050565b7f43616e6e6f74207374616b65206d6f7265207468616e203130302074696d6573600082015250565b60006137d5602083613081565b91506137e08261379f565b602082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b7f496e76616c6964207573647420616d6f756e7400000000000000000000000000600082015250565b6000613841601383613081565b915061384c8261380b565b602082019050919050565b6000602082019050818103600083015261387081613834565b9050919050565b7f496e76616c6964204d6f64657261746f72206164647265737300000000000000600082015250565b60006138ad601983613081565b91506138b882613877565b602082019050919050565b600060208201905081810360008301526138dc816138a0565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061393f602683613081565b915061394a826138e3565b604082019050919050565b6000602082019050818103600083015261396e81613932565b9050919050565b600060408201905061398a6000830185612e9a565b6139976020830184612d0d565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139d882612d03565b91506139e383612d03565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a1857613a1761399e565b5b828201905092915050565b6000613a2e82612d03565b9150613a3983612d03565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a7257613a7161399e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ab782612d03565b9150613ac283612d03565b925082613ad257613ad1613a7d565b5b828204905092915050565b6000606082019050613af26000830186612e9a565b613aff6020830185612e9a565b613b0c6040830184612d0d565b949350505050565b6000613b1f82612d03565b9150613b2a83612d03565b925082821015613b3d57613b3c61399e565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b7e602083613081565b9150613b8982613b48565b602082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b613bbd81612ff7565b8114613bc857600080fd5b50565b600081519050613bda81613bb4565b92915050565b600060208284031215613bf657613bf5612d37565b5b6000613c0484828501613bcb565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613c69602a83613081565b9150613c7482613c0d565b604082019050919050565b60006020820190508181036000830152613c9881613c5c565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000613cfb602683613081565b9150613d0682613c9f565b604082019050919050565b60006020820190508181036000830152613d2a81613cee565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015613d65578082015181840152602081019050613d4a565b83811115613d74576000848401525b50505050565b6000613d8582613d31565b613d8f8185613d3c565b9350613d9f818560208601613d47565b80840191505092915050565b6000613db78284613d7a565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613df8601d83613081565b9150613e0382613dc2565b602082019050919050565b60006020820190508181036000830152613e2781613deb565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000613e5582613e2e565b613e5f8185613081565b9350613e6f818560208601613d47565b613e7881613e39565b840191505092915050565b60006020820190508181036000830152613e9d8184613e4a565b90509291505056fea264697066735822122077e8bb0dae6d325695b1dadb58e72ca01a9cb0f5a343cf9628d96fb3e3b2b99264736f6c634300080f0033000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000007163436b8efffb469f6bb81cc908b1661d4795e60000000000000000000000000ed945738f3d76a051ce4a452c5dd4f3bfc81c640000000000000000000000000000000000000000000000000000000064689a20
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c8063679e0d3711610130578063c9e17a71116100b8578063d7fd1ed71161007c578063d7fd1ed714610610578063f2fde38b1461062c578063f959189c14610648578063fd345c8a14610664578063ff70369d1461069a57610227565b8063c9e17a711461057e578063cab681381461059a578063cb87f479146105b8578063d3635a02146105d6578063d6d844f4146105f257610227565b8063936c63d9116100ff578063936c63d9146104d85780639c3e0d6a146104f6578063ae169a5014610514578063bd0b053a14610530578063c52c5c881461054e57610227565b8063679e0d371461045e5780636f7bc9be1461047c578063715018a6146104b05780638da5cb5b146104ba57610227565b806329b8caff116101b35780634fbdea4d116101825780634fbdea4d146103ca57806355eba868146103e8578063567e98f9146104045780635e42b45514610422578063611509231461044057610227565b806329b8caff1461035657806329dc839414610374578063459e657f146103925780634a1352c5146103ae57610227565b80630d29fcd4116101fa5780630d29fcd4146102a05780631346f16f146102bc5780631c4b774b146102da5780631e2720ff1461030a57806329695df71461032657610227565b8063022466b51461022c578063031ad30c1461024a57806309653674146102665780630a171df814610282575b600080fd5b6102346106b6565b6040516102419190612d1c565b60405180910390f35b610264600480360381019061025f9190612d68565b6106bc565b005b610280600480360381019061027b9190612d68565b61081c565b005b61028a610937565b6040516102979190612d1c565b60405180910390f35b6102ba60048036038101906102b59190612d68565b61093d565b005b6102c4610a57565b6040516102d19190612d1c565b60405180910390f35b6102f460048036038101906102ef9190612d68565b610afa565b6040516103019190612d1c565b60405180910390f35b610324600480360381019061031f9190612d68565b610bb2565b005b610340600480360381019061033b9190612df3565b610ce9565b60405161034d9190612d1c565b60405180910390f35b61035e610d01565b60405161036b9190612d1c565b60405180910390f35b61037c610d07565b6040516103899190612d1c565b60405180910390f35b6103ac60048036038101906103a79190612d68565b610d0d565b005b6103c860048036038101906103c39190612df3565b611036565b005b6103d26111b6565b6040516103df9190612d1c565b60405180910390f35b61040260048036038101906103fd9190612df3565b6111bc565b005b61040c61133c565b6040516104199190612d1c565b60405180910390f35b61042a611342565b6040516104379190612d1c565b60405180910390f35b6104486113e5565b6040516104559190612e7f565b60405180910390f35b61046661140b565b6040516104739190612d1c565b60405180910390f35b61049660048036038101906104919190612df3565b611411565b6040516104a7959493929190612ea9565b60405180910390f35b6104b8611467565b005b6104c261147b565b6040516104cf9190612efc565b60405180910390f35b6104e06114a4565b6040516104ed9190612d1c565b60405180910390f35b6104fe6114aa565b60405161050b9190612efc565b60405180910390f35b61052e60048036038101906105299190612d68565b6114d0565b005b6105386119f9565b6040516105459190612d1c565b60405180910390f35b61056860048036038101906105639190612df3565b6119ff565b6040516105759190612fd5565b60405180910390f35b61059860048036038101906105939190612d68565b611a99565b005b6105a261213b565b6040516105af9190612d1c565b60405180910390f35b6105c0612141565b6040516105cd9190612d1c565b60405180910390f35b6105f060048036038101906105eb9190612d68565b612147565b005b6105fa6122a7565b6040516106079190612e7f565b60405180910390f35b61062a60048036038101906106259190612df3565b6122cd565b005b61064660048036038101906106419190612df3565b612388565b005b610662600480360381019061065d9190612d68565b61240b565b005b61067e60048036038101906106799190612d68565b61256d565b6040516106919796959493929190613012565b60405180910390f35b6106b460048036038101906106af9190612d68565b6125dc565b005b600a5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061074a575061071b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078090613104565b60405180910390fd5b600081116107cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c390613170565b60405180910390fd5b6108193382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806108aa575061087b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e090613104565b60405180910390fd5b806001540361092d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092490613202565b60405180910390fd5b8060018190555050565b60065481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109cb575061099c61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0190613104565b60405180910390fd5b60008111610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4490613294565b60405180910390fd5b8060088190555050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ab49190612efc565b602060405180830381865afa158015610ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af591906132c9565b905090565b6000600f600083815260200190815260200160002060060160009054906101000a900460ff16158015610b57575042610b54600654600f6000868152602001908152602001600020600201546127c490919063ffffffff16565b11155b15610ba8576000600f6000848152602001908152602001600020600101549050610ba0600754610b92600154846127da90919063ffffffff16565b6127f090919063ffffffff16565b915050610bad565b600090505b919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c405750610c1161147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690613104565b60405180910390fd5b6000811115610cd857610cd7333083600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b5b610ce061288f565b60018190555050565b60106020528060005260406000206000915090505481565b60025481565b60085481565b3373ffffffffffffffffffffffffffffffffffffffff16600f600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da890613342565b60405180910390fd5b600f600082815260200190815260200160002060060160009054906101000a900460ff1615610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c906133ae565b60405180910390fd5b600f600082815260200190815260200160002060010154610e34610a57565b1015610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613440565b60405180910390fd5b6001600f600083815260200190815260200160002060060160006101000a81548160ff02191690831515021790555042600f6000838152602001908152602001600020600301819055506000600f6000838152602001908152602001600020600101549050610eef816004546128dd90919063ffffffff16565b600481905550610f4a81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546128dd90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055507fd9da58e8ea2ff2aad2630127c060f0e108643bf2dd541b7e68739750bcb019213382600d5442604051610fc79493929190613460565b60405180910390a161103233600f600085815260200190815260200160002060010154600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b5050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110c4575061109561147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa90613104565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611169906134f1565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60055481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061124a575061121b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090613104565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef9061355d565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60035481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161139f9190612efc565b602060405180830381865afa1580156113bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e091906132c9565b905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600e6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154905085565b61146f6128f3565b6114796000612971565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600f600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b90613342565b60405180910390fd5b600f600082815260200190815260200160002060060160009054906101000a900460ff16156115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf906133ae565b60405180910390fd5b42611604600654600f6000858152602001908152602001600020600201546127c490919063ffffffff16565b1115611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c906135ef565b60405180910390fd5b6000600f6000838152602001908152602001600020600101549050600061166b82612a35565b9050611682826004546128dd90919063ffffffff16565b6004819055506116dd82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546128dd90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002018190555061177881600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401546127c490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401819055506001600f600085815260200190815260200160002060060160006101000a81548160ff02191690831515021790555080600f600085815260200190815260200160002060040181905550600154600f60008581526020019081526020016000206005018190555042600f600085815260200190815260200160002060030181905550611855816005546127c490919063ffffffff16565b6005819055507f9e80c048bc588b388047ffc6e8153e7c11aa34312de7ed62e1858ff3a44ddce8338383600d5442604051611894959493929190612ea9565b60405180910390a1600082111561195357600f6000848152602001908152602001600020600101546118c4610a57565b1015611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90613440565b60405180910390fd5b6119523383600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b5b60008111156119f45780611965611342565b10156119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90613681565b60405180910390fd5b6119f33382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b5b505050565b60095481565b6060600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501805480602002602001604051908101604052809291908181526020018280548015611a8d57602002820191906000526020600020905b815481526020019060010190808311611a79575b50505050509050919050565b600a54421015611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad5906136ed565b60405180910390fd5b600854811015611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a9061377f565b60405180910390fd5b600954601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d906137eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611d215733600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030181905550611d1a60016002546127c490919063ffffffff16565b6002819055505b611d376001600d546127c490919063ffffffff16565b600d81905550611d906001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127c490919063ffffffff16565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e2881600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546127c490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181905550611ec381600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546127c490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501600d5490806001815401808255809150506001900390600052602060002001600090919091909150556040518060e001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200142815260200160008152602001600081526020016000815260200160001515815250600f6000600d54815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff021916908315150217905550905050612089816003546127c490919063ffffffff16565b6003819055506120a4816004546127c490919063ffffffff16565b6004819055507f49db5b438ba15ac8b63f352e9a664a11bcc15d73cf40fadc2c5e26b1d9ebe1553382600d54426040516120e19493929190613460565b60405180910390a1612138333083600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b50565b60015481565b600d5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121d557506121a661147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220b90613104565b60405180910390fd5b60008111612257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224e90613857565b60405180910390fd5b6122a43382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661273e9092919063ffffffff16565b50565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6122d56128f3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233b906138c3565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6123906128f3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690613955565b60405180910390fd5b61240881612971565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612499575061246a61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf90613104565b60405180910390fd5b6000811161251b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251290613170565b60405180910390fd5b61256a333083600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b50565b600f6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900460ff16905087565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061266a575061263b61147b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6126a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a090613104565b60405180910390fd5b600081116126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390613857565b60405180910390fd5b61273b333083600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612806909392919063ffffffff16565b50565b6127bf8363a9059cbb60e01b848460405160240161275d929190613975565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a67565b505050565b600081836127d291906139cd565b905092915050565b600081836127e89190613a23565b905092915050565b600081836127fe9190613aac565b905092915050565b612889846323b872dd60e01b85858560405160240161282793929190613add565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a67565b50505050565b600080600060045411156128d65760006128a7611342565b90506128d26004546128c4600754846127da90919063ffffffff16565b6127f090919063ffffffff16565b9150505b8091505090565b600081836128eb9190613b14565b905092915050565b6128fb612b2e565b73ffffffffffffffffffffffffffffffffffffffff1661291961147b565b73ffffffffffffffffffffffffffffffffffffffff161461296f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296690613b94565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612a60600754612a52600154856127da90919063ffffffff16565b6127f090919063ffffffff16565b9050919050565b6000612ac9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612b369092919063ffffffff16565b9050600081511115612b295780806020019051810190612ae99190613be0565b612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f90613c7f565b60405180910390fd5b5b505050565b600033905090565b6060612b458484600085612b4e565b90509392505050565b606082471015612b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8a90613d11565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612bbc9190613dab565b60006040518083038185875af1925050503d8060008114612bf9576040519150601f19603f3d011682016040523d82523d6000602084013e612bfe565b606091505b5091509150612c0f87838387612c1b565b92505050949350505050565b60608315612c7d576000835103612c7557612c3585612c90565b612c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6b90613e0e565b60405180910390fd5b5b829050612c88565b612c878383612cb3565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115612cc65781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa9190613e83565b60405180910390fd5b6000819050919050565b612d1681612d03565b82525050565b6000602082019050612d316000830184612d0d565b92915050565b600080fd5b612d4581612d03565b8114612d5057600080fd5b50565b600081359050612d6281612d3c565b92915050565b600060208284031215612d7e57612d7d612d37565b5b6000612d8c84828501612d53565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612dc082612d95565b9050919050565b612dd081612db5565b8114612ddb57600080fd5b50565b600081359050612ded81612dc7565b92915050565b600060208284031215612e0957612e08612d37565b5b6000612e1784828501612dde565b91505092915050565b6000819050919050565b6000612e45612e40612e3b84612d95565b612e20565b612d95565b9050919050565b6000612e5782612e2a565b9050919050565b6000612e6982612e4c565b9050919050565b612e7981612e5e565b82525050565b6000602082019050612e946000830184612e70565b92915050565b612ea381612db5565b82525050565b600060a082019050612ebe6000830188612e9a565b612ecb6020830187612d0d565b612ed86040830186612d0d565b612ee56060830185612d0d565b612ef26080830184612d0d565b9695505050505050565b6000602082019050612f116000830184612e9a565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f4c81612d03565b82525050565b6000612f5e8383612f43565b60208301905092915050565b6000602082019050919050565b6000612f8282612f17565b612f8c8185612f22565b9350612f9783612f33565b8060005b83811015612fc8578151612faf8882612f52565b9750612fba83612f6a565b925050600181019050612f9b565b5085935050505092915050565b60006020820190508181036000830152612fef8184612f77565b905092915050565b60008115159050919050565b61300c81612ff7565b82525050565b600060e082019050613027600083018a612e9a565b6130346020830189612d0d565b6130416040830188612d0d565b61304e6060830187612d0d565b61305b6080830186612d0d565b61306860a0830185612d0d565b61307560c0830184613003565b98975050505050505050565b600082825260208201905092915050565b7f4f6e6c79206d6f64657261746f722063616e20646f2074686973207472616e7360008201527f616374696f6e0000000000000000000000000000000000000000000000000000602082015250565b60006130ee602683613081565b91506130f982613092565b604082019050919050565b6000602082019050818103600083015261311d816130e1565b9050919050565b7f496e76616c6964204573636f20616d6f756e7400000000000000000000000000600082015250565b600061315a601383613081565b915061316582613124565b602082019050919050565b600060208201905081810360008301526131898161314d565b9050919050565b7f5265776172642050657263656e7461676520697320616c72656164792073616d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006131ec602183613081565b91506131f782613190565b604082019050919050565b6000602082019050818103600083015261321b816131df565b9050919050565b7f4d696e696d756d207374616b6520616d6f756e74206d7573742062652067726560008201527f61746572207468616e2030000000000000000000000000000000000000000000602082015250565b600061327e602b83613081565b915061328982613222565b604082019050919050565b600060208201905081810360008301526132ad81613271565b9050919050565b6000815190506132c381612d3c565b92915050565b6000602082840312156132df576132de612d37565b5b60006132ed848285016132b4565b91505092915050565b7f43616c6c6572206973206e6f7420696e766573746f7200000000000000000000600082015250565b600061332c601683613081565b9150613337826132f6565b602082019050919050565b6000602082019050818103600083015261335b8161331f565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000613398600f83613081565b91506133a382613362565b602082019050919050565b600060208201905081810360008301526133c78161338b565b9050919050565b7f496e73756666696369656e74204573636f2062616c616e63652072696768742060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b600061342a602383613081565b9150613435826133ce565b604082019050919050565b600060208201905081810360008301526134598161341d565b9050919050565b60006080820190506134756000830187612e9a565b6134826020830186612d0d565b61348f6040830185612d0d565b61349c6060830184612d0d565b95945050505050565b7f496e76616c6964204573636f2061646472657373000000000000000000000000600082015250565b60006134db601483613081565b91506134e6826134a5565b602082019050919050565b6000602082019050818103600083015261350a816134ce565b9050919050565b7f496e76616c696420555344542061646472657373000000000000000000000000600082015250565b6000613547601483613081565b915061355282613511565b602082019050919050565b600060208201905081810360008301526135768161353a565b9050919050565b7f43616e6e6f7420636c61696d20726577617264206265666f726520372064617960008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006135d9602183613081565b91506135e48261357d565b604082019050919050565b60006020820190508181036000830152613608816135cc565b9050919050565b7f496e73756666696369656e7420555344542062616c616e63652072696768742060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b600061366b602383613081565b91506136768261360f565b604082019050919050565b6000602082019050818103600083015261369a8161365e565b9050919050565b7f5374616b696e67206973206e6f74206c69766520796574000000000000000000600082015250565b60006136d7601783613081565b91506136e2826136a1565b602082019050919050565b60006020820190508181036000830152613706816136ca565b9050919050565b7f43616e6e6f74207374616b65206c657373207468616e206d696e696d756d207360008201527f74616b65204553434f0000000000000000000000000000000000000000000000602082015250565b6000613769602983613081565b91506137748261370d565b604082019050919050565b600060208201905081810360008301526137988161375c565b9050919050565b7f43616e6e6f74207374616b65206d6f7265207468616e203130302074696d6573600082015250565b60006137d5602083613081565b91506137e08261379f565b602082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b7f496e76616c6964207573647420616d6f756e7400000000000000000000000000600082015250565b6000613841601383613081565b915061384c8261380b565b602082019050919050565b6000602082019050818103600083015261387081613834565b9050919050565b7f496e76616c6964204d6f64657261746f72206164647265737300000000000000600082015250565b60006138ad601983613081565b91506138b882613877565b602082019050919050565b600060208201905081810360008301526138dc816138a0565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061393f602683613081565b915061394a826138e3565b604082019050919050565b6000602082019050818103600083015261396e81613932565b9050919050565b600060408201905061398a6000830185612e9a565b6139976020830184612d0d565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139d882612d03565b91506139e383612d03565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a1857613a1761399e565b5b828201905092915050565b6000613a2e82612d03565b9150613a3983612d03565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a7257613a7161399e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ab782612d03565b9150613ac283612d03565b925082613ad257613ad1613a7d565b5b828204905092915050565b6000606082019050613af26000830186612e9a565b613aff6020830185612e9a565b613b0c6040830184612d0d565b949350505050565b6000613b1f82612d03565b9150613b2a83612d03565b925082821015613b3d57613b3c61399e565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b7e602083613081565b9150613b8982613b48565b602082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b613bbd81612ff7565b8114613bc857600080fd5b50565b600081519050613bda81613bb4565b92915050565b600060208284031215613bf657613bf5612d37565b5b6000613c0484828501613bcb565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613c69602a83613081565b9150613c7482613c0d565b604082019050919050565b60006020820190508181036000830152613c9881613c5c565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000613cfb602683613081565b9150613d0682613c9f565b604082019050919050565b60006020820190508181036000830152613d2a81613cee565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015613d65578082015181840152602081019050613d4a565b83811115613d74576000848401525b50505050565b6000613d8582613d31565b613d8f8185613d3c565b9350613d9f818560208601613d47565b80840191505092915050565b6000613db78284613d7a565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613df8601d83613081565b9150613e0382613dc2565b602082019050919050565b60006020820190508181036000830152613e2781613deb565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000613e5582613e2e565b613e5f8185613081565b9350613e6f818560208601613d47565b613e7881613e39565b840191505092915050565b60006020820190508181036000830152613e9d8184613e4a565b90509291505056fea264697066735822122077e8bb0dae6d325695b1dadb58e72ca01a9cb0f5a343cf9628d96fb3e3b2b99264736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000007163436b8efffb469f6bb81cc908b1661d4795e60000000000000000000000000ed945738f3d76a051ce4a452c5dd4f3bfc81c640000000000000000000000000000000000000000000000000000000064689a20
-----Decoded View---------------
Arg [0] : _usdtAddress (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [1] : _escoAddress (address): 0x7163436b8EfFfB469F6BB81cc908b1661d4795e6
Arg [2] : _moderatorAddress (address): 0x0Ed945738F3D76a051ce4a452c5Dd4f3bfC81C64
Arg [3] : _launchTime (uint256): 1684576800
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [1] : 0000000000000000000000007163436b8efffb469f6bb81cc908b1661d4795e6
Arg [2] : 0000000000000000000000000ed945738f3d76a051ce4a452c5dd4f3bfc81c64
Arg [3] : 0000000000000000000000000000000000000000000000000000000064689a20
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1 | 2.1473 | $2.15 |
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.