Polygon Sponsored slots available. Book your slot here!
ERC-20
Overview
Max Total Supply
3,370,138,436.046272028310768214 VIS
Holders
90,341
Total Transfers
-
Market
Price
$0.00 @ 0.000000 POL
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Vigorus
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/Vigorus.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./@openzeppelin/contracts/access/AccessControl.sol"; contract Vigorus is ERC20, AccessControl { bytes32 public constant OWNER_ROLE = keccak256("OWNER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPE_HASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the approve struct used by the contract bytes32 public constant CLAIM_TYPE_HASH = keccak256("Claim(address player,string txId,uint256 amount)"); bytes32 public domainSeparator; /// @notice A record of states for signing / validating signatures mapping(address => bool) public signers; /// @notice A record of states for claimed transactions mapping(string => uint) public claimTransactions; event BurnForReason ( uint amount, string reason ); event SignerAdded ( address signer ); event SignerRemoved ( address signer ); event Claimed( address player, string txId, uint256 amount ); constructor() ERC20("Vigorus", "VIS") { _setRoleAdmin(OWNER_ROLE, OWNER_ROLE); _setRoleAdmin(MINTER_ROLE, OWNER_ROLE); _setupRole(OWNER_ROLE, msg.sender); domainSeparator = keccak256( abi.encode(DOMAIN_TYPE_HASH, keccak256(bytes("Pegaxy|Vigorus")), getChainId(), address(this)) ); } function addSigner (address signer) public onlyRole(OWNER_ROLE) { require(signer != address(0), "Vigorus: signer is invalid"); require(signers[signer] == false, "Vigorus: signer is exists"); signers[signer] = true; emit SignerAdded(signer); } function removeSigner (address signer) public onlyRole(OWNER_ROLE) { require(signer != address(0), "Vigorus: signer is invalid"); require(signers[signer] == true, "Vigorus: signer is not exists"); signers[signer] = false; emit SignerRemoved(signer); } function mint(address account, uint256 amount) public onlyRole(MINTER_ROLE) { _mint(account, amount); } function burn(uint256 amount) public { _burn(msg.sender, amount); } function burnFor(uint256 amount, string memory reason) public { _burn(msg.sender, amount); emit BurnForReason(amount, reason); } function getClaimed(string memory txId) public view returns (uint256) { return claimTransactions[txId]; } function claim(address player, string memory txId, uint256 amount, uint8 v, bytes32 r, bytes32 s) public { require(player != address(0), "Vigorus: Invalid claimer"); require(amount > 0, "Vigorus: Invalid amount"); bytes32 structHash = keccak256(abi.encode(CLAIM_TYPE_HASH, player, keccak256(bytes(txId)), amount)); bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); address signatory = ecrecover(digest, v, r, s); require(signers[signatory], "Vigorus: Signer is not valid"); require(claimTransactions[txId] == 0, "Vigorus: transaction is claimed"); claimTransactions[txId] = amount; _mint(player, amount); emit Claimed(player, txId, amount); } function getChainId() internal view returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 value {ERC20} uses, unless this function is * 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` 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. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @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: * * ``` * 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}: * * ``` * 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. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping (address => bool) members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_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 Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ */ function _checkRole(bytes32 role, address account) internal view { if(!hasRole(role, account)) { revert(string(abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ))); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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 pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./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); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 800 }, "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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"BurnForReason","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"string","name":"txId","type":"string"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","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":false,"internalType":"address","name":"signer","type":"address"}],"name":"SignerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"signer","type":"address"}],"name":"SignerRemoved","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":"CLAIM_TYPE_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPE_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"addSigner","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":"","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"reason","type":"string"}],"name":"burnFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"player","type":"address"},{"internalType":"string","name":"txId","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"claimTransactions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"domainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"txId","type":"string"}],"name":"getClaimed","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"removeSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"signers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051806040016040528060078152602001665669676f72757360c81b8152506040518060400160405280600381526020016256495360e81b8152508160039080519060200190620000669291906200029f565b5080516200007c9060049060208401906200029f565b505050620000a06000805160206200204a833981519152806200019760201b60201c565b620000db7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66000805160206200204a83398151915262000197565b620000f66000805160206200204a83398151915233620001eb565b604080518082018252600e81526d5065676178797c5669676f72757360901b60209182015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527f2b6744eb7c211dd70d33734f4c5af57c3beadb473069cd772a5aedb340af277881840152466060820152306080808301919091528351808303909101815260a0909101909252815191012060065562000382565b600082815260056020526040902060010154819060405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a460009182526005602052604090912060010155565b620001f78282620001fb565b5050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620001f75760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200025b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620002ad9062000345565b90600052602060002090601f016020900481019282620002d157600085556200031c565b82601f10620002ec57805160ff19168380011785556200031c565b828001600101855582156200031c579182015b828111156200031c578251825591602001919060010190620002ff565b506200032a9291506200032e565b5090565b5b808211156200032a57600081556001016200032f565b600181811c908216806200035a57607f821691505b602082108114156200037c57634e487b7160e01b600052602260045260246000fd5b50919050565b611cb880620003926000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063736c0d5b1161010f578063c0993eea116100a2578063dd62ed3e11610071578063dd62ed3e146104b7578063e58378bb146104f0578063eb12d61e14610517578063f698da251461052a57600080fd5b8063c0993eea1461042f578063cc23594e14610456578063d53913931461047d578063d547741f146104a457600080fd5b80639d4bfc6c116100de5780639d4bfc6c146103ee578063a217fddf14610401578063a457c2d714610409578063a9059cbb1461041c57600080fd5b8063736c0d5b1461037757806391d148541461039a57806391fd7fec146103d357806395d89b41146103e657600080fd5b8063313ce5671161018757806342966c681161015657806342966c68146102fd5780636023fd5e1461031057806362f850d51461033b57806370a082311461034e57600080fd5b8063313ce567146102b557806336568abe146102c457806339509351146102d757806340c10f19146102ea57600080fd5b806318160ddd116101c357806318160ddd1461025a57806323b872dd1461026c578063248a9ca31461027f5780632f2ff15d146102a257600080fd5b806301ffc9a7146101f557806306fdde031461021d578063095ea7b3146102325780630e316ab714610245575b600080fd5b6102086102033660046119e0565b610533565b60405190151581526020015b60405180910390f35b61022561056a565b6040516102149190611b83565b61020861024036600461197d565b6105fc565b610258610253366004611877565b610612565b005b6002545b604051908152602001610214565b61020861027a3660046118c3565b61075e565b61025e61028d3660046119a6565b60009081526005602052604090206001015490565b6102586102b03660046119be565b610824565b60405160128152602001610214565b6102586102d23660046119be565b61084f565b6102086102e536600461197d565b6108db565b6102586102f836600461197d565b610912565b61025861030b3660046119a6565b610947565b61025e61031e366004611a08565b805160208183018101805160088252928201919093012091525481565b610258610349366004611a43565b610954565b61025e61035c366004611877565b6001600160a01b031660009081526020819052604090205490565b610208610385366004611877565b60076020526000908152604090205460ff1681565b6102086103a83660046119be565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6102586103e13660046118fe565b61098f565b610225610c84565b61025e6103fc366004611a08565b610c93565b61025e600081565b61020861041736600461197d565b610cbb565b61020861042a36600461197d565b610d6e565b61025e7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61025e7f21f041857f940ce3b14607d319e85cd0a0dc2337793caf3e50077368c1d2220281565b61025e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102586104b23660046119be565b610d7b565b61025e6104c5366004611891565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61025e7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e81565b610258610525366004611877565b610da1565b61025e60065481565b60006001600160e01b03198216637965db0b60e01b148061056457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461057990611c44565b80601f01602080910402602001604051908101604052809291908181526020018280546105a590611c44565b80156105f25780601f106105c7576101008083540402835291602001916105f2565b820191906000526020600020905b8154815290600101906020018083116105d557829003601f168201915b5050505050905090565b6000610609338484610edf565b50600192915050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61063d8133611004565b6001600160a01b0382166106985760405162461bcd60e51b815260206004820152601a60248201527f5669676f7275733a207369676e657220697320696e76616c696400000000000060448201526064015b60405180910390fd5b6001600160a01b03821660009081526007602052604090205460ff1615156001146107055760405162461bcd60e51b815260206004820152601d60248201527f5669676f7275733a207369676e6572206973206e6f7420657869737473000000604482015260640161068f565b6001600160a01b038216600081815260076020908152604091829020805460ff1916905590519182527f3525e22824a8a7df2c9a6029941c824cf95b6447f1e13d5128fd3826d35afe8b91015b60405180910390a15050565b600061076b848484611084565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108055760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000606482015260840161068f565b61081985336108148685611be6565b610edf565b506001949350505050565b6000828152600560205260409020600101546108408133611004565b61084a838361128b565b505050565b6001600160a01b03811633146108cd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161068f565b6108d7828261132d565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610609918590610814908690611baf565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661093d8133611004565b61084a83836113b0565b610951338261148f565b50565b61095e338361148f565b7f32574fc019df48df87cf4dd00367bd1fd7fd7296d4e675c3f00484bd5ea43d298282604051610752929190611b96565b6001600160a01b0386166109e55760405162461bcd60e51b815260206004820152601860248201527f5669676f7275733a20496e76616c696420636c61696d65720000000000000000604482015260640161068f565b60008411610a355760405162461bcd60e51b815260206004820152601760248201527f5669676f7275733a20496e76616c696420616d6f756e74000000000000000000604482015260640161068f565b8451602080870191909120604080517f21f041857f940ce3b14607d319e85cd0a0dc2337793caf3e50077368c1d22202818501526001600160a01b038a1681830152606081019290925260808083018890528151808403909101815260a08301909152805192019190912060065461190160f01b60c084015260c283015260e28201819052906000906101020160408051601f198184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610b2d573d6000803e3d6000fd5b505060408051601f1901516001600160a01b03811660009081526007602052919091205490925060ff169050610ba55760405162461bcd60e51b815260206004820152601c60248201527f5669676f7275733a205369676e6572206973206e6f742076616c696400000000604482015260640161068f565b600888604051610bb59190611ab4565b908152602001604051809103902054600014610c135760405162461bcd60e51b815260206004820152601f60248201527f5669676f7275733a207472616e73616374696f6e20697320636c61696d656400604482015260640161068f565b86600889604051610c249190611ab4565b90815260405190819003602001902055610c3e89886113b0565b7f9d2f14df77ba038ff6f9ba99bbdcfbc30f1650b9574e3b7bbae993df15a92f30898989604051610c7193929190611b51565b60405180910390a1505050505050505050565b60606004805461057990611c44565b6000600882604051610ca59190611ab4565b9081526020016040518091039020549050919050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610d555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161068f565b610d6433856108148685611be6565b5060019392505050565b6000610609338484611084565b600082815260056020526040902060010154610d978133611004565b61084a838361132d565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610dcc8133611004565b6001600160a01b038216610e225760405162461bcd60e51b815260206004820152601a60248201527f5669676f7275733a207369676e657220697320696e76616c6964000000000000604482015260640161068f565b6001600160a01b03821660009081526007602052604090205460ff1615610e8b5760405162461bcd60e51b815260206004820152601960248201527f5669676f7275733a207369676e65722069732065786973747300000000000000604482015260640161068f565b6001600160a01b038216600081815260076020908152604091829020805460ff1916600117905590519182527f47d1c22a25bb3a5d4e481b9b1e6944c2eade3181a0a20b495ed61d35b5323f249101610752565b6001600160a01b038316610f415760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161068f565b6001600160a01b038216610fa25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161068f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166108d757611042816001600160a01b031660146115de565b61104d8360206115de565b60405160200161105e929190611ad0565b60408051601f198184030181529082905262461bcd60e51b825261068f91600401611b83565b6001600160a01b0383166111005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161068f565b6001600160a01b0382166111625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161068f565b6001600160a01b038316600090815260208190526040902054818110156111f15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161068f565b6111fb8282611be6565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611231908490611baf565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161127d91815260200190565b60405180910390a350505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166108d75760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112e93390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16156108d75760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166114065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161068f565b80600260008282546114189190611baf565b90915550506001600160a01b03821660009081526020819052604081208054839290611445908490611baf565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166114ef5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161068f565b6001600160a01b038216600090815260208190526040902054818110156115635760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161068f565b61156d8282611be6565b6001600160a01b0384166000908152602081905260408120919091556002805484929061159b908490611be6565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ff7565b606060006115ed836002611bc7565b6115f8906002611baf565b67ffffffffffffffff81111561161e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611648576020820181803683370190505b509050600360fc1b8160008151811061167157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106116ae57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006116d2846002611bc7565b6116dd906001611baf565b90505b600181111561177e577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061172c57634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061175057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361177781611c2d565b90506116e0565b5083156117cd5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161068f565b9392505050565b80356001600160a01b03811681146117eb57600080fd5b919050565b600082601f830112611800578081fd5b813567ffffffffffffffff8082111561181b5761181b611c95565b604051601f8301601f19908116603f0116810190828211818310171561184357611843611c95565b8160405283815286602085880101111561185b578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215611888578081fd5b6117cd826117d4565b600080604083850312156118a3578081fd5b6118ac836117d4565b91506118ba602084016117d4565b90509250929050565b6000806000606084860312156118d7578081fd5b6118e0846117d4565b92506118ee602085016117d4565b9150604084013590509250925092565b60008060008060008060c08789031215611916578182fd5b61191f876117d4565b9550602087013567ffffffffffffffff81111561193a578283fd5b61194689828a016117f0565b95505060408701359350606087013560ff81168114611963578283fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561198f578182fd5b611998836117d4565b946020939093013593505050565b6000602082840312156119b7578081fd5b5035919050565b600080604083850312156119d0578182fd5b823591506118ba602084016117d4565b6000602082840312156119f1578081fd5b81356001600160e01b0319811681146117cd578182fd5b600060208284031215611a19578081fd5b813567ffffffffffffffff811115611a2f578182fd5b611a3b848285016117f0565b949350505050565b60008060408385031215611a55578182fd5b82359150602083013567ffffffffffffffff811115611a72578182fd5b611a7e858286016117f0565b9150509250929050565b60008151808452611aa0816020860160208601611bfd565b601f01601f19169290920160200192915050565b60008251611ac6818460208701611bfd565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b08816017850160208801611bfd565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351611b45816028840160208801611bfd565b01602801949350505050565b6001600160a01b0384168152606060208201526000611b736060830185611a88565b9050826040830152949350505050565b6020815260006117cd6020830184611a88565b828152604060208201526000611a3b6040830184611a88565b60008219821115611bc257611bc2611c7f565b500190565b6000816000190483118215151615611be157611be1611c7f565b500290565b600082821015611bf857611bf8611c7f565b500390565b60005b83811015611c18578181015183820152602001611c00565b83811115611c27576000848401525b50505050565b600081611c3c57611c3c611c7f565b506000190190565b600181811c90821680611c5857607f821691505b60208210811415611c7957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea164736f6c6343000804000ab19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063736c0d5b1161010f578063c0993eea116100a2578063dd62ed3e11610071578063dd62ed3e146104b7578063e58378bb146104f0578063eb12d61e14610517578063f698da251461052a57600080fd5b8063c0993eea1461042f578063cc23594e14610456578063d53913931461047d578063d547741f146104a457600080fd5b80639d4bfc6c116100de5780639d4bfc6c146103ee578063a217fddf14610401578063a457c2d714610409578063a9059cbb1461041c57600080fd5b8063736c0d5b1461037757806391d148541461039a57806391fd7fec146103d357806395d89b41146103e657600080fd5b8063313ce5671161018757806342966c681161015657806342966c68146102fd5780636023fd5e1461031057806362f850d51461033b57806370a082311461034e57600080fd5b8063313ce567146102b557806336568abe146102c457806339509351146102d757806340c10f19146102ea57600080fd5b806318160ddd116101c357806318160ddd1461025a57806323b872dd1461026c578063248a9ca31461027f5780632f2ff15d146102a257600080fd5b806301ffc9a7146101f557806306fdde031461021d578063095ea7b3146102325780630e316ab714610245575b600080fd5b6102086102033660046119e0565b610533565b60405190151581526020015b60405180910390f35b61022561056a565b6040516102149190611b83565b61020861024036600461197d565b6105fc565b610258610253366004611877565b610612565b005b6002545b604051908152602001610214565b61020861027a3660046118c3565b61075e565b61025e61028d3660046119a6565b60009081526005602052604090206001015490565b6102586102b03660046119be565b610824565b60405160128152602001610214565b6102586102d23660046119be565b61084f565b6102086102e536600461197d565b6108db565b6102586102f836600461197d565b610912565b61025861030b3660046119a6565b610947565b61025e61031e366004611a08565b805160208183018101805160088252928201919093012091525481565b610258610349366004611a43565b610954565b61025e61035c366004611877565b6001600160a01b031660009081526020819052604090205490565b610208610385366004611877565b60076020526000908152604090205460ff1681565b6102086103a83660046119be565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6102586103e13660046118fe565b61098f565b610225610c84565b61025e6103fc366004611a08565b610c93565b61025e600081565b61020861041736600461197d565b610cbb565b61020861042a36600461197d565b610d6e565b61025e7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61025e7f21f041857f940ce3b14607d319e85cd0a0dc2337793caf3e50077368c1d2220281565b61025e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102586104b23660046119be565b610d7b565b61025e6104c5366004611891565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61025e7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e81565b610258610525366004611877565b610da1565b61025e60065481565b60006001600160e01b03198216637965db0b60e01b148061056457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461057990611c44565b80601f01602080910402602001604051908101604052809291908181526020018280546105a590611c44565b80156105f25780601f106105c7576101008083540402835291602001916105f2565b820191906000526020600020905b8154815290600101906020018083116105d557829003601f168201915b5050505050905090565b6000610609338484610edf565b50600192915050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61063d8133611004565b6001600160a01b0382166106985760405162461bcd60e51b815260206004820152601a60248201527f5669676f7275733a207369676e657220697320696e76616c696400000000000060448201526064015b60405180910390fd5b6001600160a01b03821660009081526007602052604090205460ff1615156001146107055760405162461bcd60e51b815260206004820152601d60248201527f5669676f7275733a207369676e6572206973206e6f7420657869737473000000604482015260640161068f565b6001600160a01b038216600081815260076020908152604091829020805460ff1916905590519182527f3525e22824a8a7df2c9a6029941c824cf95b6447f1e13d5128fd3826d35afe8b91015b60405180910390a15050565b600061076b848484611084565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108055760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000606482015260840161068f565b61081985336108148685611be6565b610edf565b506001949350505050565b6000828152600560205260409020600101546108408133611004565b61084a838361128b565b505050565b6001600160a01b03811633146108cd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161068f565b6108d7828261132d565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610609918590610814908690611baf565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661093d8133611004565b61084a83836113b0565b610951338261148f565b50565b61095e338361148f565b7f32574fc019df48df87cf4dd00367bd1fd7fd7296d4e675c3f00484bd5ea43d298282604051610752929190611b96565b6001600160a01b0386166109e55760405162461bcd60e51b815260206004820152601860248201527f5669676f7275733a20496e76616c696420636c61696d65720000000000000000604482015260640161068f565b60008411610a355760405162461bcd60e51b815260206004820152601760248201527f5669676f7275733a20496e76616c696420616d6f756e74000000000000000000604482015260640161068f565b8451602080870191909120604080517f21f041857f940ce3b14607d319e85cd0a0dc2337793caf3e50077368c1d22202818501526001600160a01b038a1681830152606081019290925260808083018890528151808403909101815260a08301909152805192019190912060065461190160f01b60c084015260c283015260e28201819052906000906101020160408051601f198184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610b2d573d6000803e3d6000fd5b505060408051601f1901516001600160a01b03811660009081526007602052919091205490925060ff169050610ba55760405162461bcd60e51b815260206004820152601c60248201527f5669676f7275733a205369676e6572206973206e6f742076616c696400000000604482015260640161068f565b600888604051610bb59190611ab4565b908152602001604051809103902054600014610c135760405162461bcd60e51b815260206004820152601f60248201527f5669676f7275733a207472616e73616374696f6e20697320636c61696d656400604482015260640161068f565b86600889604051610c249190611ab4565b90815260405190819003602001902055610c3e89886113b0565b7f9d2f14df77ba038ff6f9ba99bbdcfbc30f1650b9574e3b7bbae993df15a92f30898989604051610c7193929190611b51565b60405180910390a1505050505050505050565b60606004805461057990611c44565b6000600882604051610ca59190611ab4565b9081526020016040518091039020549050919050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610d555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161068f565b610d6433856108148685611be6565b5060019392505050565b6000610609338484611084565b600082815260056020526040902060010154610d978133611004565b61084a838361132d565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610dcc8133611004565b6001600160a01b038216610e225760405162461bcd60e51b815260206004820152601a60248201527f5669676f7275733a207369676e657220697320696e76616c6964000000000000604482015260640161068f565b6001600160a01b03821660009081526007602052604090205460ff1615610e8b5760405162461bcd60e51b815260206004820152601960248201527f5669676f7275733a207369676e65722069732065786973747300000000000000604482015260640161068f565b6001600160a01b038216600081815260076020908152604091829020805460ff1916600117905590519182527f47d1c22a25bb3a5d4e481b9b1e6944c2eade3181a0a20b495ed61d35b5323f249101610752565b6001600160a01b038316610f415760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161068f565b6001600160a01b038216610fa25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161068f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166108d757611042816001600160a01b031660146115de565b61104d8360206115de565b60405160200161105e929190611ad0565b60408051601f198184030181529082905262461bcd60e51b825261068f91600401611b83565b6001600160a01b0383166111005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161068f565b6001600160a01b0382166111625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161068f565b6001600160a01b038316600090815260208190526040902054818110156111f15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161068f565b6111fb8282611be6565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611231908490611baf565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161127d91815260200190565b60405180910390a350505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166108d75760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112e93390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16156108d75760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166114065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161068f565b80600260008282546114189190611baf565b90915550506001600160a01b03821660009081526020819052604081208054839290611445908490611baf565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166114ef5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161068f565b6001600160a01b038216600090815260208190526040902054818110156115635760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161068f565b61156d8282611be6565b6001600160a01b0384166000908152602081905260408120919091556002805484929061159b908490611be6565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ff7565b606060006115ed836002611bc7565b6115f8906002611baf565b67ffffffffffffffff81111561161e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611648576020820181803683370190505b509050600360fc1b8160008151811061167157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106116ae57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006116d2846002611bc7565b6116dd906001611baf565b90505b600181111561177e577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061172c57634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061175057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361177781611c2d565b90506116e0565b5083156117cd5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161068f565b9392505050565b80356001600160a01b03811681146117eb57600080fd5b919050565b600082601f830112611800578081fd5b813567ffffffffffffffff8082111561181b5761181b611c95565b604051601f8301601f19908116603f0116810190828211818310171561184357611843611c95565b8160405283815286602085880101111561185b578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215611888578081fd5b6117cd826117d4565b600080604083850312156118a3578081fd5b6118ac836117d4565b91506118ba602084016117d4565b90509250929050565b6000806000606084860312156118d7578081fd5b6118e0846117d4565b92506118ee602085016117d4565b9150604084013590509250925092565b60008060008060008060c08789031215611916578182fd5b61191f876117d4565b9550602087013567ffffffffffffffff81111561193a578283fd5b61194689828a016117f0565b95505060408701359350606087013560ff81168114611963578283fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561198f578182fd5b611998836117d4565b946020939093013593505050565b6000602082840312156119b7578081fd5b5035919050565b600080604083850312156119d0578182fd5b823591506118ba602084016117d4565b6000602082840312156119f1578081fd5b81356001600160e01b0319811681146117cd578182fd5b600060208284031215611a19578081fd5b813567ffffffffffffffff811115611a2f578182fd5b611a3b848285016117f0565b949350505050565b60008060408385031215611a55578182fd5b82359150602083013567ffffffffffffffff811115611a72578182fd5b611a7e858286016117f0565b9150509250929050565b60008151808452611aa0816020860160208601611bfd565b601f01601f19169290920160200192915050565b60008251611ac6818460208701611bfd565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b08816017850160208801611bfd565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351611b45816028840160208801611bfd565b01602801949350505050565b6001600160a01b0384168152606060208201526000611b736060830185611a88565b9050826040830152949350505050565b6020815260006117cd6020830184611a88565b828152604060208201526000611a3b6040830184611a88565b60008219821115611bc257611bc2611c7f565b500190565b6000816000190483118215151615611be157611be1611c7f565b500290565b600082821015611bf857611bf8611c7f565b500390565b60005b83811015611c18578181015183820152602001611c00565b83811115611c27576000848401525b50505050565b600081611c3c57611c3c611c7f565b506000190190565b600181811c90821680611c5857607f821691505b60208210811415611c7957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea164736f6c6343000804000a
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.