Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,204 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Tokens | 20290091 | 125 days ago | IN | 0 ETH | 0.00022546 | ||||
Claim Tokens | 20142993 | 145 days ago | IN | 0 ETH | 0.0004491 | ||||
Claim Tokens | 19753782 | 200 days ago | IN | 0 ETH | 0.00104744 | ||||
Claim Tokens | 19672870 | 211 days ago | IN | 0 ETH | 0.00032569 | ||||
Claim Tokens | 19672869 | 211 days ago | IN | 0 ETH | 0.00092183 | ||||
Claim Tokens | 19639544 | 216 days ago | IN | 0 ETH | 0.00212729 | ||||
Claim Tokens | 19353737 | 256 days ago | IN | 0 ETH | 0.00498521 | ||||
Claim Tokens | 19310850 | 262 days ago | IN | 0 ETH | 0.00342204 | ||||
Claim Tokens | 19279638 | 266 days ago | IN | 0 ETH | 0.00342607 | ||||
Claim Tokens | 19196617 | 278 days ago | IN | 0 ETH | 0.00376479 | ||||
Claim Tokens | 19176462 | 281 days ago | IN | 0 ETH | 0.0029554 | ||||
Claim Tokens | 19155073 | 284 days ago | IN | 0 ETH | 0.00215182 | ||||
Claim Tokens | 19154905 | 284 days ago | IN | 0 ETH | 0.00205908 | ||||
Claim Tokens | 19149941 | 284 days ago | IN | 0 ETH | 0.00127449 | ||||
Claim Tokens | 19141680 | 286 days ago | IN | 0 ETH | 0.0025223 | ||||
Claim Tokens | 19069264 | 296 days ago | IN | 0 ETH | 0.00188881 | ||||
Claim Tokens | 18965214 | 310 days ago | IN | 0 ETH | 0.00214386 | ||||
Claim Tokens | 18890036 | 321 days ago | IN | 0 ETH | 0.0043239 | ||||
Claim Tokens | 18884926 | 322 days ago | IN | 0 ETH | 0.00489097 | ||||
Claim Tokens | 18597033 | 362 days ago | IN | 0 ETH | 0.00212597 | ||||
Claim Tokens | 18591095 | 363 days ago | IN | 0 ETH | 0.00192801 | ||||
Claim Tokens | 18505023 | 375 days ago | IN | 0 ETH | 0.00184375 | ||||
Claim Tokens | 18333658 | 399 days ago | IN | 0 ETH | 0.0007725 | ||||
Claim Tokens | 18230281 | 413 days ago | IN | 0 ETH | 0.00088994 | ||||
Claim Tokens | 18153012 | 424 days ago | IN | 0 ETH | 0.00078308 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
20290091 | 125 days ago | 0 ETH | |||||
20290091 | 125 days ago | 0 ETH | |||||
20142993 | 145 days ago | 0 ETH | |||||
20142993 | 145 days ago | 0 ETH | |||||
19753782 | 200 days ago | 0 ETH | |||||
19753782 | 200 days ago | 0 ETH | |||||
19672870 | 211 days ago | 0 ETH | |||||
19672869 | 211 days ago | 0 ETH | |||||
19672869 | 211 days ago | 0 ETH | |||||
19639544 | 216 days ago | 0 ETH | |||||
19639544 | 216 days ago | 0 ETH | |||||
19353737 | 256 days ago | 0 ETH | |||||
19353737 | 256 days ago | 0 ETH | |||||
19310850 | 262 days ago | 0 ETH | |||||
19310850 | 262 days ago | 0 ETH | |||||
19279638 | 266 days ago | 0 ETH | |||||
19279638 | 266 days ago | 0 ETH | |||||
19196617 | 278 days ago | 0 ETH | |||||
19196617 | 278 days ago | 0 ETH | |||||
19176462 | 281 days ago | 0 ETH | |||||
19176462 | 281 days ago | 0 ETH | |||||
19155073 | 284 days ago | 0 ETH | |||||
19155073 | 284 days ago | 0 ETH | |||||
19154905 | 284 days ago | 0 ETH | |||||
19154905 | 284 days ago | 0 ETH |
Loading...
Loading
Contract Name:
IDODistributor
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract IDODistributor is Ownable { using ECDSA for bytes32; using SafeERC20 for IERC20; struct Order { address sender; address receiver; address asset; uint192 amount; uint64 startTime; bytes signature; } event NewTokenDistribution( uint256 amount ); event TokensClaimed( address receiver, uint192 amount, bytes32 orderHash ); address public idoToken; address public verifier; mapping(bytes32 => bool) public claimedOrders; constructor(address idoToken_, address verifier_) { idoToken = idoToken_; verifier = verifier_; } function updateParams(address idoToken_, address verifier_) external onlyOwner { idoToken = idoToken_; verifier = verifier_; } function distibuteNewTokens(uint256 amount) external onlyOwner { IERC20(idoToken).safeTransferFrom(msg.sender, address(this), uint256(amount)); emit NewTokenDistribution(amount); } function claimTokens(Order calldata order_) public { bytes32 orderHash = validateOrder(order_, block.timestamp); require(order_.sender == verifier, "INVALID_VERIFIER"); require(!claimedOrders[orderHash], "ALREADY_CLAIMED"); claimedOrders[orderHash] = true; IERC20(idoToken).safeTransfer(order_.receiver, order_.amount); emit TokensClaimed(order_.receiver, order_.amount, orderHash); } function emergencyAssetWithdrawal(address asset) external onlyOwner { IERC20 token = IERC20(asset); token.safeTransfer(Ownable.owner(), token.balanceOf(address(this))); } function getOrderHash(Order calldata order_) internal pure returns (bytes32) { return keccak256( abi.encodePacked( "distributionOrder", order_.sender, order_.receiver, order_.asset, order_.amount, order_.startTime ) ); } function validateOrder(Order calldata order_, uint currentTime) internal pure returns (bytes32 orderHash) { orderHash = getOrderHash(order_); require(orderHash.toEthSignedMessageHash().recover(order_.signature) == order_.sender, "INVALID_SIG"); require(uint(order_.startTime) <= currentTime, "NOT_YET_ALLOWED"); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 { /** * @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. * * 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] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // 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 recover(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 recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} 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.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @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) { // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @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 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 pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"idoToken_","type":"address"},{"internalType":"address","name":"verifier_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NewTokenDistribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint192","name":"amount","type":"uint192"},{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"name":"TokensClaimed","type":"event"},{"inputs":[{"components":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint192","name":"amount","type":"uint192"},{"internalType":"uint64","name":"startTime","type":"uint64"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct IDODistributor.Order","name":"order_","type":"tuple"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"claimedOrders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distibuteNewTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"emergencyAssetWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"idoToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"idoToken_","type":"address"},{"internalType":"address","name":"verifier_","type":"address"}],"name":"updateParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"verifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002372380380620023728339818101604052810190620000379190620001c4565b620000576200004b620000e160201b60201c565b620000e960201b60201c565b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000253565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001be8162000239565b92915050565b60008060408385031215620001d857600080fd5b6000620001e885828601620001ad565b9250506020620001fb85828601620001ad565b9150509250929050565b6000620002128262000219565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002448162000205565b81146200025057600080fd5b50565b61210f80620002636000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b1461011f578063d6cd82bc1461013d578063dcba59e81461015b578063e81063341461018b578063f2fde38b146101a75761009e565b806315b3c89f146100a35780632b7ac3f3146100bf5780633e8e99d7146100dd578063715018a6146100f95780637f8512c114610103575b600080fd5b6100bd60048036038101906100b89190611404565b6101c3565b005b6100c76102c8565b6040516100d49190611853565b60405180910390f35b6100f760048036038101906100f2919061130c565b6102ee565b005b6101016103f0565b005b61011d600480360381019061011891906112e3565b610478565b005b6101276105b7565b6040516101349190611853565b60405180910390f35b6101456105e0565b6040516101529190611853565b60405180910390f35b61017560048036038101906101709190611371565b610606565b6040516101829190611905565b60405180910390f35b6101a560048036038101906101a0919061139a565b610626565b005b6101c160048036038101906101bc91906112e3565b610851565b005b6101cb610949565b73ffffffffffffffffffffffffffffffffffffffff166101e96105b7565b73ffffffffffffffffffffffffffffffffffffffff161461023f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023690611a87565b60405180910390fd5b61028e333083600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610951909392919063ffffffff16565b7f1737968ef93226637fcc1caa3c619e1a122885225e2995eea4f7e2015de1eb11816040516102bd9190611b27565b60405180910390a150565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6102f6610949565b73ffffffffffffffffffffffffffffffffffffffff166103146105b7565b73ffffffffffffffffffffffffffffffffffffffff161461036a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036190611a87565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6103f8610949565b73ffffffffffffffffffffffffffffffffffffffff166104166105b7565b73ffffffffffffffffffffffffffffffffffffffff161461046c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046390611a87565b60405180910390fd5b61047660006109da565b565b610480610949565b73ffffffffffffffffffffffffffffffffffffffff1661049e6105b7565b73ffffffffffffffffffffffffffffffffffffffff16146104f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104eb90611a87565b60405180910390fd5b60008190506105b36105046105b7565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161053d9190611853565b60206040518083038186803b15801561055557600080fd5b505afa158015610569573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058d919061142d565b8373ffffffffffffffffffffffffffffffffffffffff16610a9e9092919063ffffffff16565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915054906101000a900460ff1681565b60006106328242610b24565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682600001602081019061068091906112e3565b73ffffffffffffffffffffffffffffffffffffffff16146106d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cd90611ae7565b60405180910390fd5b6003600082815260200190815260200160002060009054906101000a900460ff1615610737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072e90611b07565b60405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506107ee82602001602081019061077991906112e3565b83606001602081019061078c91906113db565b77ffffffffffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a9e9092919063ffffffff16565b7f7d6d526532061dc752bf2ddee6374c0fde0ce697162f205cf9e72a5eb532184b82602001602081019061082291906112e3565b83606001602081019061083591906113db565b83604051610845939291906118a5565b60405180910390a15050565b610859610949565b73ffffffffffffffffffffffffffffffffffffffff166108776105b7565b73ffffffffffffffffffffffffffffffffffffffff16146108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c490611a87565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561093d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610934906119c7565b60405180910390fd5b610946816109da565b50565b600033905090565b6109d4846323b872dd60e01b8585856040516024016109729392919061186e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c82565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610b1f8363a9059cbb60e01b8484604051602401610abd9291906118dc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c82565b505050565b6000610b2f83610d49565b9050826000016020810190610b4491906112e3565b73ffffffffffffffffffffffffffffffffffffffff16610bc7848060a00190610b6d9190611b42565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610bb984610ddb565b610e0b90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490611a47565b60405180910390fd5b81836080016020810190610c319190611456565b67ffffffffffffffff161115610c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c73906119e7565b60405180910390fd5b92915050565b6000610ce4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610eba9092919063ffffffff16565b9050600081511115610d445780806020019051810190610d049190611348565b610d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3a90611ac7565b60405180910390fd5b5b505050565b6000816000016020810190610d5e91906112e3565b826020016020810190610d7191906112e3565b836040016020810190610d8491906112e3565b846060016020810190610d9791906113db565b856080016020810190610daa9190611456565b604051602001610dbe9594939291906117e9565b604051602081830303815290604052805190602001209050919050565b600081604051602001610dee91906117c3565b604051602081830303815290604052805190602001209050919050565b6000604182511415610e4a5760008060006020850151925060408501519150606085015160001a9050610e4086828585610ed2565b9350505050610eb4565b604082511415610e79576000806020840151915060408401519050610e7085838361105d565b92505050610eb4565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab906119a7565b60405180910390fd5b92915050565b6060610ec984846000856110a7565b90509392505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3190611a07565b60405180910390fd5b601b8460ff161480610f4f5750601c8460ff16145b610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590611a67565b60405180910390fd5b600060018686868660405160008152602001604052604051610fb39493929190611920565b6020604051602081039080840390855afa158015610fd5573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611051576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104890611987565b60405180910390fd5b80915050949350505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84169150601b8460ff1c01905061109c86828785610ed2565b925050509392505050565b6060824710156110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e390611a27565b60405180910390fd5b6110f5856111bb565b611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90611aa7565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161115d91906117ac565b60006040518083038185875af1925050503d806000811461119a576040519150601f19603f3d011682016040523d82523d6000602084013e61119f565b606091505b50915091506111af8282866111ce565b92505050949350505050565b600080823b905060008111915050919050565b606083156111de5782905061122e565b6000835111156111f15782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112259190611965565b60405180910390fd5b9392505050565b6000813590506112448161204f565b92915050565b60008151905061125981612066565b92915050565b60008135905061126e8161207d565b92915050565b600060c0828403121561128657600080fd5b81905092915050565b60008135905061129e81612094565b92915050565b6000813590506112b3816120ab565b92915050565b6000815190506112c8816120ab565b92915050565b6000813590506112dd816120c2565b92915050565b6000602082840312156112f557600080fd5b600061130384828501611235565b91505092915050565b6000806040838503121561131f57600080fd5b600061132d85828601611235565b925050602061133e85828601611235565b9150509250929050565b60006020828403121561135a57600080fd5b60006113688482850161124a565b91505092915050565b60006020828403121561138357600080fd5b60006113918482850161125f565b91505092915050565b6000602082840312156113ac57600080fd5b600082013567ffffffffffffffff8111156113c657600080fd5b6113d284828501611274565b91505092915050565b6000602082840312156113ed57600080fd5b60006113fb8482850161128f565b91505092915050565b60006020828403121561141657600080fd5b6000611424848285016112a4565b91505092915050565b60006020828403121561143f57600080fd5b600061144d848285016112b9565b91505092915050565b60006020828403121561146857600080fd5b6000611476848285016112ce565b91505092915050565b61148881611bd6565b82525050565b61149f61149a82611bd6565b611ca0565b82525050565b6114ae81611be8565b82525050565b6114bd81611bf4565b82525050565b6114d46114cf82611bf4565b611cb2565b82525050565b60006114e582611b99565b6114ef8185611baf565b93506114ff818560208601611c6d565b80840191505092915050565b600061151682611ba4565b6115208185611bba565b9350611530818560208601611c6d565b61153981611cf2565b840191505092915050565b6000611551601883611bba565b915061155c82611d2a565b602082019050919050565b6000611574601f83611bba565b915061157f82611d53565b602082019050919050565b6000611597601c83611bcb565b91506115a282611d7c565b601c82019050919050565b60006115ba602683611bba565b91506115c582611da5565b604082019050919050565b60006115dd601183611bcb565b91506115e882611df4565b601182019050919050565b6000611600600f83611bba565b915061160b82611e1d565b602082019050919050565b6000611623602283611bba565b915061162e82611e46565b604082019050919050565b6000611646602683611bba565b915061165182611e95565b604082019050919050565b6000611669600b83611bba565b915061167482611ee4565b602082019050919050565b600061168c602283611bba565b915061169782611f0d565b604082019050919050565b60006116af602083611bba565b91506116ba82611f5c565b602082019050919050565b60006116d2601d83611bba565b91506116dd82611f85565b602082019050919050565b60006116f5602a83611bba565b915061170082611fae565b604082019050919050565b6000611718601083611bba565b915061172382611ffd565b602082019050919050565b600061173b600f83611bba565b915061174682612026565b602082019050919050565b61175a81611c1e565b82525050565b61177161176c82611c1e565b611cce565b82525050565b61178081611c42565b82525050565b61179761179282611c4c565b611ce0565b82525050565b6117a681611c60565b82525050565b60006117b882846114da565b915081905092915050565b60006117ce8261158a565b91506117da82846114c3565b60208201915081905092915050565b60006117f4826115d0565b9150611800828861148e565b601482019150611810828761148e565b601482019150611820828661148e565b6014820191506118308285611760565b6018820191506118408284611786565b6008820191508190509695505050505050565b6000602082019050611868600083018461147f565b92915050565b6000606082019050611883600083018661147f565b611890602083018561147f565b61189d6040830184611777565b949350505050565b60006060820190506118ba600083018661147f565b6118c76020830185611751565b6118d460408301846114b4565b949350505050565b60006040820190506118f1600083018561147f565b6118fe6020830184611777565b9392505050565b600060208201905061191a60008301846114a5565b92915050565b600060808201905061193560008301876114b4565b611942602083018661179d565b61194f60408301856114b4565b61195c60608301846114b4565b95945050505050565b6000602082019050818103600083015261197f818461150b565b905092915050565b600060208201905081810360008301526119a081611544565b9050919050565b600060208201905081810360008301526119c081611567565b9050919050565b600060208201905081810360008301526119e0816115ad565b9050919050565b60006020820190508181036000830152611a00816115f3565b9050919050565b60006020820190508181036000830152611a2081611616565b9050919050565b60006020820190508181036000830152611a4081611639565b9050919050565b60006020820190508181036000830152611a608161165c565b9050919050565b60006020820190508181036000830152611a808161167f565b9050919050565b60006020820190508181036000830152611aa0816116a2565b9050919050565b60006020820190508181036000830152611ac0816116c5565b9050919050565b60006020820190508181036000830152611ae0816116e8565b9050919050565b60006020820190508181036000830152611b008161170b565b9050919050565b60006020820190508181036000830152611b208161172e565b9050919050565b6000602082019050611b3c6000830184611777565b92915050565b60008083356001602003843603038112611b5b57600080fd5b80840192508235915067ffffffffffffffff821115611b7957600080fd5b602083019250600182023603831315611b9157600080fd5b509250929050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000611be182611bfe565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600077ffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60005b83811015611c8b578082015181840152602081019050611c70565b83811115611c9a576000848401525b50505050565b6000611cab82611cbc565b9050919050565b6000819050919050565b6000611cc782611d1d565b9050919050565b6000611cd982611d10565b9050919050565b6000611ceb82611d03565b9050919050565b6000601f19601f8301169050919050565b60008160c01b9050919050565b60008160401b9050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f646973747269627574696f6e4f72646572000000000000000000000000000000600082015250565b7f4e4f545f5945545f414c4c4f5745440000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f494e56414c49445f534947000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f494e56414c49445f564552494649455200000000000000000000000000000000600082015250565b7f414c52454144595f434c41494d45440000000000000000000000000000000000600082015250565b61205881611bd6565b811461206357600080fd5b50565b61206f81611be8565b811461207a57600080fd5b50565b61208681611bf4565b811461209157600080fd5b50565b61209d81611c1e565b81146120a857600080fd5b50565b6120b481611c42565b81146120bf57600080fd5b50565b6120cb81611c4c565b81146120d657600080fd5b5056fea26469706673582212207eaad7b93d4f72eb7f7af12967d660f75684201b2ebebfd025288b84e02b50d664736f6c634300080400330000000000000000000000007d5121505149065b562c789a0145ed750e6e8cdd000000000000000000000000085eac7ad57d8a1d9312e7005a17a4175fdb7cc7
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b1461011f578063d6cd82bc1461013d578063dcba59e81461015b578063e81063341461018b578063f2fde38b146101a75761009e565b806315b3c89f146100a35780632b7ac3f3146100bf5780633e8e99d7146100dd578063715018a6146100f95780637f8512c114610103575b600080fd5b6100bd60048036038101906100b89190611404565b6101c3565b005b6100c76102c8565b6040516100d49190611853565b60405180910390f35b6100f760048036038101906100f2919061130c565b6102ee565b005b6101016103f0565b005b61011d600480360381019061011891906112e3565b610478565b005b6101276105b7565b6040516101349190611853565b60405180910390f35b6101456105e0565b6040516101529190611853565b60405180910390f35b61017560048036038101906101709190611371565b610606565b6040516101829190611905565b60405180910390f35b6101a560048036038101906101a0919061139a565b610626565b005b6101c160048036038101906101bc91906112e3565b610851565b005b6101cb610949565b73ffffffffffffffffffffffffffffffffffffffff166101e96105b7565b73ffffffffffffffffffffffffffffffffffffffff161461023f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023690611a87565b60405180910390fd5b61028e333083600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610951909392919063ffffffff16565b7f1737968ef93226637fcc1caa3c619e1a122885225e2995eea4f7e2015de1eb11816040516102bd9190611b27565b60405180910390a150565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6102f6610949565b73ffffffffffffffffffffffffffffffffffffffff166103146105b7565b73ffffffffffffffffffffffffffffffffffffffff161461036a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036190611a87565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6103f8610949565b73ffffffffffffffffffffffffffffffffffffffff166104166105b7565b73ffffffffffffffffffffffffffffffffffffffff161461046c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046390611a87565b60405180910390fd5b61047660006109da565b565b610480610949565b73ffffffffffffffffffffffffffffffffffffffff1661049e6105b7565b73ffffffffffffffffffffffffffffffffffffffff16146104f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104eb90611a87565b60405180910390fd5b60008190506105b36105046105b7565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161053d9190611853565b60206040518083038186803b15801561055557600080fd5b505afa158015610569573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058d919061142d565b8373ffffffffffffffffffffffffffffffffffffffff16610a9e9092919063ffffffff16565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915054906101000a900460ff1681565b60006106328242610b24565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682600001602081019061068091906112e3565b73ffffffffffffffffffffffffffffffffffffffff16146106d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cd90611ae7565b60405180910390fd5b6003600082815260200190815260200160002060009054906101000a900460ff1615610737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072e90611b07565b60405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506107ee82602001602081019061077991906112e3565b83606001602081019061078c91906113db565b77ffffffffffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a9e9092919063ffffffff16565b7f7d6d526532061dc752bf2ddee6374c0fde0ce697162f205cf9e72a5eb532184b82602001602081019061082291906112e3565b83606001602081019061083591906113db565b83604051610845939291906118a5565b60405180910390a15050565b610859610949565b73ffffffffffffffffffffffffffffffffffffffff166108776105b7565b73ffffffffffffffffffffffffffffffffffffffff16146108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c490611a87565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561093d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610934906119c7565b60405180910390fd5b610946816109da565b50565b600033905090565b6109d4846323b872dd60e01b8585856040516024016109729392919061186e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c82565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610b1f8363a9059cbb60e01b8484604051602401610abd9291906118dc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c82565b505050565b6000610b2f83610d49565b9050826000016020810190610b4491906112e3565b73ffffffffffffffffffffffffffffffffffffffff16610bc7848060a00190610b6d9190611b42565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610bb984610ddb565b610e0b90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490611a47565b60405180910390fd5b81836080016020810190610c319190611456565b67ffffffffffffffff161115610c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c73906119e7565b60405180910390fd5b92915050565b6000610ce4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610eba9092919063ffffffff16565b9050600081511115610d445780806020019051810190610d049190611348565b610d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3a90611ac7565b60405180910390fd5b5b505050565b6000816000016020810190610d5e91906112e3565b826020016020810190610d7191906112e3565b836040016020810190610d8491906112e3565b846060016020810190610d9791906113db565b856080016020810190610daa9190611456565b604051602001610dbe9594939291906117e9565b604051602081830303815290604052805190602001209050919050565b600081604051602001610dee91906117c3565b604051602081830303815290604052805190602001209050919050565b6000604182511415610e4a5760008060006020850151925060408501519150606085015160001a9050610e4086828585610ed2565b9350505050610eb4565b604082511415610e79576000806020840151915060408401519050610e7085838361105d565b92505050610eb4565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab906119a7565b60405180910390fd5b92915050565b6060610ec984846000856110a7565b90509392505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3190611a07565b60405180910390fd5b601b8460ff161480610f4f5750601c8460ff16145b610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590611a67565b60405180910390fd5b600060018686868660405160008152602001604052604051610fb39493929190611920565b6020604051602081039080840390855afa158015610fd5573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611051576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104890611987565b60405180910390fd5b80915050949350505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84169150601b8460ff1c01905061109c86828785610ed2565b925050509392505050565b6060824710156110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e390611a27565b60405180910390fd5b6110f5856111bb565b611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90611aa7565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161115d91906117ac565b60006040518083038185875af1925050503d806000811461119a576040519150601f19603f3d011682016040523d82523d6000602084013e61119f565b606091505b50915091506111af8282866111ce565b92505050949350505050565b600080823b905060008111915050919050565b606083156111de5782905061122e565b6000835111156111f15782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112259190611965565b60405180910390fd5b9392505050565b6000813590506112448161204f565b92915050565b60008151905061125981612066565b92915050565b60008135905061126e8161207d565b92915050565b600060c0828403121561128657600080fd5b81905092915050565b60008135905061129e81612094565b92915050565b6000813590506112b3816120ab565b92915050565b6000815190506112c8816120ab565b92915050565b6000813590506112dd816120c2565b92915050565b6000602082840312156112f557600080fd5b600061130384828501611235565b91505092915050565b6000806040838503121561131f57600080fd5b600061132d85828601611235565b925050602061133e85828601611235565b9150509250929050565b60006020828403121561135a57600080fd5b60006113688482850161124a565b91505092915050565b60006020828403121561138357600080fd5b60006113918482850161125f565b91505092915050565b6000602082840312156113ac57600080fd5b600082013567ffffffffffffffff8111156113c657600080fd5b6113d284828501611274565b91505092915050565b6000602082840312156113ed57600080fd5b60006113fb8482850161128f565b91505092915050565b60006020828403121561141657600080fd5b6000611424848285016112a4565b91505092915050565b60006020828403121561143f57600080fd5b600061144d848285016112b9565b91505092915050565b60006020828403121561146857600080fd5b6000611476848285016112ce565b91505092915050565b61148881611bd6565b82525050565b61149f61149a82611bd6565b611ca0565b82525050565b6114ae81611be8565b82525050565b6114bd81611bf4565b82525050565b6114d46114cf82611bf4565b611cb2565b82525050565b60006114e582611b99565b6114ef8185611baf565b93506114ff818560208601611c6d565b80840191505092915050565b600061151682611ba4565b6115208185611bba565b9350611530818560208601611c6d565b61153981611cf2565b840191505092915050565b6000611551601883611bba565b915061155c82611d2a565b602082019050919050565b6000611574601f83611bba565b915061157f82611d53565b602082019050919050565b6000611597601c83611bcb565b91506115a282611d7c565b601c82019050919050565b60006115ba602683611bba565b91506115c582611da5565b604082019050919050565b60006115dd601183611bcb565b91506115e882611df4565b601182019050919050565b6000611600600f83611bba565b915061160b82611e1d565b602082019050919050565b6000611623602283611bba565b915061162e82611e46565b604082019050919050565b6000611646602683611bba565b915061165182611e95565b604082019050919050565b6000611669600b83611bba565b915061167482611ee4565b602082019050919050565b600061168c602283611bba565b915061169782611f0d565b604082019050919050565b60006116af602083611bba565b91506116ba82611f5c565b602082019050919050565b60006116d2601d83611bba565b91506116dd82611f85565b602082019050919050565b60006116f5602a83611bba565b915061170082611fae565b604082019050919050565b6000611718601083611bba565b915061172382611ffd565b602082019050919050565b600061173b600f83611bba565b915061174682612026565b602082019050919050565b61175a81611c1e565b82525050565b61177161176c82611c1e565b611cce565b82525050565b61178081611c42565b82525050565b61179761179282611c4c565b611ce0565b82525050565b6117a681611c60565b82525050565b60006117b882846114da565b915081905092915050565b60006117ce8261158a565b91506117da82846114c3565b60208201915081905092915050565b60006117f4826115d0565b9150611800828861148e565b601482019150611810828761148e565b601482019150611820828661148e565b6014820191506118308285611760565b6018820191506118408284611786565b6008820191508190509695505050505050565b6000602082019050611868600083018461147f565b92915050565b6000606082019050611883600083018661147f565b611890602083018561147f565b61189d6040830184611777565b949350505050565b60006060820190506118ba600083018661147f565b6118c76020830185611751565b6118d460408301846114b4565b949350505050565b60006040820190506118f1600083018561147f565b6118fe6020830184611777565b9392505050565b600060208201905061191a60008301846114a5565b92915050565b600060808201905061193560008301876114b4565b611942602083018661179d565b61194f60408301856114b4565b61195c60608301846114b4565b95945050505050565b6000602082019050818103600083015261197f818461150b565b905092915050565b600060208201905081810360008301526119a081611544565b9050919050565b600060208201905081810360008301526119c081611567565b9050919050565b600060208201905081810360008301526119e0816115ad565b9050919050565b60006020820190508181036000830152611a00816115f3565b9050919050565b60006020820190508181036000830152611a2081611616565b9050919050565b60006020820190508181036000830152611a4081611639565b9050919050565b60006020820190508181036000830152611a608161165c565b9050919050565b60006020820190508181036000830152611a808161167f565b9050919050565b60006020820190508181036000830152611aa0816116a2565b9050919050565b60006020820190508181036000830152611ac0816116c5565b9050919050565b60006020820190508181036000830152611ae0816116e8565b9050919050565b60006020820190508181036000830152611b008161170b565b9050919050565b60006020820190508181036000830152611b208161172e565b9050919050565b6000602082019050611b3c6000830184611777565b92915050565b60008083356001602003843603038112611b5b57600080fd5b80840192508235915067ffffffffffffffff821115611b7957600080fd5b602083019250600182023603831315611b9157600080fd5b509250929050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000611be182611bfe565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600077ffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60005b83811015611c8b578082015181840152602081019050611c70565b83811115611c9a576000848401525b50505050565b6000611cab82611cbc565b9050919050565b6000819050919050565b6000611cc782611d1d565b9050919050565b6000611cd982611d10565b9050919050565b6000611ceb82611d03565b9050919050565b6000601f19601f8301169050919050565b60008160c01b9050919050565b60008160401b9050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f646973747269627574696f6e4f72646572000000000000000000000000000000600082015250565b7f4e4f545f5945545f414c4c4f5745440000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f494e56414c49445f534947000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f494e56414c49445f564552494649455200000000000000000000000000000000600082015250565b7f414c52454144595f434c41494d45440000000000000000000000000000000000600082015250565b61205881611bd6565b811461206357600080fd5b50565b61206f81611be8565b811461207a57600080fd5b50565b61208681611bf4565b811461209157600080fd5b50565b61209d81611c1e565b81146120a857600080fd5b50565b6120b481611c42565b81146120bf57600080fd5b50565b6120cb81611c4c565b81146120d657600080fd5b5056fea26469706673582212207eaad7b93d4f72eb7f7af12967d660f75684201b2ebebfd025288b84e02b50d664736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007d5121505149065b562c789a0145ed750e6e8cdd000000000000000000000000085eac7ad57d8a1d9312e7005a17a4175fdb7cc7
-----Decoded View---------------
Arg [0] : idoToken_ (address): 0x7d5121505149065b562C789A0145eD750e6E8cdD
Arg [1] : verifier_ (address): 0x085eaC7AD57d8A1D9312e7005A17A4175fdb7Cc7
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007d5121505149065b562c789a0145ed750e6e8cdd
Arg [1] : 000000000000000000000000085eac7ad57d8a1d9312e7005a17a4175fdb7cc7
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.