ERC-20
Mining
Overview
Max Total Supply
100,000,000 LMX
Holders
30 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
99,706,263.05236945259587 LMXValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LmxToken
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)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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) (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/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 pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @title ERC1404 * @dev Security token standard * Inherit from this contract to implement your own ERC-1404 token */ abstract contract ERC1404 is ERC20 { /// @notice Detects if a transfer will be reverted and if so returns an appropriate reference code /// @param from Sending address /// @param to Receiving address /// @param value Amount of tokens being transferred /// @return restrictionCode by which to reference message for rejection reasoning /// @dev Overwrite with your custom transfer restriction logic function detectTransferRestriction (address from, address to, uint256 value) public view virtual returns (uint8 restrictionCode); /// @notice Returns a human-readable message for a given restriction code /// @param restrictionCode Identifier for looking up a message /// @return message showing the restriction's reasoning /// @dev Overwrite with your custom message and restrictionCode handling function messageForTransferRestriction (uint8 restrictionCode) public view virtual returns (string memory message); } /** * @title Managed * @dev The Managed contract has an a managers mapping, and provides basic authorization control via manager/owner * modifiers as well as manager addition/removal/checks via functions". */ contract Managed is Ownable { mapping (address => bool) public managers; modifier onlyManager () { require(isManager(), "Only managers may perform this action"); _; } modifier onlyManagerOrOwner () { require( checkManagerStatus(msg.sender) || msg.sender == owner(), "Only managers or owners may perform this action" ); _; } constructor() Ownable(msg.sender) { } function checkManagerStatus (address managerAddress) public view returns (bool status) { status = managers[managerAddress]; } function isManager () public view returns (bool status) { status = checkManagerStatus(msg.sender); } function addManager (address managerAddress) public onlyOwner { managers[managerAddress] = true; } function removeManager (address managerAddress) public onlyOwner { managers[managerAddress] = false; } } /** * @title LmxToken * @dev The LmxToken contract inherits the ERC1404 security token contract. * Transacting abilities are managed through a whitelist. The whitelist is managed by owner and delegators * manage the list". */ contract LmxToken is ERC1404, Managed { uint8 public constant SUCCESS_CODE = 0; uint8 public constant SEND_NOT_ALLOWED_CODE = 1; uint8 public constant RECEIVE_NOT_ALLOWED_CODE = 2; string public constant SUCCESS_MESSAGE = "SUCCESS"; string public constant SEND_NOT_ALLOWED_ERROR = "ILLEGAL_TRANSFER_SENDING_ACCOUNT_NOT_WHITELISTED"; string public constant RECEIVE_NOT_ALLOWED_ERROR = "ILLEGAL_TRANSFER_RECEIVING_ACCOUNT_NOT_WHITELISTED"; mapping (uint8 => string) public messages; mapping (address => bool) public whitelist; modifier notRestricted (address from, address to, uint256 value) { uint8 restrictionCode = detectTransferRestriction(from, to, value); require(restrictionCode == SUCCESS_CODE, messageForTransferRestriction(restrictionCode)); _; } constructor () ERC20("Liquid Mining Fund", "LMX"){ messages[0] = SUCCESS_MESSAGE; messages[1] = SEND_NOT_ALLOWED_ERROR; messages[2] = RECEIVE_NOT_ALLOWED_ERROR; _mint(msg.sender, 100000000000000000000000000); } function messageForTransferRestriction (uint8 restrictionCode) public view virtual override returns (string memory message) { message = messages[restrictionCode]; } function detectTransferRestriction (address from, address to, uint value) public view override returns (uint8 restrictionCode) { if (!whitelist[from]) { restrictionCode = SEND_NOT_ALLOWED_CODE; // sender address not whitelisted } else if (!whitelist[to]) { restrictionCode = RECEIVE_NOT_ALLOWED_CODE; // receiver address not whitelisted } else { restrictionCode = SUCCESS_CODE; // successful transfer (required) } } function transfer (address to, uint256 value) public override notRestricted(msg.sender, to, value) returns (bool success) { success = super.transfer(to, value); } function transferFrom (address from, address to, uint256 value) public override notRestricted(from, to, value) returns (bool success) { success = super.transferFrom(from, to, value); } function approve(address spender, uint256 amount) public override notRestricted(msg.sender, spender, amount) returns (bool success) { success = super.approve(spender, amount); } function addToWhitelist (address operator) public onlyManagerOrOwner { whitelist[operator] = true; } function removeFromWhitelist (address operator) public onlyManagerOrOwner { whitelist[operator] = false; } }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"RECEIVE_NOT_ALLOWED_CODE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RECEIVE_NOT_ALLOWED_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEND_NOT_ALLOWED_CODE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEND_NOT_ALLOWED_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUCCESS_CODE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUCCESS_MESSAGE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"managerAddress","type":"address"}],"name":"addManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","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":"managerAddress","type":"address"}],"name":"checkManagerStatus","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"detectTransferRestriction","outputs":[{"internalType":"uint8","name":"restrictionCode","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isManager","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"managers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"restrictionCode","type":"uint8"}],"name":"messageForTransferRestriction","outputs":[{"internalType":"string","name":"message","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"messages","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"managerAddress","type":"address"}],"name":"removeManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"success","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":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50336040518060400160405280601281526020017f4c6971756964204d696e696e672046756e6400000000000000000000000000008152506040518060400160405280600381526020017f4c4d580000000000000000000000000000000000000000000000000000000000815250816003908162000090919062000827565b508060049081620000a2919062000827565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200011a5760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040162000111919062000953565b60405180910390fd5b6200012b816200022a60201b60201c565b506040518060400160405280600781526020017f5355434345535300000000000000000000000000000000000000000000000000815250600760008060ff168152602001908152602001600020908162000186919062000827565b50604051806060016040528060308152602001620027236030913960076000600160ff1681526020019081526020016000209081620001c6919062000827565b50604051806060016040528060328152602001620027536032913960076000600260ff168152602001908152602001600020908162000206919062000827565b5062000224336a52b7d2dcc80cd2e4000000620002f060201b60201c565b62000a45565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003655760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200035c919062000953565b60405180910390fd5b62000379600083836200037d60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620003d3578060026000828254620003c691906200099f565b92505081905550620004a9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562000462578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200045993929190620009eb565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004f4578060026000828254039250508190555062000541565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005a0919062000a28565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200062f57607f821691505b602082108103620006455762000644620005e7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000670565b620006bb868362000670565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200070862000702620006fc84620006d3565b620006dd565b620006d3565b9050919050565b6000819050919050565b6200072483620006e7565b6200073c62000733826200070f565b8484546200067d565b825550505050565b600090565b6200075362000744565b6200076081848462000719565b505050565b5b8181101562000788576200077c60008262000749565b60018101905062000766565b5050565b601f821115620007d757620007a1816200064b565b620007ac8462000660565b81016020851015620007bc578190505b620007d4620007cb8562000660565b83018262000765565b50505b505050565b600082821c905092915050565b6000620007fc60001984600802620007dc565b1980831691505092915050565b6000620008178383620007e9565b9150826002028217905092915050565b6200083282620005ad565b67ffffffffffffffff8111156200084e576200084d620005b8565b5b6200085a825462000616565b620008678282856200078c565b600060209050601f8311600181146200089f57600084156200088a578287015190505b62000896858262000809565b86555062000906565b601f198416620008af866200064b565b60005b82811015620008d957848901518255600182019150602085019450602081019050620008b2565b86831015620008f95784890151620008f5601f891682620007e9565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200093b826200090e565b9050919050565b6200094d816200092e565b82525050565b60006020820190506200096a600083018462000942565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620009ac82620006d3565b9150620009b983620006d3565b9250828201905080821115620009d457620009d362000970565b5b92915050565b620009e581620006d3565b82525050565b600060608201905062000a02600083018662000942565b62000a116020830185620009da565b62000a206040830184620009da565b949350505050565b600060208201905062000a3f6000830184620009da565b92915050565b611cce8062000a556000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806391f536fd11610104578063c56a3e88116100a2578063e7984d1711610071578063e7984d1714610548578063f281e7d114610566578063f2fde38b14610596578063fdff9b4d146105b2576101cf565b8063c56a3e88146104ae578063d4ce1415146104cc578063dd62ed3e146104fc578063e43252d71461052c576101cf565b8063a07e400f116100de578063a07e400f14610426578063a9059cbb14610444578063ac18de4314610474578063b588844414610490576101cf565b806391f536fd146103a857806395d89b41146103d85780639b19251a146103f6576101cf565b80635c7c08b7116101715780637f4ab1dd1161014b5780637f4ab1dd1461032057806380e08cd5146103505780638ab1d6811461036e5780638da5cb5b1461038a576101cf565b80635c7c08b7146102c857806370a08231146102e6578063715018a614610316576101cf565b806318160ddd116101ad57806318160ddd1461024057806323b872dd1461025e5780632d06177a1461028e578063313ce567146102aa576101cf565b806306fdde03146101d4578063095ea7b3146101f25780630e969a0514610222575b600080fd5b6101dc6105e2565b6040516101e991906117d5565b60405180910390f35b61020c60048036038101906102079190611890565b610674565b60405161021991906118eb565b60405180910390f35b61022a6106f3565b6040516102379190611922565b60405180910390f35b6102486106f8565b604051610255919061194c565b60405180910390f35b61027860048036038101906102739190611967565b610702565b60405161028591906118eb565b60405180910390f35b6102a860048036038101906102a391906119ba565b610783565b005b6102b26107e6565b6040516102bf9190611922565b60405180910390f35b6102d06107ef565b6040516102dd9190611922565b60405180910390f35b61030060048036038101906102fb91906119ba565b6107f4565b60405161030d919061194c565b60405180910390f35b61031e61083c565b005b61033a60048036038101906103359190611a13565b610850565b60405161034791906117d5565b60405180910390f35b6103586108fb565b60405161036591906117d5565b60405180910390f35b610388600480360381019061038391906119ba565b610917565b005b6103926109f7565b60405161039f9190611a4f565b60405180910390f35b6103c260048036038101906103bd9190611a13565b610a21565b6040516103cf91906117d5565b60405180910390f35b6103e0610ac1565b6040516103ed91906117d5565b60405180910390f35b610410600480360381019061040b91906119ba565b610b53565b60405161041d91906118eb565b60405180910390f35b61042e610b73565b60405161043b91906117d5565b60405180910390f35b61045e60048036038101906104599190611890565b610b8f565b60405161046b91906118eb565b60405180910390f35b61048e600480360381019061048991906119ba565b610c0e565b005b610498610c71565b6040516104a59190611922565b60405180910390f35b6104b6610c76565b6040516104c391906118eb565b60405180910390f35b6104e660048036038101906104e19190611967565b610c86565b6040516104f39190611922565b60405180910390f35b61051660048036038101906105119190611a6a565b610d49565b604051610523919061194c565b60405180910390f35b610546600480360381019061054191906119ba565b610dd0565b005b610550610eb0565b60405161055d91906117d5565b60405180910390f35b610580600480360381019061057b91906119ba565b610ee9565b60405161058d91906118eb565b60405180910390f35b6105b060048036038101906105ab91906119ba565b610f3f565b005b6105cc60048036038101906105c791906119ba565b610fc5565b6040516105d991906118eb565b60405180910390f35b6060600380546105f190611ad9565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90611ad9565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b5050505050905090565b60003383836000610686848484610c86565b9050600060ff168160ff161461069b82610850565b906106dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d391906117d5565b60405180910390fd5b506106e78787610fe5565b94505050505092915050565b600081565b6000600254905090565b60008383836000610714848484610c86565b9050600060ff168160ff161461072982610850565b9061076a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076191906117d5565b60405180910390fd5b50610776888888611008565b9450505050509392505050565b61078b611037565b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006012905090565b600181565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610844611037565b61084e60006110be565b565b6060600760008360ff1660ff168152602001908152602001600020805461087690611ad9565b80601f01602080910402602001604051908101604052809291908181526020018280546108a290611ad9565b80156108ef5780601f106108c4576101008083540402835291602001916108ef565b820191906000526020600020905b8154815290600101906020018083116108d257829003601f168201915b50505050509050919050565b604051806060016040528060308152602001611c376030913981565b61092033610ee9565b8061095d575061092e6109f7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61099c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099390611b7c565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60076020528060005260406000206000915090508054610a4090611ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6c90611ad9565b8015610ab95780601f10610a8e57610100808354040283529160200191610ab9565b820191906000526020600020905b815481529060010190602001808311610a9c57829003601f168201915b505050505081565b606060048054610ad090611ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc90611ad9565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b60086020528060005260406000206000915054906101000a900460ff1681565b604051806060016040528060328152602001611c676032913981565b60003383836000610ba1848484610c86565b9050600060ff168160ff1614610bb682610850565b90610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee91906117d5565b60405180910390fd5b50610c028787611184565b94505050505092915050565b610c16611037565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600281565b6000610c8133610ee9565b905090565b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ce25760019050610d42565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d3c5760029050610d41565b600090505b5b9392505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610dd933610ee9565b80610e165750610de76109f7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c90611b7c565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6040518060400160405280600781526020017f535543434553530000000000000000000000000000000000000000000000000081525081565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f47611037565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fb95760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610fb09190611a4f565b60405180910390fd5b610fc2816110be565b50565b60066020528060005260406000206000915054906101000a900460ff1681565b600080610ff06111a7565b9050610ffd8185856111af565b600191505092915050565b6000806110136111a7565b90506110208582856111c1565b61102b858585611255565b60019150509392505050565b61103f6111a7565b73ffffffffffffffffffffffffffffffffffffffff1661105d6109f7565b73ffffffffffffffffffffffffffffffffffffffff16146110bc576110806111a7565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016110b39190611a4f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061118f6111a7565b905061119c818585611255565b600191505092915050565b600033905090565b6111bc8383836001611349565b505050565b60006111cd8484610d49565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461124f578181101561123f578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161123693929190611b9c565b60405180910390fd5b61124e84848484036000611349565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112c75760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016112be9190611a4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113395760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016113309190611a4f565b60405180910390fd5b611344838383611520565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036113bb5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016113b29190611a4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361142d5760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016114249190611a4f565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561151a578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611511919061194c565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115725780600260008282546115669190611c02565b92505081905550611645565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156115fe578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016115f593929190611b9c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361168e57806002600082825403925050819055506116db565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611738919061194c565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561177f578082015181840152602081019050611764565b60008484015250505050565b6000601f19601f8301169050919050565b60006117a782611745565b6117b18185611750565b93506117c1818560208601611761565b6117ca8161178b565b840191505092915050565b600060208201905081810360008301526117ef818461179c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611827826117fc565b9050919050565b6118378161181c565b811461184257600080fd5b50565b6000813590506118548161182e565b92915050565b6000819050919050565b61186d8161185a565b811461187857600080fd5b50565b60008135905061188a81611864565b92915050565b600080604083850312156118a7576118a66117f7565b5b60006118b585828601611845565b92505060206118c68582860161187b565b9150509250929050565b60008115159050919050565b6118e5816118d0565b82525050565b600060208201905061190060008301846118dc565b92915050565b600060ff82169050919050565b61191c81611906565b82525050565b60006020820190506119376000830184611913565b92915050565b6119468161185a565b82525050565b6000602082019050611961600083018461193d565b92915050565b6000806000606084860312156119805761197f6117f7565b5b600061198e86828701611845565b935050602061199f86828701611845565b92505060406119b08682870161187b565b9150509250925092565b6000602082840312156119d0576119cf6117f7565b5b60006119de84828501611845565b91505092915050565b6119f081611906565b81146119fb57600080fd5b50565b600081359050611a0d816119e7565b92915050565b600060208284031215611a2957611a286117f7565b5b6000611a37848285016119fe565b91505092915050565b611a498161181c565b82525050565b6000602082019050611a646000830184611a40565b92915050565b60008060408385031215611a8157611a806117f7565b5b6000611a8f85828601611845565b9250506020611aa085828601611845565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611af157607f821691505b602082108103611b0457611b03611aaa565b5b50919050565b7f4f6e6c79206d616e6167657273206f72206f776e657273206d6179207065726660008201527f6f726d207468697320616374696f6e0000000000000000000000000000000000602082015250565b6000611b66602f83611750565b9150611b7182611b0a565b604082019050919050565b60006020820190508181036000830152611b9581611b59565b9050919050565b6000606082019050611bb16000830186611a40565b611bbe602083018561193d565b611bcb604083018461193d565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611c0d8261185a565b9150611c188361185a565b9250828201905080821115611c3057611c2f611bd3565b5b9291505056fe494c4c4547414c5f5452414e534645525f53454e44494e475f4143434f554e545f4e4f545f57484954454c4953544544494c4c4547414c5f5452414e534645525f524543454956494e475f4143434f554e545f4e4f545f57484954454c4953544544a2646970667358221220764b917a30cd358a4617e34b7858e869b9db0f68b950cc8a2b3918e7400c902664736f6c63430008140033494c4c4547414c5f5452414e534645525f53454e44494e475f4143434f554e545f4e4f545f57484954454c4953544544494c4c4547414c5f5452414e534645525f524543454956494e475f4143434f554e545f4e4f545f57484954454c4953544544
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806391f536fd11610104578063c56a3e88116100a2578063e7984d1711610071578063e7984d1714610548578063f281e7d114610566578063f2fde38b14610596578063fdff9b4d146105b2576101cf565b8063c56a3e88146104ae578063d4ce1415146104cc578063dd62ed3e146104fc578063e43252d71461052c576101cf565b8063a07e400f116100de578063a07e400f14610426578063a9059cbb14610444578063ac18de4314610474578063b588844414610490576101cf565b806391f536fd146103a857806395d89b41146103d85780639b19251a146103f6576101cf565b80635c7c08b7116101715780637f4ab1dd1161014b5780637f4ab1dd1461032057806380e08cd5146103505780638ab1d6811461036e5780638da5cb5b1461038a576101cf565b80635c7c08b7146102c857806370a08231146102e6578063715018a614610316576101cf565b806318160ddd116101ad57806318160ddd1461024057806323b872dd1461025e5780632d06177a1461028e578063313ce567146102aa576101cf565b806306fdde03146101d4578063095ea7b3146101f25780630e969a0514610222575b600080fd5b6101dc6105e2565b6040516101e991906117d5565b60405180910390f35b61020c60048036038101906102079190611890565b610674565b60405161021991906118eb565b60405180910390f35b61022a6106f3565b6040516102379190611922565b60405180910390f35b6102486106f8565b604051610255919061194c565b60405180910390f35b61027860048036038101906102739190611967565b610702565b60405161028591906118eb565b60405180910390f35b6102a860048036038101906102a391906119ba565b610783565b005b6102b26107e6565b6040516102bf9190611922565b60405180910390f35b6102d06107ef565b6040516102dd9190611922565b60405180910390f35b61030060048036038101906102fb91906119ba565b6107f4565b60405161030d919061194c565b60405180910390f35b61031e61083c565b005b61033a60048036038101906103359190611a13565b610850565b60405161034791906117d5565b60405180910390f35b6103586108fb565b60405161036591906117d5565b60405180910390f35b610388600480360381019061038391906119ba565b610917565b005b6103926109f7565b60405161039f9190611a4f565b60405180910390f35b6103c260048036038101906103bd9190611a13565b610a21565b6040516103cf91906117d5565b60405180910390f35b6103e0610ac1565b6040516103ed91906117d5565b60405180910390f35b610410600480360381019061040b91906119ba565b610b53565b60405161041d91906118eb565b60405180910390f35b61042e610b73565b60405161043b91906117d5565b60405180910390f35b61045e60048036038101906104599190611890565b610b8f565b60405161046b91906118eb565b60405180910390f35b61048e600480360381019061048991906119ba565b610c0e565b005b610498610c71565b6040516104a59190611922565b60405180910390f35b6104b6610c76565b6040516104c391906118eb565b60405180910390f35b6104e660048036038101906104e19190611967565b610c86565b6040516104f39190611922565b60405180910390f35b61051660048036038101906105119190611a6a565b610d49565b604051610523919061194c565b60405180910390f35b610546600480360381019061054191906119ba565b610dd0565b005b610550610eb0565b60405161055d91906117d5565b60405180910390f35b610580600480360381019061057b91906119ba565b610ee9565b60405161058d91906118eb565b60405180910390f35b6105b060048036038101906105ab91906119ba565b610f3f565b005b6105cc60048036038101906105c791906119ba565b610fc5565b6040516105d991906118eb565b60405180910390f35b6060600380546105f190611ad9565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90611ad9565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b5050505050905090565b60003383836000610686848484610c86565b9050600060ff168160ff161461069b82610850565b906106dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d391906117d5565b60405180910390fd5b506106e78787610fe5565b94505050505092915050565b600081565b6000600254905090565b60008383836000610714848484610c86565b9050600060ff168160ff161461072982610850565b9061076a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076191906117d5565b60405180910390fd5b50610776888888611008565b9450505050509392505050565b61078b611037565b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006012905090565b600181565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610844611037565b61084e60006110be565b565b6060600760008360ff1660ff168152602001908152602001600020805461087690611ad9565b80601f01602080910402602001604051908101604052809291908181526020018280546108a290611ad9565b80156108ef5780601f106108c4576101008083540402835291602001916108ef565b820191906000526020600020905b8154815290600101906020018083116108d257829003601f168201915b50505050509050919050565b604051806060016040528060308152602001611c376030913981565b61092033610ee9565b8061095d575061092e6109f7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61099c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099390611b7c565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60076020528060005260406000206000915090508054610a4090611ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6c90611ad9565b8015610ab95780601f10610a8e57610100808354040283529160200191610ab9565b820191906000526020600020905b815481529060010190602001808311610a9c57829003601f168201915b505050505081565b606060048054610ad090611ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc90611ad9565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b60086020528060005260406000206000915054906101000a900460ff1681565b604051806060016040528060328152602001611c676032913981565b60003383836000610ba1848484610c86565b9050600060ff168160ff1614610bb682610850565b90610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee91906117d5565b60405180910390fd5b50610c028787611184565b94505050505092915050565b610c16611037565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600281565b6000610c8133610ee9565b905090565b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ce25760019050610d42565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d3c5760029050610d41565b600090505b5b9392505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610dd933610ee9565b80610e165750610de76109f7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c90611b7c565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6040518060400160405280600781526020017f535543434553530000000000000000000000000000000000000000000000000081525081565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f47611037565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fb95760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610fb09190611a4f565b60405180910390fd5b610fc2816110be565b50565b60066020528060005260406000206000915054906101000a900460ff1681565b600080610ff06111a7565b9050610ffd8185856111af565b600191505092915050565b6000806110136111a7565b90506110208582856111c1565b61102b858585611255565b60019150509392505050565b61103f6111a7565b73ffffffffffffffffffffffffffffffffffffffff1661105d6109f7565b73ffffffffffffffffffffffffffffffffffffffff16146110bc576110806111a7565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016110b39190611a4f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061118f6111a7565b905061119c818585611255565b600191505092915050565b600033905090565b6111bc8383836001611349565b505050565b60006111cd8484610d49565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461124f578181101561123f578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161123693929190611b9c565b60405180910390fd5b61124e84848484036000611349565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112c75760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016112be9190611a4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113395760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016113309190611a4f565b60405180910390fd5b611344838383611520565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036113bb5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016113b29190611a4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361142d5760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016114249190611a4f565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561151a578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611511919061194c565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115725780600260008282546115669190611c02565b92505081905550611645565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156115fe578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016115f593929190611b9c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361168e57806002600082825403925050819055506116db565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611738919061194c565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561177f578082015181840152602081019050611764565b60008484015250505050565b6000601f19601f8301169050919050565b60006117a782611745565b6117b18185611750565b93506117c1818560208601611761565b6117ca8161178b565b840191505092915050565b600060208201905081810360008301526117ef818461179c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611827826117fc565b9050919050565b6118378161181c565b811461184257600080fd5b50565b6000813590506118548161182e565b92915050565b6000819050919050565b61186d8161185a565b811461187857600080fd5b50565b60008135905061188a81611864565b92915050565b600080604083850312156118a7576118a66117f7565b5b60006118b585828601611845565b92505060206118c68582860161187b565b9150509250929050565b60008115159050919050565b6118e5816118d0565b82525050565b600060208201905061190060008301846118dc565b92915050565b600060ff82169050919050565b61191c81611906565b82525050565b60006020820190506119376000830184611913565b92915050565b6119468161185a565b82525050565b6000602082019050611961600083018461193d565b92915050565b6000806000606084860312156119805761197f6117f7565b5b600061198e86828701611845565b935050602061199f86828701611845565b92505060406119b08682870161187b565b9150509250925092565b6000602082840312156119d0576119cf6117f7565b5b60006119de84828501611845565b91505092915050565b6119f081611906565b81146119fb57600080fd5b50565b600081359050611a0d816119e7565b92915050565b600060208284031215611a2957611a286117f7565b5b6000611a37848285016119fe565b91505092915050565b611a498161181c565b82525050565b6000602082019050611a646000830184611a40565b92915050565b60008060408385031215611a8157611a806117f7565b5b6000611a8f85828601611845565b9250506020611aa085828601611845565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611af157607f821691505b602082108103611b0457611b03611aaa565b5b50919050565b7f4f6e6c79206d616e6167657273206f72206f776e657273206d6179207065726660008201527f6f726d207468697320616374696f6e0000000000000000000000000000000000602082015250565b6000611b66602f83611750565b9150611b7182611b0a565b604082019050919050565b60006020820190508181036000830152611b9581611b59565b9050919050565b6000606082019050611bb16000830186611a40565b611bbe602083018561193d565b611bcb604083018461193d565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611c0d8261185a565b9150611c188361185a565b9250828201905080821115611c3057611c2f611bd3565b5b9291505056fe494c4c4547414c5f5452414e534645525f53454e44494e475f4143434f554e545f4e4f545f57484954454c4953544544494c4c4547414c5f5452414e534645525f524543454956494e475f4143434f554e545f4e4f545f57484954454c4953544544a2646970667358221220764b917a30cd358a4617e34b7858e869b9db0f68b950cc8a2b3918e7400c902664736f6c63430008140033
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.