Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 387 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 11777681 | 1425 days ago | IN | 0.4 ETH | 0.00540112 | ||||
Transfer | 11777681 | 1425 days ago | IN | 0.4 ETH | 0.00520437 | ||||
Transfer | 11777617 | 1425 days ago | IN | 0.4 ETH | 0.00266565 | ||||
Transfer | 11777546 | 1425 days ago | IN | 1.43 ETH | 0.004746 | ||||
Transfer | 11777540 | 1425 days ago | IN | 0.15 ETH | 0.00488703 | ||||
Transfer | 11777534 | 1425 days ago | IN | 11.505 ETH | 0.00574385 | ||||
Transfer | 11777529 | 1425 days ago | IN | 0.25 ETH | 0.0049437 | ||||
Transfer | 11777528 | 1425 days ago | IN | 1.48 ETH | 0.00631506 | ||||
Transfer | 11777526 | 1425 days ago | IN | 11.505 ETH | 0.0049437 | ||||
Transfer | 11777525 | 1425 days ago | IN | 0.3 ETH | 0.0049505 | ||||
Transfer | 11777525 | 1425 days ago | IN | 1 ETH | 0.0049505 | ||||
Transfer | 11777525 | 1425 days ago | IN | 10 ETH | 0.0049505 | ||||
Transfer | 11777522 | 1425 days ago | IN | 2.85 ETH | 0.0095202 | ||||
Transfer | 11777521 | 1425 days ago | IN | 2 ETH | 0.0066324 | ||||
Transfer | 11777518 | 1425 days ago | IN | 4 ETH | 0.00479183 | ||||
Transfer | 11777518 | 1425 days ago | IN | 2.2 ETH | 0.00479183 | ||||
Transfer | 11777518 | 1425 days ago | IN | 0.2 ETH | 0.00479183 | ||||
Transfer | 11777518 | 1425 days ago | IN | 5 ETH | 0.00479183 | ||||
Transfer | 11777518 | 1425 days ago | IN | 10 ETH | 0.00479183 | ||||
Transfer | 11777517 | 1425 days ago | IN | 10 ETH | 0.00479183 | ||||
Transfer | 11777517 | 1425 days ago | IN | 2 ETH | 0.00479183 | ||||
Transfer | 11777516 | 1425 days ago | IN | 2.85 ETH | 0.0095202 | ||||
Transfer | 11777515 | 1425 days ago | IN | 1 ETH | 0.00564865 | ||||
Transfer | 11777515 | 1425 days ago | IN | 0.6 ETH | 0.00682281 | ||||
Transfer | 11777514 | 1425 days ago | IN | 11.505 ETH | 0.00479183 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
11777681 | 1425 days ago | 0.4 ETH | ||||
11777681 | 1425 days ago | 0.4 ETH | ||||
11777617 | 1425 days ago | 0.4 ETH | ||||
11777540 | 1425 days ago | 0.15 ETH | ||||
11777534 | 1425 days ago | 11.505 ETH | ||||
11777529 | 1425 days ago | 0.25 ETH | ||||
11777528 | 1425 days ago | 1.48 ETH | ||||
11777526 | 1425 days ago | 11.505 ETH | ||||
11777525 | 1425 days ago | 0.3 ETH | ||||
11777525 | 1425 days ago | 1 ETH | ||||
11777525 | 1425 days ago | 10 ETH | ||||
11777522 | 1425 days ago | 2.85 ETH | ||||
11777521 | 1425 days ago | 2 ETH | ||||
11777518 | 1425 days ago | 4 ETH | ||||
11777518 | 1425 days ago | 2.2 ETH | ||||
11777518 | 1425 days ago | 0.2 ETH | ||||
11777518 | 1425 days ago | 5 ETH | ||||
11777518 | 1425 days ago | 10 ETH | ||||
11777517 | 1425 days ago | 10 ETH | ||||
11777517 | 1425 days ago | 2 ETH | ||||
11777516 | 1425 days ago | 2.85 ETH | ||||
11777515 | 1425 days ago | 1 ETH | ||||
11777515 | 1425 days ago | 0.6 ETH | ||||
11777514 | 1425 days ago | 11.505 ETH | ||||
11777513 | 1425 days ago | 2.85 ETH |
Loading...
Loading
Contract Name:
NUXPresale
Compiler Version
v0.5.8+commit.23d335f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-22 */ /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @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]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } /** * @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 ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; 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)); } 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' // solhint-disable-next-line max-line-length 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).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); 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. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } /* * @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 GSN 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. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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. * * 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. */ 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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface INUXAsset { function availableBalanceOf(address _holder) external view returns(uint); function scheduleReleaseStart() external; function transferLock(address _to, uint _value) external; } contract NUXConstants { uint constant NUX = 10**18; } contract Readable { function since(uint _timestamp) internal view returns(uint) { if (not(passed(_timestamp))) { return 0; } return block.timestamp - _timestamp; } function passed(uint _timestamp) internal view returns(bool) { return _timestamp < block.timestamp; } function not(bool _condition) internal pure returns(bool) { return !_condition; } } contract NUXPresale is Ownable, NUXConstants, Readable { using SafeERC20 for IERC20; uint public constant PRESALE_START = 1608649200; // Tuesday, December 22, 2020 3:00:00 PM UTC uint public constant PRESALE_END = PRESALE_START + 7 days; // Tuesday, December 29, 2020 3:00:00 PM UTC uint public constant PRESALE_PRICE_USD = 250000; // 0.25 USD uint public etherPriceUSD; uint public minimumDepositUSD; uint public maximumDepositUSD; IERC20 public NUXToken; address payable public treasury; IERC20 public usdt; IERC20 public usdc; mapping(address => uint) public deposited; event Deposit(address _from, uint _usdValue); event ETHPriceSet(uint _usdPerETH); event TreasuryUpdated(address _treasury); constructor(IERC20 _nux, address payable _treasury, IERC20 _usdt, IERC20 _usdc) public { NUXToken = _nux; treasury = _treasury; usdt = _usdt; usdc = _usdc; emit TreasuryUpdated(_treasury); } function setTreasury(address payable _treasury) public onlyOwner() { require(_treasury != address(0), 'Invalid address'); treasury = _treasury; emit TreasuryUpdated(_treasury); } function setETHPrice(uint _usdPerETH) public onlyOwner() { require(etherPriceUSD == 0, 'Already set'); etherPriceUSD = _usdPerETH; minimumDepositUSD = etherPriceUSD; // 1 ETH maximumDepositUSD = 100 * etherPriceUSD; // 100 ETH emit ETHPriceSet(_usdPerETH); } function presaleStarted() public view returns(bool) { return passed(PRESALE_START); } function presaleEnded() public view returns(bool) { return passed(PRESALE_END); } function depositUSDT(uint _value) public { _depositToken(usdt, _value); } function depositUSDC(uint _value) public { _depositToken(usdc, _value); } function _depositToken(IERC20 _usdToken, uint _value) internal { _usdToken.safeTransferFrom(msg.sender, treasury, _value); _deposit(_value); } function () external payable { depositETH(); } function depositETH() public payable { treasury.transfer(msg.value); _deposit(ETHToUSD(msg.value)); } function ETHToUSD(uint _value) public view returns(uint) { return (_value * etherPriceUSD) / 1 ether; } function USDToNUX(uint _value) public pure returns(uint) { return (_value * NUX) / PRESALE_PRICE_USD; } function _deposit(uint _value) internal { require(_value > 0, 'Cannot deposit 0'); require(presaleStarted(), 'Presale not started yet'); require(not(presaleEnded()), 'Presale already ended'); uint totalDeposit = deposited[msg.sender] + _value; require(totalDeposit >= minimumDepositUSD, 'Minimum deposit not met'); require(totalDeposit <= maximumDepositUSD, 'Maximum deposit reached'); deposited[msg.sender] = totalDeposit; INUXAsset(address(NUXToken)).transferLock(msg.sender, USDToNUX(_value)); emit Deposit(msg.sender, _value); } function recoverTokens(IERC20 _token, address _to, uint _value) public onlyOwner() { _token.safeTransfer(_to, _value); } function finalize() public { require(presaleEnded(), 'Presale not ended yet'); INUXAsset(address(NUXToken)).transferLock(treasury, NUXToken.balanceOf(address(this))); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"presaleStarted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"NUXToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"usdt","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"usdc","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minimumDepositUSD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"recoverTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"treasury","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PRESALE_PRICE_USD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_value","type":"uint256"}],"name":"USDToNUX","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maximumDepositUSD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"etherPriceUSD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_value","type":"uint256"}],"name":"ETHToUSD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_usdPerETH","type":"uint256"}],"name":"setETHPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"deposited","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PRESALE_START","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"presaleEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"depositUSDT","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"PRESALE_END","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"depositETH","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"depositUSDC","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_nux","type":"address"},{"name":"_treasury","type":"address"},{"name":"_usdt","type":"address"},{"name":"_usdc","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_usdValue","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_usdPerETH","type":"uint256"}],"name":"ETHPriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_treasury","type":"address"}],"name":"TreasuryUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516080806117328339810180604052608081101561003057600080fd5b508051602080830151604084015160609094015192939092909160009061005a9061012b811b901c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b038087166001600160a01b03199283161790925560058054868416908316811790915560068054868516908416179055600780549385169390921692909217905560408051918252517f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d19181900360200190a15050505061012f565b3390565b6115f48061013e6000396000f3fe6080604052600436106101a15760003560e01c80638f8bdc34116100e1578063e580b2b01161008a578063f0f4426011610064578063f0f4426014610482578063f2fde38b146104c2578063f6326fb3146101a1578063f688bcfb14610502576101a1565b8063e580b2b01461042e578063e7c80f1714610443578063e8b508021461046d576101a1565b8063bc7dce06116100bb578063bc7dce06146103af578063cb13cddb146103d9578063d336468714610419576101a1565b80638f8bdc341461035b5780639f0650d914610370578063a034050c14610385576101a1565b80635f3e849f1161014e578063715018a611610128578063715018a6146102f25780638d134bed146103075780638da5cb5b146103315780638f32d59b14610346576101a1565b80635f3e849f1461027857806361d027b3146102c857806368e9c00a146102dd576101a1565b80633e413bee1161017f5780633e413bee146102275780634bb278f31461023c578063531acc1314610251576101a1565b806304549d6f146101ab5780632a44ecc1146101d45780632f48ab7d14610212575b6101a961052c565b005b3480156101b757600080fd5b506101c0610586565b604080519115158252519081900360200190f35b3480156101e057600080fd5b506101e961059a565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561021e57600080fd5b506101e96105b6565b34801561023357600080fd5b506101e96105d2565b34801561024857600080fd5b506101a96105ee565b34801561025d57600080fd5b5061026661077f565b60408051918252519081900360200190f35b34801561028457600080fd5b506101a96004803603606081101561029b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610785565b3480156102d457600080fd5b506101e9610824565b3480156102e957600080fd5b50610266610840565b3480156102fe57600080fd5b506101a9610847565b34801561031357600080fd5b506102666004803603602081101561032a57600080fd5b5035610929565b34801561033d57600080fd5b506101e9610942565b34801561035257600080fd5b506101c061095e565b34801561036757600080fd5b5061026661099c565b34801561037c57600080fd5b506102666109a2565b34801561039157600080fd5b50610266600480360360208110156103a857600080fd5b50356109a8565b3480156103bb57600080fd5b506101a9600480360360208110156103d257600080fd5b50356109bf565b3480156103e557600080fd5b50610266600480360360208110156103fc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ae8565b34801561042557600080fd5b50610266610afa565b34801561043a57600080fd5b506101c0610b02565b34801561044f57600080fd5b506101a96004803603602081101561046657600080fd5b5035610b11565b34801561047957600080fd5b50610266610b37565b34801561048e57600080fd5b506101a9600480360360208110156104a557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b3f565b3480156104ce57600080fd5b506101a9600480360360208110156104e557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610cad565b34801561050e57600080fd5b506101a96004803603602081101561052557600080fd5b5035610d29565b60055460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f19350505050158015610572573d6000803e3d6000fd5b5061058461057f346109a8565b610d4c565b565b6000610595635fe209f061109a565b905090565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b6105f6610b02565b61066157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f50726573616c65206e6f7420656e646564207965740000000000000000000000604482015290519081900360640190fd5b60048054600554604080517f70a0823100000000000000000000000000000000000000000000000000000000815230948101949094525173ffffffffffffffffffffffffffffffffffffffff9283169363a38e2105939092169184916370a0823191602480820192602092909190829003018186803b1580156106e357600080fd5b505afa1580156106f7573d6000803e3d6000fd5b505050506040513d602081101561070d57600080fd5b50516040805163ffffffff851660e01b815273ffffffffffffffffffffffffffffffffffffffff9093166004840152602483019190915251604480830192600092919082900301818387803b15801561076557600080fd5b505af1158015610779573d6000803e3d6000fd5b50505050565b60025481565b61078d61095e565b6107f857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61081f73ffffffffffffffffffffffffffffffffffffffff8416838363ffffffff61109f16565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b6203d09081565b61084f61095e565b6108ba57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60006203d090670de0b6b3a764000083025b0492915050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661098061112c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60035481565b60015481565b6000670de0b6b3a764000060015483028161093b57fe5b6109c761095e565b610a3257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60015415610aa157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416c726561647920736574000000000000000000000000000000000000000000604482015290519081900360640190fd5b60018190556002819055606481026003556040805182815290517f37dcffad3b06af912e7fda69320a919573d0c99e0ba3ae2ae8e5be21be88d9fb9181900360200190a150565b60086020526000908152604090205481565b635fe209f081565b6000610595635feb447061109a565b600654610b349073ffffffffffffffffffffffffffffffffffffffff1682611130565b50565b635feb447081565b610b4761095e565b610bb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610c3457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015290519081900360640190fd5b6005805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d19181900360200190a150565b610cb561095e565b610d2057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b348161116c565b600754610b349073ffffffffffffffffffffffffffffffffffffffff1682611130565b60008111610dbb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f43616e6e6f74206465706f736974203000000000000000000000000000000000604482015290519081900360640190fd5b610dc3610586565b610e2e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50726573616c65206e6f74207374617274656420796574000000000000000000604482015290519081900360640190fd5b610e3e610e39610b02565b611265565b610ea957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f50726573616c6520616c726561647920656e6465640000000000000000000000604482015290519081900360640190fd5b3360009081526008602052604090205460025490820190811015610f2e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d696e696d756d206465706f736974206e6f74206d6574000000000000000000604482015290519081900360640190fd5b600354811115610f9f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d6178696d756d206465706f7369742072656163686564000000000000000000604482015290519081900360640190fd5b33600081815260086020526040902082905560045473ffffffffffffffffffffffffffffffffffffffff169063a38e210590610fda85610929565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561104357600080fd5b505af1158015611057573d6000803e3d6000fd5b5050604080513381526020810186905281517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9450908190039091019150a15050565b421190565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261081f908490611269565b3390565b60055461115f9073ffffffffffffffffffffffffffffffffffffffff848116913391168463ffffffff6114a716565b61116881610d4c565b5050565b73ffffffffffffffffffffffffffffffffffffffff81166111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806115796026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b1590565b6112888273ffffffffffffffffffffffffffffffffffffffff1661153c565b6112f357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061135c57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161131f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146113be576040519150601f19603f3d011682016040523d82523d6000602084013e6113c3565b606091505b50915091508161143457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156107795780806020019051602081101561145057600080fd5b5051610779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061159f602a913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610779908590611269565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061157057508115155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a72305820e491b0d4d3d22d3022939622716662f90e25ab7cfbe50b6360ee1cb26b1dd79c002900000000000000000000000089bd2e7e388fab44ae88bef4e1ad12b4f1e0911c000000000000000000000000bb12800e7446a51395b2d853d6ce7f22210bb5e5000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Deployed Bytecode
0x6080604052600436106101a15760003560e01c80638f8bdc34116100e1578063e580b2b01161008a578063f0f4426011610064578063f0f4426014610482578063f2fde38b146104c2578063f6326fb3146101a1578063f688bcfb14610502576101a1565b8063e580b2b01461042e578063e7c80f1714610443578063e8b508021461046d576101a1565b8063bc7dce06116100bb578063bc7dce06146103af578063cb13cddb146103d9578063d336468714610419576101a1565b80638f8bdc341461035b5780639f0650d914610370578063a034050c14610385576101a1565b80635f3e849f1161014e578063715018a611610128578063715018a6146102f25780638d134bed146103075780638da5cb5b146103315780638f32d59b14610346576101a1565b80635f3e849f1461027857806361d027b3146102c857806368e9c00a146102dd576101a1565b80633e413bee1161017f5780633e413bee146102275780634bb278f31461023c578063531acc1314610251576101a1565b806304549d6f146101ab5780632a44ecc1146101d45780632f48ab7d14610212575b6101a961052c565b005b3480156101b757600080fd5b506101c0610586565b604080519115158252519081900360200190f35b3480156101e057600080fd5b506101e961059a565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561021e57600080fd5b506101e96105b6565b34801561023357600080fd5b506101e96105d2565b34801561024857600080fd5b506101a96105ee565b34801561025d57600080fd5b5061026661077f565b60408051918252519081900360200190f35b34801561028457600080fd5b506101a96004803603606081101561029b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610785565b3480156102d457600080fd5b506101e9610824565b3480156102e957600080fd5b50610266610840565b3480156102fe57600080fd5b506101a9610847565b34801561031357600080fd5b506102666004803603602081101561032a57600080fd5b5035610929565b34801561033d57600080fd5b506101e9610942565b34801561035257600080fd5b506101c061095e565b34801561036757600080fd5b5061026661099c565b34801561037c57600080fd5b506102666109a2565b34801561039157600080fd5b50610266600480360360208110156103a857600080fd5b50356109a8565b3480156103bb57600080fd5b506101a9600480360360208110156103d257600080fd5b50356109bf565b3480156103e557600080fd5b50610266600480360360208110156103fc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ae8565b34801561042557600080fd5b50610266610afa565b34801561043a57600080fd5b506101c0610b02565b34801561044f57600080fd5b506101a96004803603602081101561046657600080fd5b5035610b11565b34801561047957600080fd5b50610266610b37565b34801561048e57600080fd5b506101a9600480360360208110156104a557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b3f565b3480156104ce57600080fd5b506101a9600480360360208110156104e557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610cad565b34801561050e57600080fd5b506101a96004803603602081101561052557600080fd5b5035610d29565b60055460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f19350505050158015610572573d6000803e3d6000fd5b5061058461057f346109a8565b610d4c565b565b6000610595635fe209f061109a565b905090565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b6105f6610b02565b61066157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f50726573616c65206e6f7420656e646564207965740000000000000000000000604482015290519081900360640190fd5b60048054600554604080517f70a0823100000000000000000000000000000000000000000000000000000000815230948101949094525173ffffffffffffffffffffffffffffffffffffffff9283169363a38e2105939092169184916370a0823191602480820192602092909190829003018186803b1580156106e357600080fd5b505afa1580156106f7573d6000803e3d6000fd5b505050506040513d602081101561070d57600080fd5b50516040805163ffffffff851660e01b815273ffffffffffffffffffffffffffffffffffffffff9093166004840152602483019190915251604480830192600092919082900301818387803b15801561076557600080fd5b505af1158015610779573d6000803e3d6000fd5b50505050565b60025481565b61078d61095e565b6107f857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61081f73ffffffffffffffffffffffffffffffffffffffff8416838363ffffffff61109f16565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b6203d09081565b61084f61095e565b6108ba57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60006203d090670de0b6b3a764000083025b0492915050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff1661098061112c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60035481565b60015481565b6000670de0b6b3a764000060015483028161093b57fe5b6109c761095e565b610a3257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60015415610aa157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416c726561647920736574000000000000000000000000000000000000000000604482015290519081900360640190fd5b60018190556002819055606481026003556040805182815290517f37dcffad3b06af912e7fda69320a919573d0c99e0ba3ae2ae8e5be21be88d9fb9181900360200190a150565b60086020526000908152604090205481565b635fe209f081565b6000610595635feb447061109a565b600654610b349073ffffffffffffffffffffffffffffffffffffffff1682611130565b50565b635feb447081565b610b4761095e565b610bb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610c3457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015290519081900360640190fd5b6005805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d19181900360200190a150565b610cb561095e565b610d2057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b348161116c565b600754610b349073ffffffffffffffffffffffffffffffffffffffff1682611130565b60008111610dbb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f43616e6e6f74206465706f736974203000000000000000000000000000000000604482015290519081900360640190fd5b610dc3610586565b610e2e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50726573616c65206e6f74207374617274656420796574000000000000000000604482015290519081900360640190fd5b610e3e610e39610b02565b611265565b610ea957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f50726573616c6520616c726561647920656e6465640000000000000000000000604482015290519081900360640190fd5b3360009081526008602052604090205460025490820190811015610f2e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d696e696d756d206465706f736974206e6f74206d6574000000000000000000604482015290519081900360640190fd5b600354811115610f9f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d6178696d756d206465706f7369742072656163686564000000000000000000604482015290519081900360640190fd5b33600081815260086020526040902082905560045473ffffffffffffffffffffffffffffffffffffffff169063a38e210590610fda85610929565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561104357600080fd5b505af1158015611057573d6000803e3d6000fd5b5050604080513381526020810186905281517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9450908190039091019150a15050565b421190565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261081f908490611269565b3390565b60055461115f9073ffffffffffffffffffffffffffffffffffffffff848116913391168463ffffffff6114a716565b61116881610d4c565b5050565b73ffffffffffffffffffffffffffffffffffffffff81166111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806115796026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b1590565b6112888273ffffffffffffffffffffffffffffffffffffffff1661153c565b6112f357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061135c57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161131f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146113be576040519150601f19603f3d011682016040523d82523d6000602084013e6113c3565b606091505b50915091508161143457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156107795780806020019051602081101561145057600080fd5b5051610779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061159f602a913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610779908590611269565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061157057508115155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a72305820e491b0d4d3d22d3022939622716662f90e25ab7cfbe50b6360ee1cb26b1dd79c0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000089bd2e7e388fab44ae88bef4e1ad12b4f1e0911c000000000000000000000000bb12800e7446a51395b2d853d6ce7f22210bb5e5000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
-----Decoded View---------------
Arg [0] : _nux (address): 0x89bD2E7e388fAB44AE88BEf4e1AD12b4F1E0911c
Arg [1] : _treasury (address): 0xbb12800E7446A51395B2d853D6Ce7F22210Bb5E5
Arg [2] : _usdt (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [3] : _usdc (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000089bd2e7e388fab44ae88bef4e1ad12b4f1e0911c
Arg [1] : 000000000000000000000000bb12800e7446a51395b2d853d6ce7f22210bb5e5
Arg [2] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Deployed Bytecode Sourcemap
19220:3550:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21398:12;:10;:12::i;:::-;19220:3550;20785:99;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20785:99:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;19693:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19693:22:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19760:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19760:18:0;;;:::i;19785:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19785:18:0;;;:::i;22576:191::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22576:191:0;;;:::i;19621:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19621:29:0;;;:::i;:::-;;;;;;;;;;;;;;;;22434:134;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22434:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22434:134:0;;;;;;;;;;;;;;;;;;:::i;19722:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19722:31:0;;;:::i;19523:47::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19523:47:0;;;:::i;17748:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17748:140:0;;;:::i;21683:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21683:117:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21683:117:0;;:::i;16937:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16937:79:0;;;:::i;17303:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17303:94:0;;;:::i;19657:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19657:29:0;;;:::i;19589:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19589:25:0;;;:::i;21558:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21558:117:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21558:117:0;;:::i;20469:308::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20469:308:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20469:308:0;;:::i;19812:41::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19812:41:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19812:41:0;;;;:::i;19315:47::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19315:47:0;;;:::i;20892:95::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20892:95:0;;;:::i;20995:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20995:87:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20995:87:0;;:::i;19414:57::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19414:57:0;;;:::i;20251:210::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20251:210:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20251:210:0;;;;:::i;18043:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18043:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18043:109:0;;;;:::i;21090:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21090:87:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21090:87:0;;:::i;21426:124::-;21474:8;;:28;;:8;;;;;21492:9;21474:28;;;;;:8;:28;:8;:28;21492:9;21474:8;:28;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21474:28:0;21513:29;21522:19;21531:9;21522:8;:19::i;:::-;21513:8;:29::i;:::-;21426:124::o;20785:99::-;20831:4;20855:21;19352:10;20855:6;:21::i;:::-;20848:28;;20785:99;:::o;19693:22::-;;;;;;:::o;19760:18::-;;;;;;:::o;19785:::-;;;;;;:::o;22576:191::-;22622:14;:12;:14::i;:::-;22614:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22691:8;;;22715;;22725:33;;;;;;22752:4;22725:33;;;;;;;;22691:8;;;;;22673:41;;22715:8;;;;22691;;22725:18;;:33;;;;;;;;;;;;;;;22691:8;22725:33;;;5:2:-1;;;;30:1;27;20:12;5:2;22725:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22725:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22725:33:0;22673:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22673:86:0;;;;;;;-1:-1:-1;22673:86:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;22673:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22673:86:0;;;;22576:191::o;19621:29::-;;;;:::o;22434:134::-;17149:9;:7;:9::i;:::-;17141:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22528:32;:19;;;22548:3;22553:6;22528:32;:19;:32;:::i;:::-;22434:134;;;:::o;19722:31::-;;;;;;:::o;19523:47::-;19564:6;19523:47;:::o;17748:140::-;17149:9;:7;:9::i;:::-;17141:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17847:1;17831:6;;17810:40;;;17831:6;;;;17810:40;;17847:1;;17810:40;17878:1;17861:19;;;;;;17748:140::o;21683:117::-;21734:4;19564:6;18760;21759:12;;21758:34;;;21683:117;-1:-1:-1;;21683:117:0:o;16937:79::-;16975:7;17002:6;;;16937:79;:::o;17303:94::-;17343:4;17383:6;;;;17367:12;:10;:12::i;:::-;:22;;;17360:29;;17303:94;:::o;19657:29::-;;;;:::o;19589:25::-;;;;:::o;21558:117::-;21609:4;21660:7;21643:13;;21634:6;:22;21633:34;;;;20469:308;17149:9;:7;:9::i;:::-;17141:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20545:13;;:18;20537:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20590:13;:26;;;20627:17;:33;;;20700:3;:19;;20680:17;:39;20746:23;;;;;;;;;;;;;;;;;20469:308;:::o;19812:41::-;;;;;;;;;;;;;:::o;19315:47::-;19352:10;19315:47;:::o;20892:95::-;20936:4;20960:19;19449:22;20960:6;:19::i;20995:87::-;21061:4;;21047:27;;21061:4;;21067:6;21047:13;:27::i;:::-;20995:87;:::o;19414:57::-;19449:22;19414:57;:::o;20251:210::-;17149:9;:7;:9::i;:::-;17141:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20337:23;;;20329:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20391:8;:20;;;;;;;;;;;;;;20427:26;;;;;;;;;;;;;;;;20251:210;:::o;18043:109::-;17149:9;:7;:9::i;:::-;17141:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18116:28;18135:8;18116:18;:28::i;21090:87::-;21156:4;;21142:27;;21156:4;;21162:6;21142:13;:27::i;21808:618::-;21876:1;21867:6;:10;21859:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21917:16;:14;:16::i;:::-;21909:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21980:19;21984:14;:12;:14::i;:::-;21980:3;:19::i;:::-;21972:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22066:10;22036:17;22056:21;;;:9;:21;;;;;;22121:17;;22056:30;;;;22105:33;;;22097:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22201:17;;22185:12;:33;;22177:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22267:10;22257:21;;;;:9;:21;;;;;:36;;;22322:8;;22257:21;22322:8;;22304:41;;22358:16;22367:6;22358:8;:16::i;:::-;22304:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22304:71:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;22391:27:0;;;22399:10;22391:27;;;;;;;;;;;;-1:-1:-1;22391:27:0;;;;;;;;-1:-1:-1;22391:27:0;21808:618;;:::o;18995:115::-;19087:15;-1:-1:-1;19074:28:0;18995:115::o;11785:176::-;11894:58;;;11917:14;11894:58;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;11894:58:0;;;;;;;;25:18:-1;;61:17;;11894:58:0;182:15:-1;11917:23:0;179:29:-1;160:49;;11868:85:0;;11887:5;;11868:18;:85::i;15726:98::-;15806:10;15726:98;:::o;21185:165::-;21298:8;;21259:56;;21298:8;21259:26;;;;21286:10;;21298:8;21308:6;21259:56;:26;:56;:::i;:::-;21326:16;21335:6;21326:8;:16::i;:::-;21185:165;;:::o;18258:229::-;18332:22;;;18324:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18434:6;;;18413:38;;;;;;;18434:6;;;18413:38;;;18462:6;:17;;;;;;;;;;;;;;;18258:229::o;19118:95::-;19194:11;;19118:95::o;13824:1114::-;14428:27;14436:5;14428:25;;;:27::i;:::-;14420:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14565:12;14579:23;14614:5;14606:19;;14626:4;14606:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;14606:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;14564:67:0;;;;14650:7;14642:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14711:17;;:21;14707:224;;14853:10;14842:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14842:30:0;14834:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11969:204;12096:68;;;12119:18;12096:68;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12096:68:0;;;;;;;;25:18:-1;;61:17;;12096:68:0;182:15:-1;12119:27:0;179:29:-1;160:49;;12070:95:0;;12089:5;;12070:18;:95::i;6113:619::-;6173:4;6641:20;;6484:66;6681:23;;;;;;:42;;-1:-1:-1;6708:15:0;;;6681:42;6673:51;6113:619;-1:-1:-1;;;;6113:619:0:o
Swarm Source
bzzr://e491b0d4d3d22d3022939622716662f90e25ab7cfbe50b6360ee1cb26b1dd79c
Loading...
Loading
Loading...
Loading
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.