More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 154 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 20221183 | 18 days ago | IN | 0 ETH | 0.00023085 | ||||
Add Balance | 20221170 | 18 days ago | IN | 0 ETH | 0.00119709 | ||||
Withdraw | 20221152 | 18 days ago | IN | 0 ETH | 0.00024483 | ||||
Withdraw | 20221098 | 18 days ago | IN | 0 ETH | 0.00022215 | ||||
Add Balance | 20199784 | 21 days ago | IN | 0 ETH | 0.00110172 | ||||
Withdraw | 20187291 | 23 days ago | IN | 0 ETH | 0.00070237 | ||||
Add Balance | 20185476 | 23 days ago | IN | 0 ETH | 0.00126034 | ||||
Withdraw | 20185359 | 23 days ago | IN | 0 ETH | 0.00061167 | ||||
Add Balance | 20183140 | 23 days ago | IN | 0 ETH | 0.00138611 | ||||
Add Balance | 20183121 | 23 days ago | IN | 0 ETH | 0.00144911 | ||||
Withdraw | 20183115 | 23 days ago | IN | 0 ETH | 0.00050686 | ||||
Add Balance | 20182924 | 23 days ago | IN | 0 ETH | 0.0011343 | ||||
Add Balance | 20182874 | 23 days ago | IN | 0 ETH | 0.00113409 | ||||
Withdraw | 20182646 | 23 days ago | IN | 0 ETH | 0.00048785 | ||||
Withdraw | 20182602 | 23 days ago | IN | 0 ETH | 0.00022524 | ||||
Withdraw | 20182579 | 23 days ago | IN | 0 ETH | 0.00019886 | ||||
Withdraw | 20182563 | 23 days ago | IN | 0 ETH | 0.00019886 | ||||
Withdraw | 20182033 | 23 days ago | IN | 0 ETH | 0.00044263 | ||||
Add Balance | 20181988 | 23 days ago | IN | 0 ETH | 0.00138637 | ||||
Add Balance | 20181271 | 23 days ago | IN | 0 ETH | 0.00105609 | ||||
Add Balance | 20181241 | 23 days ago | IN | 0 ETH | 0.00107108 | ||||
Add Balance | 20179905 | 24 days ago | IN | 0 ETH | 0.00107108 | ||||
Add Balance | 20178751 | 24 days ago | IN | 0 ETH | 0.0013231 | ||||
Withdraw | 20178645 | 24 days ago | IN | 0 ETH | 0.00045048 | ||||
Add Balance | 20178431 | 24 days ago | IN | 0 ETH | 0.00107128 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MarketingTokenSale
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-06-17 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @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). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // File: ScheduledTokenSale.sol pragma solidity ^0.8.17; /** * @title Abstract ScheduledTokenSale * @author https://codd.tech * @dev ScheduledTokenSale implements swapping unlocking schedule for early investors. * Unlock schedule managed by unlockSchedule and scheduleStartTimestamp variables. */ abstract contract ScheduledTokenSale is AccessControl { using SafeERC20 for IERC20; event Deposit( address sender, address indexed to, uint256 amount ); bytes32 public constant CONTROLLER_ROLE = keccak256("CONTROLLER_ROLE"); uint16 private constant PERCENT_DENOMINATOR = 10_000; uint256 public scheduleStartTimestamp = 0; mapping(address => uint256) private _balances; mapping(address => uint256) private _withdrawnBalances; uint256 public totalBalance; struct UnlockScheduleItem { uint256 unlockTimePass; uint16 totalPercentageUnlocked; } UnlockScheduleItem[] internal unlockSchedule; IERC20 public token; function _initUnlockSchedule() internal virtual; constructor(IERC20 token_) { require( address(token_) != address(0), "ScheduledTokenSale: New token address cannot be null" ); _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); token = token_; _initUnlockSchedule(); _validateUnlockSchedule(); } function launchSale() external onlyRole(CONTROLLER_ROLE) { require(scheduleStartTimestamp == 0, "ScheduledTokenSale: Sale already launched"); // solhint-disable-next-line not-rely-on-time scheduleStartTimestamp = block.timestamp; } function addBalance( address to, uint256 amount ) external virtual onlyRole(CONTROLLER_ROLE) { _addBalance(to, amount); } function withdraw(address to, uint256 amount) external returns (bool) { require( to != address(0), "ScheduledTokenSale: Recipient address cannot be null" ); require( amount > 0, "ScheduledTokenSale: Withdraw amount must be greater than zero" ); require( scheduleStartTimestamp > 0 && scheduleStartTimestamp < block.timestamp, // solhint-disable-line not-rely-on-time "ScheduledTokenSale: Unlock schedule not started yet" ); require( unlockedOf(msg.sender) >= amount, "ScheduledTokenSale: Amount to withdraw is greater than unlocked amount" ); _withdrawnBalances[msg.sender] += amount; totalBalance -= amount; token.safeTransfer(to, amount); return true; } function balanceOf(address account) external view returns (uint256) { return _balances[account] - _withdrawnBalances[account]; } function unlockedOf(address account) public view returns (uint256) { if (scheduleStartTimestamp > 0) { uint256 totalUnlocked = Math.mulDiv( _balances[account], getUnlockedPercent(block.timestamp - scheduleStartTimestamp), // solhint-disable-line not-rely-on-time PERCENT_DENOMINATOR ); if (totalUnlocked <= _withdrawnBalances[account]) { return 0; } return totalUnlocked - _withdrawnBalances[account]; } return 0; } function getUnlockedPercent( uint256 secondsPassed ) internal view returns (uint16) { uint8 index = 0; while(index < unlockSchedule.length && unlockSchedule[index].unlockTimePass < secondsPassed) { index++; } return index > 0 ? unlockSchedule[index - 1].totalPercentageUnlocked : 0; } function _addBalance(address to, uint256 amount) internal { require( to != address(0), "ScheduledTokenSale: Recipient address cannot be null" ); require( amount > 0, "ScheduledTokenSale: Balance amount must be greater than zero" ); require( totalBalance + amount <= token.balanceOf(address(this)), "ScheduledTokenSale: Total balance exceeds available balance" ); _balances[to] += amount; totalBalance += amount; emit Deposit(msg.sender, to, amount); } function _validateUnlockSchedule() private view { assert(unlockSchedule.length > 1); assert(unlockSchedule[unlockSchedule.length - 1].totalPercentageUnlocked == PERCENT_DENOMINATOR); for (uint8 i = 1; i < unlockSchedule.length; ++i) { assert( unlockSchedule[i - 1].unlockTimePass < unlockSchedule[i].unlockTimePass ); assert( unlockSchedule[i - 1].totalPercentageUnlocked < unlockSchedule[i].totalPercentageUnlocked ); } assert( unlockSchedule[unlockSchedule.length - 1].totalPercentageUnlocked == PERCENT_DENOMINATOR ); } } // File: MarketingTokenSale.sol pragma solidity ^0.8.17; /** * @title Marketing SWGT sale schedule * @author https://codd.tech * @dev See ScheduledTokenSale contract for details */ contract MarketingTokenSale is ScheduledTokenSale { // solhint-disable-next-line no-empty-blocks constructor(IERC20 token) ScheduledTokenSale(token) {} function _initUnlockSchedule() internal override { unlockSchedule.push(UnlockScheduleItem(0 days, 2000)); unlockSchedule.push(UnlockScheduleItem(120 days, 3000)); unlockSchedule.push(UnlockScheduleItem(210 days, 4000)); unlockSchedule.push(UnlockScheduleItem(300 days, 5000)); unlockSchedule.push(UnlockScheduleItem(390 days, 6000)); unlockSchedule.push(UnlockScheduleItem(480 days, 7000)); unlockSchedule.push(UnlockScheduleItem(570 days, 8000)); unlockSchedule.push(UnlockScheduleItem(660 days, 9000)); unlockSchedule.push(UnlockScheduleItem(750 days, 10000)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"CONTROLLER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"scheduleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unlockedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006001553480156200001657600080fd5b506040516200318b3803806200318b83398181016040528101906200003c919062000973565b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a69062000a2c565b60405180910390fd5b620000c46000801b336200012d60201b60201c565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001156200021e60201b60201c565b620001256200065d60201b60201c565b505062000b97565b6200013f82826200088360201b60201c565b6200021a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001bf620008ed60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60056040518060400160405280600081526020016107d061ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff160217905550505060056040518060400160405280629e34008152602001610bb861ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff160217905550505060056040518060400160405280630114db008152602001610fa061ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff16021790555050506005604051806040016040528063018b8200815260200161138861ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff1602179055505050600560405180604001604052806302022900815260200161177061ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff160217905550505060056040518060400160405280630278d0008152602001611b5861ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff1602179055505050600560405180604001604052806302ef77008152602001611f4061ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff1602179055505050600560405180604001604052806303661e00815260200161232861ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff1602179055505050600560405180604001604052806303dcc500815260200161271061ffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548161ffff021916908361ffff1602179055505050565b60016005805490501162000676576200067562000a4e565b5b61271061ffff166005600160058054905062000693919062000ab6565b81548110620006a757620006a662000af1565b5b906000526020600020906002020160010160009054906101000a900461ffff1661ffff1614620006dc57620006db62000a4e565b5b6000600190505b6005805490508160ff1610156200081a5760058160ff16815481106200070e576200070d62000af1565b5b906000526020600020906002020160000154600560018362000731919062000b2d565b60ff168154811062000748576200074762000af1565b5b906000526020600020906002020160000154106200076b576200076a62000a4e565b5b60058160ff168154811062000785576200078462000af1565b5b906000526020600020906002020160010160009054906101000a900461ffff1661ffff166005600183620007ba919062000b2d565b60ff1681548110620007d157620007d062000af1565b5b906000526020600020906002020160010160009054906101000a900461ffff1661ffff161062000806576200080562000a4e565b5b80620008129062000b69565b9050620006e3565b5061271061ffff166005600160058054905062000838919062000ab6565b815481106200084c576200084b62000af1565b5b906000526020600020906002020160010160009054906101000a900461ffff1661ffff161462000881576200088062000a4e565b5b565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200092782620008fa565b9050919050565b60006200093b826200091a565b9050919050565b6200094d816200092e565b81146200095957600080fd5b50565b6000815190506200096d8162000942565b92915050565b6000602082840312156200098c576200098b620008f5565b5b60006200099c848285016200095c565b91505092915050565b600082825260208201905092915050565b7f5363686564756c6564546f6b656e53616c653a204e657720746f6b656e20616460008201527f64726573732063616e6e6f74206265206e756c6c000000000000000000000000602082015250565b600062000a14603483620009a5565b915062000a2182620009b6565b604082019050919050565b6000602082019050818103600083015262000a478162000a05565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000ac38262000a7d565b915062000ad08362000a7d565b925082820390508181111562000aeb5762000aea62000a87565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b600062000b3a8262000b20565b915062000b478362000b20565b9250828203905060ff81111562000b635762000b6262000a87565b5b92915050565b600062000b768262000b20565b915060ff820362000b8c5762000b8b62000a87565b5b600182019050919050565b6125e48062000ba76000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806391d1485411610097578063d547741f11610066578063d547741f146102ad578063f313372d146102c9578063f3fef3a3146102e7578063fc0c546a1461031757610100565b806391d1485414610211578063a217fddf14610241578063ad7a672f1461025f578063caad546e1461027d57610100565b80632f2ff15d116100d35780632f2ff15d1461019f57806336568abe146101bb57806370a08231146101d75780637f7376e81461020757610100565b806301ffc9a714610105578063092c5b3b1461013557806321e5383a14610153578063248a9ca31461016f575b600080fd5b61011f600480360381019061011a91906116b5565b610335565b60405161012c91906116fd565b60405180910390f35b61013d6103af565b60405161014a9190611731565b60405180910390f35b61016d600480360381019061016891906117e0565b6103d3565b005b6101896004803603810190610184919061184c565b61040c565b6040516101969190611731565b60405180910390f35b6101b960048036038101906101b49190611879565b61042b565b005b6101d560048036038101906101d09190611879565b61044c565b005b6101f160048036038101906101ec91906118b9565b6104cf565b6040516101fe91906118f5565b60405180910390f35b61020f610562565b005b61022b60048036038101906102269190611879565b6105db565b60405161023891906116fd565b60405180910390f35b610249610645565b6040516102569190611731565b60405180910390f35b61026761064c565b60405161027491906118f5565b60405180910390f35b610297600480360381019061029291906118b9565b610652565b6040516102a491906118f5565b60405180910390f35b6102c760048036038101906102c29190611879565b610778565b005b6102d1610799565b6040516102de91906118f5565b60405180910390f35b61030160048036038101906102fc91906117e0565b61079f565b60405161030e91906116fd565b60405180910390f35b61031f6109b5565b60405161032c919061196f565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806103a857506103a7826109db565b5b9050919050565b7f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c57022335781565b7f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233576103fd81610a45565b6104078383610a59565b505050565b6000806000838152602001908152602001600020600101549050919050565b6104348261040c565b61043d81610a45565b6104478383610cb9565b505050565b610454610d99565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146104c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b890611a0d565b60405180910390fd5b6104cb8282610da1565b5050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461055b9190611a5c565b9050919050565b7f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c57022335761058c81610a45565b6000600154146105d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c890611b02565b60405180910390fd5b4260018190555050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b60045481565b600080600154111561076e5760006106c9600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106b9600154426106b49190611a5c565b610e82565b61ffff1661271061ffff16610f3e565b9050600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811161071b576000915050610773565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816107669190611a5c565b915050610773565b600090505b919050565b6107818261040c565b61078a81610a45565b6107948383610da1565b505050565b60015481565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080690611b94565b60405180910390fd5b60008211610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084990611c26565b60405180910390fd5b6000600154118015610865575042600154105b6108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b90611cb8565b60405180910390fd5b816108ae33610652565b10156108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e690611d70565b60405180910390fd5b81600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461093e9190611d90565b9250508190555081600460008282546109579190611a5c565b925050819055506109ab8383600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661104f9092919063ffffffff16565b6001905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610a5681610a51610d99565b6110d5565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf90611b94565b60405180910390fd5b60008111610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290611e36565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b669190611e65565b602060405180830381865afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba79190611e95565b81600454610bb59190611d90565b1115610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90611f34565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c459190611d90565b925050819055508060046000828254610c5e9190611d90565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f623383604051610cad929190611f54565b60405180910390a25050565b610cc382826105db565b610d9557600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610d3a610d99565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b610dab82826105db565b15610e7e57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e23610d99565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080600090505b6005805490508160ff16108015610ec857508260058260ff1681548110610eb457610eb3611f7d565b5b906000526020600020906002020160000154105b15610ee0578080610ed890611fb9565b915050610e8a565b60008160ff1611610ef2576000610f36565b6005600182610f019190611fe2565b60ff1681548110610f1557610f14611f7d565b5b906000526020600020906002020160010160009054906101000a900461ffff165b915050919050565b6000806000801985870985870292508281108382030391505060008103610f7957838281610f6f57610f6e612017565b5b0492505050611048565b808411610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290612092565b60405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b6110d08363a9059cbb60e01b848460405160240161106e929190611f54565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061115a565b505050565b6110df82826105db565b611156576110ec81611222565b6110fa8360001c602061124f565b60405160200161110b9291906121bb565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d919061223f565b60405180910390fd5b5050565b60006111bc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661148b9092919063ffffffff16565b90506000815114806111de5750808060200190518101906111dd919061228d565b5b61121d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112149061232c565b60405180910390fd5b505050565b60606112488273ffffffffffffffffffffffffffffffffffffffff16601460ff1661124f565b9050919050565b606060006002836002611262919061234c565b61126c9190611d90565b67ffffffffffffffff8111156112855761128461238e565b5b6040519080825280601f01601f1916602001820160405280156112b75781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106112ef576112ee611f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061135357611352611f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611393919061234c565b61139d9190611d90565b90505b600181111561143d577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106113df576113de611f7d565b5b1a60f81b8282815181106113f6576113f5611f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611436906123bd565b90506113a0565b5060008414611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890612432565b60405180910390fd5b8091505092915050565b606061149a84846000856114a3565b90509392505050565b6060824710156114e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114df906124c4565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611511919061252b565b60006040518083038185875af1925050503d806000811461154e576040519150601f19603f3d011682016040523d82523d6000602084013e611553565b606091505b509150915061156487838387611570565b92505050949350505050565b606083156115d25760008351036115ca5761158a856115e5565b6115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c09061258e565b60405180910390fd5b5b8290506115dd565b6115dc8383611608565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561161b5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f919061223f565b60405180910390fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6116928161165d565b811461169d57600080fd5b50565b6000813590506116af81611689565b92915050565b6000602082840312156116cb576116ca611658565b5b60006116d9848285016116a0565b91505092915050565b60008115159050919050565b6116f7816116e2565b82525050565b600060208201905061171260008301846116ee565b92915050565b6000819050919050565b61172b81611718565b82525050565b60006020820190506117466000830184611722565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006117778261174c565b9050919050565b6117878161176c565b811461179257600080fd5b50565b6000813590506117a48161177e565b92915050565b6000819050919050565b6117bd816117aa565b81146117c857600080fd5b50565b6000813590506117da816117b4565b92915050565b600080604083850312156117f7576117f6611658565b5b600061180585828601611795565b9250506020611816858286016117cb565b9150509250929050565b61182981611718565b811461183457600080fd5b50565b60008135905061184681611820565b92915050565b60006020828403121561186257611861611658565b5b600061187084828501611837565b91505092915050565b600080604083850312156118905761188f611658565b5b600061189e85828601611837565b92505060206118af85828601611795565b9150509250929050565b6000602082840312156118cf576118ce611658565b5b60006118dd84828501611795565b91505092915050565b6118ef816117aa565b82525050565b600060208201905061190a60008301846118e6565b92915050565b6000819050919050565b600061193561193061192b8461174c565b611910565b61174c565b9050919050565b60006119478261191a565b9050919050565b60006119598261193c565b9050919050565b6119698161194e565b82525050565b60006020820190506119846000830184611960565b92915050565b600082825260208201905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006119f7602f8361198a565b9150611a028261199b565b604082019050919050565b60006020820190508181036000830152611a26816119ea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a67826117aa565b9150611a72836117aa565b9250828203905081811115611a8a57611a89611a2d565b5b92915050565b7f5363686564756c6564546f6b656e53616c653a2053616c6520616c726561647960008201527f206c61756e636865640000000000000000000000000000000000000000000000602082015250565b6000611aec60298361198a565b9150611af782611a90565b604082019050919050565b60006020820190508181036000830152611b1b81611adf565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20526563697069656e7420616460008201527f64726573732063616e6e6f74206265206e756c6c000000000000000000000000602082015250565b6000611b7e60348361198a565b9150611b8982611b22565b604082019050919050565b60006020820190508181036000830152611bad81611b71565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20576974686472617720616d6f60008201527f756e74206d7573742062652067726561746572207468616e207a65726f000000602082015250565b6000611c10603d8361198a565b9150611c1b82611bb4565b604082019050919050565b60006020820190508181036000830152611c3f81611c03565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20556e6c6f636b20736368656460008201527f756c65206e6f7420737461727465642079657400000000000000000000000000602082015250565b6000611ca260338361198a565b9150611cad82611c46565b604082019050919050565b60006020820190508181036000830152611cd181611c95565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20416d6f756e7420746f20776960008201527f7468647261772069732067726561746572207468616e20756e6c6f636b65642060208201527f616d6f756e740000000000000000000000000000000000000000000000000000604082015250565b6000611d5a60468361198a565b9150611d6582611cd8565b606082019050919050565b60006020820190508181036000830152611d8981611d4d565b9050919050565b6000611d9b826117aa565b9150611da6836117aa565b9250828201905080821115611dbe57611dbd611a2d565b5b92915050565b7f5363686564756c6564546f6b656e53616c653a2042616c616e636520616d6f7560008201527f6e74206d7573742062652067726561746572207468616e207a65726f00000000602082015250565b6000611e20603c8361198a565b9150611e2b82611dc4565b604082019050919050565b60006020820190508181036000830152611e4f81611e13565b9050919050565b611e5f8161176c565b82525050565b6000602082019050611e7a6000830184611e56565b92915050565b600081519050611e8f816117b4565b92915050565b600060208284031215611eab57611eaa611658565b5b6000611eb984828501611e80565b91505092915050565b7f5363686564756c6564546f6b656e53616c653a20546f74616c2062616c616e6360008201527f65206578636565647320617661696c61626c652062616c616e63650000000000602082015250565b6000611f1e603b8361198a565b9150611f2982611ec2565b604082019050919050565b60006020820190508181036000830152611f4d81611f11565b9050919050565b6000604082019050611f696000830185611e56565b611f7660208301846118e6565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b6000611fc482611fac565b915060ff8203611fd757611fd6611a2d565b5b600182019050919050565b6000611fed82611fac565b9150611ff883611fac565b9250828203905060ff81111561201157612010611a2d565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4d6174683a206d756c446976206f766572666c6f770000000000000000000000600082015250565b600061207c60158361198a565b915061208782612046565b602082019050919050565b600060208201905081810360008301526120ab8161206f565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006120f36017836120b2565b91506120fe826120bd565b601782019050919050565b600081519050919050565b60005b83811015612132578082015181840152602081019050612117565b60008484015250505050565b600061214982612109565b61215381856120b2565b9350612163818560208601612114565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006121a56011836120b2565b91506121b08261216f565b601182019050919050565b60006121c6826120e6565b91506121d2828561213e565b91506121dd82612198565b91506121e9828461213e565b91508190509392505050565b6000601f19601f8301169050919050565b600061221182612109565b61221b818561198a565b935061222b818560208601612114565b612234816121f5565b840191505092915050565b600060208201905081810360008301526122598184612206565b905092915050565b61226a816116e2565b811461227557600080fd5b50565b60008151905061228781612261565b92915050565b6000602082840312156122a3576122a2611658565b5b60006122b184828501612278565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612316602a8361198a565b9150612321826122ba565b604082019050919050565b6000602082019050818103600083015261234581612309565b9050919050565b6000612357826117aa565b9150612362836117aa565b9250828202612370816117aa565b9150828204841483151761238757612386611a2d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006123c8826117aa565b9150600082036123db576123da611a2d565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061241c60208361198a565b9150612427826123e6565b602082019050919050565b6000602082019050818103600083015261244b8161240f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006124ae60268361198a565b91506124b982612452565b604082019050919050565b600060208201905081810360008301526124dd816124a1565b9050919050565b600081519050919050565b600081905092915050565b6000612505826124e4565b61250f81856124ef565b935061251f818560208601612114565b80840191505092915050565b600061253782846124fa565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612578601d8361198a565b915061258382612542565b602082019050919050565b600060208201905081810360008301526125a78161256b565b905091905056fea26469706673582212203cd7920d0048e642e78d3adb9e24ade69f994dfe1b35e7ca1dbea451d765824864736f6c63430008110033000000000000000000000000c8bf8bc34874e07f6a0d4abc8be22ba9e372631b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c806391d1485411610097578063d547741f11610066578063d547741f146102ad578063f313372d146102c9578063f3fef3a3146102e7578063fc0c546a1461031757610100565b806391d1485414610211578063a217fddf14610241578063ad7a672f1461025f578063caad546e1461027d57610100565b80632f2ff15d116100d35780632f2ff15d1461019f57806336568abe146101bb57806370a08231146101d75780637f7376e81461020757610100565b806301ffc9a714610105578063092c5b3b1461013557806321e5383a14610153578063248a9ca31461016f575b600080fd5b61011f600480360381019061011a91906116b5565b610335565b60405161012c91906116fd565b60405180910390f35b61013d6103af565b60405161014a9190611731565b60405180910390f35b61016d600480360381019061016891906117e0565b6103d3565b005b6101896004803603810190610184919061184c565b61040c565b6040516101969190611731565b60405180910390f35b6101b960048036038101906101b49190611879565b61042b565b005b6101d560048036038101906101d09190611879565b61044c565b005b6101f160048036038101906101ec91906118b9565b6104cf565b6040516101fe91906118f5565b60405180910390f35b61020f610562565b005b61022b60048036038101906102269190611879565b6105db565b60405161023891906116fd565b60405180910390f35b610249610645565b6040516102569190611731565b60405180910390f35b61026761064c565b60405161027491906118f5565b60405180910390f35b610297600480360381019061029291906118b9565b610652565b6040516102a491906118f5565b60405180910390f35b6102c760048036038101906102c29190611879565b610778565b005b6102d1610799565b6040516102de91906118f5565b60405180910390f35b61030160048036038101906102fc91906117e0565b61079f565b60405161030e91906116fd565b60405180910390f35b61031f6109b5565b60405161032c919061196f565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806103a857506103a7826109db565b5b9050919050565b7f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c57022335781565b7f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233576103fd81610a45565b6104078383610a59565b505050565b6000806000838152602001908152602001600020600101549050919050565b6104348261040c565b61043d81610a45565b6104478383610cb9565b505050565b610454610d99565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146104c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b890611a0d565b60405180910390fd5b6104cb8282610da1565b5050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461055b9190611a5c565b9050919050565b7f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c57022335761058c81610a45565b6000600154146105d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c890611b02565b60405180910390fd5b4260018190555050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b60045481565b600080600154111561076e5760006106c9600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106b9600154426106b49190611a5c565b610e82565b61ffff1661271061ffff16610f3e565b9050600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811161071b576000915050610773565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816107669190611a5c565b915050610773565b600090505b919050565b6107818261040c565b61078a81610a45565b6107948383610da1565b505050565b60015481565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080690611b94565b60405180910390fd5b60008211610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084990611c26565b60405180910390fd5b6000600154118015610865575042600154105b6108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b90611cb8565b60405180910390fd5b816108ae33610652565b10156108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e690611d70565b60405180910390fd5b81600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461093e9190611d90565b9250508190555081600460008282546109579190611a5c565b925050819055506109ab8383600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661104f9092919063ffffffff16565b6001905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610a5681610a51610d99565b6110d5565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf90611b94565b60405180910390fd5b60008111610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290611e36565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b669190611e65565b602060405180830381865afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba79190611e95565b81600454610bb59190611d90565b1115610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90611f34565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c459190611d90565b925050819055508060046000828254610c5e9190611d90565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f623383604051610cad929190611f54565b60405180910390a25050565b610cc382826105db565b610d9557600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610d3a610d99565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b610dab82826105db565b15610e7e57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e23610d99565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080600090505b6005805490508160ff16108015610ec857508260058260ff1681548110610eb457610eb3611f7d565b5b906000526020600020906002020160000154105b15610ee0578080610ed890611fb9565b915050610e8a565b60008160ff1611610ef2576000610f36565b6005600182610f019190611fe2565b60ff1681548110610f1557610f14611f7d565b5b906000526020600020906002020160010160009054906101000a900461ffff165b915050919050565b6000806000801985870985870292508281108382030391505060008103610f7957838281610f6f57610f6e612017565b5b0492505050611048565b808411610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290612092565b60405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b6110d08363a9059cbb60e01b848460405160240161106e929190611f54565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061115a565b505050565b6110df82826105db565b611156576110ec81611222565b6110fa8360001c602061124f565b60405160200161110b9291906121bb565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d919061223f565b60405180910390fd5b5050565b60006111bc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661148b9092919063ffffffff16565b90506000815114806111de5750808060200190518101906111dd919061228d565b5b61121d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112149061232c565b60405180910390fd5b505050565b60606112488273ffffffffffffffffffffffffffffffffffffffff16601460ff1661124f565b9050919050565b606060006002836002611262919061234c565b61126c9190611d90565b67ffffffffffffffff8111156112855761128461238e565b5b6040519080825280601f01601f1916602001820160405280156112b75781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106112ef576112ee611f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061135357611352611f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611393919061234c565b61139d9190611d90565b90505b600181111561143d577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106113df576113de611f7d565b5b1a60f81b8282815181106113f6576113f5611f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611436906123bd565b90506113a0565b5060008414611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890612432565b60405180910390fd5b8091505092915050565b606061149a84846000856114a3565b90509392505050565b6060824710156114e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114df906124c4565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611511919061252b565b60006040518083038185875af1925050503d806000811461154e576040519150601f19603f3d011682016040523d82523d6000602084013e611553565b606091505b509150915061156487838387611570565b92505050949350505050565b606083156115d25760008351036115ca5761158a856115e5565b6115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c09061258e565b60405180910390fd5b5b8290506115dd565b6115dc8383611608565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561161b5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f919061223f565b60405180910390fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6116928161165d565b811461169d57600080fd5b50565b6000813590506116af81611689565b92915050565b6000602082840312156116cb576116ca611658565b5b60006116d9848285016116a0565b91505092915050565b60008115159050919050565b6116f7816116e2565b82525050565b600060208201905061171260008301846116ee565b92915050565b6000819050919050565b61172b81611718565b82525050565b60006020820190506117466000830184611722565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006117778261174c565b9050919050565b6117878161176c565b811461179257600080fd5b50565b6000813590506117a48161177e565b92915050565b6000819050919050565b6117bd816117aa565b81146117c857600080fd5b50565b6000813590506117da816117b4565b92915050565b600080604083850312156117f7576117f6611658565b5b600061180585828601611795565b9250506020611816858286016117cb565b9150509250929050565b61182981611718565b811461183457600080fd5b50565b60008135905061184681611820565b92915050565b60006020828403121561186257611861611658565b5b600061187084828501611837565b91505092915050565b600080604083850312156118905761188f611658565b5b600061189e85828601611837565b92505060206118af85828601611795565b9150509250929050565b6000602082840312156118cf576118ce611658565b5b60006118dd84828501611795565b91505092915050565b6118ef816117aa565b82525050565b600060208201905061190a60008301846118e6565b92915050565b6000819050919050565b600061193561193061192b8461174c565b611910565b61174c565b9050919050565b60006119478261191a565b9050919050565b60006119598261193c565b9050919050565b6119698161194e565b82525050565b60006020820190506119846000830184611960565b92915050565b600082825260208201905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006119f7602f8361198a565b9150611a028261199b565b604082019050919050565b60006020820190508181036000830152611a26816119ea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a67826117aa565b9150611a72836117aa565b9250828203905081811115611a8a57611a89611a2d565b5b92915050565b7f5363686564756c6564546f6b656e53616c653a2053616c6520616c726561647960008201527f206c61756e636865640000000000000000000000000000000000000000000000602082015250565b6000611aec60298361198a565b9150611af782611a90565b604082019050919050565b60006020820190508181036000830152611b1b81611adf565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20526563697069656e7420616460008201527f64726573732063616e6e6f74206265206e756c6c000000000000000000000000602082015250565b6000611b7e60348361198a565b9150611b8982611b22565b604082019050919050565b60006020820190508181036000830152611bad81611b71565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20576974686472617720616d6f60008201527f756e74206d7573742062652067726561746572207468616e207a65726f000000602082015250565b6000611c10603d8361198a565b9150611c1b82611bb4565b604082019050919050565b60006020820190508181036000830152611c3f81611c03565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20556e6c6f636b20736368656460008201527f756c65206e6f7420737461727465642079657400000000000000000000000000602082015250565b6000611ca260338361198a565b9150611cad82611c46565b604082019050919050565b60006020820190508181036000830152611cd181611c95565b9050919050565b7f5363686564756c6564546f6b656e53616c653a20416d6f756e7420746f20776960008201527f7468647261772069732067726561746572207468616e20756e6c6f636b65642060208201527f616d6f756e740000000000000000000000000000000000000000000000000000604082015250565b6000611d5a60468361198a565b9150611d6582611cd8565b606082019050919050565b60006020820190508181036000830152611d8981611d4d565b9050919050565b6000611d9b826117aa565b9150611da6836117aa565b9250828201905080821115611dbe57611dbd611a2d565b5b92915050565b7f5363686564756c6564546f6b656e53616c653a2042616c616e636520616d6f7560008201527f6e74206d7573742062652067726561746572207468616e207a65726f00000000602082015250565b6000611e20603c8361198a565b9150611e2b82611dc4565b604082019050919050565b60006020820190508181036000830152611e4f81611e13565b9050919050565b611e5f8161176c565b82525050565b6000602082019050611e7a6000830184611e56565b92915050565b600081519050611e8f816117b4565b92915050565b600060208284031215611eab57611eaa611658565b5b6000611eb984828501611e80565b91505092915050565b7f5363686564756c6564546f6b656e53616c653a20546f74616c2062616c616e6360008201527f65206578636565647320617661696c61626c652062616c616e63650000000000602082015250565b6000611f1e603b8361198a565b9150611f2982611ec2565b604082019050919050565b60006020820190508181036000830152611f4d81611f11565b9050919050565b6000604082019050611f696000830185611e56565b611f7660208301846118e6565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b6000611fc482611fac565b915060ff8203611fd757611fd6611a2d565b5b600182019050919050565b6000611fed82611fac565b9150611ff883611fac565b9250828203905060ff81111561201157612010611a2d565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4d6174683a206d756c446976206f766572666c6f770000000000000000000000600082015250565b600061207c60158361198a565b915061208782612046565b602082019050919050565b600060208201905081810360008301526120ab8161206f565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006120f36017836120b2565b91506120fe826120bd565b601782019050919050565b600081519050919050565b60005b83811015612132578082015181840152602081019050612117565b60008484015250505050565b600061214982612109565b61215381856120b2565b9350612163818560208601612114565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006121a56011836120b2565b91506121b08261216f565b601182019050919050565b60006121c6826120e6565b91506121d2828561213e565b91506121dd82612198565b91506121e9828461213e565b91508190509392505050565b6000601f19601f8301169050919050565b600061221182612109565b61221b818561198a565b935061222b818560208601612114565b612234816121f5565b840191505092915050565b600060208201905081810360008301526122598184612206565b905092915050565b61226a816116e2565b811461227557600080fd5b50565b60008151905061228781612261565b92915050565b6000602082840312156122a3576122a2611658565b5b60006122b184828501612278565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612316602a8361198a565b9150612321826122ba565b604082019050919050565b6000602082019050818103600083015261234581612309565b9050919050565b6000612357826117aa565b9150612362836117aa565b9250828202612370816117aa565b9150828204841483151761238757612386611a2d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006123c8826117aa565b9150600082036123db576123da611a2d565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061241c60208361198a565b9150612427826123e6565b602082019050919050565b6000602082019050818103600083015261244b8161240f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006124ae60268361198a565b91506124b982612452565b604082019050919050565b600060208201905081810360008301526124dd816124a1565b9050919050565b600081519050919050565b600081905092915050565b6000612505826124e4565b61250f81856124ef565b935061251f818560208601612114565b80840191505092915050565b600061253782846124fa565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612578601d8361198a565b915061258382612542565b602082019050919050565b600060208201905081810360008301526125a78161256b565b905091905056fea26469706673582212203cd7920d0048e642e78d3adb9e24ade69f994dfe1b35e7ca1dbea451d765824864736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c8bf8bc34874e07f6a0d4abc8be22ba9e372631b
-----Decoded View---------------
Arg [0] : token (address): 0xc8bf8bC34874E07f6A0d4aBc8be22ba9E372631b
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c8bf8bc34874e07f6a0d4abc8be22ba9e372631b
Deployed Bytecode Sourcemap
58835:822:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28751:204;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53943:70;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55143:158;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;30574:131;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31015:147;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;32159:218;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56191:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54872:263;;;:::i;:::-;;29047:147;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28152:49;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54246:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56341:586;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31455:149;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54081:41;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55309:874;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54451:19;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28751:204;28836:4;28875:32;28860:47;;;:11;:47;;;;:87;;;;28911:36;28935:11;28911:23;:36::i;:::-;28860:87;28853:94;;28751:204;;;:::o;53943:70::-;53985:28;53943:70;:::o;55143:158::-;53985:28;28643:16;28654:4;28643:10;:16::i;:::-;55270:23:::1;55282:2;55286:6;55270:11;:23::i;:::-;55143:158:::0;;;:::o;30574:131::-;30648:7;30675:6;:12;30682:4;30675:12;;;;;;;;;;;:22;;;30668:29;;30574:131;;;:::o;31015:147::-;31098:18;31111:4;31098:12;:18::i;:::-;28643:16;28654:4;28643:10;:16::i;:::-;31129:25:::1;31140:4;31146:7;31129:10;:25::i;:::-;31015:147:::0;;;:::o;32159:218::-;32266:12;:10;:12::i;:::-;32255:23;;:7;:23;;;32247:83;;;;;;;;;;;;:::i;:::-;;;;;;;;;32343:26;32355:4;32361:7;32343:11;:26::i;:::-;32159:218;;:::o;56191:142::-;56250:7;56298:18;:27;56317:7;56298:27;;;;;;;;;;;;;;;;56277:9;:18;56287:7;56277:18;;;;;;;;;;;;;;;;:48;;;;:::i;:::-;56270:55;;56191:142;;;:::o;54872:263::-;53985:28;28643:16;28654:4;28643:10;:16::i;:::-;54974:1:::1;54948:22;;:27;54940:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;55112:15;55087:22;:40;;;;54872:263:::0;:::o;29047:147::-;29133:4;29157:6;:12;29164:4;29157:12;;;;;;;;;;;:20;;:29;29178:7;29157:29;;;;;;;;;;;;;;;;;;;;;;;;;29150:36;;29047:147;;;;:::o;28152:49::-;28197:4;28152:49;;;:::o;54246:27::-;;;;:::o;56341:586::-;56399:7;56448:1;56423:22;;:26;56419:480;;;56466:21;56490:221;56520:9;:18;56530:7;56520:18;;;;;;;;;;;;;;;;56557:60;56594:22;;56576:15;:40;;;;:::i;:::-;56557:18;:60::i;:::-;56490:221;;54066:6;56490:221;;:11;:221::i;:::-;56466:245;;56749:18;:27;56768:7;56749:27;;;;;;;;;;;;;;;;56732:13;:44;56728:93;;56804:1;56797:8;;;;;56728:93;56860:18;:27;56879:7;56860:27;;;;;;;;;;;;;;;;56844:13;:43;;;;:::i;:::-;56837:50;;;;;56419:480;56918:1;56911:8;;56341:586;;;;:::o;31455:149::-;31539:18;31552:4;31539:12;:18::i;:::-;28643:16;28654:4;28643:10;:16::i;:::-;31570:26:::1;31582:4;31588:7;31570:11;:26::i;:::-;31455:149:::0;;;:::o;54081:41::-;;;;:::o;55309:874::-;55373:4;55426:1;55412:16;;:2;:16;;;55390:118;;;;;;;;;;;;:::i;:::-;;;;;;;;;55550:1;55541:6;:10;55519:121;;;;;;;;;;;;:::i;:::-;;;;;;;;;55698:1;55673:22;;:26;:70;;;;;55728:15;55703:22;;:40;55673:70;55651:212;;;;;;;;;;;;:::i;:::-;;;;;;;;;55922:6;55896:22;55907:10;55896;:22::i;:::-;:32;;55874:152;;;;;;;;;;;;:::i;:::-;;;;;;;;;56073:6;56039:18;:30;56058:10;56039:30;;;;;;;;;;;;;;;;:40;;;;;;;:::i;:::-;;;;;;;;56106:6;56090:12;;:22;;;;;;;:::i;:::-;;;;;;;;56123:30;56142:2;56146:6;56123:5;;;;;;;;;;;:18;;;;:30;;;;;:::i;:::-;56171:4;56164:11;;55309:874;;;;:::o;54451:19::-;;;;;;;;;;;;;:::o;25883:157::-;25968:4;26007:25;25992:40;;;:11;:40;;;;25985:47;;25883:157;;;:::o;29498:105::-;29565:30;29576:4;29582:12;:10;:12::i;:::-;29565:10;:30::i;:::-;29498:105;:::o;57275:619::-;57380:1;57366:16;;:2;:16;;;57344:118;;;;;;;;;;;;:::i;:::-;;;;;;;;;57504:1;57495:6;:10;57473:120;;;;;;;;;;;;:::i;:::-;;;;;;;;;57651:5;;;;;;;;;;;:15;;;57675:4;57651:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57641:6;57626:12;;:21;;;;:::i;:::-;:55;;57604:164;;;;;;;;;;;;:::i;:::-;;;;;;;;;57798:6;57781:9;:13;57791:2;57781:13;;;;;;;;;;;;;;;;:23;;;;;;;:::i;:::-;;;;;;;;57831:6;57815:12;;:22;;;;;;;:::i;:::-;;;;;;;;57875:2;57855:31;;;57863:10;57879:6;57855:31;;;;;;;:::i;:::-;;;;;;;;57275:619;;:::o;33756:238::-;33840:22;33848:4;33854:7;33840;:22::i;:::-;33835:152;;33911:4;33879:6;:12;33886:4;33879:12;;;;;;;;;;;:20;;:29;33900:7;33879:29;;;;;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;33962:12;:10;:12::i;:::-;33935:40;;33953:7;33935:40;;33947:4;33935:40;;;;;;;;;;33835:152;33756:238;;:::o;6565:98::-;6618:7;6645:10;6638:17;;6565:98;:::o;34174:239::-;34258:22;34266:4;34272:7;34258;:22::i;:::-;34254:152;;;34329:5;34297:6;:12;34304:4;34297:12;;;;;;;;;;;:20;;:29;34318:7;34297:29;;;;;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;34381:12;:10;:12::i;:::-;34354:40;;34372:7;34354:40;;34366:4;34354:40;;;;;;;;;;34254:152;34174:239;;:::o;56935:332::-;57025:6;57044:11;57058:1;57044:15;;57070:105;57084:14;:21;;;;57076:5;:29;;;:85;;;;;57148:13;57109:14;57124:5;57109:21;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;:52;57076:85;57070:105;;;57165:7;;;;;:::i;:::-;;;;57070:105;;;57202:1;57194:5;:9;;;:65;;57258:1;57194:65;;;57206:14;57229:1;57221:5;:9;;;;:::i;:::-;57206:25;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:49;;;;;;;;;;;;57194:65;57187:72;;;56935:332;;;:::o;8525:4292::-;8607:14;8959:13;9032;9159:1;9155:6;9152:1;9149;9142:20;9196:1;9193;9189:9;9180:18;;9252:5;9248:2;9245:13;9237:5;9233:2;9229:14;9225:34;9216:43;;9113:161;9367:1;9358:5;:10;9354:373;;9700:11;9692:5;:19;;;;;:::i;:::-;;;9685:26;;;;;;9354:373;9854:5;9840:11;:19;9832:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;10148:17;10286:11;10283:1;10280;10273:25;10260:38;;10417:5;10406:9;10403:20;10396:5;10392:32;10383:41;;10462:9;10455:5;10451:21;10442:30;;10800:12;10845:1;10831:11;10830:12;:16;10815:11;:32;10800:47;;10970:4;10957:11;10953:22;10938:37;;11065:4;11058:5;11054:16;11045:25;;11225:1;11218:4;11211;11208:1;11204:12;11200:23;11196:31;11188:39;;11328:4;11320:5;:12;11311:21;;;;11655:15;11693:1;11678:11;11674:1;:15;11673:21;11655:39;;11944:7;11930:11;:21;11926:1;:25;11915:36;;;;12014:7;12000:11;:21;11996:1;:25;11985:36;;;;12085:7;12071:11;:21;12067:1;:25;12056:36;;;;12156:7;12142:11;:21;12138:1;:25;12127:36;;;;12227:7;12213:11;:21;12209:1;:25;12198:36;;;;12299:7;12285:11;:21;12281:1;:25;12270:36;;;;12763:7;12755:5;:15;12746:24;;12785:13;;;;;8525:4292;;;;;;:::o;47323:177::-;47406:86;47426:5;47456:23;;;47481:2;47485:5;47433:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47406:19;:86::i;:::-;47323:177;;;:::o;29893:492::-;29982:22;29990:4;29996:7;29982;:22::i;:::-;29977:401;;30170:28;30190:7;30170:19;:28::i;:::-;30271:38;30299:4;30291:13;;30306:2;30271:19;:38::i;:::-;30075:257;;;;;;;;;:::i;:::-;;;;;;;;;;;;;30021:345;;;;;;;;;;;:::i;:::-;;;;;;;;29977:401;29893:492;;:::o;51646:649::-;52070:23;52096:69;52124:4;52096:69;;;;;;;;;;;;;;;;;52104:5;52096:27;;;;:69;;;;;:::i;:::-;52070:95;;52205:1;52184:10;:17;:22;:56;;;;52221:10;52210:30;;;;;;;;;;;;:::i;:::-;52184:56;52176:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;51716:579;51646:649;;:::o;23715:151::-;23773:13;23806:52;23834:4;23818:22;;21590:2;23806:52;;:11;:52::i;:::-;23799:59;;23715:151;;;:::o;23111:447::-;23186:13;23212:19;23257:1;23248:6;23244:1;:10;;;;:::i;:::-;:14;;;;:::i;:::-;23234:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23212:47;;23270:15;:6;23277:1;23270:9;;;;;;;;:::i;:::-;;;;;:15;;;;;;;;;;;23296;:6;23303:1;23296:9;;;;;;;;:::i;:::-;;;;;:15;;;;;;;;;;;23327:9;23352:1;23343:6;23339:1;:10;;;;:::i;:::-;:14;;;;:::i;:::-;23327:26;;23322:131;23359:1;23355;:5;23322:131;;;23394:8;23411:3;23403:5;:11;23394:21;;;;;;;:::i;:::-;;;;;23382:6;23389:1;23382:9;;;;;;;;:::i;:::-;;;;;:33;;;;;;;;;;;23440:1;23430:11;;;;;23362:3;;;;:::i;:::-;;;23322:131;;;;23480:1;23471:5;:10;23463:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;23543:6;23529:21;;;23111:447;;;;:::o;41017:229::-;41154:12;41186:52;41208:6;41216:4;41222:1;41225:12;41186:21;:52::i;:::-;41179:59;;41017:229;;;;;:::o;42103:455::-;42273:12;42331:5;42306:21;:30;;42298:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;42391:12;42405:23;42432:6;:11;;42451:5;42458:4;42432:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42390:73;;;;42481:69;42508:6;42516:7;42525:10;42537:12;42481:26;:69::i;:::-;42474:76;;;;42103:455;;;;;;:::o;44676:644::-;44861:12;44890:7;44886:427;;;44939:1;44918:10;:17;:22;44914:290;;45136:18;45147:6;45136:10;:18::i;:::-;45128:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;44914:290;45225:10;45218:17;;;;44886:427;45268:33;45276:10;45288:12;45268:7;:33::i;:::-;44676:644;;;;;;;:::o;38262:326::-;38322:4;38579:1;38557:7;:19;;;:23;38550:30;;38262:326;;;:::o;45862:552::-;46043:1;46023:10;:17;:21;46019:388;;;46255:10;46249:17;46312:15;46299:10;46295:2;46291:19;46284:44;46019:388;46382:12;46375:20;;;;;;;;;;;:::i;:::-;;;;;;;;88:117:1;197:1;194;187:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:77::-;1555:7;1584:5;1573:16;;1518:77;;;:::o;1601:118::-;1688:24;1706:5;1688:24;:::i;:::-;1683:3;1676:37;1601:118;;:::o;1725:222::-;1818:4;1856:2;1845:9;1841:18;1833:26;;1869:71;1937:1;1926:9;1922:17;1913:6;1869:71;:::i;:::-;1725:222;;;;:::o;1953:126::-;1990:7;2030:42;2023:5;2019:54;2008:65;;1953:126;;;:::o;2085:96::-;2122:7;2151:24;2169:5;2151:24;:::i;:::-;2140:35;;2085:96;;;:::o;2187:122::-;2260:24;2278:5;2260:24;:::i;:::-;2253:5;2250:35;2240:63;;2299:1;2296;2289:12;2240:63;2187:122;:::o;2315:139::-;2361:5;2399:6;2386:20;2377:29;;2415:33;2442:5;2415:33;:::i;:::-;2315:139;;;;:::o;2460:77::-;2497:7;2526:5;2515:16;;2460:77;;;:::o;2543:122::-;2616:24;2634:5;2616:24;:::i;:::-;2609:5;2606:35;2596:63;;2655:1;2652;2645:12;2596:63;2543:122;:::o;2671:139::-;2717:5;2755:6;2742:20;2733:29;;2771:33;2798:5;2771:33;:::i;:::-;2671:139;;;;:::o;2816:474::-;2884:6;2892;2941:2;2929:9;2920:7;2916:23;2912:32;2909:119;;;2947:79;;:::i;:::-;2909:119;3067:1;3092:53;3137:7;3128:6;3117:9;3113:22;3092:53;:::i;:::-;3082:63;;3038:117;3194:2;3220:53;3265:7;3256:6;3245:9;3241:22;3220:53;:::i;:::-;3210:63;;3165:118;2816:474;;;;;:::o;3296:122::-;3369:24;3387:5;3369:24;:::i;:::-;3362:5;3359:35;3349:63;;3408:1;3405;3398:12;3349:63;3296:122;:::o;3424:139::-;3470:5;3508:6;3495:20;3486:29;;3524:33;3551:5;3524:33;:::i;:::-;3424:139;;;;:::o;3569:329::-;3628:6;3677:2;3665:9;3656:7;3652:23;3648:32;3645:119;;;3683:79;;:::i;:::-;3645:119;3803:1;3828:53;3873:7;3864:6;3853:9;3849:22;3828:53;:::i;:::-;3818:63;;3774:117;3569:329;;;;:::o;3904:474::-;3972:6;3980;4029:2;4017:9;4008:7;4004:23;4000:32;3997:119;;;4035:79;;:::i;:::-;3997:119;4155:1;4180:53;4225:7;4216:6;4205:9;4201:22;4180:53;:::i;:::-;4170:63;;4126:117;4282:2;4308:53;4353:7;4344:6;4333:9;4329:22;4308:53;:::i;:::-;4298:63;;4253:118;3904:474;;;;;:::o;4384:329::-;4443:6;4492:2;4480:9;4471:7;4467:23;4463:32;4460:119;;;4498:79;;:::i;:::-;4460:119;4618:1;4643:53;4688:7;4679:6;4668:9;4664:22;4643:53;:::i;:::-;4633:63;;4589:117;4384:329;;;;:::o;4719:118::-;4806:24;4824:5;4806:24;:::i;:::-;4801:3;4794:37;4719:118;;:::o;4843:222::-;4936:4;4974:2;4963:9;4959:18;4951:26;;4987:71;5055:1;5044:9;5040:17;5031:6;4987:71;:::i;:::-;4843:222;;;;:::o;5071:60::-;5099:3;5120:5;5113:12;;5071:60;;;:::o;5137:142::-;5187:9;5220:53;5238:34;5247:24;5265:5;5247:24;:::i;:::-;5238:34;:::i;:::-;5220:53;:::i;:::-;5207:66;;5137:142;;;:::o;5285:126::-;5335:9;5368:37;5399:5;5368:37;:::i;:::-;5355:50;;5285:126;;;:::o;5417:139::-;5480:9;5513:37;5544:5;5513:37;:::i;:::-;5500:50;;5417:139;;;:::o;5562:157::-;5662:50;5706:5;5662:50;:::i;:::-;5657:3;5650:63;5562:157;;:::o;5725:248::-;5831:4;5869:2;5858:9;5854:18;5846:26;;5882:84;5963:1;5952:9;5948:17;5939:6;5882:84;:::i;:::-;5725:248;;;;:::o;5979:169::-;6063:11;6097:6;6092:3;6085:19;6137:4;6132:3;6128:14;6113:29;;5979:169;;;;:::o;6154:234::-;6294:34;6290:1;6282:6;6278:14;6271:58;6363:17;6358:2;6350:6;6346:15;6339:42;6154:234;:::o;6394:366::-;6536:3;6557:67;6621:2;6616:3;6557:67;:::i;:::-;6550:74;;6633:93;6722:3;6633:93;:::i;:::-;6751:2;6746:3;6742:12;6735:19;;6394:366;;;:::o;6766:419::-;6932:4;6970:2;6959:9;6955:18;6947:26;;7019:9;7013:4;7009:20;7005:1;6994:9;6990:17;6983:47;7047:131;7173:4;7047:131;:::i;:::-;7039:139;;6766:419;;;:::o;7191:180::-;7239:77;7236:1;7229:88;7336:4;7333:1;7326:15;7360:4;7357:1;7350:15;7377:194;7417:4;7437:20;7455:1;7437:20;:::i;:::-;7432:25;;7471:20;7489:1;7471:20;:::i;:::-;7466:25;;7515:1;7512;7508:9;7500:17;;7539:1;7533:4;7530:11;7527:37;;;7544:18;;:::i;:::-;7527:37;7377:194;;;;:::o;7577:228::-;7717:34;7713:1;7705:6;7701:14;7694:58;7786:11;7781:2;7773:6;7769:15;7762:36;7577:228;:::o;7811:366::-;7953:3;7974:67;8038:2;8033:3;7974:67;:::i;:::-;7967:74;;8050:93;8139:3;8050:93;:::i;:::-;8168:2;8163:3;8159:12;8152:19;;7811:366;;;:::o;8183:419::-;8349:4;8387:2;8376:9;8372:18;8364:26;;8436:9;8430:4;8426:20;8422:1;8411:9;8407:17;8400:47;8464:131;8590:4;8464:131;:::i;:::-;8456:139;;8183:419;;;:::o;8608:239::-;8748:34;8744:1;8736:6;8732:14;8725:58;8817:22;8812:2;8804:6;8800:15;8793:47;8608:239;:::o;8853:366::-;8995:3;9016:67;9080:2;9075:3;9016:67;:::i;:::-;9009:74;;9092:93;9181:3;9092:93;:::i;:::-;9210:2;9205:3;9201:12;9194:19;;8853:366;;;:::o;9225:419::-;9391:4;9429:2;9418:9;9414:18;9406:26;;9478:9;9472:4;9468:20;9464:1;9453:9;9449:17;9442:47;9506:131;9632:4;9506:131;:::i;:::-;9498:139;;9225:419;;;:::o;9650:248::-;9790:34;9786:1;9778:6;9774:14;9767:58;9859:31;9854:2;9846:6;9842:15;9835:56;9650:248;:::o;9904:366::-;10046:3;10067:67;10131:2;10126:3;10067:67;:::i;:::-;10060:74;;10143:93;10232:3;10143:93;:::i;:::-;10261:2;10256:3;10252:12;10245:19;;9904:366;;;:::o;10276:419::-;10442:4;10480:2;10469:9;10465:18;10457:26;;10529:9;10523:4;10519:20;10515:1;10504:9;10500:17;10493:47;10557:131;10683:4;10557:131;:::i;:::-;10549:139;;10276:419;;;:::o;10701:238::-;10841:34;10837:1;10829:6;10825:14;10818:58;10910:21;10905:2;10897:6;10893:15;10886:46;10701:238;:::o;10945:366::-;11087:3;11108:67;11172:2;11167:3;11108:67;:::i;:::-;11101:74;;11184:93;11273:3;11184:93;:::i;:::-;11302:2;11297:3;11293:12;11286:19;;10945:366;;;:::o;11317:419::-;11483:4;11521:2;11510:9;11506:18;11498:26;;11570:9;11564:4;11560:20;11556:1;11545:9;11541:17;11534:47;11598:131;11724:4;11598:131;:::i;:::-;11590:139;;11317:419;;;:::o;11742:294::-;11882:34;11878:1;11870:6;11866:14;11859:58;11951:34;11946:2;11938:6;11934:15;11927:59;12020:8;12015:2;12007:6;12003:15;11996:33;11742:294;:::o;12042:366::-;12184:3;12205:67;12269:2;12264:3;12205:67;:::i;:::-;12198:74;;12281:93;12370:3;12281:93;:::i;:::-;12399:2;12394:3;12390:12;12383:19;;12042:366;;;:::o;12414:419::-;12580:4;12618:2;12607:9;12603:18;12595:26;;12667:9;12661:4;12657:20;12653:1;12642:9;12638:17;12631:47;12695:131;12821:4;12695:131;:::i;:::-;12687:139;;12414:419;;;:::o;12839:191::-;12879:3;12898:20;12916:1;12898:20;:::i;:::-;12893:25;;12932:20;12950:1;12932:20;:::i;:::-;12927:25;;12975:1;12972;12968:9;12961:16;;12996:3;12993:1;12990:10;12987:36;;;13003:18;;:::i;:::-;12987:36;12839:191;;;;:::o;13036:247::-;13176:34;13172:1;13164:6;13160:14;13153:58;13245:30;13240:2;13232:6;13228:15;13221:55;13036:247;:::o;13289:366::-;13431:3;13452:67;13516:2;13511:3;13452:67;:::i;:::-;13445:74;;13528:93;13617:3;13528:93;:::i;:::-;13646:2;13641:3;13637:12;13630:19;;13289:366;;;:::o;13661:419::-;13827:4;13865:2;13854:9;13850:18;13842:26;;13914:9;13908:4;13904:20;13900:1;13889:9;13885:17;13878:47;13942:131;14068:4;13942:131;:::i;:::-;13934:139;;13661:419;;;:::o;14086:118::-;14173:24;14191:5;14173:24;:::i;:::-;14168:3;14161:37;14086:118;;:::o;14210:222::-;14303:4;14341:2;14330:9;14326:18;14318:26;;14354:71;14422:1;14411:9;14407:17;14398:6;14354:71;:::i;:::-;14210:222;;;;:::o;14438:143::-;14495:5;14526:6;14520:13;14511:22;;14542:33;14569:5;14542:33;:::i;:::-;14438:143;;;;:::o;14587:351::-;14657:6;14706:2;14694:9;14685:7;14681:23;14677:32;14674:119;;;14712:79;;:::i;:::-;14674:119;14832:1;14857:64;14913:7;14904:6;14893:9;14889:22;14857:64;:::i;:::-;14847:74;;14803:128;14587:351;;;;:::o;14944:246::-;15084:34;15080:1;15072:6;15068:14;15061:58;15153:29;15148:2;15140:6;15136:15;15129:54;14944:246;:::o;15196:366::-;15338:3;15359:67;15423:2;15418:3;15359:67;:::i;:::-;15352:74;;15435:93;15524:3;15435:93;:::i;:::-;15553:2;15548:3;15544:12;15537:19;;15196:366;;;:::o;15568:419::-;15734:4;15772:2;15761:9;15757:18;15749:26;;15821:9;15815:4;15811:20;15807:1;15796:9;15792:17;15785:47;15849:131;15975:4;15849:131;:::i;:::-;15841:139;;15568:419;;;:::o;15993:332::-;16114:4;16152:2;16141:9;16137:18;16129:26;;16165:71;16233:1;16222:9;16218:17;16209:6;16165:71;:::i;:::-;16246:72;16314:2;16303:9;16299:18;16290:6;16246:72;:::i;:::-;15993:332;;;;;:::o;16331:180::-;16379:77;16376:1;16369:88;16476:4;16473:1;16466:15;16500:4;16497:1;16490:15;16517:86;16552:7;16592:4;16585:5;16581:16;16570:27;;16517:86;;;:::o;16609:167::-;16646:3;16669:22;16685:5;16669:22;:::i;:::-;16660:31;;16713:4;16706:5;16703:15;16700:41;;16721:18;;:::i;:::-;16700:41;16768:1;16761:5;16757:13;16750:20;;16609:167;;;:::o;16782:191::-;16820:4;16840:18;16856:1;16840:18;:::i;:::-;16835:23;;16872:18;16888:1;16872:18;:::i;:::-;16867:23;;16914:1;16911;16907:9;16899:17;;16938:4;16932;16929:14;16926:40;;;16946:18;;:::i;:::-;16926:40;16782:191;;;;:::o;16979:180::-;17027:77;17024:1;17017:88;17124:4;17121:1;17114:15;17148:4;17145:1;17138:15;17165:171;17305:23;17301:1;17293:6;17289:14;17282:47;17165:171;:::o;17342:366::-;17484:3;17505:67;17569:2;17564:3;17505:67;:::i;:::-;17498:74;;17581:93;17670:3;17581:93;:::i;:::-;17699:2;17694:3;17690:12;17683:19;;17342:366;;;:::o;17714:419::-;17880:4;17918:2;17907:9;17903:18;17895:26;;17967:9;17961:4;17957:20;17953:1;17942:9;17938:17;17931:47;17995:131;18121:4;17995:131;:::i;:::-;17987:139;;17714:419;;;:::o;18139:148::-;18241:11;18278:3;18263:18;;18139:148;;;;:::o;18293:173::-;18433:25;18429:1;18421:6;18417:14;18410:49;18293:173;:::o;18472:402::-;18632:3;18653:85;18735:2;18730:3;18653:85;:::i;:::-;18646:92;;18747:93;18836:3;18747:93;:::i;:::-;18865:2;18860:3;18856:12;18849:19;;18472:402;;;:::o;18880:99::-;18932:6;18966:5;18960:12;18950:22;;18880:99;;;:::o;18985:246::-;19066:1;19076:113;19090:6;19087:1;19084:13;19076:113;;;19175:1;19170:3;19166:11;19160:18;19156:1;19151:3;19147:11;19140:39;19112:2;19109:1;19105:10;19100:15;;19076:113;;;19223:1;19214:6;19209:3;19205:16;19198:27;19047:184;18985:246;;;:::o;19237:390::-;19343:3;19371:39;19404:5;19371:39;:::i;:::-;19426:89;19508:6;19503:3;19426:89;:::i;:::-;19419:96;;19524:65;19582:6;19577:3;19570:4;19563:5;19559:16;19524:65;:::i;:::-;19614:6;19609:3;19605:16;19598:23;;19347:280;19237:390;;;;:::o;19633:167::-;19773:19;19769:1;19761:6;19757:14;19750:43;19633:167;:::o;19806:402::-;19966:3;19987:85;20069:2;20064:3;19987:85;:::i;:::-;19980:92;;20081:93;20170:3;20081:93;:::i;:::-;20199:2;20194:3;20190:12;20183:19;;19806:402;;;:::o;20214:967::-;20596:3;20618:148;20762:3;20618:148;:::i;:::-;20611:155;;20783:95;20874:3;20865:6;20783:95;:::i;:::-;20776:102;;20895:148;21039:3;20895:148;:::i;:::-;20888:155;;21060:95;21151:3;21142:6;21060:95;:::i;:::-;21053:102;;21172:3;21165:10;;20214:967;;;;;:::o;21187:102::-;21228:6;21279:2;21275:7;21270:2;21263:5;21259:14;21255:28;21245:38;;21187:102;;;:::o;21295:377::-;21383:3;21411:39;21444:5;21411:39;:::i;:::-;21466:71;21530:6;21525:3;21466:71;:::i;:::-;21459:78;;21546:65;21604:6;21599:3;21592:4;21585:5;21581:16;21546:65;:::i;:::-;21636:29;21658:6;21636:29;:::i;:::-;21631:3;21627:39;21620:46;;21387:285;21295:377;;;;:::o;21678:313::-;21791:4;21829:2;21818:9;21814:18;21806:26;;21878:9;21872:4;21868:20;21864:1;21853:9;21849:17;21842:47;21906:78;21979:4;21970:6;21906:78;:::i;:::-;21898:86;;21678:313;;;;:::o;21997:116::-;22067:21;22082:5;22067:21;:::i;:::-;22060:5;22057:32;22047:60;;22103:1;22100;22093:12;22047:60;21997:116;:::o;22119:137::-;22173:5;22204:6;22198:13;22189:22;;22220:30;22244:5;22220:30;:::i;:::-;22119:137;;;;:::o;22262:345::-;22329:6;22378:2;22366:9;22357:7;22353:23;22349:32;22346:119;;;22384:79;;:::i;:::-;22346:119;22504:1;22529:61;22582:7;22573:6;22562:9;22558:22;22529:61;:::i;:::-;22519:71;;22475:125;22262:345;;;;:::o;22613:229::-;22753:34;22749:1;22741:6;22737:14;22730:58;22822:12;22817:2;22809:6;22805:15;22798:37;22613:229;:::o;22848:366::-;22990:3;23011:67;23075:2;23070:3;23011:67;:::i;:::-;23004:74;;23087:93;23176:3;23087:93;:::i;:::-;23205:2;23200:3;23196:12;23189:19;;22848:366;;;:::o;23220:419::-;23386:4;23424:2;23413:9;23409:18;23401:26;;23473:9;23467:4;23463:20;23459:1;23448:9;23444:17;23437:47;23501:131;23627:4;23501:131;:::i;:::-;23493:139;;23220:419;;;:::o;23645:410::-;23685:7;23708:20;23726:1;23708:20;:::i;:::-;23703:25;;23742:20;23760:1;23742:20;:::i;:::-;23737:25;;23797:1;23794;23790:9;23819:30;23837:11;23819:30;:::i;:::-;23808:41;;23998:1;23989:7;23985:15;23982:1;23979:22;23959:1;23952:9;23932:83;23909:139;;24028:18;;:::i;:::-;23909:139;23693:362;23645:410;;;;:::o;24061:180::-;24109:77;24106:1;24099:88;24206:4;24203:1;24196:15;24230:4;24227:1;24220:15;24247:171;24286:3;24309:24;24327:5;24309:24;:::i;:::-;24300:33;;24355:4;24348:5;24345:15;24342:41;;24363:18;;:::i;:::-;24342:41;24410:1;24403:5;24399:13;24392:20;;24247:171;;;:::o;24424:182::-;24564:34;24560:1;24552:6;24548:14;24541:58;24424:182;:::o;24612:366::-;24754:3;24775:67;24839:2;24834:3;24775:67;:::i;:::-;24768:74;;24851:93;24940:3;24851:93;:::i;:::-;24969:2;24964:3;24960:12;24953:19;;24612:366;;;:::o;24984:419::-;25150:4;25188:2;25177:9;25173:18;25165:26;;25237:9;25231:4;25227:20;25223:1;25212:9;25208:17;25201:47;25265:131;25391:4;25265:131;:::i;:::-;25257:139;;24984:419;;;:::o;25409:225::-;25549:34;25545:1;25537:6;25533:14;25526:58;25618:8;25613:2;25605:6;25601:15;25594:33;25409:225;:::o;25640:366::-;25782:3;25803:67;25867:2;25862:3;25803:67;:::i;:::-;25796:74;;25879:93;25968:3;25879:93;:::i;:::-;25997:2;25992:3;25988:12;25981:19;;25640:366;;;:::o;26012:419::-;26178:4;26216:2;26205:9;26201:18;26193:26;;26265:9;26259:4;26255:20;26251:1;26240:9;26236:17;26229:47;26293:131;26419:4;26293:131;:::i;:::-;26285:139;;26012:419;;;:::o;26437:98::-;26488:6;26522:5;26516:12;26506:22;;26437:98;;;:::o;26541:147::-;26642:11;26679:3;26664:18;;26541:147;;;;:::o;26694:386::-;26798:3;26826:38;26858:5;26826:38;:::i;:::-;26880:88;26961:6;26956:3;26880:88;:::i;:::-;26873:95;;26977:65;27035:6;27030:3;27023:4;27016:5;27012:16;26977:65;:::i;:::-;27067:6;27062:3;27058:16;27051:23;;26802:278;26694:386;;;;:::o;27086:271::-;27216:3;27238:93;27327:3;27318:6;27238:93;:::i;:::-;27231:100;;27348:3;27341:10;;27086:271;;;;:::o;27363:179::-;27503:31;27499:1;27491:6;27487:14;27480:55;27363:179;:::o;27548:366::-;27690:3;27711:67;27775:2;27770:3;27711:67;:::i;:::-;27704:74;;27787:93;27876:3;27787:93;:::i;:::-;27905:2;27900:3;27896:12;27889:19;;27548:366;;;:::o;27920:419::-;28086:4;28124:2;28113:9;28109:18;28101:26;;28173:9;28167:4;28163:20;28159:1;28148:9;28144:17;28137:47;28201:131;28327:4;28201:131;:::i;:::-;28193:139;;27920:419;;;:::o
Swarm Source
ipfs://3cd7920d0048e642e78d3adb9e24ade69f994dfe1b35e7ca1dbea451d7658248
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.