More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 9,373 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Buy Tokens | 20150656 | 34 days ago | IN | 0.012 ETH | 0.00005034 | ||||
Buy Tokens | 20150656 | 34 days ago | IN | 0.009 ETH | 0.00005034 | ||||
Buy Tokens | 15382046 | 705 days ago | IN | 0.0036 ETH | 0.00006712 | ||||
Buy Tokens | 15253798 | 725 days ago | IN | 0.0036 ETH | 0.00010068 | ||||
Buy Tokens | 15198793 | 734 days ago | IN | 0.00012 ETH | 0.00013424 | ||||
Buy Tokens | 15196916 | 734 days ago | IN | 0.021 ETH | 0.0001678 | ||||
Withdraw Tokens | 15005660 | 765 days ago | IN | 0 ETH | 0.00216146 | ||||
Withdraw Tokens | 15001138 | 766 days ago | IN | 0 ETH | 0.00178616 | ||||
Withdraw Tokens | 14956258 | 774 days ago | IN | 0 ETH | 0.00198267 | ||||
Buy Tokens | 14884727 | 786 days ago | IN | 0.06 ETH | 0.00604098 | ||||
Buy Tokens | 14884727 | 786 days ago | IN | 0.06 ETH | 0.00503415 | ||||
Buy Tokens | 14884727 | 786 days ago | IN | 0.06 ETH | 0.00487407 | ||||
Free Trapped Eth... | 14845509 | 792 days ago | IN | 0 ETH | 0.00072982 | ||||
Withdraw Tokens | 14716764 | 813 days ago | IN | 0 ETH | 0.00277215 | ||||
Withdraw Tokens | 14660195 | 822 days ago | IN | 0 ETH | 0.00242444 | ||||
Withdraw Tokens | 14512881 | 845 days ago | IN | 0 ETH | 0.00297767 | ||||
Withdraw Tokens | 14503961 | 846 days ago | IN | 0 ETH | 0.00119001 | ||||
Withdraw Tokens | 14503960 | 846 days ago | IN | 0 ETH | 0.00299971 | ||||
Buy Tokens | 14390918 | 864 days ago | IN | 0.0036 ETH | 0.00033561 | ||||
Buy Tokens | 14382288 | 865 days ago | IN | 0.012 ETH | 0.00077182 | ||||
Withdraw Tokens | 14370375 | 867 days ago | IN | 0 ETH | 0.00081186 | ||||
Buy Tokens | 14370171 | 867 days ago | IN | 0.0096 ETH | 0.00040273 | ||||
Withdraw Tokens | 14358861 | 869 days ago | IN | 0 ETH | 0.00287185 | ||||
Withdraw Tokens | 14331489 | 873 days ago | IN | 0 ETH | 0.00101482 | ||||
Buy Tokens | 14279569 | 881 days ago | IN | 0.0168 ETH | 0.00070982 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13554283 | 994 days ago | 0.002796 ETH | ||||
13554269 | 994 days ago | 0.0018 ETH | ||||
13554267 | 994 days ago | 0.013344 ETH | ||||
13554265 | 994 days ago | 0.036 ETH | ||||
13554263 | 994 days ago | 0.084 ETH | ||||
13554262 | 994 days ago | 0.0336 ETH | ||||
13554262 | 994 days ago | 0.525828 ETH | ||||
13554262 | 994 days ago | 0.132 ETH | ||||
13554262 | 994 days ago | 0.018 ETH | ||||
13554261 | 994 days ago | 0.012 ETH | ||||
13554261 | 994 days ago | 0.096 ETH | ||||
13554261 | 994 days ago | 0.12 ETH | ||||
13554261 | 994 days ago | 0.237708 ETH | ||||
13554261 | 994 days ago | 0.0636 ETH | ||||
13554261 | 994 days ago | 0.054 ETH | ||||
13554261 | 994 days ago | 0.1794 ETH | ||||
13554259 | 994 days ago | 0.3114 ETH | ||||
13554259 | 994 days ago | 1.029444 ETH | ||||
13554258 | 994 days ago | 0.264 ETH | ||||
13554257 | 994 days ago | 0.216888 ETH | ||||
13554257 | 994 days ago | 0.048 ETH | ||||
13554256 | 994 days ago | 0.054 ETH | ||||
13554255 | 994 days ago | 0.12 ETH | ||||
13554255 | 994 days ago | 0.03 ETH | ||||
13554255 | 994 days ago | 0.012 ETH |
Loading...
Loading
Contract Name:
Presale
Compiler Version
v0.5.7+commit.6da8b019
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-10-19 */ // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/access/Roles.sol pragma solidity ^0.5.0; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/utils/ReentrancyGuard.sol pragma solidity ^0.5.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]. * * _Since v2.5.0:_ this module is now much more gas efficient, given net gas * metering changes introduced in the Istanbul hardfork. */ contract ReentrancyGuard { bool private _notEntered; constructor () internal { // Storing an initial 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 percetange 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. _notEntered = true; } /** * @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 make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_notEntered, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _notEntered = false; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _notEntered = true; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/GSN/Context.sol pragma solidity ^0.5.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 GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/access/roles/PauserRole.sol pragma solidity ^0.5.0; contract PauserRole is Context { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(_msgSender()); } modifier onlyPauser() { require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role"); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(_msgSender()); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/lifecycle/Pausable.sol pragma solidity ^0.5.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context, PauserRole { /** * @dev Emitted when the pause is triggered by a pauser (`account`). */ event Paused(address account); /** * @dev Emitted when the pause is lifted by a pauser (`account`). */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. Assigns the Pauser role * to the deployer. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Called by a pauser to pause, triggers stopped state. */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Called by a pauser to unpause, returns to normal state. */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/ownership/Secondary.sol pragma solidity ^0.5.0; /** * @dev A Secondary contract can only be used by its primary account (the one that created it). */ contract Secondary is Context { address private _primary; /** * @dev Emitted when the primary contract changes. */ event PrimaryTransferred( address recipient ); /** * @dev Sets the primary account to the one that is creating the Secondary contract. */ constructor () internal { address msgSender = _msgSender(); _primary = msgSender; emit PrimaryTransferred(msgSender); } /** * @dev Reverts if called from any account other than the primary. */ modifier onlyPrimary() { require(_msgSender() == _primary, "Secondary: caller is not the primary account"); _; } /** * @return the address of the primary. */ function primary() public view returns (address) { return _primary; } /** * @dev Transfers contract to a new primary. * @param recipient The address of new primary. */ function transferPrimary(address recipient) public onlyPrimary { require(recipient != address(0), "Secondary: new primary is the zero address"); _primary = recipient; emit PrimaryTransferred(recipient); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/crowdsale/Crowdsale.sol pragma solidity ^0.5.0; /** * @title Crowdsale * @dev Crowdsale is a base contract for managing a token crowdsale, * allowing investors to purchase tokens with ether. This contract implements * such functionality in its most fundamental form and can be extended to provide additional * functionality and/or custom behavior. * The external interface represents the basic interface for purchasing tokens, and conforms * the base architecture for crowdsales. It is *not* intended to be modified / overridden. * The internal interface conforms the extensible and modifiable surface of crowdsales. Override * the methods to add functionality. Consider using 'super' where appropriate to concatenate * behavior. */ contract Crowdsale is Context, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // The token being sold IERC20 private _token; // Address where funds are collected address payable private _wallet; // How many token units a buyer gets per wei. // The rate is the conversion between wei and the smallest and indivisible token unit. // So, if you are using a rate of 1 with a ERC20Detailed token with 3 decimals called TOK // 1 wei will give you 1 unit, or 0.001 TOK. uint256 private _rate; // Amount of wei raised uint256 private _weiRaised; /** * Event for token purchase logging * @param purchaser who paid for the tokens * @param beneficiary who got the tokens * @param value weis paid for purchase * @param amount amount of tokens purchased */ event TokensPurchased(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount); /** * @param rate Number of token units a buyer gets per wei * @dev The rate is the conversion between wei and the smallest and indivisible * token unit. So, if you are using a rate of 1 with a ERC20Detailed token * with 3 decimals called TOK, 1 wei will give you 1 unit, or 0.001 TOK. * @param wallet Address where collected funds will be forwarded to * @param token Address of the token being sold */ constructor (uint256 rate, address payable wallet, IERC20 token) public { require(rate > 0, "Crowdsale: rate is 0"); require(wallet != address(0), "Crowdsale: wallet is the zero address"); require(address(token) != address(0), "Crowdsale: token is the zero address"); _rate = rate; _wallet = wallet; _token = token; } /** * @dev fallback function ***DO NOT OVERRIDE*** * Note that other contracts will transfer funds with a base gas stipend * of 2300, which is not enough to call buyTokens. Consider calling * buyTokens directly when purchasing tokens from a contract. */ function () external payable { buyTokens(_msgSender()); } /** * @return the token being sold. */ function token() public view returns (IERC20) { return _token; } /** * @return the address where funds are collected. */ function wallet() public view returns (address payable) { return _wallet; } /** * @return the number of token units a buyer gets per wei. */ function rate() public view returns (uint256) { return _rate; } /** * @return the amount of wei raised. */ function weiRaised() public view returns (uint256) { return _weiRaised; } /** * @dev low level token purchase ***DO NOT OVERRIDE*** * This function has a non-reentrancy guard, so it shouldn't be called by * another `nonReentrant` function. * @param beneficiary Recipient of the token purchase */ function buyTokens(address beneficiary) public nonReentrant payable { uint256 weiAmount = msg.value; _preValidatePurchase(beneficiary, weiAmount); // calculate token amount to be created uint256 tokens = _getTokenAmount(weiAmount); // update state _weiRaised = _weiRaised.add(weiAmount); _processPurchase(beneficiary, tokens); emit TokensPurchased(_msgSender(), beneficiary, weiAmount, tokens); _updatePurchasingState(beneficiary, weiAmount); _forwardFunds(); _postValidatePurchase(beneficiary, weiAmount); } /** * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met. * Use `super` in contracts that inherit from Crowdsale to extend their validations. * Example from CappedCrowdsale.sol's _preValidatePurchase method: * super._preValidatePurchase(beneficiary, weiAmount); * require(weiRaised().add(weiAmount) <= cap); * @param beneficiary Address performing the token purchase * @param weiAmount Value in wei involved in the purchase */ function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view { require(beneficiary != address(0), "Crowdsale: beneficiary is the zero address"); require(weiAmount != 0, "Crowdsale: weiAmount is 0"); this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 } /** * @dev Validation of an executed purchase. Observe state and use revert statements to undo rollback when valid * conditions are not met. * @param beneficiary Address performing the token purchase * @param weiAmount Value in wei involved in the purchase */ function _postValidatePurchase(address beneficiary, uint256 weiAmount) internal view { // solhint-disable-previous-line no-empty-blocks } /** * @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends * its tokens. * @param beneficiary Address performing the token purchase * @param tokenAmount Number of tokens to be emitted */ function _deliverTokens(address beneficiary, uint256 tokenAmount) internal { _token.safeTransfer(beneficiary, tokenAmount); } /** * @dev Executed when a purchase has been validated and is ready to be executed. Doesn't necessarily emit/send * tokens. * @param beneficiary Address receiving the tokens * @param tokenAmount Number of tokens to be purchased */ function _processPurchase(address beneficiary, uint256 tokenAmount) internal { _deliverTokens(beneficiary, tokenAmount); } /** * @dev Override for extensions that require an internal state to check for validity (current user contributions, * etc.) * @param beneficiary Address receiving the tokens * @param weiAmount Value in wei involved in the purchase */ function _updatePurchasingState(address beneficiary, uint256 weiAmount) internal { // solhint-disable-previous-line no-empty-blocks } /** * @dev Override to extend the way in which ether is converted to tokens. * @param weiAmount Value in wei to be converted into tokens * @return Number of tokens that can be purchased with the specified _weiAmount */ function _getTokenAmount(uint256 weiAmount) internal view returns (uint256) { return weiAmount.mul(_rate); } /** * @dev Determines how ETH is stored/forwarded on purchases. */ function _forwardFunds() internal { _wallet.transfer(msg.value); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/crowdsale/validation/CappedCrowdsale.sol pragma solidity ^0.5.0; /** * @title CappedCrowdsale * @dev Crowdsale with a limit for total contributions. */ contract CappedCrowdsale is Crowdsale { using SafeMath for uint256; uint256 private _cap; /** * @dev Constructor, takes maximum amount of wei accepted in the crowdsale. * @param cap Max amount of wei to be contributed */ constructor (uint256 cap) public { require(cap > 0, "CappedCrowdsale: cap is 0"); _cap = cap; } /** * @return the cap of the crowdsale. */ function cap() public view returns (uint256) { return _cap; } /** * @dev Checks whether the cap has been reached. * @return Whether the cap was reached */ function capReached() public view returns (bool) { return weiRaised() >= _cap; } /** * @dev Extend parent behavior requiring purchase to respect the funding cap. * @param beneficiary Token purchaser * @param weiAmount Amount of wei contributed */ function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view { super._preValidatePurchase(beneficiary, weiAmount); require(weiRaised().add(weiAmount) <= _cap, "CappedCrowdsale: cap exceeded"); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/crowdsale/validation/PausableCrowdsale.sol pragma solidity ^0.5.0; /** * @title PausableCrowdsale * @dev Extension of Crowdsale contract where purchases can be paused and unpaused by the pauser role. */ contract PausableCrowdsale is Crowdsale, Pausable { /** * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met. * Use super to concatenate validations. * Adds the validation that the crowdsale must not be paused. * @param _beneficiary Address performing the token purchase * @param _weiAmount Value in wei involved in the purchase */ function _preValidatePurchase(address _beneficiary, uint256 _weiAmount) internal view whenNotPaused { return super._preValidatePurchase(_beneficiary, _weiAmount); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/crowdsale/validation/TimedCrowdsale.sol pragma solidity ^0.5.0; /** * @title TimedCrowdsale * @dev Crowdsale accepting contributions only within a time frame. */ contract TimedCrowdsale is Crowdsale { using SafeMath for uint256; // EDIT: changed from private to internal uint256 internal _openingTime; uint256 internal _closingTime; /** * Event for crowdsale extending * @param newClosingTime new closing time * @param prevClosingTime old closing time */ event TimedCrowdsaleExtended(uint256 prevClosingTime, uint256 newClosingTime); /** * @dev Reverts if not in crowdsale time range. */ modifier onlyWhileOpen { require(isOpen(), "TimedCrowdsale: not open"); _; } /** * @dev Constructor, takes crowdsale opening and closing times. * @param openingTime Crowdsale opening time * @param closingTime Crowdsale closing time */ constructor (uint256 openingTime, uint256 closingTime) public { // EDIT: removed requirement to open in future // solhint-disable-next-line not-rely-on-time // require(openingTime >= block.timestamp, "TimedCrowdsale: opening time is before current time"); // solhint-disable-next-line max-line-length require(closingTime > openingTime, "TimedCrowdsale: opening time is not before closing time"); _openingTime = openingTime; _closingTime = closingTime; } /** * @return the crowdsale opening time. */ function openingTime() public view returns (uint256) { return _openingTime; } /** * @return the crowdsale closing time. */ function closingTime() public view returns (uint256) { return _closingTime; } /** * @return true if the crowdsale is open, false otherwise. */ function isOpen() public view returns (bool) { // solhint-disable-next-line not-rely-on-time return block.timestamp >= _openingTime && block.timestamp <= _closingTime; } /** * @dev Checks whether the period in which the crowdsale is open has already elapsed. * @return Whether crowdsale period has elapsed */ function hasClosed() public view returns (bool) { // solhint-disable-next-line not-rely-on-time return block.timestamp > _closingTime; } /** * @dev Extend parent behavior requiring to be within contributing period. * @param beneficiary Token purchaser * @param weiAmount Amount of wei contributed */ function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal onlyWhileOpen view { super._preValidatePurchase(beneficiary, weiAmount); } /** * @dev Extend crowdsale. * @param newClosingTime Crowdsale closing time */ function _extendTime(uint256 newClosingTime) internal { require(!hasClosed(), "TimedCrowdsale: already closed"); // solhint-disable-next-line max-line-length require(newClosingTime > _closingTime, "TimedCrowdsale: new closing time is before current closing time"); emit TimedCrowdsaleExtended(_closingTime, newClosingTime); _closingTime = newClosingTime; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/crowdsale/distribution/PostDeliveryCrowdsale.sol pragma solidity ^0.5.0; /** * @title PostDeliveryCrowdsale * @dev Crowdsale that locks tokens from withdrawal until it ends. */ contract PostDeliveryCrowdsale is TimedCrowdsale { using SafeMath for uint256; mapping(address => uint256) private _balances; __unstable__TokenVault private _vault; constructor() public { _vault = new __unstable__TokenVault(); } /** * @dev Withdraw tokens only after crowdsale ends. * @param beneficiary Whose tokens will be withdrawn. */ function withdrawTokens(address beneficiary) public { require(hasClosed(), "PostDeliveryCrowdsale: not closed"); uint256 amount = _balances[beneficiary]; require(amount > 0, "PostDeliveryCrowdsale: beneficiary is not due any tokens"); _balances[beneficiary] = 0; _vault.transfer(token(), beneficiary, amount); } /** * @return the balance of an account. */ function balanceOf(address account) public view returns (uint256) { return _balances[account]; } /** * @dev Overrides parent by storing due balances, and delivering tokens to the vault instead of the end user. This * ensures that the tokens will be available by the time they are withdrawn (which may not be the case if * `_deliverTokens` was called later). * @param beneficiary Token purchaser * @param tokenAmount Amount of tokens purchased */ function _processPurchase(address beneficiary, uint256 tokenAmount) internal { _balances[beneficiary] = _balances[beneficiary].add(tokenAmount); _deliverTokens(address(_vault), tokenAmount); } } /** * @title __unstable__TokenVault * @dev Similar to an Escrow for tokens, this contract allows its primary account to spend its tokens as it sees fit. * This contract is an internal helper for PostDeliveryCrowdsale, and should not be used outside of this context. */ // solhint-disable-next-line contract-name-camelcase contract __unstable__TokenVault is Secondary { function transfer(IERC20 token, address to, uint256 amount) public onlyPrimary { token.transfer(to, amount); } } // File: contracts/CapPurchases.sol pragma solidity ^0.5.0; contract CapPurchases is Crowdsale { uint256 public contributionCap; mapping(address => uint256) private _contributions; constructor(uint256 cap) public { contributionCap = cap; } // override this to add a personal cap function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view { super._preValidatePurchase(beneficiary, weiAmount); // solhint-disable-next-line max-line-length require(_contributions[beneficiary].add(weiAmount) <= contributionCap, "personal cap exceeded"); } // override this to track contributions function _updatePurchasingState(address beneficiary, uint256 weiAmount) internal { super._updatePurchasingState(beneficiary, weiAmount); _contributions[beneficiary] = _contributions[beneficiary].add(weiAmount); } } // File: contracts/presale.sol pragma solidity ^0.5.0; contract Presale is Crowdsale, TimedCrowdsale, PostDeliveryCrowdsale, Ownable, PausableCrowdsale, CapPurchases { constructor( uint256 rate, // rate, in TKNbits address payable wallet, // wallet to send Ether IERC20 token, // the token uint256 openingTime, // opening time in unix epoch seconds uint256 closingTime // closing time in unix epoch seconds ) public PostDeliveryCrowdsale() TimedCrowdsale(openingTime, closingTime) CapPurchases(100 * 1e18) Crowdsale(rate, wallet, token) { // nice! this Crowdsale will keep all of the tokens until the end of the crowdsale // and then users can `withdrawTokens()` to get the tokens they're owed } function extend(uint256 _closing) public onlyOwner() { _extendTime(_closing); } function updateTimers(uint256 _opening, uint256 _closing) public onlyOwner() { require(_closing > _opening, "closeing time must be greater than closing time"); _openingTime = _opening; _closingTime = _closing; } function openPresale() public onlyOwner() { _openingTime = block.timestamp; } function closePresale() public onlyOwner() { _closingTime = block.timestamp; } function freeTrappedEther(uint256 _withdraw) public onlyOwner() { msg.sender.transfer(_withdraw); } function reclaimUnsoldTokens(uint256 amount) public onlyOwner() { // sold coins are held int the token vault. and cannot be withdrawn token().transfer(msg.sender, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"hasClosed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOpen","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"closingTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"closePresale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_withdraw","type":"uint256"}],"name":"freeTrappedEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"openPresale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contributionCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_closing","type":"uint256"}],"name":"extend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"reclaimUnsoldTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"openingTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_opening","type":"uint256"},{"name":"_closing","type":"uint256"}],"name":"updateTimers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"rate","type":"uint256"},{"name":"wallet","type":"address"},{"name":"token","type":"address"},{"name":"openingTime","type":"uint256"},{"name":"closingTime","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"prevClosingTime","type":"uint256"},{"indexed":false,"name":"newClosingTime","type":"uint256"}],"name":"TimedCrowdsaleExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokensPurchased","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405160a080620035c4833981018060405260a08110156200003357600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505068056bc75e2d63100000828287878760016000806101000a81548160ff021916908315150217905550600083116200010c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f43726f776473616c653a2072617465206973203000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000194576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806200359f6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200021c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180620035596024913960400191505060405180910390fd5b8260028190555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505081811162000302576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180620035226037913960400191505060405180910390fd5b816004819055508060058190555050506040516200032090620006aa565b604051809103906000f0801580156200033d573d6000803e3d6000fd5b50600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000620003906200047d60201b60201c565b905080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200044f620004436200047d60201b60201c565b6200048560201b60201c565b6000600a60006101000a81548160ff02191690831515021790555080600b81905550505050505050620006b8565b600033905090565b620004a0816009620004e660201b620020771790919060201c565b8073ffffffffffffffffffffffffffffffffffffffff167f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f860405160405180910390a250565b620004f88282620005ca60201b60201c565b156200056c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f526f6c65733a206163636f756e7420616c72656164792068617320726f6c650081525060200191505060405180910390fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000653576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806200357d6022913960400191505060405180910390fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6106178062002f0b83390190565b61284380620006c86000396000f3fe6080604052600436106101b75760003560e01c806382dc1ec4116100ec5780639714378c1161008a578063e2f2609011610064578063e2f26090146106b5578063ec8ac4d8146106fa578063f2fde38b1461073e578063fc0c546a1461078f576101b7565b80639714378c14610614578063ab7cc8dc1461064f578063b7a8807c1461068a576101b7565b80638da5cb5b116100c65780638da5cb5b1461054c5780638dd98312146105a35780638f32d59b146105ba57806395816a16146105e9576101b7565b806382dc1ec4146104a95780638456cb59146104fa57806385b5480814610511576101b7565b80634b6753bc1161015957806363cea4501161013357806363cea450146103ff5780636ef8d66d1461041657806370a082311461042d578063715018a614610492576101b7565b80634b6753bc1461034e578063521eb273146103795780635c975abb146103d0576101b7565b80634042b66f116101955780634042b66f1461023a57806346fbf68e1461026557806347535d7b146102ce57806349df728c146102fd576101b7565b80631515bc2b146101c95780632c4e722e146101f85780633f4ba83a14610223575b6101c76101c26107e6565b6107ee565b005b3480156101d557600080fd5b506101de610979565b604051808215151515815260200191505060405180910390f35b34801561020457600080fd5b5061020d610985565b6040518082815260200191505060405180910390f35b34801561022f57600080fd5b5061023861098f565b005b34801561024657600080fd5b5061024f610afd565b6040518082815260200191505060405180910390f35b34801561027157600080fd5b506102b46004803603602081101561028857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b07565b604051808215151515815260200191505060405180910390f35b3480156102da57600080fd5b506102e3610b24565b604051808215151515815260200191505060405180910390f35b34801561030957600080fd5b5061034c6004803603602081101561032057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b3f565b005b34801561035a57600080fd5b50610363610d7e565b6040518082815260200191505060405180910390f35b34801561038557600080fd5b5061038e610d88565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103dc57600080fd5b506103e5610db2565b604051808215151515815260200191505060405180910390f35b34801561040b57600080fd5b50610414610dc9565b005b34801561042257600080fd5b5061042b610e4c565b005b34801561043957600080fd5b5061047c6004803603602081101561045057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e5e565b6040518082815260200191505060405180910390f35b34801561049e57600080fd5b506104a7610ea7565b005b3480156104b557600080fd5b506104f8600480360360208110156104cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fe2565b005b34801561050657600080fd5b5061050f611053565b005b34801561051d57600080fd5b5061054a6004803603602081101561053457600080fd5b81019080803590602001909291905050506111c2565b005b34801561055857600080fd5b50610561611286565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105af57600080fd5b506105b86112b0565b005b3480156105c657600080fd5b506105cf611333565b604051808215151515815260200191505060405180910390f35b3480156105f557600080fd5b506105fe611392565b6040518082815260200191505060405180910390f35b34801561062057600080fd5b5061064d6004803603602081101561063757600080fd5b8101908080359060200190929190505050611398565b005b34801561065b57600080fd5b506106886004803603602081101561067257600080fd5b810190808035906020019092919050505061141e565b005b34801561069657600080fd5b5061069f611565565b6040518082815260200191505060405180910390f35b3480156106c157600080fd5b506106f8600480360360408110156106d857600080fd5b81019080803590602001909291908035906020019092919050505061156f565b005b61073c6004803603602081101561071057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107ee565b005b34801561074a57600080fd5b5061078d6004803603602081101561076157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611653565b005b34801561079b57600080fd5b506107a46116d9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600033905090565b6000809054906101000a900460ff1661086f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60008060006101000a81548160ff02191690831515021790555060003490506108988282611702565b60006108a3826117d9565b90506108ba826003546117f790919063ffffffff16565b6003819055506108ca838261187f565b8273ffffffffffffffffffffffffffffffffffffffff166108e96107e6565b73ffffffffffffffffffffffffffffffffffffffff167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b8484604051808381526020018281526020019250505060405180910390a36109488383611944565b6109506119e7565b61095a8383611a52565b505060016000806101000a81548160ff02191690831515021790555050565b60006005544211905090565b6000600254905090565b61099f61099a6107e6565b610b07565b6109f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806126436030913960400191505060405180910390fd5b600a60009054906101000a900460ff16610a76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610aba6107e6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000600354905090565b6000610b1d826009611a5690919063ffffffff16565b9050919050565b60006004544210158015610b3a57506005544211155b905090565b610b47610979565b610b9c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127cd6021913960400191505060405180910390fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111610c39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806127286038913960400191505060405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663beabacc8610cc46116d9565b84846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015610d6257600080fd5b505af1158015610d76573d6000803e3d6000fd5b505050505050565b6000600554905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900460ff16905090565b610dd1611333565b610e43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600581905550565b610e5c610e576107e6565b611b34565b565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eaf611333565b610f21576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610ff2610fed6107e6565b610b07565b611047576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806126436030913960400191505060405180910390fd5b61105081611b8e565b50565b61106361105e6107e6565b610b07565b6110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806126436030913960400191505060405180910390fd5b600a60009054906101000a900460ff161561113b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861117f6107e6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6111ca611333565b61123c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611282573d6000803e3d6000fd5b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112b8611333565b61132a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600481905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166113766107e6565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600b5481565b6113a0611333565b611412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61141b81611be8565b50565b611426611333565b611498576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6114a06116d9565b73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561152657600080fd5b505af115801561153a573d6000803e3d6000fd5b505050506040513d602081101561155057600080fd5b81019080805190602001909291905050505050565b6000600454905090565b611577611333565b6115e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b818111611641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612699602f913960400191505060405180910390fd5b81600481905550806005819055505050565b61165b611333565b6116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6116d681611d08565b50565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61170c8282611e4e565b600b5461176182600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117f790919063ffffffff16565b11156117d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f706572736f6e616c20636170206578636565646564000000000000000000000081525060200191505060405180910390fd5b5050565b60006117f060025483611edf90919063ffffffff16565b9050919050565b600080828401905083811015611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6118d181600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117f790919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611940600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611f65565b5050565b61194e8282611fb6565b6119a081600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117f790919063ffffffff16565b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611a4f573d6000803e3d6000fd5b50565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611add576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127816022913960400191505060405180910390fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b48816009611fba90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e60405160405180910390a250565b611ba281600961207790919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f860405160405180910390a250565b611bf0610979565b15611c63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f54696d656443726f776473616c653a20616c726561647920636c6f736564000081525060200191505060405180910390fd5b6005548111611cbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806126e9603f913960400191505060405180910390fd5b7f46711e222f558a07afd26e5e71b48ecb0a8b2cdcd40faeb1323e05e2c76a2f3260055482604051808381526020018281526020019250505060405180910390a18060058190555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d8e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806126736026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60009054906101000a900460ff1615611ed1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b611edb8282612152565b5050565b600080831415611ef25760009050611f5f565b6000828402905082848281611f0357fe5b0414611f5a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127606021913960400191505060405180910390fd5b809150505b92915050565b611fb28282600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121da9092919063ffffffff16565b5050565b5050565b611fc48282611a56565b612019576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806126c86021913960400191505060405180910390fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6120818282611a56565b156120f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f526f6c65733a206163636f756e7420616c72656164792068617320726f6c650081525060200191505060405180910390fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61215a610b24565b6121cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f54696d656443726f776473616c653a206e6f74206f70656e000000000000000081525060200191505060405180910390fd5b6121d682826122ab565b5050565b6122a6838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123ac565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127a3602a913960400191505060405180910390fd5b60008114156123a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43726f776473616c653a20776569416d6f756e7420697320300000000000000081525060200191505060405180910390fd5b5050565b6123cb8273ffffffffffffffffffffffffffffffffffffffff166125f7565b61243d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061248c5780518252602082019150602081019050602083039250612469565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146124ee576040519150601f19603f3d011682016040523d82523d6000602084013e6124f3565b606091505b50915091508161256b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156125f15780806020019051602081101561258a57600080fd5b81019080805190602001909291905050506125f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127ee602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561263957506000801b8214155b9250505091905056fe506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373636c6f7365696e672074696d65206d7573742062652067726561746572207468616e20636c6f73696e672074696d65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6554696d656443726f776473616c653a206e657720636c6f73696e672074696d65206973206265666f72652063757272656e7420636c6f73696e672074696d65506f737444656c697665727943726f776473616c653a2062656e6566696369617279206973206e6f742064756520616e7920746f6b656e73536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77526f6c65733a206163636f756e7420697320746865207a65726f206164647265737343726f776473616c653a2062656e656669636961727920697320746865207a65726f2061646472657373506f737444656c697665727943726f776473616c653a206e6f7420636c6f7365645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a7230582032abc14f2598438cd5c556501e8b3a17c1fb975126f8356aef7ac26ec94a5c870029608060405260006100146100bf60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4101e71e974f68df5e9730cc223280b41654676bbb052cdcc735c3337e64d2d981604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1506100c7565b600033905090565b610541806100d66000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80632348238c14610046578063beabacc81461008a578063c6dbdf61146100f8575b600080fd5b6100886004803603602081101561005c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610142565b005b6100f6600480360360608110156100a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061031a565b005b61010061048e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166101826104b7565b73ffffffffffffffffffffffffffffffffffffffff16146101ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806104ea602c913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806104c0602a913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4101e71e974f68df5e9730cc223280b41654676bbb052cdcc735c3337e64d2d981604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661035a6104b7565b73ffffffffffffffffffffffffffffffffffffffff16146103c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806104ea602c913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561044d57600080fd5b505af1158015610461573d6000803e3d6000fd5b505050506040513d602081101561047757600080fd5b810190808051906020019092919050505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60003390509056fe5365636f6e646172793a206e6577207072696d61727920697320746865207a65726f20616464726573735365636f6e646172793a2063616c6c6572206973206e6f7420746865207072696d617279206163636f756e74a165627a7a72305820ff95f31a45686c333a36aac570a9de725816562899646225be1f9095ebc9b962002954696d656443726f776473616c653a206f70656e696e672074696d65206973206e6f74206265666f726520636c6f73696e672074696d6543726f776473616c653a20746f6b656e20697320746865207a65726f2061646472657373526f6c65733a206163636f756e7420697320746865207a65726f206164647265737343726f776473616c653a2077616c6c657420697320746865207a65726f206164647265737300000000000000000000000000000000000000000000000000000000000145860000000000000000000000008a2b212ca369f4893f298dd0c4aebe0e75c8396e000000000000000000000000f8e9f10c22840b613cda05a0c5fdb59a4d6cd7ef00000000000000000000000000000000000000000000000000000000616f27c400000000000000000000000000000000000000000000000000000000618a9503
Deployed Bytecode
0x6080604052600436106101b75760003560e01c806382dc1ec4116100ec5780639714378c1161008a578063e2f2609011610064578063e2f26090146106b5578063ec8ac4d8146106fa578063f2fde38b1461073e578063fc0c546a1461078f576101b7565b80639714378c14610614578063ab7cc8dc1461064f578063b7a8807c1461068a576101b7565b80638da5cb5b116100c65780638da5cb5b1461054c5780638dd98312146105a35780638f32d59b146105ba57806395816a16146105e9576101b7565b806382dc1ec4146104a95780638456cb59146104fa57806385b5480814610511576101b7565b80634b6753bc1161015957806363cea4501161013357806363cea450146103ff5780636ef8d66d1461041657806370a082311461042d578063715018a614610492576101b7565b80634b6753bc1461034e578063521eb273146103795780635c975abb146103d0576101b7565b80634042b66f116101955780634042b66f1461023a57806346fbf68e1461026557806347535d7b146102ce57806349df728c146102fd576101b7565b80631515bc2b146101c95780632c4e722e146101f85780633f4ba83a14610223575b6101c76101c26107e6565b6107ee565b005b3480156101d557600080fd5b506101de610979565b604051808215151515815260200191505060405180910390f35b34801561020457600080fd5b5061020d610985565b6040518082815260200191505060405180910390f35b34801561022f57600080fd5b5061023861098f565b005b34801561024657600080fd5b5061024f610afd565b6040518082815260200191505060405180910390f35b34801561027157600080fd5b506102b46004803603602081101561028857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b07565b604051808215151515815260200191505060405180910390f35b3480156102da57600080fd5b506102e3610b24565b604051808215151515815260200191505060405180910390f35b34801561030957600080fd5b5061034c6004803603602081101561032057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b3f565b005b34801561035a57600080fd5b50610363610d7e565b6040518082815260200191505060405180910390f35b34801561038557600080fd5b5061038e610d88565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103dc57600080fd5b506103e5610db2565b604051808215151515815260200191505060405180910390f35b34801561040b57600080fd5b50610414610dc9565b005b34801561042257600080fd5b5061042b610e4c565b005b34801561043957600080fd5b5061047c6004803603602081101561045057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e5e565b6040518082815260200191505060405180910390f35b34801561049e57600080fd5b506104a7610ea7565b005b3480156104b557600080fd5b506104f8600480360360208110156104cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fe2565b005b34801561050657600080fd5b5061050f611053565b005b34801561051d57600080fd5b5061054a6004803603602081101561053457600080fd5b81019080803590602001909291905050506111c2565b005b34801561055857600080fd5b50610561611286565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105af57600080fd5b506105b86112b0565b005b3480156105c657600080fd5b506105cf611333565b604051808215151515815260200191505060405180910390f35b3480156105f557600080fd5b506105fe611392565b6040518082815260200191505060405180910390f35b34801561062057600080fd5b5061064d6004803603602081101561063757600080fd5b8101908080359060200190929190505050611398565b005b34801561065b57600080fd5b506106886004803603602081101561067257600080fd5b810190808035906020019092919050505061141e565b005b34801561069657600080fd5b5061069f611565565b6040518082815260200191505060405180910390f35b3480156106c157600080fd5b506106f8600480360360408110156106d857600080fd5b81019080803590602001909291908035906020019092919050505061156f565b005b61073c6004803603602081101561071057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107ee565b005b34801561074a57600080fd5b5061078d6004803603602081101561076157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611653565b005b34801561079b57600080fd5b506107a46116d9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600033905090565b6000809054906101000a900460ff1661086f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60008060006101000a81548160ff02191690831515021790555060003490506108988282611702565b60006108a3826117d9565b90506108ba826003546117f790919063ffffffff16565b6003819055506108ca838261187f565b8273ffffffffffffffffffffffffffffffffffffffff166108e96107e6565b73ffffffffffffffffffffffffffffffffffffffff167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b8484604051808381526020018281526020019250505060405180910390a36109488383611944565b6109506119e7565b61095a8383611a52565b505060016000806101000a81548160ff02191690831515021790555050565b60006005544211905090565b6000600254905090565b61099f61099a6107e6565b610b07565b6109f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806126436030913960400191505060405180910390fd5b600a60009054906101000a900460ff16610a76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610aba6107e6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000600354905090565b6000610b1d826009611a5690919063ffffffff16565b9050919050565b60006004544210158015610b3a57506005544211155b905090565b610b47610979565b610b9c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127cd6021913960400191505060405180910390fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111610c39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806127286038913960400191505060405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663beabacc8610cc46116d9565b84846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015610d6257600080fd5b505af1158015610d76573d6000803e3d6000fd5b505050505050565b6000600554905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900460ff16905090565b610dd1611333565b610e43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600581905550565b610e5c610e576107e6565b611b34565b565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eaf611333565b610f21576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610ff2610fed6107e6565b610b07565b611047576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806126436030913960400191505060405180910390fd5b61105081611b8e565b50565b61106361105e6107e6565b610b07565b6110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806126436030913960400191505060405180910390fd5b600a60009054906101000a900460ff161561113b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861117f6107e6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6111ca611333565b61123c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611282573d6000803e3d6000fd5b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112b8611333565b61132a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600481905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166113766107e6565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600b5481565b6113a0611333565b611412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61141b81611be8565b50565b611426611333565b611498576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6114a06116d9565b73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561152657600080fd5b505af115801561153a573d6000803e3d6000fd5b505050506040513d602081101561155057600080fd5b81019080805190602001909291905050505050565b6000600454905090565b611577611333565b6115e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b818111611641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612699602f913960400191505060405180910390fd5b81600481905550806005819055505050565b61165b611333565b6116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6116d681611d08565b50565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61170c8282611e4e565b600b5461176182600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117f790919063ffffffff16565b11156117d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f706572736f6e616c20636170206578636565646564000000000000000000000081525060200191505060405180910390fd5b5050565b60006117f060025483611edf90919063ffffffff16565b9050919050565b600080828401905083811015611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6118d181600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117f790919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611940600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611f65565b5050565b61194e8282611fb6565b6119a081600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117f790919063ffffffff16565b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611a4f573d6000803e3d6000fd5b50565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611add576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806127816022913960400191505060405180910390fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b48816009611fba90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e60405160405180910390a250565b611ba281600961207790919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f860405160405180910390a250565b611bf0610979565b15611c63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f54696d656443726f776473616c653a20616c726561647920636c6f736564000081525060200191505060405180910390fd5b6005548111611cbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806126e9603f913960400191505060405180910390fd5b7f46711e222f558a07afd26e5e71b48ecb0a8b2cdcd40faeb1323e05e2c76a2f3260055482604051808381526020018281526020019250505060405180910390a18060058190555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d8e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806126736026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60009054906101000a900460ff1615611ed1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b611edb8282612152565b5050565b600080831415611ef25760009050611f5f565b6000828402905082848281611f0357fe5b0414611f5a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127606021913960400191505060405180910390fd5b809150505b92915050565b611fb28282600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121da9092919063ffffffff16565b5050565b5050565b611fc48282611a56565b612019576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806126c86021913960400191505060405180910390fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6120818282611a56565b156120f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f526f6c65733a206163636f756e7420616c72656164792068617320726f6c650081525060200191505060405180910390fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61215a610b24565b6121cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f54696d656443726f776473616c653a206e6f74206f70656e000000000000000081525060200191505060405180910390fd5b6121d682826122ab565b5050565b6122a6838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123ac565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127a3602a913960400191505060405180910390fd5b60008114156123a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43726f776473616c653a20776569416d6f756e7420697320300000000000000081525060200191505060405180910390fd5b5050565b6123cb8273ffffffffffffffffffffffffffffffffffffffff166125f7565b61243d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061248c5780518252602082019150602081019050602083039250612469565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146124ee576040519150601f19603f3d011682016040523d82523d6000602084013e6124f3565b606091505b50915091508161256b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156125f15780806020019051602081101561258a57600080fd5b81019080805190602001909291905050506125f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127ee602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561263957506000801b8214155b9250505091905056fe506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373636c6f7365696e672074696d65206d7573742062652067726561746572207468616e20636c6f73696e672074696d65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6554696d656443726f776473616c653a206e657720636c6f73696e672074696d65206973206265666f72652063757272656e7420636c6f73696e672074696d65506f737444656c697665727943726f776473616c653a2062656e6566696369617279206973206e6f742064756520616e7920746f6b656e73536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77526f6c65733a206163636f756e7420697320746865207a65726f206164647265737343726f776473616c653a2062656e656669636961727920697320746865207a65726f2061646472657373506f737444656c697665727943726f776473616c653a206e6f7420636c6f7365645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a7230582032abc14f2598438cd5c556501e8b3a17c1fb975126f8356aef7ac26ec94a5c870029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000145860000000000000000000000008a2b212ca369f4893f298dd0c4aebe0e75c8396e000000000000000000000000f8e9f10c22840b613cda05a0c5fdb59a4d6cd7ef00000000000000000000000000000000000000000000000000000000616f27c400000000000000000000000000000000000000000000000000000000618a9503
-----Decoded View---------------
Arg [0] : rate (uint256): 83334
Arg [1] : wallet (address): 0x8a2B212cA369f4893F298dD0C4aebE0E75C8396e
Arg [2] : token (address): 0xf8E9F10c22840b613cdA05A0c5Fdb59A4d6cd7eF
Arg [3] : openingTime (uint256): 1634674628
Arg [4] : closingTime (uint256): 1636472067
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000014586
Arg [1] : 0000000000000000000000008a2b212ca369f4893f298dd0c4aebe0e75c8396e
Arg [2] : 000000000000000000000000f8e9f10c22840b613cda05a0c5fdb59a4d6cd7ef
Arg [3] : 00000000000000000000000000000000000000000000000000000000616f27c4
Arg [4] : 00000000000000000000000000000000000000000000000000000000618a9503
Deployed Bytecode Sourcemap
44589:1728:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30654:23;30664:12;:10;:12::i;:::-;30654:9;:23::i;:::-;44589:1728;40153:159;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40153:159:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;31087:77;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31087:77:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16590:120;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16590:120:0;;;:::i;:::-;;31232:87;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31232:87:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14016:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14016:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;14016:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;39791:192;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39791:192:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41895:363;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41895:363:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41895:363:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;39610:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39610:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30908:89;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30908:89:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;15797:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15797:78:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;45874:92;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45874:92:0;;;:::i;:::-;;14233:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14233:79:0;;;:::i;:::-;;42327:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42327:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;42327:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12692:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12692:140:0;;;:::i;:::-;;14133:92;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14133:92:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;14133:92:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;16377:118;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16377:118:0;;;:::i;:::-;;45974:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45974:112:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;45974:112:0;;;;;;;;;;;;;;;;;:::i;:::-;;11881:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11881:79:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;45771:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45771:91:0;;;:::i;:::-;;12247:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12247:94:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;43680:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43680:30:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45409:93;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45409:93:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;45409:93:0;;;;;;;;;;;;;;;;;:::i;:::-;;46098:196;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46098:196:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;46098:196:0;;;;;;;;;;;;;;;;;:::i;:::-;;39449:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39449:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45514:245;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45514:245:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;45514:245:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31584:622;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;31584:622:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;12987:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12987:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12987:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;30749:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30749:78:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10534:98;10579:15;10614:10;10607:17;;10534:98;:::o;31584:622::-;3218:11;;;;;;;;;;;3210:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3357:5;3343:11;;:19;;;;;;;;;;;;;;;;;;31663:17;31683:9;31663:29;;31703:44;31724:11;31737:9;31703:20;:44::i;:::-;31809:14;31826:26;31842:9;31826:15;:26::i;:::-;31809:43;;31903:25;31918:9;31903:10;;:14;;:25;;;;:::i;:::-;31890:10;:38;;;;31941:37;31958:11;31971:6;31941:16;:37::i;:::-;32024:11;31994:61;;32010:12;:10;:12::i;:::-;31994:61;;;32037:9;32048:6;31994:61;;;;;;;;;;;;;;;;;;;;;;;;32068:46;32091:11;32104:9;32068:22;:46::i;:::-;32127:15;:13;:15::i;:::-;32153:45;32175:11;32188:9;32153:21;:45::i;:::-;3375:1;;3537:4;3523:11;;:18;;;;;;;;;;;;;;;;;;31584:622;:::o;40153:159::-;40195:4;40292:12;;40274:15;:30;40267:37;;40153:159;:::o;31087:77::-;31124:7;31151:5;;31144:12;;31087:77;:::o;16590:120::-;13913:22;13922:12;:10;:12::i;:::-;13913:8;:22::i;:::-;13905:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16233:7;;;;;;;;;;;16225:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16659:5;16649:7;;:15;;;;;;;;;;;;;;;;;;16680:22;16689:12;:10;:12::i;:::-;16680:22;;;;;;;;;;;;;;;;;;;;;;16590:120::o;31232:87::-;31274:7;31301:10;;31294:17;;31232:87;:::o;14016:109::-;14072:4;14096:21;14109:7;14096:8;:12;;:21;;;;:::i;:::-;14089:28;;14016:109;;;:::o;39791:192::-;39830:4;39928:12;;39909:15;:31;;:66;;;;;39963:12;;39944:15;:31;;39909:66;39902:73;;39791:192;:::o;41895:363::-;41966:11;:9;:11::i;:::-;41958:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42026:14;42043:9;:22;42053:11;42043:22;;;;;;;;;;;;;;;;42026:39;;42093:1;42084:6;:10;42076:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42193:1;42168:9;:22;42178:11;42168:22;;;;;;;;;;;;;;;:26;;;;42205:6;;;;;;;;;;;:15;;;42221:7;:5;:7::i;:::-;42230:11;42243:6;42205:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42205:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42205:45:0;;;;41895:363;;:::o;39610:91::-;39654:7;39681:12;;39674:19;;39610:91;:::o;30908:89::-;30947:15;30982:7;;;;;;;;;;;30975:14;;30908:89;:::o;15797:78::-;15836:4;15860:7;;;;;;;;;;;15853:14;;15797:78;:::o;45874:92::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45943:15;45928:12;:30;;;;45874:92::o;14233:79::-;14277:27;14291:12;:10;:12::i;:::-;14277:13;:27::i;:::-;14233:79::o;42327:110::-;42384:7;42411:9;:18;42421:7;42411:18;;;;;;;;;;;;;;;;42404:25;;42327:110;;;:::o;12692:140::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12791:1;12754:40;;12775:6;;;;;;;;;;;12754:40;;;;;;;;;;;;12822:1;12805:6;;:19;;;;;;;;;;;;;;;;;;12692:140::o;14133:92::-;13913:22;13922:12;:10;:12::i;:::-;13913:8;:22::i;:::-;13905:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14198:19;14209:7;14198:10;:19::i;:::-;14133:92;:::o;16377:118::-;13913:22;13922:12;:10;:12::i;:::-;13913:8;:22::i;:::-;13905:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16034:7;;;;;;;;;;;16033:8;16025:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16447:4;16437:7;;:14;;;;;;;;;;;;;;;;;;16467:20;16474:12;:10;:12::i;:::-;16467:20;;;;;;;;;;;;;;;;;;;;;;16377:118::o;45974:112::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46048:10;:19;;:30;46068:9;46048:30;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46048:30:0;45974:112;:::o;11881:79::-;11919:7;11946:6;;;;;;;;;;;11939:13;;11881:79;:::o;45771:91::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45839:15;45824:12;:30;;;;45771:91::o;12247:94::-;12287:4;12327:6;;;;;;;;;;;12311:22;;:12;:10;:12::i;:::-;:22;;;12304:29;;12247:94;:::o;43680:30::-;;;;:::o;45409:93::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45473:21;45485:8;45473:11;:21::i;:::-;45409:93;:::o;46098:196::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46250:7;:5;:7::i;:::-;:16;;;46267:10;46279:6;46250:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46250:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46250:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;46250:36:0;;;;;;;;;;;;;;;;;46098:196;:::o;39449:91::-;39493:7;39520:12;;39513:19;;39449:91;:::o;45514:245::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45621:8;45610;:19;45602:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45708:8;45693:12;:23;;;;45743:8;45728:12;:23;;;;45514:245;;:::o;12987:109::-;12093:9;:7;:9::i;:::-;12085:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13060:28;13079:8;13060:18;:28::i;:::-;12987:109;:::o;30749:78::-;30787:6;30813;;;;;;;;;;;30806:13;;30749:78;:::o;43912:313::-;44007:50;44034:11;44047:9;44007:26;:50::i;:::-;44176:15;;44130:42;44162:9;44130:14;:27;44145:11;44130:27;;;;;;;;;;;;;;;;:31;;:42;;;;:::i;:::-;:61;;44122:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43912:313;;:::o;35111:122::-;35178:7;35205:20;35219:5;;35205:9;:13;;:20;;;;:::i;:::-;35198:27;;35111:122;;;:::o;19159:181::-;19217:7;19237:9;19253:1;19249;:5;19237:17;;19278:1;19273;:6;;19265:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19331:1;19324:8;;;19159:181;;;;:::o;42835:215::-;42948:39;42975:11;42948:9;:22;42958:11;42948:22;;;;;;;;;;;;;;;;:26;;:39;;;;:::i;:::-;42923:9;:22;42933:11;42923:22;;;;;;;;;;;;;;;:64;;;;42998:44;43021:6;;;;;;;;;;;43030:11;42998:14;:44::i;:::-;42835:215;;:::o;44282:235::-;44374:52;44403:11;44416:9;44374:28;:52::i;:::-;44467:42;44499:9;44467:14;:27;44482:11;44467:27;;;;;;;;;;;;;;;;:31;;:42;;;;:::i;:::-;44437:14;:27;44452:11;44437:27;;;;;;;;;;;;;;;:72;;;;44282:235;;:::o;35325:80::-;35370:7;;;;;;;;;;;:16;;:27;35387:9;35370:27;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35370:27:0;35325:80::o;33442:151::-;;;:::o;916:203::-;988:4;1032:1;1013:21;;:7;:21;;;;1005:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1091:4;:11;;:20;1103:7;1091:20;;;;;;;;;;;;;;;;;;;;;;;;;1084:27;;916:203;;;;:::o;14450:130::-;14510:24;14526:7;14510:8;:15;;:24;;;;:::i;:::-;14564:7;14550:22;;;;;;;;;;;;14450:130;:::o;14320:122::-;14377:21;14390:7;14377:8;:12;;:21;;;;:::i;:::-;14426:7;14414:20;;;;;;;;;;;;14320:122;:::o;40789:408::-;40863:11;:9;:11::i;:::-;40862:12;40854:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40999:12;;40982:14;:29;40974:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41097:52;41120:12;;41134:14;41097:52;;;;;;;;;;;;;;;;;;;;;;;;41175:14;41160:12;:29;;;;40789:408;:::o;13202:229::-;13296:1;13276:22;;:8;:22;;;;13268:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13386:8;13357:38;;13378:6;;;;;;;;;;;13357:38;;;;;;;;;;;;13415:8;13406:6;;:17;;;;;;;;;;;;;;;;;;13202:229;:::o;37600:178::-;16034:7;;;;;;;;;;;16033:8;16025:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37718:52;37745:12;37759:10;37718:26;:52::i;:::-;37600:178;;:::o;20531:471::-;20589:7;20839:1;20834;:6;20830:47;;;20864:1;20857:8;;;;20830:47;20889:9;20905:1;20901;:5;20889:17;;20934:1;20929;20925;:5;;;;;;:10;20917:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20993:1;20986:8;;;20531:471;;;;;:::o;33881:139::-;33967:45;33987:11;34000;33967:6;;;;;;;;;;;:19;;;;:45;;;;;:::i;:::-;33881:139;;:::o;34708:147::-;;;:::o;638:183::-;718:18;722:4;728:7;718:3;:18::i;:::-;710:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;808:5;785:4;:11;;:20;797:7;785:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;638:183;;:::o;380:178::-;458:18;462:4;468:7;458:3;:18::i;:::-;457:19;449:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;546:4;523;:11;;:20;535:7;523:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;380:178;;:::o;40512:167::-;38604:8;:6;:8::i;:::-;38596:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40621:50;40648:11;40661:9;40621:26;:50::i;:::-;40512:167;;:::o;24462:176::-;24545:85;24564:5;24594;:14;;;:23;;;;24619:2;24623:5;24571:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;24571:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;24571:58:0;24545:18;:85::i;:::-;24462:176;;;:::o;32759:380::-;32885:1;32862:25;;:11;:25;;;;32854:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32966:1;32953:9;:14;;32945:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32759:380;;:::o;26501:1114::-;27105:27;27113:5;27105:25;;;:27::i;:::-;27097:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27242:12;27256:23;27291:5;27283:19;;27303:4;27283:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;27283:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;27241:67:0;;;;27327:7;27319:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27408:1;27388:10;:17;:21;27384:224;;;27530:10;27519:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27519:30:0;;;;;;;;;;;;;;;;27511:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27384:224;26501:1114;;;;:::o;4372:619::-;4432:4;4694:16;4721:19;4743:66;4721:88;;;;4912:7;4900:20;4888:32;;4952:11;4940:8;:23;;:42;;;;;4979:3;4967:15;;:8;:15;;4940:42;4932:51;;;;4372:619;;;:::o
Swarm Source
bzzr://ff95f31a45686c333a36aac570a9de725816562899646225be1f9095ebc9b962
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
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.