Overview
Max Total Supply
1,000,000,000 LICKO
Holders
1,313
Market
Price
$0.0001 @ 0.000003 HYPE (-15.10%)
Onchain Market Cap
$100,510.00
Circulating Supply Market Cap
$100,481.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000000017 LICKOValue
$0.00 ( ~0 HYPE) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
FreezeTokenWhitelist
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/FreezeTokenWhitelist.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "./FreezeToken.sol"; // This should correctly bring in ERC20 and ERC20Pausable contract FreezeTokenWhitelist is FreezeToken { /// anyone in this map can trade *even while paused* mapping(address => bool) public isWhitelisted; /// track the number of whitelisted addresses uint256 public whitelistCount; event WhitelistUpdated(address indexed account, bool allowed); bytes32 public constant WHITELIST_ADMIN = keccak256("WHITELIST_ADMIN"); constructor( string memory name_, string memory symbol_, uint256 initialSupply_, address pauser_ ) FreezeToken(name_, symbol_, initialSupply_, pauser_) { _grantRole(WHITELIST_ADMIN, msg.sender); } /* ---------- batch maintenance ---------- */ function setWhitelist(address[] calldata addrs, bool allowed) external onlyRole(WHITELIST_ADMIN) { for (uint256 i = 0; i < addrs.length; ++i) { bool wasWhitelisted = isWhitelisted[addrs[i]]; isWhitelisted[addrs[i]] = allowed; if (allowed && !wasWhitelisted) { whitelistCount++; } else if (!allowed && wasWhitelisted) { if (whitelistCount > 0) { // Prevent underflow whitelistCount--; } } emit WhitelistUpdated(addrs[i], allowed); } } function wipeWhitelist() external onlyRole(WHITELIST_ADMIN) { // Note: This doesn't actually iterate through and delete mapping entries // because that would be gas-prohibitive. Instead, we rely on the count // and any new checks will naturally fail due to default false values. whitelistCount = 0; // Consider emitting an event for this action if needed. } /* ---------- hook override ---------- */ function _update(address from, address to, uint256 value) internal override // Overrides FreezeToken._update { if (paused()) { // If paused, transfers are allowed only when *both* sides are whitelisted require( isWhitelisted[from] && isWhitelisted[to], "FreezeTokenWL: paused & not whitelisted" ); // If the above passes, we are paused but whitelisted. // We must directly call the ERC20 standard _update to bypass // ERC20Pausable's _checkPaused(). ERC20._update(from, to, value); } else { // If not paused, defer to the parent's (FreezeToken) _update logic. // This will correctly go through ERC20Pausable's checks. super._update(from, to, value); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.3.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../utils/introspection/ERC165.sol"; /** * @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 account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ 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 returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @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 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 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 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 `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @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 Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.3.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC-165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @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 to signal this. */ 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. This account bears the admin role (for the granted role). * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}. */ 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 `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * Both values are immutable: they can only be set once during construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner`'s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance < type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ 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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; import {Pausable} from "../../../utils/Pausable.sol"; /** * @dev ERC-20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * IMPORTANT: This contract does not include public pause and unpause functions. In * addition to inheriting this contract, you must define both functions, invoking the * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will * make the contract pause mechanism of the contract unreachable, and thus unusable. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_update}. * * Requirements: * * - the contract must not be paused. */ function _update(address from, address to, uint256 value) internal virtual override whenNotPaused { super._update(from, to, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { bool private _paused; /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * 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[ERC 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; /** * @title FreezeToken * @dev ERC-20 with a pausable transfer switch (freeze/unfreeze) governed by AccessControl. * Give PAUSER_ROLE to a helper contract (and optionally to an EOA) during the private phase, * then renounce all pauser & admin roles to make the token permanently un-pausable. */ contract FreezeToken is ERC20Pausable, AccessControl { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); /** * @param name Token name (e.g. "My Awesome Token") * @param symbol Token symbol (e.g. "MAT") * @param initialSupply Total supply in *wei*-units (i.e. already scaled by 10**decimals()). * @param pauser Address that should hold the PAUSER_ROLE (e.g. SniperHelper). * You can pass address(0) if you want the deployer to be the only pauser. */ constructor(string memory name, string memory symbol, uint256 initialSupply, address pauser) ERC20(name, symbol) { _mint(msg.sender, initialSupply); // ── Roles ──────────────────────────────────────────────── _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); // can grant / revoke other roles _grantRole(PAUSER_ROLE, msg.sender); if (pauser != address(0)) { _grantRole(PAUSER_ROLE, pauser); } } /* ---------- Public helpers (optional) ---------- */ /// Renounce both PAUSER_ROLE and DEFAULT_ADMIN_ROLE in one call (irreversible). function renounceAllControl() external { require( hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "FreezeToken: only admin" ); renounceRole(PAUSER_ROLE, msg.sender); renounceRole(DEFAULT_ADMIN_ROLE, msg.sender); } /* ---------- Internal hooks ---------- */ /// @dev Override _update to add pause check (OpenZeppelin v5 pattern). function _update(address from, address to, uint256 value) internal virtual override(ERC20Pausable) { super._update(from, to, value); } /* ---------- Role-guarded pause functions ---------- */ function pause() external onlyRole(PAUSER_ROLE) { _pause(); } function unpause() external onlyRole(PAUSER_ROLE) { _unpause(); } }
{ "evmVersion": "paris", "libraries": {}, "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"initialSupply_","type":"uint256"},{"internalType":"address","name":"pauser_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"allowed","type":"bool"}],"name":"WhitelistUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_ADMIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceAllControl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","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":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wipeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002f3e38038062002f3e83398181016040528101906200003791906200099d565b83838383838381600390816200004e919062000c8e565b50806004908162000060919062000c8e565b5050506200007533836200016860201b60201c565b6200008a6000801b33620001f560201b60201c565b50620000bd7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620001f560201b60201c565b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146200012757620001257f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a82620001f560201b60201c565b505b505050506200015d7f9cc798953f1657230a000cfd0cfb877f321fc37733bbdaba923c800c0f6f63b633620001f560201b60201c565b505050505062000f21565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620001dd5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620001d4919062000d86565b60405180910390fd5b620001f160008383620002f960201b60201c565b5050565b60006200020983836200042660201b60201c565b620002ee5760016006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200028a6200049160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050620002f3565b600090505b92915050565b620003096200049960201b60201c565b156200040d57600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015620003b25750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b620003f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003eb9062000e2a565b60405180910390fd5b62000407838383620004b060201b60201c565b62000421565b62000420838383620006e060201b60201c565b5b505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000600560009054906101000a900460ff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000506578060026000828254620004f9919062000e7b565b92505081905550620005dc565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562000595578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200058c9392919062000ec7565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000627578060026000828254039250508190555062000674565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620006d3919062000f04565b60405180910390a3505050565b620006f3838383620006f860201b60201c565b505050565b620007086200072060201b60201c565b6200071b838383620004b060201b60201c565b505050565b620007306200049960201b60201c565b1562000768576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620007d38262000788565b810181811067ffffffffffffffff82111715620007f557620007f462000799565b5b80604052505050565b60006200080a6200076a565b9050620008188282620007c8565b919050565b600067ffffffffffffffff8211156200083b576200083a62000799565b5b620008468262000788565b9050602081019050919050565b60005b838110156200087357808201518184015260208101905062000856565b60008484015250505050565b60006200089662000890846200081d565b620007fe565b905082815260208101848484011115620008b557620008b462000783565b5b620008c284828562000853565b509392505050565b600082601f830112620008e257620008e16200077e565b5b8151620008f48482602086016200087f565b91505092915050565b6000819050919050565b6200091281620008fd565b81146200091e57600080fd5b50565b600081519050620009328162000907565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009658262000938565b9050919050565b620009778162000958565b81146200098357600080fd5b50565b60008151905062000997816200096c565b92915050565b60008060008060808587031215620009ba57620009b962000774565b5b600085015167ffffffffffffffff811115620009db57620009da62000779565b5b620009e987828801620008ca565b945050602085015167ffffffffffffffff81111562000a0d5762000a0c62000779565b5b62000a1b87828801620008ca565b935050604062000a2e8782880162000921565b925050606062000a418782880162000986565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000aa057607f821691505b60208210810362000ab65762000ab562000a58565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000b207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000ae1565b62000b2c868362000ae1565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000b6f62000b6962000b6384620008fd565b62000b44565b620008fd565b9050919050565b6000819050919050565b62000b8b8362000b4e565b62000ba362000b9a8262000b76565b84845462000aee565b825550505050565b600090565b62000bba62000bab565b62000bc781848462000b80565b505050565b5b8181101562000bef5762000be360008262000bb0565b60018101905062000bcd565b5050565b601f82111562000c3e5762000c088162000abc565b62000c138462000ad1565b8101602085101562000c23578190505b62000c3b62000c328562000ad1565b83018262000bcc565b50505b505050565b600082821c905092915050565b600062000c636000198460080262000c43565b1980831691505092915050565b600062000c7e838362000c50565b9150826002028217905092915050565b62000c998262000a4d565b67ffffffffffffffff81111562000cb55762000cb462000799565b5b62000cc1825462000a87565b62000cce82828562000bf3565b600060209050601f83116001811462000d06576000841562000cf1578287015190505b62000cfd858262000c70565b86555062000d6d565b601f19841662000d168662000abc565b60005b8281101562000d405784890151825560018201915060208501945060208101905062000d19565b8683101562000d60578489015162000d5c601f89168262000c50565b8355505b6001600288020188555050505b505050505050565b62000d808162000958565b82525050565b600060208201905062000d9d600083018462000d75565b92915050565b600082825260208201905092915050565b7f467265657a65546f6b656e574c3a207061757365642026206e6f74207768697460008201527f656c697374656400000000000000000000000000000000000000000000000000602082015250565b600062000e1260278362000da3565b915062000e1f8262000db4565b604082019050919050565b6000602082019050818103600083015262000e458162000e03565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000e8882620008fd565b915062000e9583620008fd565b925082820190508082111562000eb05762000eaf62000e4c565b5b92915050565b62000ec181620008fd565b82525050565b600060608201905062000ede600083018662000d75565b62000eed602083018562000eb6565b62000efc604083018462000eb6565b949350505050565b600060208201905062000f1b600083018462000eb6565b92915050565b61200d8062000f316000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80635c975abb116100de578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e1461045f578063e63ab1e91461048f578063f2624b5d146104ad578063f58af7db146104cb5761018e565b8063a9059cbb14610409578063d005f03f14610439578063d547741f146104435761018e565b80635c975abb1461034557806370a08231146103635780638456cb591461039357806391d148541461039d57806395d89b41146103cd578063a217fddf146103eb5761018e565b8063248a9ca31161014b57806336568abe1161012557806336568abe146102d35780633af32abf146102ef5780633c271a051461031f5780633f4ba83a1461033b5761018e565b8063248a9ca3146102695780632f2ff15d14610299578063313ce567146102b55761018e565b806301ffc9a71461019357806306fdde03146101c357806308f1498c146101e1578063095ea7b3146101eb57806318160ddd1461021b57806323b872dd14610239575b600080fd5b6101ad60048036038101906101a89190611824565b6104e9565b6040516101ba919061186c565b60405180910390f35b6101cb610563565b6040516101d89190611917565b60405180910390f35b6101e96105f5565b005b610205600480360381019061020091906119cd565b61067a565b604051610212919061186c565b60405180910390f35b61022361069d565b6040516102309190611a1c565b60405180910390f35b610253600480360381019061024e9190611a37565b6106a7565b604051610260919061186c565b60405180910390f35b610283600480360381019061027e9190611ac0565b6106d6565b6040516102909190611afc565b60405180910390f35b6102b360048036038101906102ae9190611b17565b6106f6565b005b6102bd610718565b6040516102ca9190611b73565b60405180910390f35b6102ed60048036038101906102e89190611b17565b610721565b005b61030960048036038101906103049190611b8e565b61079c565b604051610316919061186c565b60405180910390f35b61033960048036038101906103349190611c4c565b6107bc565b005b6103436109d5565b005b61034d610a0a565b60405161035a919061186c565b60405180910390f35b61037d60048036038101906103789190611b8e565b610a21565b60405161038a9190611a1c565b60405180910390f35b61039b610a69565b005b6103b760048036038101906103b29190611b17565b610a9e565b6040516103c4919061186c565b60405180910390f35b6103d5610b09565b6040516103e29190611917565b60405180910390f35b6103f3610b9b565b6040516104009190611afc565b60405180910390f35b610423600480360381019061041e91906119cd565b610ba2565b604051610430919061186c565b60405180910390f35b610441610bc5565b005b61045d60048036038101906104589190611b17565b610bfa565b005b61047960048036038101906104749190611cac565b610c1c565b6040516104869190611a1c565b60405180910390f35b610497610ca3565b6040516104a49190611afc565b60405180910390f35b6104b5610cc7565b6040516104c29190611a1c565b60405180910390f35b6104d3610ccd565b6040516104e09190611afc565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061055c575061055b82610cf1565b5b9050919050565b60606003805461057290611d1b565b80601f016020809104026020016040519081016040528092919081815260200182805461059e90611d1b565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b5050505050905090565b6106026000801b33610a9e565b610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063890611d98565b60405180910390fd5b61066b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610721565b6106786000801b33610721565b565b600080610685610d5b565b9050610692818585610d63565b600191505092915050565b6000600254905090565b6000806106b2610d5b565b90506106bf858285610d75565b6106ca858585610e0a565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b6106ff826106d6565b61070881610efe565b6107128383610f12565b50505050565b60006012905090565b610729610d5b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461078d576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107978282611004565b505050565b60076020528060005260406000206000915054906101000a900460ff1681565b7f9cc798953f1657230a000cfd0cfb877f321fc37733bbdaba923c800c0f6f63b66107e681610efe565b60005b848490508110156109ce5760006007600087878581811061080d5761080c611db8565b5b90506020020160208101906108229190611b8e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050836007600088888681811061088457610883611db8565b5b90506020020160208101906108999190611b8e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508380156108f5575080155b15610917576008600081548092919061090d90611e16565b919050555061094d565b831580156109225750805b1561094c576000600854111561094b576008600081548092919061094590611e5e565b91905055505b5b5b8585838181106109605761095f611db8565b5b90506020020160208101906109759190611b8e565b73ffffffffffffffffffffffffffffffffffffffff167ff93f9a76c1bf3444d22400a00cb9fe990e6abe9dbb333fda48859cfee864543d856040516109ba919061186c565b60405180910390a2508060010190506107e9565b5050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6109ff81610efe565b610a076110f7565b50565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610a9381610efe565b610a9b61115a565b50565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b1890611d1b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4490611d1b565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000801b81565b600080610bad610d5b565b9050610bba818585610e0a565b600191505092915050565b7f9cc798953f1657230a000cfd0cfb877f321fc37733bbdaba923c800c0f6f63b6610bef81610efe565b600060088190555050565b610c03826106d6565b610c0c81610efe565b610c168383611004565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60085481565b7f9cc798953f1657230a000cfd0cfb877f321fc37733bbdaba923c800c0f6f63b681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610d7083838360016111bd565b505050565b6000610d818484610c1c565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610e045781811015610df4578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610deb93929190611e96565b60405180910390fd5b610e03848484840360006111bd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e7c5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e739190611ecd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eee5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610ee59190611ecd565b60405180910390fd5b610ef9838383611394565b505050565b610f0f81610f0a610d5b565b6114a3565b50565b6000610f1e8383610a9e565b610ff95760016006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610f96610d5b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050610ffe565b600090505b92915050565b60006110108383610a9e565b156110ec5760006006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611089610d5b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a4600190506110f1565b600090505b92915050565b6110ff6114f4565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611143610d5b565b6040516111509190611ecd565b60405180910390a1565b611162611534565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111a6610d5b565b6040516111b39190611ecd565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361122f5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112269190611ecd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112a15760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016112989190611ecd565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561138e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516113859190611a1c565b60405180910390a35b50505050565b61139c610a0a565b1561149257600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156114435750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147990611f5a565b60405180910390fd5b61148d838383611575565b61149e565b61149d83838361179a565b5b505050565b6114ad8282610a9e565b6114f05780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016114e7929190611f7a565b60405180910390fd5b5050565b6114fc610a0a565b611532576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61153c610a0a565b15611573576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115c75780600260008282546115bb9190611fa3565b9250508190555061169a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611653578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161164a93929190611e96565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116e35780600260008282540392505081905550611730565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161178d9190611a1c565b60405180910390a3505050565b6117a58383836117aa565b505050565b6117b2611534565b6117bd838383611575565b505050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611801816117cc565b811461180c57600080fd5b50565b60008135905061181e816117f8565b92915050565b60006020828403121561183a576118396117c2565b5b60006118488482850161180f565b91505092915050565b60008115159050919050565b61186681611851565b82525050565b6000602082019050611881600083018461185d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118c15780820151818401526020810190506118a6565b60008484015250505050565b6000601f19601f8301169050919050565b60006118e982611887565b6118f38185611892565b93506119038185602086016118a3565b61190c816118cd565b840191505092915050565b6000602082019050818103600083015261193181846118de565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061196482611939565b9050919050565b61197481611959565b811461197f57600080fd5b50565b6000813590506119918161196b565b92915050565b6000819050919050565b6119aa81611997565b81146119b557600080fd5b50565b6000813590506119c7816119a1565b92915050565b600080604083850312156119e4576119e36117c2565b5b60006119f285828601611982565b9250506020611a03858286016119b8565b9150509250929050565b611a1681611997565b82525050565b6000602082019050611a316000830184611a0d565b92915050565b600080600060608486031215611a5057611a4f6117c2565b5b6000611a5e86828701611982565b9350506020611a6f86828701611982565b9250506040611a80868287016119b8565b9150509250925092565b6000819050919050565b611a9d81611a8a565b8114611aa857600080fd5b50565b600081359050611aba81611a94565b92915050565b600060208284031215611ad657611ad56117c2565b5b6000611ae484828501611aab565b91505092915050565b611af681611a8a565b82525050565b6000602082019050611b116000830184611aed565b92915050565b60008060408385031215611b2e57611b2d6117c2565b5b6000611b3c85828601611aab565b9250506020611b4d85828601611982565b9150509250929050565b600060ff82169050919050565b611b6d81611b57565b82525050565b6000602082019050611b886000830184611b64565b92915050565b600060208284031215611ba457611ba36117c2565b5b6000611bb284828501611982565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611be057611bdf611bbb565b5b8235905067ffffffffffffffff811115611bfd57611bfc611bc0565b5b602083019150836020820283011115611c1957611c18611bc5565b5b9250929050565b611c2981611851565b8114611c3457600080fd5b50565b600081359050611c4681611c20565b92915050565b600080600060408486031215611c6557611c646117c2565b5b600084013567ffffffffffffffff811115611c8357611c826117c7565b5b611c8f86828701611bca565b93509350506020611ca286828701611c37565b9150509250925092565b60008060408385031215611cc357611cc26117c2565b5b6000611cd185828601611982565b9250506020611ce285828601611982565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611d3357607f821691505b602082108103611d4657611d45611cec565b5b50919050565b7f467265657a65546f6b656e3a206f6e6c792061646d696e000000000000000000600082015250565b6000611d82601783611892565b9150611d8d82611d4c565b602082019050919050565b60006020820190508181036000830152611db181611d75565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e2182611997565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e5357611e52611de7565b5b600182019050919050565b6000611e6982611997565b915060008203611e7c57611e7b611de7565b5b600182039050919050565b611e9081611959565b82525050565b6000606082019050611eab6000830186611e87565b611eb86020830185611a0d565b611ec56040830184611a0d565b949350505050565b6000602082019050611ee26000830184611e87565b92915050565b7f467265657a65546f6b656e574c3a207061757365642026206e6f74207768697460008201527f656c697374656400000000000000000000000000000000000000000000000000602082015250565b6000611f44602783611892565b9150611f4f82611ee8565b604082019050919050565b60006020820190508181036000830152611f7381611f37565b9050919050565b6000604082019050611f8f6000830185611e87565b611f9c6020830184611aed565b9392505050565b6000611fae82611997565b9150611fb983611997565b9250828201905080821115611fd157611fd0611de7565b5b9291505056fea26469706673582212201ee558761777f4bf30b5bd3572f77683658fcfea4748aa81319113544c68a35364736f6c63430008180033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c49434b4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c49434b4f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80635c975abb116100de578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e1461045f578063e63ab1e91461048f578063f2624b5d146104ad578063f58af7db146104cb5761018e565b8063a9059cbb14610409578063d005f03f14610439578063d547741f146104435761018e565b80635c975abb1461034557806370a08231146103635780638456cb591461039357806391d148541461039d57806395d89b41146103cd578063a217fddf146103eb5761018e565b8063248a9ca31161014b57806336568abe1161012557806336568abe146102d35780633af32abf146102ef5780633c271a051461031f5780633f4ba83a1461033b5761018e565b8063248a9ca3146102695780632f2ff15d14610299578063313ce567146102b55761018e565b806301ffc9a71461019357806306fdde03146101c357806308f1498c146101e1578063095ea7b3146101eb57806318160ddd1461021b57806323b872dd14610239575b600080fd5b6101ad60048036038101906101a89190611824565b6104e9565b6040516101ba919061186c565b60405180910390f35b6101cb610563565b6040516101d89190611917565b60405180910390f35b6101e96105f5565b005b610205600480360381019061020091906119cd565b61067a565b604051610212919061186c565b60405180910390f35b61022361069d565b6040516102309190611a1c565b60405180910390f35b610253600480360381019061024e9190611a37565b6106a7565b604051610260919061186c565b60405180910390f35b610283600480360381019061027e9190611ac0565b6106d6565b6040516102909190611afc565b60405180910390f35b6102b360048036038101906102ae9190611b17565b6106f6565b005b6102bd610718565b6040516102ca9190611b73565b60405180910390f35b6102ed60048036038101906102e89190611b17565b610721565b005b61030960048036038101906103049190611b8e565b61079c565b604051610316919061186c565b60405180910390f35b61033960048036038101906103349190611c4c565b6107bc565b005b6103436109d5565b005b61034d610a0a565b60405161035a919061186c565b60405180910390f35b61037d60048036038101906103789190611b8e565b610a21565b60405161038a9190611a1c565b60405180910390f35b61039b610a69565b005b6103b760048036038101906103b29190611b17565b610a9e565b6040516103c4919061186c565b60405180910390f35b6103d5610b09565b6040516103e29190611917565b60405180910390f35b6103f3610b9b565b6040516104009190611afc565b60405180910390f35b610423600480360381019061041e91906119cd565b610ba2565b604051610430919061186c565b60405180910390f35b610441610bc5565b005b61045d60048036038101906104589190611b17565b610bfa565b005b61047960048036038101906104749190611cac565b610c1c565b6040516104869190611a1c565b60405180910390f35b610497610ca3565b6040516104a49190611afc565b60405180910390f35b6104b5610cc7565b6040516104c29190611a1c565b60405180910390f35b6104d3610ccd565b6040516104e09190611afc565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061055c575061055b82610cf1565b5b9050919050565b60606003805461057290611d1b565b80601f016020809104026020016040519081016040528092919081815260200182805461059e90611d1b565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b5050505050905090565b6106026000801b33610a9e565b610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063890611d98565b60405180910390fd5b61066b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610721565b6106786000801b33610721565b565b600080610685610d5b565b9050610692818585610d63565b600191505092915050565b6000600254905090565b6000806106b2610d5b565b90506106bf858285610d75565b6106ca858585610e0a565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b6106ff826106d6565b61070881610efe565b6107128383610f12565b50505050565b60006012905090565b610729610d5b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461078d576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107978282611004565b505050565b60076020528060005260406000206000915054906101000a900460ff1681565b7f9cc798953f1657230a000cfd0cfb877f321fc37733bbdaba923c800c0f6f63b66107e681610efe565b60005b848490508110156109ce5760006007600087878581811061080d5761080c611db8565b5b90506020020160208101906108229190611b8e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050836007600088888681811061088457610883611db8565b5b90506020020160208101906108999190611b8e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508380156108f5575080155b15610917576008600081548092919061090d90611e16565b919050555061094d565b831580156109225750805b1561094c576000600854111561094b576008600081548092919061094590611e5e565b91905055505b5b5b8585838181106109605761095f611db8565b5b90506020020160208101906109759190611b8e565b73ffffffffffffffffffffffffffffffffffffffff167ff93f9a76c1bf3444d22400a00cb9fe990e6abe9dbb333fda48859cfee864543d856040516109ba919061186c565b60405180910390a2508060010190506107e9565b5050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6109ff81610efe565b610a076110f7565b50565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610a9381610efe565b610a9b61115a565b50565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b1890611d1b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4490611d1b565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000801b81565b600080610bad610d5b565b9050610bba818585610e0a565b600191505092915050565b7f9cc798953f1657230a000cfd0cfb877f321fc37733bbdaba923c800c0f6f63b6610bef81610efe565b600060088190555050565b610c03826106d6565b610c0c81610efe565b610c168383611004565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60085481565b7f9cc798953f1657230a000cfd0cfb877f321fc37733bbdaba923c800c0f6f63b681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610d7083838360016111bd565b505050565b6000610d818484610c1c565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610e045781811015610df4578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610deb93929190611e96565b60405180910390fd5b610e03848484840360006111bd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e7c5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e739190611ecd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eee5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610ee59190611ecd565b60405180910390fd5b610ef9838383611394565b505050565b610f0f81610f0a610d5b565b6114a3565b50565b6000610f1e8383610a9e565b610ff95760016006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610f96610d5b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050610ffe565b600090505b92915050565b60006110108383610a9e565b156110ec5760006006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611089610d5b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a4600190506110f1565b600090505b92915050565b6110ff6114f4565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611143610d5b565b6040516111509190611ecd565b60405180910390a1565b611162611534565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111a6610d5b565b6040516111b39190611ecd565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361122f5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112269190611ecd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112a15760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016112989190611ecd565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561138e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516113859190611a1c565b60405180910390a35b50505050565b61139c610a0a565b1561149257600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156114435750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147990611f5a565b60405180910390fd5b61148d838383611575565b61149e565b61149d83838361179a565b5b505050565b6114ad8282610a9e565b6114f05780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016114e7929190611f7a565b60405180910390fd5b5050565b6114fc610a0a565b611532576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61153c610a0a565b15611573576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115c75780600260008282546115bb9190611fa3565b9250508190555061169a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611653578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161164a93929190611e96565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116e35780600260008282540392505081905550611730565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161178d9190611a1c565b60405180910390a3505050565b6117a58383836117aa565b505050565b6117b2611534565b6117bd838383611575565b505050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611801816117cc565b811461180c57600080fd5b50565b60008135905061181e816117f8565b92915050565b60006020828403121561183a576118396117c2565b5b60006118488482850161180f565b91505092915050565b60008115159050919050565b61186681611851565b82525050565b6000602082019050611881600083018461185d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118c15780820151818401526020810190506118a6565b60008484015250505050565b6000601f19601f8301169050919050565b60006118e982611887565b6118f38185611892565b93506119038185602086016118a3565b61190c816118cd565b840191505092915050565b6000602082019050818103600083015261193181846118de565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061196482611939565b9050919050565b61197481611959565b811461197f57600080fd5b50565b6000813590506119918161196b565b92915050565b6000819050919050565b6119aa81611997565b81146119b557600080fd5b50565b6000813590506119c7816119a1565b92915050565b600080604083850312156119e4576119e36117c2565b5b60006119f285828601611982565b9250506020611a03858286016119b8565b9150509250929050565b611a1681611997565b82525050565b6000602082019050611a316000830184611a0d565b92915050565b600080600060608486031215611a5057611a4f6117c2565b5b6000611a5e86828701611982565b9350506020611a6f86828701611982565b9250506040611a80868287016119b8565b9150509250925092565b6000819050919050565b611a9d81611a8a565b8114611aa857600080fd5b50565b600081359050611aba81611a94565b92915050565b600060208284031215611ad657611ad56117c2565b5b6000611ae484828501611aab565b91505092915050565b611af681611a8a565b82525050565b6000602082019050611b116000830184611aed565b92915050565b60008060408385031215611b2e57611b2d6117c2565b5b6000611b3c85828601611aab565b9250506020611b4d85828601611982565b9150509250929050565b600060ff82169050919050565b611b6d81611b57565b82525050565b6000602082019050611b886000830184611b64565b92915050565b600060208284031215611ba457611ba36117c2565b5b6000611bb284828501611982565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611be057611bdf611bbb565b5b8235905067ffffffffffffffff811115611bfd57611bfc611bc0565b5b602083019150836020820283011115611c1957611c18611bc5565b5b9250929050565b611c2981611851565b8114611c3457600080fd5b50565b600081359050611c4681611c20565b92915050565b600080600060408486031215611c6557611c646117c2565b5b600084013567ffffffffffffffff811115611c8357611c826117c7565b5b611c8f86828701611bca565b93509350506020611ca286828701611c37565b9150509250925092565b60008060408385031215611cc357611cc26117c2565b5b6000611cd185828601611982565b9250506020611ce285828601611982565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611d3357607f821691505b602082108103611d4657611d45611cec565b5b50919050565b7f467265657a65546f6b656e3a206f6e6c792061646d696e000000000000000000600082015250565b6000611d82601783611892565b9150611d8d82611d4c565b602082019050919050565b60006020820190508181036000830152611db181611d75565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e2182611997565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e5357611e52611de7565b5b600182019050919050565b6000611e6982611997565b915060008203611e7c57611e7b611de7565b5b600182039050919050565b611e9081611959565b82525050565b6000606082019050611eab6000830186611e87565b611eb86020830185611a0d565b611ec56040830184611a0d565b949350505050565b6000602082019050611ee26000830184611e87565b92915050565b7f467265657a65546f6b656e574c3a207061757365642026206e6f74207768697460008201527f656c697374656400000000000000000000000000000000000000000000000000602082015250565b6000611f44602783611892565b9150611f4f82611ee8565b604082019050919050565b60006020820190508181036000830152611f7381611f37565b9050919050565b6000604082019050611f8f6000830185611e87565b611f9c6020830184611aed565b9392505050565b6000611fae82611997565b9150611fb983611997565b9250828201905080821115611fd157611fd0611de7565b5b9291505056fea26469706673582212201ee558761777f4bf30b5bd3572f77683658fcfea4748aa81319113544c68a35364736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c49434b4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c49434b4f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): LICKO
Arg [1] : symbol_ (string): LICKO
Arg [2] : initialSupply_ (uint256): 1000000000000000000000000000
Arg [3] : pauser_ (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 4c49434b4f000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4c49434b4f000000000000000000000000000000000000000000000000000000
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.