Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 363 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint Phase Two | 15240307 | 910 days ago | IN | 0.075 ETH | 0.00025166 | ||||
Mint Phase Two | 15240305 | 910 days ago | IN | 0.075 ETH | 0.00027522 | ||||
Mint Phase Two | 15240202 | 910 days ago | IN | 0.075 ETH | 0.00028149 | ||||
Withdraw | 15234477 | 911 days ago | IN | 0 ETH | 0.00039762 | ||||
Set Sale Status | 15226889 | 912 days ago | IN | 0 ETH | 0.00393282 | ||||
Mint Phase Two | 15226837 | 912 days ago | IN | 0.075 ETH | 0.00241293 | ||||
Mint Phase Two | 15226833 | 912 days ago | IN | 0.075 ETH | 0.00280025 | ||||
Mint Phase Two | 15226831 | 912 days ago | IN | 0.075 ETH | 0.00276474 | ||||
Mint Phase Two | 15226827 | 912 days ago | IN | 0.075 ETH | 0.00308872 | ||||
Mint Phase Two | 15226817 | 912 days ago | IN | 0.075 ETH | 0.00390089 | ||||
Mint Phase Two | 15226811 | 912 days ago | IN | 0.075 ETH | 0.00303822 | ||||
Mint Phase Two | 15226800 | 912 days ago | IN | 0.075 ETH | 0.00439116 | ||||
Mint Phase Two | 15226755 | 912 days ago | IN | 0.075 ETH | 0.00514146 | ||||
Mint Phase Two | 15226714 | 912 days ago | IN | 0.075 ETH | 0.00429374 | ||||
Mint Phase Two | 15226692 | 912 days ago | IN | 0.075 ETH | 0.00584859 | ||||
Mint Phase Two | 15226660 | 912 days ago | IN | 0.075 ETH | 0.00520054 | ||||
Mint Phase Two | 15226581 | 912 days ago | IN | 0.075 ETH | 0.00507946 | ||||
Mint Phase Two | 15226475 | 912 days ago | IN | 0.075 ETH | 0.00421933 | ||||
Mint Phase Two | 15226475 | 912 days ago | IN | 0.075 ETH | 0.00421869 | ||||
Mint Phase Two | 15226297 | 912 days ago | IN | 0.075 ETH | 0.00424416 | ||||
Mint Phase Two | 15226177 | 912 days ago | IN | 0.15 ETH | 0.01118143 | ||||
Mint Phase Two | 15226171 | 912 days ago | IN | 0.225 ETH | 0.01012195 | ||||
Mint Phase Two | 15226168 | 912 days ago | IN | 0.075 ETH | 0.00850664 | ||||
Mint Phase Two | 15226107 | 912 days ago | IN | 0.15 ETH | 0.00821509 | ||||
Mint Phase Two | 15226030 | 913 days ago | IN | 0.075 ETH | 0.01233459 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
15234477 | 911 days ago | 31.725 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
AsuraMinter
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.14; // @title: Asura // @url: https://theasuraproject.com import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./IAsuraToken.sol"; contract AsuraMinter is Ownable, ReentrancyGuard { using Address for address payable; // -=-=-=-=- Errors -=-=-=-=- error SaleInactive(); error PaymentAmountInsufficient(); error SoldOut(); error MintAllowanceSurpassed(); error SignatureIncorrect(); error PayoutWalletLocked(); error BalanceIsZero(); error MinterNotPledgeContract(); // -=-=-=-=- Signature -=-=-=-=- uint256 MINT_ID = 1; bytes32 PHASEONE_ID = keccak256("PHASEONE"); bytes32 PHASETWO_ID = keccak256("PHASETWO"); bytes32 PUBLIC_ID = keccak256("PUBLIC"); address public signerAddress; // -=-=-=-=- Sale Supply -=-=-=-=- mapping(address => uint256) public addressToPhaseTwoMintCount; struct SaleSupply { uint256 phaseOneSupply; uint256 phaseTwoSupply; uint256 publicSupply; } SaleSupply public saleSupply; uint256 public teamSupply = 50; // -=-=-=-=- Sale Status -=-=-=-=- struct SaleStatus { uint256 phaseOneTimestampStart; uint256 phaseOneTimestampEnd; uint256 phaseTwoTimestampStart; uint256 phaseTwoTimestampEnd; uint256 publicTimestampStart; uint256 publicTimestampEnd; } SaleStatus public saleStatus; // -=-=-=-=- Sale Price ・-=-=-=-=- struct SalePrice { uint256 phaseOnePrice; uint256 phaseTwoPrice; uint256 publicPrice; } SalePrice public salePrice; // -=-=-=-=- Payout Wallet -=-=-=-=- address payoutWallet = 0xa3FF74eF802836dBd4d2C2c5AC950B88EAE237d5; bool public isPayoutWalletLocked = false; // -=-=-=-=- Token Address -=-=-=-=- /** * @dev This contract adopt the Minter <-> Token <-> Metadata pattern as inspired by Hapebeast's contract **/ address public tokenAddress; // -=-=-=-=- Pledge Contract Address -=-=-=-=- address public pledgeContractAddress = 0x61e8Fb506d1832a6214CfE1DC30862D58cdB9bA5; // -=-=-=-=- Constructor -=-=-=-=- constructor( address _tokenAddress, SaleStatus memory _saleStatus, SalePrice memory _salePrice, SaleSupply memory _saleSupply ) { tokenAddress = _tokenAddress; saleStatus = _saleStatus; salePrice = _salePrice; saleSupply = _saleSupply; } // -=-=-=-=- Token Information -=-=-=-=- function totalSupply() public view returns (uint256) { return IAsuraToken(tokenAddress).totalSupply(); } function numberMinted(address _owner) public view returns (uint256) { return IAsuraToken(tokenAddress).numberMinted(_owner); } // -=-=-=-=- Mint -=-=-=-=- function mintPhaseOne( uint256 _amount, uint256 _maxAmount, bytes memory _sig ) external payable { if ( block.timestamp < saleStatus.phaseOneTimestampStart || block.timestamp > saleStatus.phaseOneTimestampEnd ) revert SaleInactive(); if (totalSupply() + _amount > saleSupply.phaseOneSupply) revert SoldOut(); if (msg.value < salePrice.phaseOnePrice * _amount) revert PaymentAmountInsufficient(); if (numberMinted(msg.sender) + _amount > _maxAmount) revert MintAllowanceSurpassed(); if ( !validateSignature( keccak256( abi.encodePacked( msg.sender, _maxAmount, MINT_ID, PHASEONE_ID ) ), _sig ) ) revert SignatureIncorrect(); _mintPrivate(msg.sender, _amount); } function mintPhaseTwo( uint256 _amount, uint256 _maxAmount, bytes memory _sig ) external payable { if ( block.timestamp < saleStatus.phaseTwoTimestampStart || block.timestamp > saleStatus.phaseTwoTimestampEnd ) revert SaleInactive(); if (totalSupply() + _amount > saleSupply.phaseTwoSupply) revert SoldOut(); if (msg.value < salePrice.phaseTwoPrice * _amount) revert PaymentAmountInsufficient(); if (addressToPhaseTwoMintCount[msg.sender] + _amount > _maxAmount) revert MintAllowanceSurpassed(); if ( !validateSignature( keccak256( abi.encodePacked( msg.sender, _maxAmount, MINT_ID, PHASETWO_ID ) ), _sig ) ) revert SignatureIncorrect(); addressToPhaseTwoMintCount[msg.sender] += _amount; _mintPrivate(msg.sender, _amount); } function mintPublic( uint256 _amount, uint256 _maxAmount, bytes memory _sig ) external payable nonReentrant { if ( block.timestamp < saleStatus.publicTimestampStart || block.timestamp > saleStatus.publicTimestampEnd ) revert SaleInactive(); if (totalSupply() + _amount > saleSupply.publicSupply) revert SoldOut(); if (msg.value < salePrice.publicPrice * _amount) revert PaymentAmountInsufficient(); if (_amount > _maxAmount) revert MintAllowanceSurpassed(); if ( !validateSignature( keccak256( abi.encodePacked(msg.sender, _maxAmount, MINT_ID, PUBLIC_ID) ), _sig ) ) revert SignatureIncorrect(); _mintPrivate(msg.sender, _amount); } function mintTeam(address _to, uint256 _amount) external onlyOwner { if (totalSupply() + _amount > teamSupply) revert SoldOut(); teamSupply -= _amount; _mintPrivate(_to, _amount); } /** * @dev Pledge Mint Integration **/ function pledgeMint(address _to, uint8 _amount) external payable { if (pledgeContractAddress != msg.sender) revert MinterNotPledgeContract(); _mintPrivate(_to, uint256(_amount)); } function setPledgeContractAddress(address _pledgeContractAddress) external onlyOwner { pledgeContractAddress = _pledgeContractAddress; } function _mintPrivate(address _to, uint256 _amount) internal { IAsuraToken(tokenAddress).mint(_to, _amount); } // -=-=-=-=- Setters -=-=-=-=- function setSaleStatus(SaleStatus memory _saleStatus) external onlyOwner { saleStatus = _saleStatus; } function setSalePrice(SalePrice memory _salePrice) external onlyOwner { salePrice = _salePrice; } function setSaleSupply(SaleSupply memory _saleSupply) external onlyOwner { saleSupply = _saleSupply; } function setTeamSupply(uint256 _teamSupply) external onlyOwner { teamSupply = _teamSupply; } function setMintId(uint256 _mintId) external onlyOwner { MINT_ID = _mintId; } // -=-=-=-=- Getters -=-=-=-=- function addressToPhaseOneMintCount(address _owner) external view returns (uint256) { return numberMinted(_owner); } function getSaleStatus() external view returns (uint8) { if ( block.timestamp > saleStatus.phaseOneTimestampStart && block.timestamp < saleStatus.phaseOneTimestampEnd ) { return 1; } else if ( block.timestamp > saleStatus.phaseTwoTimestampStart && block.timestamp < saleStatus.phaseTwoTimestampEnd ) { return 2; } else if ( block.timestamp > saleStatus.publicTimestampStart && block.timestamp < saleStatus.publicTimestampEnd ) { return 3; } else if (block.timestamp > saleStatus.publicTimestampEnd) { return 4; } return 0; } // -=-=-=-=- Withdraw -=-=-=-=- function withdraw() public onlyOwner { if (address(this).balance == 0) revert BalanceIsZero(); payable(payoutWallet).sendValue(address(this).balance); } /** * @dev Retain ability to modify payout wallet in case of emergency * Ability to lock wallet to maintain the integrity of the contract **/ function setPayoutWallet(address _payoutWallet) external onlyOwner { if (isPayoutWalletLocked) revert PayoutWalletLocked(); payoutWallet = _payoutWallet; } function lockPayoutWallet() external onlyOwner { isPayoutWalletLocked = true; } // -=-=-=-=- Signature -=-=-=-=- function validateSignature(bytes32 _signedHash, bytes memory _sig) internal view returns (bool) { return ECDSA.recover(_signedHash, _sig) == signerAddress; } function setSignerAddress(address _signerAddress) external onlyOwner { signerAddress = _signerAddress; } } // @dev: marcelc63
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.14; abstract contract IAsuraToken { function mint(address _to, uint256 _amount) external virtual; function totalSupply() external view virtual returns (uint256); function numberMinted(address _owner) external view virtual returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"components":[{"internalType":"uint256","name":"phaseOneTimestampStart","type":"uint256"},{"internalType":"uint256","name":"phaseOneTimestampEnd","type":"uint256"},{"internalType":"uint256","name":"phaseTwoTimestampStart","type":"uint256"},{"internalType":"uint256","name":"phaseTwoTimestampEnd","type":"uint256"},{"internalType":"uint256","name":"publicTimestampStart","type":"uint256"},{"internalType":"uint256","name":"publicTimestampEnd","type":"uint256"}],"internalType":"struct AsuraMinter.SaleStatus","name":"_saleStatus","type":"tuple"},{"components":[{"internalType":"uint256","name":"phaseOnePrice","type":"uint256"},{"internalType":"uint256","name":"phaseTwoPrice","type":"uint256"},{"internalType":"uint256","name":"publicPrice","type":"uint256"}],"internalType":"struct AsuraMinter.SalePrice","name":"_salePrice","type":"tuple"},{"components":[{"internalType":"uint256","name":"phaseOneSupply","type":"uint256"},{"internalType":"uint256","name":"phaseTwoSupply","type":"uint256"},{"internalType":"uint256","name":"publicSupply","type":"uint256"}],"internalType":"struct AsuraMinter.SaleSupply","name":"_saleSupply","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BalanceIsZero","type":"error"},{"inputs":[],"name":"MintAllowanceSurpassed","type":"error"},{"inputs":[],"name":"MinterNotPledgeContract","type":"error"},{"inputs":[],"name":"PaymentAmountInsufficient","type":"error"},{"inputs":[],"name":"PayoutWalletLocked","type":"error"},{"inputs":[],"name":"SaleInactive","type":"error"},{"inputs":[],"name":"SignatureIncorrect","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"addressToPhaseOneMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToPhaseTwoMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleStatus","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPayoutWalletLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockPayoutWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxAmount","type":"uint256"},{"internalType":"bytes","name":"_sig","type":"bytes"}],"name":"mintPhaseOne","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxAmount","type":"uint256"},{"internalType":"bytes","name":"_sig","type":"bytes"}],"name":"mintPhaseTwo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxAmount","type":"uint256"},{"internalType":"bytes","name":"_sig","type":"bytes"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMinted","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":"pledgeContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"pledgeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"phaseOnePrice","type":"uint256"},{"internalType":"uint256","name":"phaseTwoPrice","type":"uint256"},{"internalType":"uint256","name":"publicPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"uint256","name":"phaseOneTimestampStart","type":"uint256"},{"internalType":"uint256","name":"phaseOneTimestampEnd","type":"uint256"},{"internalType":"uint256","name":"phaseTwoTimestampStart","type":"uint256"},{"internalType":"uint256","name":"phaseTwoTimestampEnd","type":"uint256"},{"internalType":"uint256","name":"publicTimestampStart","type":"uint256"},{"internalType":"uint256","name":"publicTimestampEnd","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleSupply","outputs":[{"internalType":"uint256","name":"phaseOneSupply","type":"uint256"},{"internalType":"uint256","name":"phaseTwoSupply","type":"uint256"},{"internalType":"uint256","name":"publicSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintId","type":"uint256"}],"name":"setMintId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutWallet","type":"address"}],"name":"setPayoutWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pledgeContractAddress","type":"address"}],"name":"setPledgeContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"phaseOnePrice","type":"uint256"},{"internalType":"uint256","name":"phaseTwoPrice","type":"uint256"},{"internalType":"uint256","name":"publicPrice","type":"uint256"}],"internalType":"struct AsuraMinter.SalePrice","name":"_salePrice","type":"tuple"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"phaseOneTimestampStart","type":"uint256"},{"internalType":"uint256","name":"phaseOneTimestampEnd","type":"uint256"},{"internalType":"uint256","name":"phaseTwoTimestampStart","type":"uint256"},{"internalType":"uint256","name":"phaseTwoTimestampEnd","type":"uint256"},{"internalType":"uint256","name":"publicTimestampStart","type":"uint256"},{"internalType":"uint256","name":"publicTimestampEnd","type":"uint256"}],"internalType":"struct AsuraMinter.SaleStatus","name":"_saleStatus","type":"tuple"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"phaseOneSupply","type":"uint256"},{"internalType":"uint256","name":"phaseTwoSupply","type":"uint256"},{"internalType":"uint256","name":"publicSupply","type":"uint256"}],"internalType":"struct AsuraMinter.SaleSupply","name":"_saleSupply","type":"tuple"}],"name":"setSaleSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_teamSupply","type":"uint256"}],"name":"setTeamSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260016002557faf0457d5778febc99b9d5998b39721f1e4ad21e93773a2244d574aa24e387b8b6003557ffc999a3b557594cb8be112ec2425a14f8477bf9ac9fc6b63394c9b3d83d441fd6004557f0dcb90aa16cbc9d9801c9664728a10e67b804066460e005e084b6f5a25f123e56005556032600b55601580546001600160a81b03191673a3ff74ef802836dbd4d2c2c5ac950b88eae237d5179055601780546001600160a01b0319167361e8fb506d1832a6214cfe1dc30862d58cdb9ba5179055348015620000d357600080fd5b5060405162001eb938038062001eb9833981016040819052620000f69162000271565b62000101336200017f565b60018055601680546001600160a01b0319166001600160a01b0395909516949094179093558151600c55602080830151600d55604080840151600e556060840151600f55608084015160105560a0909301516011558151601255818101516013559082015160145582516008558201516009550151600a556200032b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60405160c081016001600160401b03811182821017156200020057634e487b7160e01b600052604160045260246000fd5b60405290565b6000606082840312156200021957600080fd5b604051606081016001600160401b03811182821017156200024a57634e487b7160e01b600052604160045260246000fd5b80604052508091508251815260208301516020820152604083015160408201525092915050565b6000806000808486036101a08112156200028a57600080fd5b85516001600160a01b0381168114620002a257600080fd5b945060c0601f1982011215620002b757600080fd5b50620002c2620001cf565b6020860151815260408601516020820152606086015160408201526080860151606082015260a0860151608082015260c086015160a0820152809350506200030e8660e0870162000206565b91506200032086610140870162000206565b905092959194509250565b611b7e806200033b6000396000f3fe6080604052600436106101d85760003560e01c806393f84cfe11610102578063d99d1d6211610095578063f51f96dd11610064578063f51f96dd1461054a578063f8f103dd14610569578063f9020e3314610589578063fb0f4a7f146105e157600080fd5b8063d99d1d62146104d7578063dc33e681146104ea578063e0093b541461050a578063f2fde38b1461052a57600080fd5b8063a96af0f4116100d1578063a96af0f414610430578063c2df1e741461046a578063c81d928614610497578063cf3df230146104b757600080fd5b806393f84cfe146103b05780639cf5cd96146103d05780639d76ea58146103f0578063a2319af31461041057600080fd5b8063511c28501161017a578063715018a611610149578063715018a6146103435780638701ee29146103585780638c3c4b341461036b5780638da5cb5b1461039257600080fd5b8063511c2850146102db57806357e0934b146102f05780635b7633d0146103035780636b8f9c431461032357600080fd5b80631fba58ed116101b65780631fba58ed146102585780632cfac6ec146102905780633ccfd60b146102a65780634d4e3be0146102bb57600080fd5b8063046dc166146101dd57806312890751146101ff57806318160ddd14610235575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611812565b6105f4565b005b34801561020b57600080fd5b5060155461022090600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b34801561024157600080fd5b5061024a610670565b60405190815260200161022c565b34801561026457600080fd5b50601754610278906001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b34801561029c57600080fd5b5061024a600b5481565b3480156102b257600080fd5b506101fd6106fc565b3480156102c757600080fd5b506101fd6102d636600461187b565b610796565b3480156102e757600080fd5b506101fd61080c565b6101fd6102fe3660046118f5565b610884565b34801561030f57600080fd5b50600654610278906001600160a01b031681565b34801561032f57600080fd5b506101fd61033e366004611812565b6109cf565b34801561034f57600080fd5b506101fd610a8a565b6101fd6103663660046118f5565b610adc565b34801561037757600080fd5b50610380610c57565b60405160ff909116815260200161022c565b34801561039e57600080fd5b506000546001600160a01b0316610278565b3480156103bc57600080fd5b506101fd6103cb36600461199d565b610cc7565b3480156103dc57600080fd5b506101fd6103eb366004611a23565b610d6a565b3480156103fc57600080fd5b50601654610278906001600160a01b031681565b34801561041c57600080fd5b506101fd61042b366004611a23565b610dc8565b34801561043c57600080fd5b50600854600954600a5461044f92919083565b6040805193845260208401929092529082015260600161022c565b34801561047657600080fd5b5061024a610485366004611812565b60076020526000908152604090205481565b3480156104a357600080fd5b506101fd6104b2366004611a3f565b610e26565b3480156104c357600080fd5b506101fd6104d2366004611812565b610e73565b6101fd6104e53660046118f5565b610eea565b3480156104f657600080fd5b5061024a610505366004611812565b611045565b34801561051657600080fd5b5061024a610525366004611812565b6110d3565b34801561053657600080fd5b506101fd610545366004611812565b6110de565b34801561055657600080fd5b5060125460135460145461044f92919083565b34801561057557600080fd5b506101fd610584366004611a3f565b6111ae565b34801561059557600080fd5b50600c54600d54600e54600f546010546011546105b495949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c00161022c565b6101fd6105ef366004611a58565b6111fb565b6000546001600160a01b031633146106415760405162461bcd60e51b81526020600482018190526024820152600080516020611b2983398151915260448201526064015b60405180910390fd5b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b601654604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156106d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f79190611a95565b905090565b6000546001600160a01b031633146107445760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b4760000361077e576040517f50df174900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601554610794906001600160a01b03164761124c565b565b6000546001600160a01b031633146107de5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b8051600c556020810151600d556040810151600e556060810151600f55608081015160105560a00151601155565b6000546001600160a01b031633146108545760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b601580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b179055565b600c544210806108955750600d5442115b156108b357604051630fe219dd60e21b815260040160405180910390fd5b600854836108bf610670565b6108c99190611ac4565b11156108e8576040516352df9fe560e01b815260040160405180910390fd5b6012546108f6908490611adc565b341015610916576040516309f4174d60e41b815260040160405180910390fd5b818361092133611045565b61092b9190611ac4565b111561094a576040516332983c2160e21b815260040160405180910390fd5b6002546003546040516bffffffffffffffffffffffff193360601b16602082015260348101859052605481019290925260748201526109a3906094015b6040516020818303038152906040528051906020012082611365565b6109c057604051637c2eee7b60e01b815260040160405180910390fd5b6109ca338461138f565b505050565b6000546001600160a01b03163314610a175760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b601554600160a01b900460ff1615610a5b576040517f336baef500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6015805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ad25760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b6107946000611412565b600260015403610b2e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610638565b6002600155601054421080610b44575060115442115b15610b6257604051630fe219dd60e21b815260040160405180910390fd5b600a5483610b6e610670565b610b789190611ac4565b1115610b97576040516352df9fe560e01b815260040160405180910390fd5b601454610ba5908490611adc565b341015610bc5576040516309f4174d60e41b815260040160405180910390fd5b81831115610be6576040516332983c2160e21b815260040160405180910390fd5b6002546005546040516bffffffffffffffffffffffff193360601b1660208201526034810185905260548101929092526074820152610c2790609401610987565b610c4457604051637c2eee7b60e01b815260040160405180910390fd5b610c4e338461138f565b50506001805550565b600c5460009042118015610c6c5750600d5442105b15610c775750600190565b600e5442118015610c895750600f5442105b15610c945750600290565b60105442118015610ca6575060115442105b15610cb15750600390565b601154421115610cc15750600490565b50600090565b6000546001600160a01b03163314610d0f5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b600b5481610d1b610670565b610d259190611ac4565b1115610d44576040516352df9fe560e01b815260040160405180910390fd5b80600b6000828254610d569190611afb565b90915550610d669050828261138f565b5050565b6000546001600160a01b03163314610db25760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b8051601255602081015160135560400151601455565b6000546001600160a01b03163314610e105760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b8051600855602081015160095560400151600a55565b6000546001600160a01b03163314610e6e5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b600255565b6000546001600160a01b03163314610ebb5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b6017805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600e54421080610efb5750600f5442115b15610f1957604051630fe219dd60e21b815260040160405180910390fd5b60095483610f25610670565b610f2f9190611ac4565b1115610f4e576040516352df9fe560e01b815260040160405180910390fd5b601354610f5c908490611adc565b341015610f7c576040516309f4174d60e41b815260040160405180910390fd5b336000908152600760205260409020548290610f99908590611ac4565b1115610fb8576040516332983c2160e21b815260040160405180910390fd5b6002546004546040516bffffffffffffffffffffffff193360601b1660208201526034810185905260548101929092526074820152610ff990609401610987565b61101657604051637c2eee7b60e01b815260040160405180910390fd5b3360009081526007602052604081208054859290611035908490611ac4565b909155506109ca9050338461138f565b6016546040517fdc33e6810000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152600092169063dc33e68190602401602060405180830381865afa1580156110a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cd9190611a95565b92915050565b60006110cd82611045565b6000546001600160a01b031633146111265760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b6001600160a01b0381166111a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610638565b6111ab81611412565b50565b6000546001600160a01b031633146111f65760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b600b55565b6017546001600160a01b0316331461123f576040517f142b8a3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d66828260ff1661138f565b8047101561129c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610638565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146112e9576040519150601f19603f3d011682016040523d82523d6000602084013e6112ee565b606091505b50509050806109ca5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610638565b6006546000906001600160a01b031661137e848461146f565b6001600160a01b0316149392505050565b6016546040517f40c10f190000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260248201849052909116906340c10f1990604401600060405180830381600087803b1580156113f657600080fd5b505af115801561140a573d6000803e3d6000fd5b505050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061147e8585611493565b9150915061148b81611501565b509392505050565b60008082516041036114c95760208301516040840151606085015160001a6114bd878285856116b7565b945094505050506114fa565b82516040036114f257602083015160408401516114e78683836117a4565b9350935050506114fa565b506000905060025b9250929050565b600081600481111561151557611515611b12565b0361151d5750565b600181600481111561153157611531611b12565b0361157e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610638565b600281600481111561159257611592611b12565b036115df5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610638565b60038160048111156115f3576115f3611b12565b0361164b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610638565b600481600481111561165f5761165f611b12565b036111ab5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610638565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156116ee575060009050600361179b565b8460ff16601b1415801561170657508460ff16601c14155b15611717575060009050600461179b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561176b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117945760006001925092505061179b565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816117da60ff86901c601b611ac4565b90506117e8878288856116b7565b935093505050935093915050565b80356001600160a01b038116811461180d57600080fd5b919050565b60006020828403121561182457600080fd5b61182d826117f6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561187357611873611834565b604052919050565b600060c0828403121561188d57600080fd5b60405160c0810181811067ffffffffffffffff821117156118b0576118b0611834565b8060405250823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b60008060006060848603121561190a57600080fd5b833592506020808501359250604085013567ffffffffffffffff8082111561193157600080fd5b818701915087601f83011261194557600080fd5b81358181111561195757611957611834565b611969601f8201601f1916850161184a565b9150808252888482850101111561197f57600080fd5b80848401858401376000848284010152508093505050509250925092565b600080604083850312156119b057600080fd5b6119b9836117f6565b946020939093013593505050565b6000606082840312156119d957600080fd5b6040516060810181811067ffffffffffffffff821117156119fc576119fc611834565b80604052508091508235815260208301356020820152604083013560408201525092915050565b600060608284031215611a3557600080fd5b61182d83836119c7565b600060208284031215611a5157600080fd5b5035919050565b60008060408385031215611a6b57600080fd5b611a74836117f6565b9150602083013560ff81168114611a8a57600080fd5b809150509250929050565b600060208284031215611aa757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ad757611ad7611aae565b500190565b6000816000190483118215151615611af657611af6611aae565b500290565b600082821015611b0d57611b0d611aae565b500390565b634e487b7160e01b600052602160045260246000fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212204a1192a1c7c34d316fbc0871b278851672e6aac784a71327b9458e52126a04e364736f6c634300080e0033000000000000000000000000759457870a5095914605f5ad3080aacb139cc5450000000000000000000000000000000000000000000000000000000062e144e00000000000000000000000000000000000000000000000000000000062e152f00000000000000000000000000000000000000000000000000000000062e152f00000000000000000000000000000000000000000000000000000000062e1a7500000000000000000000000000000000000000000000000000000000062e1b5600000000000000000000000000000000000000000000000000000000062e209c0000000000000000000000000000000000000000000000000010a741a46278000000000000000000000000000000000000000000000000000010a741a46278000000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000001e2f
Deployed Bytecode
0x6080604052600436106101d85760003560e01c806393f84cfe11610102578063d99d1d6211610095578063f51f96dd11610064578063f51f96dd1461054a578063f8f103dd14610569578063f9020e3314610589578063fb0f4a7f146105e157600080fd5b8063d99d1d62146104d7578063dc33e681146104ea578063e0093b541461050a578063f2fde38b1461052a57600080fd5b8063a96af0f4116100d1578063a96af0f414610430578063c2df1e741461046a578063c81d928614610497578063cf3df230146104b757600080fd5b806393f84cfe146103b05780639cf5cd96146103d05780639d76ea58146103f0578063a2319af31461041057600080fd5b8063511c28501161017a578063715018a611610149578063715018a6146103435780638701ee29146103585780638c3c4b341461036b5780638da5cb5b1461039257600080fd5b8063511c2850146102db57806357e0934b146102f05780635b7633d0146103035780636b8f9c431461032357600080fd5b80631fba58ed116101b65780631fba58ed146102585780632cfac6ec146102905780633ccfd60b146102a65780634d4e3be0146102bb57600080fd5b8063046dc166146101dd57806312890751146101ff57806318160ddd14610235575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611812565b6105f4565b005b34801561020b57600080fd5b5060155461022090600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b34801561024157600080fd5b5061024a610670565b60405190815260200161022c565b34801561026457600080fd5b50601754610278906001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b34801561029c57600080fd5b5061024a600b5481565b3480156102b257600080fd5b506101fd6106fc565b3480156102c757600080fd5b506101fd6102d636600461187b565b610796565b3480156102e757600080fd5b506101fd61080c565b6101fd6102fe3660046118f5565b610884565b34801561030f57600080fd5b50600654610278906001600160a01b031681565b34801561032f57600080fd5b506101fd61033e366004611812565b6109cf565b34801561034f57600080fd5b506101fd610a8a565b6101fd6103663660046118f5565b610adc565b34801561037757600080fd5b50610380610c57565b60405160ff909116815260200161022c565b34801561039e57600080fd5b506000546001600160a01b0316610278565b3480156103bc57600080fd5b506101fd6103cb36600461199d565b610cc7565b3480156103dc57600080fd5b506101fd6103eb366004611a23565b610d6a565b3480156103fc57600080fd5b50601654610278906001600160a01b031681565b34801561041c57600080fd5b506101fd61042b366004611a23565b610dc8565b34801561043c57600080fd5b50600854600954600a5461044f92919083565b6040805193845260208401929092529082015260600161022c565b34801561047657600080fd5b5061024a610485366004611812565b60076020526000908152604090205481565b3480156104a357600080fd5b506101fd6104b2366004611a3f565b610e26565b3480156104c357600080fd5b506101fd6104d2366004611812565b610e73565b6101fd6104e53660046118f5565b610eea565b3480156104f657600080fd5b5061024a610505366004611812565b611045565b34801561051657600080fd5b5061024a610525366004611812565b6110d3565b34801561053657600080fd5b506101fd610545366004611812565b6110de565b34801561055657600080fd5b5060125460135460145461044f92919083565b34801561057557600080fd5b506101fd610584366004611a3f565b6111ae565b34801561059557600080fd5b50600c54600d54600e54600f546010546011546105b495949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c00161022c565b6101fd6105ef366004611a58565b6111fb565b6000546001600160a01b031633146106415760405162461bcd60e51b81526020600482018190526024820152600080516020611b2983398151915260448201526064015b60405180910390fd5b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b601654604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156106d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f79190611a95565b905090565b6000546001600160a01b031633146107445760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b4760000361077e576040517f50df174900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601554610794906001600160a01b03164761124c565b565b6000546001600160a01b031633146107de5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b8051600c556020810151600d556040810151600e556060810151600f55608081015160105560a00151601155565b6000546001600160a01b031633146108545760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b601580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b179055565b600c544210806108955750600d5442115b156108b357604051630fe219dd60e21b815260040160405180910390fd5b600854836108bf610670565b6108c99190611ac4565b11156108e8576040516352df9fe560e01b815260040160405180910390fd5b6012546108f6908490611adc565b341015610916576040516309f4174d60e41b815260040160405180910390fd5b818361092133611045565b61092b9190611ac4565b111561094a576040516332983c2160e21b815260040160405180910390fd5b6002546003546040516bffffffffffffffffffffffff193360601b16602082015260348101859052605481019290925260748201526109a3906094015b6040516020818303038152906040528051906020012082611365565b6109c057604051637c2eee7b60e01b815260040160405180910390fd5b6109ca338461138f565b505050565b6000546001600160a01b03163314610a175760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b601554600160a01b900460ff1615610a5b576040517f336baef500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6015805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ad25760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b6107946000611412565b600260015403610b2e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610638565b6002600155601054421080610b44575060115442115b15610b6257604051630fe219dd60e21b815260040160405180910390fd5b600a5483610b6e610670565b610b789190611ac4565b1115610b97576040516352df9fe560e01b815260040160405180910390fd5b601454610ba5908490611adc565b341015610bc5576040516309f4174d60e41b815260040160405180910390fd5b81831115610be6576040516332983c2160e21b815260040160405180910390fd5b6002546005546040516bffffffffffffffffffffffff193360601b1660208201526034810185905260548101929092526074820152610c2790609401610987565b610c4457604051637c2eee7b60e01b815260040160405180910390fd5b610c4e338461138f565b50506001805550565b600c5460009042118015610c6c5750600d5442105b15610c775750600190565b600e5442118015610c895750600f5442105b15610c945750600290565b60105442118015610ca6575060115442105b15610cb15750600390565b601154421115610cc15750600490565b50600090565b6000546001600160a01b03163314610d0f5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b600b5481610d1b610670565b610d259190611ac4565b1115610d44576040516352df9fe560e01b815260040160405180910390fd5b80600b6000828254610d569190611afb565b90915550610d669050828261138f565b5050565b6000546001600160a01b03163314610db25760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b8051601255602081015160135560400151601455565b6000546001600160a01b03163314610e105760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b8051600855602081015160095560400151600a55565b6000546001600160a01b03163314610e6e5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b600255565b6000546001600160a01b03163314610ebb5760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b6017805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600e54421080610efb5750600f5442115b15610f1957604051630fe219dd60e21b815260040160405180910390fd5b60095483610f25610670565b610f2f9190611ac4565b1115610f4e576040516352df9fe560e01b815260040160405180910390fd5b601354610f5c908490611adc565b341015610f7c576040516309f4174d60e41b815260040160405180910390fd5b336000908152600760205260409020548290610f99908590611ac4565b1115610fb8576040516332983c2160e21b815260040160405180910390fd5b6002546004546040516bffffffffffffffffffffffff193360601b1660208201526034810185905260548101929092526074820152610ff990609401610987565b61101657604051637c2eee7b60e01b815260040160405180910390fd5b3360009081526007602052604081208054859290611035908490611ac4565b909155506109ca9050338461138f565b6016546040517fdc33e6810000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152600092169063dc33e68190602401602060405180830381865afa1580156110a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cd9190611a95565b92915050565b60006110cd82611045565b6000546001600160a01b031633146111265760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b6001600160a01b0381166111a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610638565b6111ab81611412565b50565b6000546001600160a01b031633146111f65760405162461bcd60e51b81526020600482018190526024820152600080516020611b298339815191526044820152606401610638565b600b55565b6017546001600160a01b0316331461123f576040517f142b8a3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d66828260ff1661138f565b8047101561129c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610638565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146112e9576040519150601f19603f3d011682016040523d82523d6000602084013e6112ee565b606091505b50509050806109ca5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610638565b6006546000906001600160a01b031661137e848461146f565b6001600160a01b0316149392505050565b6016546040517f40c10f190000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260248201849052909116906340c10f1990604401600060405180830381600087803b1580156113f657600080fd5b505af115801561140a573d6000803e3d6000fd5b505050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061147e8585611493565b9150915061148b81611501565b509392505050565b60008082516041036114c95760208301516040840151606085015160001a6114bd878285856116b7565b945094505050506114fa565b82516040036114f257602083015160408401516114e78683836117a4565b9350935050506114fa565b506000905060025b9250929050565b600081600481111561151557611515611b12565b0361151d5750565b600181600481111561153157611531611b12565b0361157e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610638565b600281600481111561159257611592611b12565b036115df5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610638565b60038160048111156115f3576115f3611b12565b0361164b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610638565b600481600481111561165f5761165f611b12565b036111ab5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610638565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156116ee575060009050600361179b565b8460ff16601b1415801561170657508460ff16601c14155b15611717575060009050600461179b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561176b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117945760006001925092505061179b565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816117da60ff86901c601b611ac4565b90506117e8878288856116b7565b935093505050935093915050565b80356001600160a01b038116811461180d57600080fd5b919050565b60006020828403121561182457600080fd5b61182d826117f6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561187357611873611834565b604052919050565b600060c0828403121561188d57600080fd5b60405160c0810181811067ffffffffffffffff821117156118b0576118b0611834565b8060405250823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b60008060006060848603121561190a57600080fd5b833592506020808501359250604085013567ffffffffffffffff8082111561193157600080fd5b818701915087601f83011261194557600080fd5b81358181111561195757611957611834565b611969601f8201601f1916850161184a565b9150808252888482850101111561197f57600080fd5b80848401858401376000848284010152508093505050509250925092565b600080604083850312156119b057600080fd5b6119b9836117f6565b946020939093013593505050565b6000606082840312156119d957600080fd5b6040516060810181811067ffffffffffffffff821117156119fc576119fc611834565b80604052508091508235815260208301356020820152604083013560408201525092915050565b600060608284031215611a3557600080fd5b61182d83836119c7565b600060208284031215611a5157600080fd5b5035919050565b60008060408385031215611a6b57600080fd5b611a74836117f6565b9150602083013560ff81168114611a8a57600080fd5b809150509250929050565b600060208284031215611aa757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ad757611ad7611aae565b500190565b6000816000190483118215151615611af657611af6611aae565b500290565b600082821015611b0d57611b0d611aae565b500390565b634e487b7160e01b600052602160045260246000fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212204a1192a1c7c34d316fbc0871b278851672e6aac784a71327b9458e52126a04e364736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000759457870a5095914605f5ad3080aacb139cc5450000000000000000000000000000000000000000000000000000000062e144e00000000000000000000000000000000000000000000000000000000062e152f00000000000000000000000000000000000000000000000000000000062e152f00000000000000000000000000000000000000000000000000000000062e1a7500000000000000000000000000000000000000000000000000000000062e1b5600000000000000000000000000000000000000000000000000000000062e209c0000000000000000000000000000000000000000000000000010a741a46278000000000000000000000000000000000000000000000000000010a741a46278000000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000001e2f
-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x759457870A5095914605f5Ad3080aaCb139cc545
Arg [1] : _saleStatus (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [2] : _salePrice (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [3] : _saleSupply (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 000000000000000000000000759457870a5095914605f5ad3080aacb139cc545
Arg [1] : 0000000000000000000000000000000000000000000000000000000062e144e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000062e152f0
Arg [3] : 0000000000000000000000000000000000000000000000000000000062e152f0
Arg [4] : 0000000000000000000000000000000000000000000000000000000062e1a750
Arg [5] : 0000000000000000000000000000000000000000000000000000000062e1b560
Arg [6] : 0000000000000000000000000000000000000000000000000000000062e209c0
Arg [7] : 000000000000000000000000000000000000000000000000010a741a46278000
Arg [8] : 000000000000000000000000000000000000000000000000010a741a46278000
Arg [9] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000fa0
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000fa0
Arg [12] : 0000000000000000000000000000000000000000000000000000000000001e2f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.