More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 983 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Currenc... | 18460631 | 364 days ago | IN | 0 ETH | 0.0003166 | ||||
Withdraw Currenc... | 18459994 | 364 days ago | IN | 0 ETH | 0.00037839 | ||||
Withdraw Currenc... | 18459978 | 364 days ago | IN | 0 ETH | 0.0003575 | ||||
Withdraw Currenc... | 18459957 | 364 days ago | IN | 0 ETH | 0.00035715 | ||||
Withdraw Currenc... | 18459909 | 364 days ago | IN | 0 ETH | 0.0003605 | ||||
Withdraw Currenc... | 18459892 | 364 days ago | IN | 0 ETH | 0.00040064 | ||||
Withdraw Currenc... | 18459725 | 364 days ago | IN | 0 ETH | 0.00037458 | ||||
Withdraw Currenc... | 18459709 | 364 days ago | IN | 0 ETH | 0.00039882 | ||||
Withdraw Currenc... | 18459667 | 364 days ago | IN | 0 ETH | 0.00042474 | ||||
Withdraw Currenc... | 18459647 | 364 days ago | IN | 0 ETH | 0.00042345 | ||||
Withdraw Currenc... | 18459632 | 364 days ago | IN | 0 ETH | 0.00036898 | ||||
Withdraw Currenc... | 18459622 | 364 days ago | IN | 0 ETH | 0.00036289 | ||||
Withdraw Currenc... | 18459608 | 364 days ago | IN | 0 ETH | 0.00036859 | ||||
Withdraw Currenc... | 18459595 | 364 days ago | IN | 0 ETH | 0.00039912 | ||||
Withdraw Currenc... | 18459546 | 364 days ago | IN | 0 ETH | 0.00039064 | ||||
Withdraw Currenc... | 18458342 | 364 days ago | IN | 0 ETH | 0.00059971 | ||||
Withdraw Currenc... | 18458326 | 364 days ago | IN | 0 ETH | 0.00058711 | ||||
Withdraw Currenc... | 18458298 | 364 days ago | IN | 0 ETH | 0.00064567 | ||||
Withdraw Currenc... | 18458286 | 364 days ago | IN | 0 ETH | 0.00047748 | ||||
Withdraw Currenc... | 18453346 | 365 days ago | IN | 0 ETH | 0.00028026 | ||||
Withdraw Currenc... | 18452530 | 365 days ago | IN | 0 ETH | 0.00035493 | ||||
Withdraw Currenc... | 18452007 | 365 days ago | IN | 0 ETH | 0.00026901 | ||||
Withdraw Currenc... | 18451157 | 365 days ago | IN | 0 ETH | 0.00040595 | ||||
Withdraw Currenc... | 18450831 | 365 days ago | IN | 0 ETH | 0.00044585 | ||||
Withdraw Currenc... | 18450657 | 366 days ago | IN | 0 ETH | 0.00071941 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18460631 | 364 days ago | 0.06 ETH | ||||
18459994 | 364 days ago | 0.2 ETH | ||||
18459978 | 364 days ago | 0.2 ETH | ||||
18459957 | 364 days ago | 0.2 ETH | ||||
18459909 | 364 days ago | 0.2 ETH | ||||
18459892 | 364 days ago | 0.2 ETH | ||||
18459725 | 364 days ago | 0.2 ETH | ||||
18459709 | 364 days ago | 0.2 ETH | ||||
18459667 | 364 days ago | 0.2 ETH | ||||
18459647 | 364 days ago | 0.2 ETH | ||||
18459632 | 364 days ago | 0.4 ETH | ||||
18459622 | 364 days ago | 0.2 ETH | ||||
18459608 | 364 days ago | 0.2 ETH | ||||
18459595 | 364 days ago | 0.2 ETH | ||||
18459546 | 364 days ago | 0.2 ETH | ||||
18458342 | 364 days ago | 0.2 ETH | ||||
18458326 | 364 days ago | 0.2 ETH | ||||
18458298 | 364 days ago | 0.2 ETH | ||||
18458286 | 364 days ago | 0.2 ETH | ||||
18453346 | 365 days ago | 1.00000009 ETH | ||||
18452530 | 365 days ago | 0.5 ETH | ||||
18452007 | 365 days ago | 0.3 ETH | ||||
18451157 | 365 days ago | 0.2 ETH | ||||
18450831 | 365 days ago | 0.1 ETH | ||||
18450657 | 366 days ago | 0.4 ETH |
Loading...
Loading
Contract Name:
XZOsale
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// File: contracts/WXZO.sol // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) // Exzo, Wrapped XZO, Exzo Network and any affiliated abbreviations or names including but not limited to Exzo, WXZO, XZO, and so on are not in any form the sale of a security // or to be representing the form of a security or investment. It should not be viewed as a way to make profit or as an invesment of funds. // Exzo (XZO) is strictly for use within the Exzo Network ecosystem and is not an investment in a company or companies management. // Exzo (XZO) has managers but has no owner and is decentralized. // Anyone in unregulated countries or industries or reside in countries banned from the use of or purchase of cryptocurrencies are restricted from // purchasing Exzo(XZO). It is the users own duediligence to know if they are in a restricted territory or region and Exzo (XZO), Exzo Network, and any of their // affiliated names or abbreviations are not responsible for any unlawful actions or misrepresentations. // Exzo (XZO), Exzo Network, and any of their affiliated names or abbreviations or services are not responsible for any loss of funds or digital assets due to // any of it's services or technologies as they are published as is. // Whomever purchases Exzo (XZO) or any digital assets on the Exzo Network platform has undeniably agreed to these terms and conditions and cannot subject // Exzo Network, Exzo, XZO (or any affiliated name or abbreviation) to any wrong doings or unlawful practices. // This smart contract does NOT represent the sale of a security or shares in a company or ownership of a company or any form of investment and is not // to be viewed as such. There is no liability or expectations of profits or losses when purchasing Exzo (XZO) or its affiliated tokens Wrappeed Exzo (WXZO). // When purchasing Exzo (XZO) you fully and undeniably agree to the terms set forth that Exzo and any affiliated names, services, or abbreviations such as XZO, WXZO, // and Exzo Network but not limited to just those are not an investment of money, funds, or assets in a company, individual, management team. // Any participating party in purchasing Exzo (XZO) or Wrapped Exzo (XZO) also fully and undeniably agrees to all of the above terms and conditions. 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 substraction 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; } } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); } // File @openzeppelin/contracts/utils/[email protected] // 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; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } } // File contracts/OwnerWithdrawable.sol pragma solidity ^0.8.0; contract OwnerWithdrawable is Ownable { using SafeMath for uint256; receive() external payable {} fallback() external payable {} function withdraw(address token, uint256 amt) public onlyOwner { IERC20(token).transfer(msg.sender, amt); } function withdrawAll(address token) public onlyOwner { uint256 amt = IERC20(token).balanceOf(address(this)); withdraw(token, amt); } function withdrawCurrency(uint256 amt) public onlyOwner { payable(msg.sender).transfer(amt); } // function deposit(address token, uint256 amt) public onlyOwner { // uint256 allowance = IERC20(token).allowance(msg.sender, address(this)); // require(allowance >= amt, "Check the token allowance"); // IERC20(token).transferFrom(owner(), address(this), amt); // } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev 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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/token/ERC20/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @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)); } } /** * @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"); } } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File contracts/IRouter.sol pragma solidity ^0.8.0; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } // pragma solidity >=0.6.2; interface IRouter is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } // File contracts/Sale.sol pragma solidity ^0.8.0; contract XZOsale is OwnerWithdrawable { using SafeMath for uint256; using SafeERC20 for IERC20; using SafeERC20 for IERC20Metadata; // pancakeswpa router IRouter public router; //Rate wrt to Native Currency of the chain uint256 public rate; // Token for which sale is being done address public saleToken; uint public saleTokenDec; //Total tokens to be sold in the presale uint256 public totalTokensforSale; // Whitelist of tokens to buy from mapping(address => bool) public tokenWL; // 1 Token price in terms of WL tokens mapping(address => uint256) public tokenPrices; //Time when Sale starts uint256 public preSaleStartTime; //Time when Sale ends uint256 public preSaleEndTime; uint256 public totalTokensSold; constructor() { } //modifier to check if the sale has already started modifier saleStarted(){ if(preSaleStartTime != 0){ require(block.timestamp < preSaleStartTime, "Sale: Sale has already started. Cannot change Sale Params!"); } _; } //modifier to check if the sale has ended modifier saleEnded(){ if(preSaleEndTime != 0){ require(block.timestamp < preSaleEndTime, "Sale: Sale has already ended. Cannot change Sale Params!"); } _; } //modifier to check if the sale is active or not modifier saleDuration(){ require(block.timestamp > preSaleStartTime, "Sale: Sale hasn't started"); require(block.timestamp < preSaleEndTime, "Sale: Sale has already ended"); _; } //modifier to check if the Sale Duration and Locking periods are valid or not modifier saleValid( uint256 _preSaleStartTime, uint256 _preSaleEndTime ){ require(block.timestamp < _preSaleStartTime, "Sale: Starting time is less than current TimeStamp!"); require(_preSaleStartTime < _preSaleEndTime, "Sale: Invalid Sale Dates!"); _; } //function to set information of Token sold in Sale and its rate in Native currency function setSaleTokenParams( address _saleToken, uint256 _totalTokensforSale, uint256 _rate )external onlyOwner saleStarted{ require(_rate != 0, "PreSale: Invalid Native Currency rate!"); rate = _rate; saleToken = _saleToken; saleTokenDec = IERC20Metadata(saleToken).decimals(); totalTokensforSale = _totalTokensforSale; IERC20(saleToken).safeTransferFrom(msg.sender, address(this), totalTokensforSale); } //function to set Sale duration and locking periods function setSalePeriodParams( uint256 _preSaleStartTime, uint256 _preSaleEndTime )external onlyOwner saleStarted saleValid(_preSaleStartTime, _preSaleEndTime){ preSaleStartTime = _preSaleStartTime; preSaleEndTime = _preSaleEndTime; } // Add a token to buy sale token from, with price function addWhiteListedToken( address[] memory _tokens, uint256[] memory _prices ) external onlyOwner saleEnded{ require( _tokens.length == _prices.length, "Sale: tokens & prices arrays length mismatch" ); for (uint256 i = 0; i < _tokens.length; i++) { require(_prices[i] != 0, "Sale: Cannot set price to 0"); tokenWL[_tokens[i]] = true; tokenPrices[_tokens[i]] = _prices[i]; } } function updateTokenRate( address[] memory _tokens, uint256[] memory _prices, uint256 _rate )external onlyOwner{ require( _tokens.length == _prices.length, "Sale: tokens & prices arrays length mismatch" ); if(_rate != 0){ rate = _rate; } for(uint256 i = 0; i < _tokens.length; i+=1){ require(tokenWL[_tokens[i]] == true, "sale: Token not whitelisted"); require(_prices[i] != 0, "Sale: Cannot set rate as 0"); tokenPrices[_tokens[i]] = _prices[i]; } } // Stop the Sale function stopSale() external onlyOwner { require(block.timestamp > preSaleStartTime, "Sale: Sale hasn't started yet!"); if(block.timestamp < preSaleEndTime){ preSaleEndTime = block.timestamp; } } // Public view function to calculate amount of sale tokens returned if you buy using "amount" of "token" function getTokenAmount(address token, uint256 amount) public view returns (uint256) { uint256 amtOut; if(token != address(0)){ require(tokenWL[token] == true, "Sale: Token not whitelisted"); // uint tokenDec = IERC20(token).decimals(); uint256 price = tokenPrices[token]; amtOut = amount.mul(10**saleTokenDec).div(price); } else{ amtOut = amount.mul(10**saleTokenDec).div(rate); } return amtOut; } // Public Function to buy tokens. APPROVAL needs to be done first function buyToken(address _token, uint256 _amount) external payable saleDuration{ uint256 saleTokenAmt; if(_token != address(0)){ require(_amount > 0, "Purchase Cannot buy with zero amount"); require(tokenWL[_token] == true, "Purchase: Token not whitelisted"); saleTokenAmt = getTokenAmount(_token, _amount); IERC20(_token).safeTransferFrom(msg.sender, address(this), _amount); } else{ saleTokenAmt = getTokenAmount(address(0), msg.value); } require((totalTokensSold + saleTokenAmt) < totalTokensforSale, "Sale: Total Token Sale Reached!"); IERC20(saleToken).safeTransfer(msg.sender, saleTokenAmt); // Update Stats totalTokensSold += saleTokenAmt; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256[]","name":"_prices","type":"uint256[]"}],"name":"addWhiteListedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"buyToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleTokenDec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleStartTime","type":"uint256"},{"internalType":"uint256","name":"_preSaleEndTime","type":"uint256"}],"name":"setSalePeriodParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_saleToken","type":"address"},{"internalType":"uint256","name":"_totalTokensforSale","type":"uint256"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setSaleTokenParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenPrices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenWL","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensforSale","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":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256[]","name":"_prices","type":"uint256[]"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"updateTokenRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"withdrawCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5062000032620000266200003860201b60201c565b6200004060201b60201c565b62000104565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61324a80620001146000396000f3fe6080604052600436106101445760003560e01c80638ce0b9d2116100b6578063e985e3671161006f578063e985e3671461041f578063f2b5f6601461044a578063f2fde38b14610473578063f3fef3a31461049c578063f887ea40146104c5578063fa09e630146104f05761014b565b80638ce0b9d2146103215780638da5cb5b1461035e578063ace1741c14610389578063b765ef59146103b4578063cce29ea7146103dd578063e36b0b37146104085761014b565b80633115329e116101085780633115329e146102465780633c00a36c1461026f57806363b201171461029857806368f8fc10146102c35780636bcedf9c146102df578063715018a61461030a5761014b565b806306d65af31461014d5780630c1453f114610178578063115ece4c146101a1578063204120bc146101de5780632c4e722e1461021b5761014b565b3661014b57005b005b34801561015957600080fd5b50610162610519565b60405161016f9190611c65565b60405180910390f35b34801561018457600080fd5b5061019f600480360381019061019a9190611d1e565b61051f565b005b3480156101ad57600080fd5b506101c860048036038101906101c39190611d71565b61076d565b6040516101d59190611c65565b60405180910390f35b3480156101ea57600080fd5b5061020560048036038101906102009190611db1565b6108f8565b6040516102129190611c65565b60405180910390f35b34801561022757600080fd5b50610230610910565b60405161023d9190611c65565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190611ffa565b610916565b005b34801561027b57600080fd5b5061029660048036038101906102919190612085565b610b8f565b005b3480156102a457600080fd5b506102ad610c55565b6040516102ba9190611c65565b60405180910390f35b6102dd60048036038101906102d89190611d71565b610c5b565b005b3480156102eb57600080fd5b506102f4610ef6565b6040516103019190611c65565b60405180910390f35b34801561031657600080fd5b5061031f610efc565b005b34801561032d57600080fd5b5061034860048036038101906103439190611db1565b610f84565b60405161035591906120cd565b60405180910390f35b34801561036a57600080fd5b50610373610fa4565b60405161038091906120f7565b60405180910390f35b34801561039557600080fd5b5061039e610fcd565b6040516103ab9190611c65565b60405180910390f35b3480156103c057600080fd5b506103db60048036038101906103d69190612112565b610fd3565b005b3480156103e957600080fd5b506103f261124e565b6040516103ff9190611c65565b60405180910390f35b34801561041457600080fd5b5061041d611254565b005b34801561042b57600080fd5b50610434611328565b60405161044191906120f7565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c919061218a565b61134e565b005b34801561047f57600080fd5b5061049a60048036038101906104959190611db1565b6114b3565b005b3480156104a857600080fd5b506104c360048036038101906104be9190611d71565b6115ab565b005b3480156104d157600080fd5b506104da6116aa565b6040516104e79190612229565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190611db1565b6116d0565b005b60085481565b6105276117d8565b73ffffffffffffffffffffffffffffffffffffffff16610545610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461059b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610592906122a1565b60405180910390fd5b6000600854146105ea5760085442106105e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e090612333565b60405180910390fd5b5b600081141561062e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610625906123c5565b60405180910390fd5b8060028190555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610707919061241e565b60ff16600481905550816005819055506107683330600554600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117e0909392919063ffffffff16565b505050565b600080600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146108b65760011515600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e90612497565b60405180910390fd5b6000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506108ae816108a0600454600a6108919190612619565b8761186990919063ffffffff16565b61187f90919063ffffffff16565b9150506108ee565b6108eb6002546108dd600454600a6108ce9190612619565b8661186990919063ffffffff16565b61187f90919063ffffffff16565b90505b8091505092915050565b60076020528060005260406000206000915090505481565b60025481565b61091e6117d8565b73ffffffffffffffffffffffffffffffffffffffff1661093c610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614610992576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610989906122a1565b60405180910390fd5b81518351146109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906126d6565b60405180910390fd5b600081146109e657806002819055505b60005b8351811015610b89576001151560066000868481518110610a0d57610a0c6126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690612771565b60405180910390fd5b6000838281518110610ab457610ab36126f6565b5b60200260200101511415610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af4906127dd565b60405180910390fd5b828181518110610b1057610b0f6126f6565b5b602002602001015160076000868481518110610b2f57610b2e6126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600181610b8291906127fd565b90506109e9565b50505050565b610b976117d8565b73ffffffffffffffffffffffffffffffffffffffff16610bb5610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614610c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c02906122a1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c51573d6000803e3d6000fd5b5050565b600a5481565b6008544211610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c969061289f565b60405180910390fd5b6009544210610ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cda9061290b565b60405180910390fd5b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610e2c5760008211610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d529061299d565b60405180910390fd5b60011515600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590612a09565b60405180910390fd5b610df8838361076d565b9050610e273330848673ffffffffffffffffffffffffffffffffffffffff166117e0909392919063ffffffff16565b610e3a565b610e3760003461076d565b90505b60055481600a54610e4b91906127fd565b10610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8290612a75565b60405180910390fd5b610ed83382600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166118959092919063ffffffff16565b80600a6000828254610eea91906127fd565b92505081905550505050565b60055481565b610f046117d8565b73ffffffffffffffffffffffffffffffffffffffff16610f22610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f906122a1565b60405180910390fd5b610f82600061191b565b565b60066020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60045481565b610fdb6117d8565b73ffffffffffffffffffffffffffffffffffffffff16610ff9610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461104f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611046906122a1565b60405180910390fd5b60006009541461109e57600954421061109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490612b07565b60405180910390fd5b5b80518251146110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d9906126d6565b60405180910390fd5b60005b8251811015611249576000828281518110611103576111026126f6565b5b6020026020010151141561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390612b73565b60405180910390fd5b600160066000858481518110611165576111646126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508181815181106111d1576111d06126f6565b5b6020026020010151600760008584815181106111f0576111ef6126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061124190612b93565b9150506110e5565b505050565b60095481565b61125c6117d8565b73ffffffffffffffffffffffffffffffffffffffff1661127a610fa4565b73ffffffffffffffffffffffffffffffffffffffff16146112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c7906122a1565b60405180910390fd5b6008544211611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90612c28565b60405180910390fd5b60095442101561132657426009819055505b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113566117d8565b73ffffffffffffffffffffffffffffffffffffffff16611374610fa4565b73ffffffffffffffffffffffffffffffffffffffff16146113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c1906122a1565b60405180910390fd5b600060085414611419576008544210611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f90612333565b60405180910390fd5b5b818181421061145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490612cba565b60405180910390fd5b80821061149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690612d26565b60405180910390fd5b836008819055508260098190555050505050565b6114bb6117d8565b73ffffffffffffffffffffffffffffffffffffffff166114d9610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461152f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611526906122a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690612db8565b60405180910390fd5b6115a88161191b565b50565b6115b36117d8565b73ffffffffffffffffffffffffffffffffffffffff166115d1610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e906122a1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611662929190612dd8565b6020604051808303816000875af1158015611681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a59190612e2d565b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116d86117d8565b73ffffffffffffffffffffffffffffffffffffffff166116f6610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611743906122a1565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161178791906120f7565b602060405180830381865afa1580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c89190612e6f565b90506117d482826115ab565b5050565b600033905090565b611863846323b872dd60e01b85858560405160240161180193929190612e9c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506119df565b50505050565b600081836118779190612ed3565b905092915050565b6000818361188d9190612f5c565b905092915050565b6119168363a9059cbb60e01b84846040516024016118b4929190612dd8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506119df565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611a41826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611aa69092919063ffffffff16565b9050600081511115611aa15780806020019051810190611a619190612e2d565b611aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9790612fff565b60405180910390fd5b5b505050565b6060611ab58484600085611abe565b90509392505050565b606082471015611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa90613091565b60405180910390fd5b611b0c85611bd2565b611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b42906130fd565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611b749190613197565b60006040518083038185875af1925050503d8060008114611bb1576040519150601f19603f3d011682016040523d82523d6000602084013e611bb6565b606091505b5091509150611bc6828286611be5565b92505050949350505050565b600080823b905060008111915050919050565b60608315611bf557829050611c45565b600083511115611c085782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c91906131f2565b60405180910390fd5b9392505050565b6000819050919050565b611c5f81611c4c565b82525050565b6000602082019050611c7a6000830184611c56565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611cbf82611c94565b9050919050565b611ccf81611cb4565b8114611cda57600080fd5b50565b600081359050611cec81611cc6565b92915050565b611cfb81611c4c565b8114611d0657600080fd5b50565b600081359050611d1881611cf2565b92915050565b600080600060608486031215611d3757611d36611c8a565b5b6000611d4586828701611cdd565b9350506020611d5686828701611d09565b9250506040611d6786828701611d09565b9150509250925092565b60008060408385031215611d8857611d87611c8a565b5b6000611d9685828601611cdd565b9250506020611da785828601611d09565b9150509250929050565b600060208284031215611dc757611dc6611c8a565b5b6000611dd584828501611cdd565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611e2c82611de3565b810181811067ffffffffffffffff82111715611e4b57611e4a611df4565b5b80604052505050565b6000611e5e611c80565b9050611e6a8282611e23565b919050565b600067ffffffffffffffff821115611e8a57611e89611df4565b5b602082029050602081019050919050565b600080fd5b6000611eb3611eae84611e6f565b611e54565b90508083825260208201905060208402830185811115611ed657611ed5611e9b565b5b835b81811015611eff5780611eeb8882611cdd565b845260208401935050602081019050611ed8565b5050509392505050565b600082601f830112611f1e57611f1d611dde565b5b8135611f2e848260208601611ea0565b91505092915050565b600067ffffffffffffffff821115611f5257611f51611df4565b5b602082029050602081019050919050565b6000611f76611f7184611f37565b611e54565b90508083825260208201905060208402830185811115611f9957611f98611e9b565b5b835b81811015611fc25780611fae8882611d09565b845260208401935050602081019050611f9b565b5050509392505050565b600082601f830112611fe157611fe0611dde565b5b8135611ff1848260208601611f63565b91505092915050565b60008060006060848603121561201357612012611c8a565b5b600084013567ffffffffffffffff81111561203157612030611c8f565b5b61203d86828701611f09565b935050602084013567ffffffffffffffff81111561205e5761205d611c8f565b5b61206a86828701611fcc565b925050604061207b86828701611d09565b9150509250925092565b60006020828403121561209b5761209a611c8a565b5b60006120a984828501611d09565b91505092915050565b60008115159050919050565b6120c7816120b2565b82525050565b60006020820190506120e260008301846120be565b92915050565b6120f181611cb4565b82525050565b600060208201905061210c60008301846120e8565b92915050565b6000806040838503121561212957612128611c8a565b5b600083013567ffffffffffffffff81111561214757612146611c8f565b5b61215385828601611f09565b925050602083013567ffffffffffffffff81111561217457612173611c8f565b5b61218085828601611fcc565b9150509250929050565b600080604083850312156121a1576121a0611c8a565b5b60006121af85828601611d09565b92505060206121c085828601611d09565b9150509250929050565b6000819050919050565b60006121ef6121ea6121e584611c94565b6121ca565b611c94565b9050919050565b6000612201826121d4565b9050919050565b6000612213826121f6565b9050919050565b61222381612208565b82525050565b600060208201905061223e600083018461221a565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061228b602083612244565b915061229682612255565b602082019050919050565b600060208201905081810360008301526122ba8161227e565b9050919050565b7f53616c653a2053616c652068617320616c726561647920737461727465642e2060008201527f43616e6e6f74206368616e67652053616c6520506172616d7321000000000000602082015250565b600061231d603a83612244565b9150612328826122c1565b604082019050919050565b6000602082019050818103600083015261234c81612310565b9050919050565b7f50726553616c653a20496e76616c6964204e61746976652043757272656e637960008201527f2072617465210000000000000000000000000000000000000000000000000000602082015250565b60006123af602683612244565b91506123ba82612353565b604082019050919050565b600060208201905081810360008301526123de816123a2565b9050919050565b600060ff82169050919050565b6123fb816123e5565b811461240657600080fd5b50565b600081519050612418816123f2565b92915050565b60006020828403121561243457612433611c8a565b5b600061244284828501612409565b91505092915050565b7f53616c653a20546f6b656e206e6f742077686974656c69737465640000000000600082015250565b6000612481601b83612244565b915061248c8261244b565b602082019050919050565b600060208201905081810360008301526124b081612474565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561253d57808604811115612519576125186124b7565b5b60018516156125285780820291505b8081029050612536856124e6565b94506124fd565b94509492505050565b6000826125565760019050612612565b816125645760009050612612565b816001811461257a5760028114612584576125b3565b6001915050612612565b60ff841115612596576125956124b7565b5b8360020a9150848211156125ad576125ac6124b7565b5b50612612565b5060208310610133831016604e8410600b84101617156125e85782820a9050838111156125e3576125e26124b7565b5b612612565b6125f584848460016124f3565b9250905081840481111561260c5761260b6124b7565b5b81810290505b9392505050565b600061262482611c4c565b915061262f83611c4c565b925061265c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612546565b905092915050565b7f53616c653a20746f6b656e7320262070726963657320617272617973206c656e60008201527f677468206d69736d617463680000000000000000000000000000000000000000602082015250565b60006126c0602c83612244565b91506126cb82612664565b604082019050919050565b600060208201905081810360008301526126ef816126b3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f73616c653a20546f6b656e206e6f742077686974656c69737465640000000000600082015250565b600061275b601b83612244565b915061276682612725565b602082019050919050565b6000602082019050818103600083015261278a8161274e565b9050919050565b7f53616c653a2043616e6e6f742073657420726174652061732030000000000000600082015250565b60006127c7601a83612244565b91506127d282612791565b602082019050919050565b600060208201905081810360008301526127f6816127ba565b9050919050565b600061280882611c4c565b915061281383611c4c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612848576128476124b7565b5b828201905092915050565b7f53616c653a2053616c65206861736e2774207374617274656400000000000000600082015250565b6000612889601983612244565b915061289482612853565b602082019050919050565b600060208201905081810360008301526128b88161287c565b9050919050565b7f53616c653a2053616c652068617320616c726561647920656e64656400000000600082015250565b60006128f5601c83612244565b9150612900826128bf565b602082019050919050565b60006020820190508181036000830152612924816128e8565b9050919050565b7f50757263686173652043616e6e6f74206275792077697468207a65726f20616d60008201527f6f756e7400000000000000000000000000000000000000000000000000000000602082015250565b6000612987602483612244565b91506129928261292b565b604082019050919050565b600060208201905081810360008301526129b68161297a565b9050919050565b7f50757263686173653a20546f6b656e206e6f742077686974656c697374656400600082015250565b60006129f3601f83612244565b91506129fe826129bd565b602082019050919050565b60006020820190508181036000830152612a22816129e6565b9050919050565b7f53616c653a20546f74616c20546f6b656e2053616c6520526561636865642100600082015250565b6000612a5f601f83612244565b9150612a6a82612a29565b602082019050919050565b60006020820190508181036000830152612a8e81612a52565b9050919050565b7f53616c653a2053616c652068617320616c726561647920656e6465642e20436160008201527f6e6e6f74206368616e67652053616c6520506172616d73210000000000000000602082015250565b6000612af1603883612244565b9150612afc82612a95565b604082019050919050565b60006020820190508181036000830152612b2081612ae4565b9050919050565b7f53616c653a2043616e6e6f742073657420707269636520746f20300000000000600082015250565b6000612b5d601b83612244565b9150612b6882612b27565b602082019050919050565b60006020820190508181036000830152612b8c81612b50565b9050919050565b6000612b9e82611c4c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bd157612bd06124b7565b5b600182019050919050565b7f53616c653a2053616c65206861736e2774207374617274656420796574210000600082015250565b6000612c12601e83612244565b9150612c1d82612bdc565b602082019050919050565b60006020820190508181036000830152612c4181612c05565b9050919050565b7f53616c653a205374617274696e672074696d65206973206c657373207468616e60008201527f2063757272656e742054696d655374616d702100000000000000000000000000602082015250565b6000612ca4603383612244565b9150612caf82612c48565b604082019050919050565b60006020820190508181036000830152612cd381612c97565b9050919050565b7f53616c653a20496e76616c69642053616c652044617465732100000000000000600082015250565b6000612d10601983612244565b9150612d1b82612cda565b602082019050919050565b60006020820190508181036000830152612d3f81612d03565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612da2602683612244565b9150612dad82612d46565b604082019050919050565b60006020820190508181036000830152612dd181612d95565b9050919050565b6000604082019050612ded60008301856120e8565b612dfa6020830184611c56565b9392505050565b612e0a816120b2565b8114612e1557600080fd5b50565b600081519050612e2781612e01565b92915050565b600060208284031215612e4357612e42611c8a565b5b6000612e5184828501612e18565b91505092915050565b600081519050612e6981611cf2565b92915050565b600060208284031215612e8557612e84611c8a565b5b6000612e9384828501612e5a565b91505092915050565b6000606082019050612eb160008301866120e8565b612ebe60208301856120e8565b612ecb6040830184611c56565b949350505050565b6000612ede82611c4c565b9150612ee983611c4c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f2257612f216124b7565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f6782611c4c565b9150612f7283611c4c565b925082612f8257612f81612f2d565b5b828204905092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612fe9602a83612244565b9150612ff482612f8d565b604082019050919050565b6000602082019050818103600083015261301881612fdc565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061307b602683612244565b91506130868261301f565b604082019050919050565b600060208201905081810360008301526130aa8161306e565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006130e7601d83612244565b91506130f2826130b1565b602082019050919050565b60006020820190508181036000830152613116816130da565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015613151578082015181840152602081019050613136565b83811115613160576000848401525b50505050565b60006131718261311d565b61317b8185613128565b935061318b818560208601613133565b80840191505092915050565b60006131a38284613166565b915081905092915050565b600081519050919050565b60006131c4826131ae565b6131ce8185612244565b93506131de818560208601613133565b6131e781611de3565b840191505092915050565b6000602082019050818103600083015261320c81846131b9565b90509291505056fea264697066735822122031e9ebf6196a0b46c08a5ef7d84f2f74e0e40d155a22e3b8d49c56c8a8fbeae964736f6c634300080c0033
Deployed Bytecode
0x6080604052600436106101445760003560e01c80638ce0b9d2116100b6578063e985e3671161006f578063e985e3671461041f578063f2b5f6601461044a578063f2fde38b14610473578063f3fef3a31461049c578063f887ea40146104c5578063fa09e630146104f05761014b565b80638ce0b9d2146103215780638da5cb5b1461035e578063ace1741c14610389578063b765ef59146103b4578063cce29ea7146103dd578063e36b0b37146104085761014b565b80633115329e116101085780633115329e146102465780633c00a36c1461026f57806363b201171461029857806368f8fc10146102c35780636bcedf9c146102df578063715018a61461030a5761014b565b806306d65af31461014d5780630c1453f114610178578063115ece4c146101a1578063204120bc146101de5780632c4e722e1461021b5761014b565b3661014b57005b005b34801561015957600080fd5b50610162610519565b60405161016f9190611c65565b60405180910390f35b34801561018457600080fd5b5061019f600480360381019061019a9190611d1e565b61051f565b005b3480156101ad57600080fd5b506101c860048036038101906101c39190611d71565b61076d565b6040516101d59190611c65565b60405180910390f35b3480156101ea57600080fd5b5061020560048036038101906102009190611db1565b6108f8565b6040516102129190611c65565b60405180910390f35b34801561022757600080fd5b50610230610910565b60405161023d9190611c65565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190611ffa565b610916565b005b34801561027b57600080fd5b5061029660048036038101906102919190612085565b610b8f565b005b3480156102a457600080fd5b506102ad610c55565b6040516102ba9190611c65565b60405180910390f35b6102dd60048036038101906102d89190611d71565b610c5b565b005b3480156102eb57600080fd5b506102f4610ef6565b6040516103019190611c65565b60405180910390f35b34801561031657600080fd5b5061031f610efc565b005b34801561032d57600080fd5b5061034860048036038101906103439190611db1565b610f84565b60405161035591906120cd565b60405180910390f35b34801561036a57600080fd5b50610373610fa4565b60405161038091906120f7565b60405180910390f35b34801561039557600080fd5b5061039e610fcd565b6040516103ab9190611c65565b60405180910390f35b3480156103c057600080fd5b506103db60048036038101906103d69190612112565b610fd3565b005b3480156103e957600080fd5b506103f261124e565b6040516103ff9190611c65565b60405180910390f35b34801561041457600080fd5b5061041d611254565b005b34801561042b57600080fd5b50610434611328565b60405161044191906120f7565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c919061218a565b61134e565b005b34801561047f57600080fd5b5061049a60048036038101906104959190611db1565b6114b3565b005b3480156104a857600080fd5b506104c360048036038101906104be9190611d71565b6115ab565b005b3480156104d157600080fd5b506104da6116aa565b6040516104e79190612229565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190611db1565b6116d0565b005b60085481565b6105276117d8565b73ffffffffffffffffffffffffffffffffffffffff16610545610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461059b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610592906122a1565b60405180910390fd5b6000600854146105ea5760085442106105e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e090612333565b60405180910390fd5b5b600081141561062e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610625906123c5565b60405180910390fd5b8060028190555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610707919061241e565b60ff16600481905550816005819055506107683330600554600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117e0909392919063ffffffff16565b505050565b600080600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146108b65760011515600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e90612497565b60405180910390fd5b6000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506108ae816108a0600454600a6108919190612619565b8761186990919063ffffffff16565b61187f90919063ffffffff16565b9150506108ee565b6108eb6002546108dd600454600a6108ce9190612619565b8661186990919063ffffffff16565b61187f90919063ffffffff16565b90505b8091505092915050565b60076020528060005260406000206000915090505481565b60025481565b61091e6117d8565b73ffffffffffffffffffffffffffffffffffffffff1661093c610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614610992576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610989906122a1565b60405180910390fd5b81518351146109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906126d6565b60405180910390fd5b600081146109e657806002819055505b60005b8351811015610b89576001151560066000868481518110610a0d57610a0c6126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690612771565b60405180910390fd5b6000838281518110610ab457610ab36126f6565b5b60200260200101511415610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af4906127dd565b60405180910390fd5b828181518110610b1057610b0f6126f6565b5b602002602001015160076000868481518110610b2f57610b2e6126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600181610b8291906127fd565b90506109e9565b50505050565b610b976117d8565b73ffffffffffffffffffffffffffffffffffffffff16610bb5610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614610c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c02906122a1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c51573d6000803e3d6000fd5b5050565b600a5481565b6008544211610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c969061289f565b60405180910390fd5b6009544210610ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cda9061290b565b60405180910390fd5b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610e2c5760008211610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d529061299d565b60405180910390fd5b60011515600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590612a09565b60405180910390fd5b610df8838361076d565b9050610e273330848673ffffffffffffffffffffffffffffffffffffffff166117e0909392919063ffffffff16565b610e3a565b610e3760003461076d565b90505b60055481600a54610e4b91906127fd565b10610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8290612a75565b60405180910390fd5b610ed83382600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166118959092919063ffffffff16565b80600a6000828254610eea91906127fd565b92505081905550505050565b60055481565b610f046117d8565b73ffffffffffffffffffffffffffffffffffffffff16610f22610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f906122a1565b60405180910390fd5b610f82600061191b565b565b60066020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60045481565b610fdb6117d8565b73ffffffffffffffffffffffffffffffffffffffff16610ff9610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461104f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611046906122a1565b60405180910390fd5b60006009541461109e57600954421061109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490612b07565b60405180910390fd5b5b80518251146110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d9906126d6565b60405180910390fd5b60005b8251811015611249576000828281518110611103576111026126f6565b5b6020026020010151141561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390612b73565b60405180910390fd5b600160066000858481518110611165576111646126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508181815181106111d1576111d06126f6565b5b6020026020010151600760008584815181106111f0576111ef6126f6565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061124190612b93565b9150506110e5565b505050565b60095481565b61125c6117d8565b73ffffffffffffffffffffffffffffffffffffffff1661127a610fa4565b73ffffffffffffffffffffffffffffffffffffffff16146112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c7906122a1565b60405180910390fd5b6008544211611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90612c28565b60405180910390fd5b60095442101561132657426009819055505b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113566117d8565b73ffffffffffffffffffffffffffffffffffffffff16611374610fa4565b73ffffffffffffffffffffffffffffffffffffffff16146113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c1906122a1565b60405180910390fd5b600060085414611419576008544210611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f90612333565b60405180910390fd5b5b818181421061145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490612cba565b60405180910390fd5b80821061149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690612d26565b60405180910390fd5b836008819055508260098190555050505050565b6114bb6117d8565b73ffffffffffffffffffffffffffffffffffffffff166114d9610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461152f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611526906122a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690612db8565b60405180910390fd5b6115a88161191b565b50565b6115b36117d8565b73ffffffffffffffffffffffffffffffffffffffff166115d1610fa4565b73ffffffffffffffffffffffffffffffffffffffff1614611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e906122a1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611662929190612dd8565b6020604051808303816000875af1158015611681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a59190612e2d565b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116d86117d8565b73ffffffffffffffffffffffffffffffffffffffff166116f6610fa4565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611743906122a1565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161178791906120f7565b602060405180830381865afa1580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c89190612e6f565b90506117d482826115ab565b5050565b600033905090565b611863846323b872dd60e01b85858560405160240161180193929190612e9c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506119df565b50505050565b600081836118779190612ed3565b905092915050565b6000818361188d9190612f5c565b905092915050565b6119168363a9059cbb60e01b84846040516024016118b4929190612dd8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506119df565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611a41826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611aa69092919063ffffffff16565b9050600081511115611aa15780806020019051810190611a619190612e2d565b611aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9790612fff565b60405180910390fd5b5b505050565b6060611ab58484600085611abe565b90509392505050565b606082471015611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa90613091565b60405180910390fd5b611b0c85611bd2565b611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b42906130fd565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611b749190613197565b60006040518083038185875af1925050503d8060008114611bb1576040519150601f19603f3d011682016040523d82523d6000602084013e611bb6565b606091505b5091509150611bc6828286611be5565b92505050949350505050565b600080823b905060008111915050919050565b60608315611bf557829050611c45565b600083511115611c085782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c91906131f2565b60405180910390fd5b9392505050565b6000819050919050565b611c5f81611c4c565b82525050565b6000602082019050611c7a6000830184611c56565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611cbf82611c94565b9050919050565b611ccf81611cb4565b8114611cda57600080fd5b50565b600081359050611cec81611cc6565b92915050565b611cfb81611c4c565b8114611d0657600080fd5b50565b600081359050611d1881611cf2565b92915050565b600080600060608486031215611d3757611d36611c8a565b5b6000611d4586828701611cdd565b9350506020611d5686828701611d09565b9250506040611d6786828701611d09565b9150509250925092565b60008060408385031215611d8857611d87611c8a565b5b6000611d9685828601611cdd565b9250506020611da785828601611d09565b9150509250929050565b600060208284031215611dc757611dc6611c8a565b5b6000611dd584828501611cdd565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611e2c82611de3565b810181811067ffffffffffffffff82111715611e4b57611e4a611df4565b5b80604052505050565b6000611e5e611c80565b9050611e6a8282611e23565b919050565b600067ffffffffffffffff821115611e8a57611e89611df4565b5b602082029050602081019050919050565b600080fd5b6000611eb3611eae84611e6f565b611e54565b90508083825260208201905060208402830185811115611ed657611ed5611e9b565b5b835b81811015611eff5780611eeb8882611cdd565b845260208401935050602081019050611ed8565b5050509392505050565b600082601f830112611f1e57611f1d611dde565b5b8135611f2e848260208601611ea0565b91505092915050565b600067ffffffffffffffff821115611f5257611f51611df4565b5b602082029050602081019050919050565b6000611f76611f7184611f37565b611e54565b90508083825260208201905060208402830185811115611f9957611f98611e9b565b5b835b81811015611fc25780611fae8882611d09565b845260208401935050602081019050611f9b565b5050509392505050565b600082601f830112611fe157611fe0611dde565b5b8135611ff1848260208601611f63565b91505092915050565b60008060006060848603121561201357612012611c8a565b5b600084013567ffffffffffffffff81111561203157612030611c8f565b5b61203d86828701611f09565b935050602084013567ffffffffffffffff81111561205e5761205d611c8f565b5b61206a86828701611fcc565b925050604061207b86828701611d09565b9150509250925092565b60006020828403121561209b5761209a611c8a565b5b60006120a984828501611d09565b91505092915050565b60008115159050919050565b6120c7816120b2565b82525050565b60006020820190506120e260008301846120be565b92915050565b6120f181611cb4565b82525050565b600060208201905061210c60008301846120e8565b92915050565b6000806040838503121561212957612128611c8a565b5b600083013567ffffffffffffffff81111561214757612146611c8f565b5b61215385828601611f09565b925050602083013567ffffffffffffffff81111561217457612173611c8f565b5b61218085828601611fcc565b9150509250929050565b600080604083850312156121a1576121a0611c8a565b5b60006121af85828601611d09565b92505060206121c085828601611d09565b9150509250929050565b6000819050919050565b60006121ef6121ea6121e584611c94565b6121ca565b611c94565b9050919050565b6000612201826121d4565b9050919050565b6000612213826121f6565b9050919050565b61222381612208565b82525050565b600060208201905061223e600083018461221a565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061228b602083612244565b915061229682612255565b602082019050919050565b600060208201905081810360008301526122ba8161227e565b9050919050565b7f53616c653a2053616c652068617320616c726561647920737461727465642e2060008201527f43616e6e6f74206368616e67652053616c6520506172616d7321000000000000602082015250565b600061231d603a83612244565b9150612328826122c1565b604082019050919050565b6000602082019050818103600083015261234c81612310565b9050919050565b7f50726553616c653a20496e76616c6964204e61746976652043757272656e637960008201527f2072617465210000000000000000000000000000000000000000000000000000602082015250565b60006123af602683612244565b91506123ba82612353565b604082019050919050565b600060208201905081810360008301526123de816123a2565b9050919050565b600060ff82169050919050565b6123fb816123e5565b811461240657600080fd5b50565b600081519050612418816123f2565b92915050565b60006020828403121561243457612433611c8a565b5b600061244284828501612409565b91505092915050565b7f53616c653a20546f6b656e206e6f742077686974656c69737465640000000000600082015250565b6000612481601b83612244565b915061248c8261244b565b602082019050919050565b600060208201905081810360008301526124b081612474565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561253d57808604811115612519576125186124b7565b5b60018516156125285780820291505b8081029050612536856124e6565b94506124fd565b94509492505050565b6000826125565760019050612612565b816125645760009050612612565b816001811461257a5760028114612584576125b3565b6001915050612612565b60ff841115612596576125956124b7565b5b8360020a9150848211156125ad576125ac6124b7565b5b50612612565b5060208310610133831016604e8410600b84101617156125e85782820a9050838111156125e3576125e26124b7565b5b612612565b6125f584848460016124f3565b9250905081840481111561260c5761260b6124b7565b5b81810290505b9392505050565b600061262482611c4c565b915061262f83611c4c565b925061265c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612546565b905092915050565b7f53616c653a20746f6b656e7320262070726963657320617272617973206c656e60008201527f677468206d69736d617463680000000000000000000000000000000000000000602082015250565b60006126c0602c83612244565b91506126cb82612664565b604082019050919050565b600060208201905081810360008301526126ef816126b3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f73616c653a20546f6b656e206e6f742077686974656c69737465640000000000600082015250565b600061275b601b83612244565b915061276682612725565b602082019050919050565b6000602082019050818103600083015261278a8161274e565b9050919050565b7f53616c653a2043616e6e6f742073657420726174652061732030000000000000600082015250565b60006127c7601a83612244565b91506127d282612791565b602082019050919050565b600060208201905081810360008301526127f6816127ba565b9050919050565b600061280882611c4c565b915061281383611c4c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612848576128476124b7565b5b828201905092915050565b7f53616c653a2053616c65206861736e2774207374617274656400000000000000600082015250565b6000612889601983612244565b915061289482612853565b602082019050919050565b600060208201905081810360008301526128b88161287c565b9050919050565b7f53616c653a2053616c652068617320616c726561647920656e64656400000000600082015250565b60006128f5601c83612244565b9150612900826128bf565b602082019050919050565b60006020820190508181036000830152612924816128e8565b9050919050565b7f50757263686173652043616e6e6f74206275792077697468207a65726f20616d60008201527f6f756e7400000000000000000000000000000000000000000000000000000000602082015250565b6000612987602483612244565b91506129928261292b565b604082019050919050565b600060208201905081810360008301526129b68161297a565b9050919050565b7f50757263686173653a20546f6b656e206e6f742077686974656c697374656400600082015250565b60006129f3601f83612244565b91506129fe826129bd565b602082019050919050565b60006020820190508181036000830152612a22816129e6565b9050919050565b7f53616c653a20546f74616c20546f6b656e2053616c6520526561636865642100600082015250565b6000612a5f601f83612244565b9150612a6a82612a29565b602082019050919050565b60006020820190508181036000830152612a8e81612a52565b9050919050565b7f53616c653a2053616c652068617320616c726561647920656e6465642e20436160008201527f6e6e6f74206368616e67652053616c6520506172616d73210000000000000000602082015250565b6000612af1603883612244565b9150612afc82612a95565b604082019050919050565b60006020820190508181036000830152612b2081612ae4565b9050919050565b7f53616c653a2043616e6e6f742073657420707269636520746f20300000000000600082015250565b6000612b5d601b83612244565b9150612b6882612b27565b602082019050919050565b60006020820190508181036000830152612b8c81612b50565b9050919050565b6000612b9e82611c4c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bd157612bd06124b7565b5b600182019050919050565b7f53616c653a2053616c65206861736e2774207374617274656420796574210000600082015250565b6000612c12601e83612244565b9150612c1d82612bdc565b602082019050919050565b60006020820190508181036000830152612c4181612c05565b9050919050565b7f53616c653a205374617274696e672074696d65206973206c657373207468616e60008201527f2063757272656e742054696d655374616d702100000000000000000000000000602082015250565b6000612ca4603383612244565b9150612caf82612c48565b604082019050919050565b60006020820190508181036000830152612cd381612c97565b9050919050565b7f53616c653a20496e76616c69642053616c652044617465732100000000000000600082015250565b6000612d10601983612244565b9150612d1b82612cda565b602082019050919050565b60006020820190508181036000830152612d3f81612d03565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612da2602683612244565b9150612dad82612d46565b604082019050919050565b60006020820190508181036000830152612dd181612d95565b9050919050565b6000604082019050612ded60008301856120e8565b612dfa6020830184611c56565b9392505050565b612e0a816120b2565b8114612e1557600080fd5b50565b600081519050612e2781612e01565b92915050565b600060208284031215612e4357612e42611c8a565b5b6000612e5184828501612e18565b91505092915050565b600081519050612e6981611cf2565b92915050565b600060208284031215612e8557612e84611c8a565b5b6000612e9384828501612e5a565b91505092915050565b6000606082019050612eb160008301866120e8565b612ebe60208301856120e8565b612ecb6040830184611c56565b949350505050565b6000612ede82611c4c565b9150612ee983611c4c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f2257612f216124b7565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f6782611c4c565b9150612f7283611c4c565b925082612f8257612f81612f2d565b5b828204905092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612fe9602a83612244565b9150612ff482612f8d565b604082019050919050565b6000602082019050818103600083015261301881612fdc565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061307b602683612244565b91506130868261301f565b604082019050919050565b600060208201905081810360008301526130aa8161306e565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006130e7601d83612244565b91506130f2826130b1565b602082019050919050565b60006020820190508181036000830152613116816130da565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015613151578082015181840152602081019050613136565b83811115613160576000848401525b50505050565b60006131718261311d565b61317b8185613128565b935061318b818560208601613133565b80840191505092915050565b60006131a38284613166565b915081905092915050565b600081519050919050565b60006131c4826131ae565b6131ce8185612244565b93506131de818560208601613133565b6131e781611de3565b840191505092915050565b6000602082019050818103600083015261320c81846131b9565b90509291505056fea264697066735822122031e9ebf6196a0b46c08a5ef7d84f2f74e0e40d155a22e3b8d49c56c8a8fbeae964736f6c634300080c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $2,512.37 | 0.00394754 | $9.92 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.