ERC-20
Overview
Max Total Supply
6,000,000,001.403958012 MCC
Holders
68
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MoKiCoinOfficial
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/MyToken.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; contract MoKiCoinOfficial is ERC20, AccessControl { using Address for address; address public EToken = address(0x1597F069D3ec65d5A4625527054e40F69533f27E); mapping(address => bool) public isBot; constructor(address principal) ERC20("MoKi Coin Official", "MCC") { // Grant the minter role to a specified account _grantRole(DEFAULT_ADMIN_ROLE, principal); _mint(principal, 1000000000000 * 10 ** decimals()); } function mint(address to, uint256 amount) public { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not a minter or admin"); _mint(to, amount); } function burn(uint256 amount) public { _burn(msg.sender, amount); } function modifiyEToken(address newToken) public { // Check that the calling account has the minter role require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not a admin"); EToken = newToken; } function getEtokenBalance() public view returns (uint256) { // Check that the calling account has the minter role require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not a admin"); IERC20 eToken = IERC20(EToken); return eToken.balanceOf(address(this)); } function withDrawEtoken() public { // Check that the calling account has the minter role require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not a admin"); IERC20 eToken = IERC20(EToken); eToken.transfer(msg.sender, eToken.balanceOf(address(this))); } function blockBot(address account, bool state) external { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not a admin"); isBot[account] = state; } function _update(address sender, address recipient, uint256 amount) internal override { require(amount > 0, "Transfer amount must be greater than zero"); require(!isBot[sender] && !isBot[recipient], "You can't transfer tokens"); super._update(sender, recipient, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.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` to `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.0.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC165 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 signaling 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, 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 `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 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 ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 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.0.0) (interfaces/IERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.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 ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ 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}. * * All two of these 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}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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: * ``` * 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.0.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 ERC20 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.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 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.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) 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 FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.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 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); * } * ``` */ 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.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @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); }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"principal","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"},{"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":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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EToken","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"blockBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEtokenBalance","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":[{"internalType":"address","name":"","type":"address"}],"name":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newToken","type":"address"}],"name":"modifiyEToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"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":"withDrawEtoken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052731597f069d3ec65d5a4625527054e40f69533f27e600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b5060405162002fbf38038062002fbf83398181016040528101906200008c919062000768565b6040518060400160405280601281526020017f4d6f4b6920436f696e204f6666696369616c00000000000000000000000000008152506040518060400160405280600381526020017f4d43430000000000000000000000000000000000000000000000000000000000815250816003908162000109919062000a14565b5080600490816200011b919062000a14565b505050620001336000801b826200017c60201b60201c565b506200017581620001496200028060201b60201c565b600a62000157919062000c8b565b64e8d4a5100062000169919062000cdc565b6200028960201b60201c565b5062000f16565b60006200019083836200031660201b60201c565b620002755760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002116200038160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600190506200027a565b600090505b92915050565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002fe5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620002f5919062000d38565b60405180910390fd5b62000312600083836200038960201b60201c565b5050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b60008111620003cf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c69062000ddc565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015620004745750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b620004b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ad9062000e4e565b60405180910390fd5b620004c9838383620004ce60201b60201c565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200052457806002600082825462000517919062000e70565b92505081905550620005fa565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620005b3578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620005aa9392919062000ebc565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000645578060026000828254039250508190555062000692565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620006f1919062000ef9565b60405180910390a3505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007308262000703565b9050919050565b620007428162000723565b81146200074e57600080fd5b50565b600081519050620007628162000737565b92915050565b600060208284031215620007815762000780620006fe565b5b6000620007918482850162000751565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200081c57607f821691505b602082108103620008325762000831620007d4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200089c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200085d565b620008a886836200085d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008f5620008ef620008e984620008c0565b620008ca565b620008c0565b9050919050565b6000819050919050565b6200091183620008d4565b620009296200092082620008fc565b8484546200086a565b825550505050565b600090565b6200094062000931565b6200094d81848462000906565b505050565b5b8181101562000975576200096960008262000936565b60018101905062000953565b5050565b601f821115620009c4576200098e8162000838565b62000999846200084d565b81016020851015620009a9578190505b620009c1620009b8856200084d565b83018262000952565b50505b505050565b600082821c905092915050565b6000620009e960001984600802620009c9565b1980831691505092915050565b600062000a048383620009d6565b9150826002028217905092915050565b62000a1f826200079a565b67ffffffffffffffff81111562000a3b5762000a3a620007a5565b5b62000a47825462000803565b62000a5482828562000979565b600060209050601f83116001811462000a8c576000841562000a77578287015190505b62000a838582620009f6565b86555062000af3565b601f19841662000a9c8662000838565b60005b8281101562000ac65784890151825560018201915060208501945060208101905062000a9f565b8683101562000ae6578489015162000ae2601f891682620009d6565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000b895780860481111562000b615762000b6062000afb565b5b600185161562000b715780820291505b808102905062000b818562000b2a565b945062000b41565b94509492505050565b60008262000ba4576001905062000c77565b8162000bb4576000905062000c77565b816001811462000bcd576002811462000bd85762000c0e565b600191505062000c77565b60ff84111562000bed5762000bec62000afb565b5b8360020a91508482111562000c075762000c0662000afb565b5b5062000c77565b5060208310610133831016604e8410600b841016171562000c485782820a90508381111562000c425762000c4162000afb565b5b62000c77565b62000c57848484600162000b37565b9250905081840481111562000c715762000c7062000afb565b5b81810290505b9392505050565b600060ff82169050919050565b600062000c9882620008c0565b915062000ca58362000c7e565b925062000cd47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000b92565b905092915050565b600062000ce982620008c0565b915062000cf683620008c0565b925082820262000d0681620008c0565b9150828204841483151762000d205762000d1f62000afb565b5b5092915050565b62000d328162000723565b82525050565b600060208201905062000d4f600083018462000d27565b92915050565b600082825260208201905092915050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b600062000dc460298362000d55565b915062000dd18262000d66565b604082019050919050565b6000602082019050818103600083015262000df78162000db5565b9050919050565b7f596f752063616e2774207472616e7366657220746f6b656e7300000000000000600082015250565b600062000e3660198362000d55565b915062000e438262000dfe565b602082019050919050565b6000602082019050818103600083015262000e698162000e27565b9050919050565b600062000e7d82620008c0565b915062000e8a83620008c0565b925082820190508082111562000ea55762000ea462000afb565b5b92915050565b62000eb681620008c0565b82525050565b600060608201905062000ed3600083018662000d27565b62000ee2602083018562000eab565b62000ef1604083018462000eab565b949350505050565b600060208201905062000f10600083018462000eab565b92915050565b6120998062000f266000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80636990e00a116100c357806395d89b411161007c57806395d89b41146103d9578063a217fddf146103f7578063a9059cbb14610415578063b45582e014610445578063d547741f14610461578063dd62ed3e1461047d57610158565b80636990e00a1461031757806370a08231146103215780637acf3be8146103515780638b5185911461036f5780638f24592b1461038b57806391d14854146103a957610158565b80632f2ff15d116101155780632f2ff15d14610259578063313ce5671461027557806336568abe146102935780633bbac579146102af57806340c10f19146102df57806342966c68146102fb57610158565b806301ffc9a71461015d57806306fdde031461018d578063095ea7b3146101ab57806318160ddd146101db57806323b872dd146101f9578063248a9ca314610229575b600080fd5b61017760048036038101906101729190611823565b6104ad565b604051610184919061186b565b60405180910390f35b610195610527565b6040516101a29190611916565b60405180910390f35b6101c560048036038101906101c091906119cc565b6105b9565b6040516101d2919061186b565b60405180910390f35b6101e36105dc565b6040516101f09190611a1b565b60405180910390f35b610213600480360381019061020e9190611a36565b6105e6565b604051610220919061186b565b60405180910390f35b610243600480360381019061023e9190611abf565b610615565b6040516102509190611afb565b60405180910390f35b610273600480360381019061026e9190611b16565b610635565b005b61027d610657565b60405161028a9190611b72565b60405180910390f35b6102ad60048036038101906102a89190611b16565b610660565b005b6102c960048036038101906102c49190611b8d565b6106db565b6040516102d6919061186b565b60405180910390f35b6102f960048036038101906102f491906119cc565b6106fb565b005b61031560048036038101906103109190611bba565b610755565b005b61031f610762565b005b61033b60048036038101906103369190611b8d565b6108d0565b6040516103489190611a1b565b60405180910390f35b610359610918565b6040516103669190611bf6565b60405180910390f35b61038960048036038101906103849190611c3d565b61093e565b005b6103936109e5565b6040516103a09190611a1b565b60405180910390f35b6103c360048036038101906103be9190611b16565b610ada565b6040516103d0919061186b565b60405180910390f35b6103e1610b45565b6040516103ee9190611916565b60405180910390f35b6103ff610bd7565b60405161040c9190611afb565b60405180910390f35b61042f600480360381019061042a91906119cc565b610bde565b60405161043c919061186b565b60405180910390f35b61045f600480360381019061045a9190611b8d565b610c01565b005b61047b60048036038101906104769190611b16565b610c91565b005b61049760048036038101906104929190611c7d565b610cb3565b6040516104a49190611a1b565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610520575061051f82610d3a565b5b9050919050565b60606003805461053690611cec565b80601f016020809104026020016040519081016040528092919081815260200182805461056290611cec565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b6000806105c4610da4565b90506105d1818585610dac565b600191505092915050565b6000600254905090565b6000806105f1610da4565b90506105fe858285610dbe565b610609858585610e52565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b61063e82610615565b61064781610f46565b6106518383610f5a565b50505050565b60006012905090565b610668610da4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146106cc576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106d6828261104c565b505050565b60076020528060005260406000206000915054906101000a900460ff1681565b6107086000801b33610ada565b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90611d69565b60405180910390fd5b610751828261113f565b5050565b61075f33826111c1565b50565b61076f6000801b33610ada565b6107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a590611dd5565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161082b9190611bf6565b602060405180830381865afa158015610848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086c9190611e0a565b6040518363ffffffff1660e01b8152600401610889929190611e37565b6020604051808303816000875af11580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc9190611e75565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61094b6000801b33610ada565b61098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190611dd5565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006109f46000801b33610ada565b610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90611dd5565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a939190611bf6565b602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190611e0a565b91505090565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b5490611cec565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8090611cec565b8015610bcd5780601f10610ba257610100808354040283529160200191610bcd565b820191906000526020600020905b815481529060010190602001808311610bb057829003601f168201915b5050505050905090565b6000801b81565b600080610be9610da4565b9050610bf6818585610e52565b600191505092915050565b610c0e6000801b33610ada565b610c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4490611dd5565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c9a82610615565b610ca381610f46565b610cad838361104c565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610db98383836001611243565b505050565b6000610dca8484610cb3565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e4c5781811015610e3c578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610e3393929190611ea2565b60405180910390fd5b610e4b84848484036000611243565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ec45760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610ebb9190611bf6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f365760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610f2d9190611bf6565b60405180910390fd5b610f4183838361141a565b505050565b610f5781610f52610da4565b611550565b50565b6000610f668383610ada565b6110415760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610fde610da4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611046565b600090505b92915050565b60006110588383610ada565b156111345760006005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506110d1610da4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611139565b600090505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111b15760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111a89190611bf6565b60405180910390fd5b6111bd6000838361141a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112335760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161122a9190611bf6565b60405180910390fd5b61123f8260008361141a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036112b55760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112ac9190611bf6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113275760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161131e9190611bf6565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611414578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161140b9190611a1b565b60405180910390a35b50505050565b6000811161145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490611f4b565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156115015750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b611540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153790611fb7565b60405180910390fd5b61154b8383836115a1565b505050565b61155a8282610ada565b61159d5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401611594929190611fd7565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115f35780600260008282546115e7919061202f565b925050819055506116c6565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561167f578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161167693929190611ea2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361170f578060026000828254039250508190555061175c565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117b99190611a1b565b60405180910390a3505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611800816117cb565b811461180b57600080fd5b50565b60008135905061181d816117f7565b92915050565b600060208284031215611839576118386117c6565b5b60006118478482850161180e565b91505092915050565b60008115159050919050565b61186581611850565b82525050565b6000602082019050611880600083018461185c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118c05780820151818401526020810190506118a5565b60008484015250505050565b6000601f19601f8301169050919050565b60006118e882611886565b6118f28185611891565b93506119028185602086016118a2565b61190b816118cc565b840191505092915050565b6000602082019050818103600083015261193081846118dd565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061196382611938565b9050919050565b61197381611958565b811461197e57600080fd5b50565b6000813590506119908161196a565b92915050565b6000819050919050565b6119a981611996565b81146119b457600080fd5b50565b6000813590506119c6816119a0565b92915050565b600080604083850312156119e3576119e26117c6565b5b60006119f185828601611981565b9250506020611a02858286016119b7565b9150509250929050565b611a1581611996565b82525050565b6000602082019050611a306000830184611a0c565b92915050565b600080600060608486031215611a4f57611a4e6117c6565b5b6000611a5d86828701611981565b9350506020611a6e86828701611981565b9250506040611a7f868287016119b7565b9150509250925092565b6000819050919050565b611a9c81611a89565b8114611aa757600080fd5b50565b600081359050611ab981611a93565b92915050565b600060208284031215611ad557611ad46117c6565b5b6000611ae384828501611aaa565b91505092915050565b611af581611a89565b82525050565b6000602082019050611b106000830184611aec565b92915050565b60008060408385031215611b2d57611b2c6117c6565b5b6000611b3b85828601611aaa565b9250506020611b4c85828601611981565b9150509250929050565b600060ff82169050919050565b611b6c81611b56565b82525050565b6000602082019050611b876000830184611b63565b92915050565b600060208284031215611ba357611ba26117c6565b5b6000611bb184828501611981565b91505092915050565b600060208284031215611bd057611bcf6117c6565b5b6000611bde848285016119b7565b91505092915050565b611bf081611958565b82525050565b6000602082019050611c0b6000830184611be7565b92915050565b611c1a81611850565b8114611c2557600080fd5b50565b600081359050611c3781611c11565b92915050565b60008060408385031215611c5457611c536117c6565b5b6000611c6285828601611981565b9250506020611c7385828601611c28565b9150509250929050565b60008060408385031215611c9457611c936117c6565b5b6000611ca285828601611981565b9250506020611cb385828601611981565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611d0457607f821691505b602082108103611d1757611d16611cbd565b5b50919050565b7f43616c6c6572206973206e6f742061206d696e746572206f722061646d696e00600082015250565b6000611d53601f83611891565b9150611d5e82611d1d565b602082019050919050565b60006020820190508181036000830152611d8281611d46565b9050919050565b7f43616c6c6572206973206e6f7420612061646d696e0000000000000000000000600082015250565b6000611dbf601583611891565b9150611dca82611d89565b602082019050919050565b60006020820190508181036000830152611dee81611db2565b9050919050565b600081519050611e04816119a0565b92915050565b600060208284031215611e2057611e1f6117c6565b5b6000611e2e84828501611df5565b91505092915050565b6000604082019050611e4c6000830185611be7565b611e596020830184611a0c565b9392505050565b600081519050611e6f81611c11565b92915050565b600060208284031215611e8b57611e8a6117c6565b5b6000611e9984828501611e60565b91505092915050565b6000606082019050611eb76000830186611be7565b611ec46020830185611a0c565b611ed16040830184611a0c565b949350505050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b6000611f35602983611891565b9150611f4082611ed9565b604082019050919050565b60006020820190508181036000830152611f6481611f28565b9050919050565b7f596f752063616e2774207472616e7366657220746f6b656e7300000000000000600082015250565b6000611fa1601983611891565b9150611fac82611f6b565b602082019050919050565b60006020820190508181036000830152611fd081611f94565b9050919050565b6000604082019050611fec6000830185611be7565b611ff96020830184611aec565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061203a82611996565b915061204583611996565b925082820190508082111561205d5761205c612000565b5b9291505056fea26469706673582212202e183538f6c9922cd48a963ef16cd7aac3c9e39a7e45550e4cea583682719f9464736f6c6343000814003300000000000000000000000086920e509367b32a83c966e7e2bf06cc90a8f7f8
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80636990e00a116100c357806395d89b411161007c57806395d89b41146103d9578063a217fddf146103f7578063a9059cbb14610415578063b45582e014610445578063d547741f14610461578063dd62ed3e1461047d57610158565b80636990e00a1461031757806370a08231146103215780637acf3be8146103515780638b5185911461036f5780638f24592b1461038b57806391d14854146103a957610158565b80632f2ff15d116101155780632f2ff15d14610259578063313ce5671461027557806336568abe146102935780633bbac579146102af57806340c10f19146102df57806342966c68146102fb57610158565b806301ffc9a71461015d57806306fdde031461018d578063095ea7b3146101ab57806318160ddd146101db57806323b872dd146101f9578063248a9ca314610229575b600080fd5b61017760048036038101906101729190611823565b6104ad565b604051610184919061186b565b60405180910390f35b610195610527565b6040516101a29190611916565b60405180910390f35b6101c560048036038101906101c091906119cc565b6105b9565b6040516101d2919061186b565b60405180910390f35b6101e36105dc565b6040516101f09190611a1b565b60405180910390f35b610213600480360381019061020e9190611a36565b6105e6565b604051610220919061186b565b60405180910390f35b610243600480360381019061023e9190611abf565b610615565b6040516102509190611afb565b60405180910390f35b610273600480360381019061026e9190611b16565b610635565b005b61027d610657565b60405161028a9190611b72565b60405180910390f35b6102ad60048036038101906102a89190611b16565b610660565b005b6102c960048036038101906102c49190611b8d565b6106db565b6040516102d6919061186b565b60405180910390f35b6102f960048036038101906102f491906119cc565b6106fb565b005b61031560048036038101906103109190611bba565b610755565b005b61031f610762565b005b61033b60048036038101906103369190611b8d565b6108d0565b6040516103489190611a1b565b60405180910390f35b610359610918565b6040516103669190611bf6565b60405180910390f35b61038960048036038101906103849190611c3d565b61093e565b005b6103936109e5565b6040516103a09190611a1b565b60405180910390f35b6103c360048036038101906103be9190611b16565b610ada565b6040516103d0919061186b565b60405180910390f35b6103e1610b45565b6040516103ee9190611916565b60405180910390f35b6103ff610bd7565b60405161040c9190611afb565b60405180910390f35b61042f600480360381019061042a91906119cc565b610bde565b60405161043c919061186b565b60405180910390f35b61045f600480360381019061045a9190611b8d565b610c01565b005b61047b60048036038101906104769190611b16565b610c91565b005b61049760048036038101906104929190611c7d565b610cb3565b6040516104a49190611a1b565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610520575061051f82610d3a565b5b9050919050565b60606003805461053690611cec565b80601f016020809104026020016040519081016040528092919081815260200182805461056290611cec565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b6000806105c4610da4565b90506105d1818585610dac565b600191505092915050565b6000600254905090565b6000806105f1610da4565b90506105fe858285610dbe565b610609858585610e52565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b61063e82610615565b61064781610f46565b6106518383610f5a565b50505050565b60006012905090565b610668610da4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146106cc576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106d6828261104c565b505050565b60076020528060005260406000206000915054906101000a900460ff1681565b6107086000801b33610ada565b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90611d69565b60405180910390fd5b610751828261113f565b5050565b61075f33826111c1565b50565b61076f6000801b33610ada565b6107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a590611dd5565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161082b9190611bf6565b602060405180830381865afa158015610848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086c9190611e0a565b6040518363ffffffff1660e01b8152600401610889929190611e37565b6020604051808303816000875af11580156108a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cc9190611e75565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61094b6000801b33610ada565b61098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190611dd5565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006109f46000801b33610ada565b610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90611dd5565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a939190611bf6565b602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190611e0a565b91505090565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b5490611cec565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8090611cec565b8015610bcd5780601f10610ba257610100808354040283529160200191610bcd565b820191906000526020600020905b815481529060010190602001808311610bb057829003601f168201915b5050505050905090565b6000801b81565b600080610be9610da4565b9050610bf6818585610e52565b600191505092915050565b610c0e6000801b33610ada565b610c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4490611dd5565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c9a82610615565b610ca381610f46565b610cad838361104c565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610db98383836001611243565b505050565b6000610dca8484610cb3565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e4c5781811015610e3c578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610e3393929190611ea2565b60405180910390fd5b610e4b84848484036000611243565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ec45760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610ebb9190611bf6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f365760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610f2d9190611bf6565b60405180910390fd5b610f4183838361141a565b505050565b610f5781610f52610da4565b611550565b50565b6000610f668383610ada565b6110415760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610fde610da4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611046565b600090505b92915050565b60006110588383610ada565b156111345760006005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506110d1610da4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611139565b600090505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111b15760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111a89190611bf6565b60405180910390fd5b6111bd6000838361141a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112335760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161122a9190611bf6565b60405180910390fd5b61123f8260008361141a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036112b55760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112ac9190611bf6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113275760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161131e9190611bf6565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611414578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161140b9190611a1b565b60405180910390a35b50505050565b6000811161145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490611f4b565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156115015750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b611540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153790611fb7565b60405180910390fd5b61154b8383836115a1565b505050565b61155a8282610ada565b61159d5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401611594929190611fd7565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115f35780600260008282546115e7919061202f565b925050819055506116c6565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561167f578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161167693929190611ea2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361170f578060026000828254039250508190555061175c565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117b99190611a1b565b60405180910390a3505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611800816117cb565b811461180b57600080fd5b50565b60008135905061181d816117f7565b92915050565b600060208284031215611839576118386117c6565b5b60006118478482850161180e565b91505092915050565b60008115159050919050565b61186581611850565b82525050565b6000602082019050611880600083018461185c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118c05780820151818401526020810190506118a5565b60008484015250505050565b6000601f19601f8301169050919050565b60006118e882611886565b6118f28185611891565b93506119028185602086016118a2565b61190b816118cc565b840191505092915050565b6000602082019050818103600083015261193081846118dd565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061196382611938565b9050919050565b61197381611958565b811461197e57600080fd5b50565b6000813590506119908161196a565b92915050565b6000819050919050565b6119a981611996565b81146119b457600080fd5b50565b6000813590506119c6816119a0565b92915050565b600080604083850312156119e3576119e26117c6565b5b60006119f185828601611981565b9250506020611a02858286016119b7565b9150509250929050565b611a1581611996565b82525050565b6000602082019050611a306000830184611a0c565b92915050565b600080600060608486031215611a4f57611a4e6117c6565b5b6000611a5d86828701611981565b9350506020611a6e86828701611981565b9250506040611a7f868287016119b7565b9150509250925092565b6000819050919050565b611a9c81611a89565b8114611aa757600080fd5b50565b600081359050611ab981611a93565b92915050565b600060208284031215611ad557611ad46117c6565b5b6000611ae384828501611aaa565b91505092915050565b611af581611a89565b82525050565b6000602082019050611b106000830184611aec565b92915050565b60008060408385031215611b2d57611b2c6117c6565b5b6000611b3b85828601611aaa565b9250506020611b4c85828601611981565b9150509250929050565b600060ff82169050919050565b611b6c81611b56565b82525050565b6000602082019050611b876000830184611b63565b92915050565b600060208284031215611ba357611ba26117c6565b5b6000611bb184828501611981565b91505092915050565b600060208284031215611bd057611bcf6117c6565b5b6000611bde848285016119b7565b91505092915050565b611bf081611958565b82525050565b6000602082019050611c0b6000830184611be7565b92915050565b611c1a81611850565b8114611c2557600080fd5b50565b600081359050611c3781611c11565b92915050565b60008060408385031215611c5457611c536117c6565b5b6000611c6285828601611981565b9250506020611c7385828601611c28565b9150509250929050565b60008060408385031215611c9457611c936117c6565b5b6000611ca285828601611981565b9250506020611cb385828601611981565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611d0457607f821691505b602082108103611d1757611d16611cbd565b5b50919050565b7f43616c6c6572206973206e6f742061206d696e746572206f722061646d696e00600082015250565b6000611d53601f83611891565b9150611d5e82611d1d565b602082019050919050565b60006020820190508181036000830152611d8281611d46565b9050919050565b7f43616c6c6572206973206e6f7420612061646d696e0000000000000000000000600082015250565b6000611dbf601583611891565b9150611dca82611d89565b602082019050919050565b60006020820190508181036000830152611dee81611db2565b9050919050565b600081519050611e04816119a0565b92915050565b600060208284031215611e2057611e1f6117c6565b5b6000611e2e84828501611df5565b91505092915050565b6000604082019050611e4c6000830185611be7565b611e596020830184611a0c565b9392505050565b600081519050611e6f81611c11565b92915050565b600060208284031215611e8b57611e8a6117c6565b5b6000611e9984828501611e60565b91505092915050565b6000606082019050611eb76000830186611be7565b611ec46020830185611a0c565b611ed16040830184611a0c565b949350505050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b6000611f35602983611891565b9150611f4082611ed9565b604082019050919050565b60006020820190508181036000830152611f6481611f28565b9050919050565b7f596f752063616e2774207472616e7366657220746f6b656e7300000000000000600082015250565b6000611fa1601983611891565b9150611fac82611f6b565b602082019050919050565b60006020820190508181036000830152611fd081611f94565b9050919050565b6000604082019050611fec6000830185611be7565b611ff96020830184611aec565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061203a82611996565b915061204583611996565b925082820190508082111561205d5761205c612000565b5b9291505056fea26469706673582212202e183538f6c9922cd48a963ef16cd7aac3c9e39a7e45550e4cea583682719f9464736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000086920e509367b32a83c966e7e2bf06cc90a8f7f8
-----Decoded View---------------
Arg [0] : principal (address): 0x86920e509367B32A83c966E7E2bf06cc90a8f7F8
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000086920e509367b32a83c966e7e2bf06cc90a8f7f8
Loading...
Loading
Loading...
Loading
[ 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.