Token
TRAX Chips (TRAX)
ERC-20
Overview
Max Total Supply
96 TRAX
Holders
1
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
96 TRAXLoading...
Loading
Loading...
Loading
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
TRAX
Compiler Version
v0.8.24+commit.e11b9ed9
ZkSolc Version
v1.5.7
Optimization Enabled:
Yes with Mode 3
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Roach Racing Club: gamified trading competitions, where trading becomes a fun, // fast-paced game set in the wicked Nanoverse (https://roachracingclub.com) /* ..::--------::.. .:--------------------:: :----------------------------: .:---------------------------------. :------------------------------------- .----------------------------------------: :------------------------------------------: :--===----------------------------------===--: .--+@@@@%%#+=----------------------=+*#%@@@@+--: ---@@@@@@@@@@@#+----------------+#@@@@@@@@@@@=-- :--+@@@@@@@@@@@@@@#+----------=#@@@@@@@@@@@@@@*--: ---#@@@@@@@@@@@@@@@@%+------=%@@@@@@@@@@@@@@@@%--- -----==+*%@@@@@@@@@@@@%=--=#@@@@@@@@@@@@%*++=----- -----------=*@@@@@@@@@@@*+@@@@@@@@@@@#+----------- :-------------+%@@@@@@@@@@@@@@@@@@%+-------------: ---------------*@@@@@@@@@@@@@@@@*--------------- :---------------=@@@@@@@@@@@@@@+---------------: :---------------=@@@@@@@@@@@@=---------------- :---------------+@@@@@@@@@@*---------------: :---------------%@@@@@@@@@---------------: --------------#@@@@@@@@%--------------. .------------#@@@@@@@@#------------. :---------*@@@@@@@@#---------:. :----------------------:. ..::--------:::. ███████╗██╗ ██╗ █████╗ ██████╗ ██████╗ ██╗ ██╗ ███████╗██╗ ██╗███╗ ██╗██████╗ ██╗ ██████╗ █████╗ ████████╗███████╗ ██╗███╗ ██╗ ██████╗ ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔═══██╗██║ ██║ ██╔════╝╚██╗ ██╔╝████╗ ██║██╔══██╗██║██╔════╝██╔══██╗╚══██╔══╝██╔════╝ ██║████╗ ██║██╔════╝ ███████╗███████║███████║██║ ██║██║ ██║██║ █╗ ██║ ███████╗ ╚████╔╝ ██╔██╗ ██║██║ ██║██║██║ ███████║ ██║ █████╗ ██║██╔██╗ ██║██║ ╚════██║██╔══██║██╔══██║██║ ██║██║ ██║██║███╗██║ ╚════██║ ╚██╔╝ ██║╚██╗██║██║ ██║██║██║ ██╔══██║ ██║ ██╔══╝ ██║██║╚██╗██║██║ ███████║██║ ██║██║ ██║██████╔╝╚██████╔╝╚███╔███╔╝ ███████║ ██║ ██║ ╚████║██████╔╝██║╚██████╗██║ ██║ ██║ ███████╗ ██║██║ ╚████║╚██████╗██╗ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝ ╚═╝ ╚═╝ ╚═══╝╚═════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝╚═╝ */ pragma solidity ^0.8.22; import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import {ERC20Pausable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; contract TRAX is ERC20, ERC20Burnable, ERC20Pausable, AccessControl { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); uint public mintLimitPerTx = 10_000 * (10 ** decimals()); address public signerAddress; mapping(uint => bool) public usedId; event Used(uint256 indexed id, uint256 value, address indexed sender, uint256 indexed param); error TransfersNotAllowed(); error MintLimit(); error ZeroAddress(); error WrongSignature(); error IdUsed(); constructor(address defaultAdmin, address minter, address _signerAddress) ERC20("TRAX Chips", "TRAX") { if (defaultAdmin == address(0x0)) { revert ZeroAddress(); } _grantRole(DEFAULT_ADMIN_ROLE, defaultAdmin); _grantRole(MINTER_ROLE, minter); signerAddress = _signerAddress; } /** * @dev Pause mint and burn on migration started. * There is no unpause possible. */ function pause() external onlyRole(DEFAULT_ADMIN_ROLE) { _pause(); } /** * @dev This function allows the minter role to mint TRAX tokens. * The function ensures that only minter role can mint, and it enforces limits * on the max minted value in one transaction. * @param to The address to which the minted tokens will be assigned. * @param amount Minted TRAX value */ function mint(address to, uint256 amount) external onlyRole(MINTER_ROLE) { if (amount > mintLimitPerTx) { revert MintLimit(); } _mint(to, amount); } /** * @dev Set new limit per 1 transaction to avoid unlimited mints. */ function setMintLimit(uint256 _newLimitPerTx) external onlyRole(DEFAULT_ADMIN_ROLE) { mintLimitPerTx = _newLimitPerTx; } /// @notice Changes signerAddress that is used for signature checking function setSigner(address newSigner) external onlyRole(DEFAULT_ADMIN_ROLE) { signerAddress = newSigner; } /** * @notice Internal function to verify and process a signed message for a specific action. * @dev This function ensures that the provided signature is valid and has not been used before. * It also marks the ID as used to prevent replay attacks and emits an event upon successful execution. * @param id The unique identifier for the action to ensure it is only used once. * @param account The address of the account associated with the signed message. * @param param Serve controlled value used to provide information about player progress * to Abstract portal (XP, achievements). * @param sigV The recovery ID component of the ECDSA signature. * @param sigR The R component of the ECDSA signature. * @param sigS The S component of the ECDSA signature. * * Requirements: * - The signature must be valid and signed by the `signerAddress`. * - The `id` must not have been used previously. * * Emits: * - `Used(uint256 id, uint256 value, address indexed sender)` upon successful validation and execution. * * Reverts: * - `WrongSignature()` if the signature is invalid or not signed by the expected signer. * - `IdUsed()` if the `id` has already been used. */ function _use(uint256 value, uint256 id, address account, uint256 param, uint8 sigV, bytes32 sigR, bytes32 sigS) internal { bytes32 msgHash = keccak256(abi.encode(id, value, account, param, address(this))); if (ecrecover(msgHash, sigV, sigR, sigS) != signerAddress) { revert WrongSignature(); } if (usedId[id]) { revert IdUsed(); } usedId[id] = true; emit Used(id, value, account, param); } /** * @dev Destroys a `value` amount of tokens from the caller * and marks destroyed 'value' as used with 'id'. * Emits a {Used} event. */ function use(uint256 value, uint256 id, uint256 param, uint8 sigV, bytes32 sigR, bytes32 sigS) external { _burn(_msgSender(), value); _use(value, id, _msgSender(), param, sigV, sigR, sigS); } /** * @dev Destroys a `value` amount of tokens from `account`, deducting from * the caller's allowance. * Marks destroyed 'value' as used with 'id'. * See {ERC20-_burn} and {ERC20-allowance}. * * Emits a {Used} event. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `value`. */ function useFrom(address account, uint256 value, uint256 id, uint256 param, uint8 sigV, bytes32 sigR, bytes32 sigS) external { _spendAllowance(account, _msgSender(), value); _burn(account, value); _use(value, id, _msgSender(), param, sigV, sigR, sigS); } /** * @dev Make sure that token can be only minted and burned */ function _update(address from, address to, uint256 value) internal override(ERC20, ERC20Pausable) { if (!((from == address(0x0) || to == address(0x0)))) { revert TransfersNotAllowed(); } super._update(from, to, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance < type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; import {Pausable} from "../../../utils/Pausable.sol"; /** * @dev ERC-20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * IMPORTANT: This contract does not include public pause and unpause functions. In * addition to inheriting this contract, you must define both functions, invoking the * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will * make the contract pause mechanism of the contract unreachable, and thus unusable. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_update}. * * Requirements: * * - the contract must not be paused. */ function _update(address from, address to, uint256 value) internal virtual override whenNotPaused { super._update(from, to, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; import {Context} from "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of tokens from `account`, deducting from * the caller's allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC-165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { bool private _paused; /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "evmVersion": "paris", "optimizer": { "enabled": true, "mode": "3" }, "outputSelection": { "*": { "*": [ "abi", "metadata" ], "": [ "ast" ] } }, "detectMissingLibraries": false, "forceEVMLA": false, "enableEraVMExtensions": false, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"defaultAdmin","type":"address"},{"internalType":"address","name":"minter","type":"address"},{"internalType":"address","name":"_signerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"IdUsed","type":"error"},{"inputs":[],"name":"MintLimit","type":"error"},{"inputs":[],"name":"TransfersNotAllowed","type":"error"},{"inputs":[],"name":"WrongSignature","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"param","type":"uint256"}],"name":"Used","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintLimitPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newLimitPerTx","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"param","type":"uint256"},{"internalType":"uint8","name":"sigV","type":"uint8"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"}],"name":"use","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"param","type":"uint256"},{"internalType":"uint8","name":"sigV","type":"uint8"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"}],"name":"useFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
9c4d535b000000000000000000000000000000000000000000000000000000000000000001000269369fa314d00e76514dec9e46cf493374846da0b6ef6894a5be91d5da000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000003857ce692dd96f307d42a03ac5f33db2496cf82f0000000000000000000000003857ce692dd96f307d42a03ac5f33db2496cf82f0000000000000000000000005000ef9a8d4b4fd6dd694a254f8296d30ba95d13
Deployed Bytecode
0x0001000000000002000900000000000200000000000103550000006003100270000002070330019700000001002001900000001f0000c13d0000008002000039000000400020043f000000040030008c000002eb0000413d000000000201043b000000e0022002700000021d0020009c000000650000a13d0000021e0020009c000000b40000a13d0000021f0020009c000000d90000213d000002250020009c000001740000213d000002280020009c0000029e0000613d000002290020009c000002eb0000c13d0000000001000416000000000001004b000002eb0000c13d000000800000043f0000024601000041000008170001042e0000000002000416000000000002004b000002eb0000c13d0000001f0230003900000208022001970000008002200039000000400020043f0000001f0430018f00000209053001980000008002500039000000300000613d0000008006000039000000000701034f000000007807043c0000000006860436000000000026004b0000002c0000c13d000000000004004b0000003d0000613d000000000151034f0000000304400210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000120435000000600030008c000002eb0000413d000000800600043d0000020a0060009c000002eb0000213d000000a00100043d000900000001001d0000020a0010009c000002eb0000213d000000c00100043d000800000001001d0000020a0010009c000002eb0000213d000000400300043d0000020b0030009c0000005f0000213d0000004001300039000000400010043f0000000a01000039000000000a1304360000020c0100004100000000001a0435000000400700043d0000020b0070009c0000005f0000213d0000004001700039000000400010043f000000040400003900000000054704360000020d01000041000000000015043500000000090304330000020e0090009c000002fe0000a13d0000021b01000041000000000010043f0000004101000039000000040010043f0000021c010000410000081800010430000002330020009c0000007d0000213d0000023d0020009c000000e60000a13d0000023e0020009c0000012d0000213d000002410020009c000001af0000613d000002420020009c000002eb0000c13d000000240030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000401100370000000000101043b000000000010043f0000000901000039000000200010043f00000040020000390000000001000019081607f70000040f000002970000013d000002340020009c0000010c0000a13d000002350020009c0000014b0000213d000002380020009c000001c00000613d000002390020009c000002eb0000c13d000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000402100370000000000202043b000900000002001d0000020a0020009c000002eb0000213d0000002401100370000000000101043b000800000001001d0000021601000041000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b0000000002000411000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000101041a000000ff00100190000003ec0000c13d000000400100043d00000024021000390000021603000041000002530000013d0000022a0020009c000001190000a13d0000022b0020009c000001580000213d0000022e0020009c000001e10000613d0000022f0020009c000002eb0000c13d0000000001000416000000000001004b000002eb0000c13d0000000001000411000000000010043f0000021101000041000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000101041a000000ff00100190000003160000c13d000000400100043d0000024e02000041000000000021043500000004021000390000000003000411000000000032043500000024021000390000000000020435000002590000013d000002200020009c000001900000213d000002230020009c000002ab0000613d000002240020009c000002eb0000c13d0000000001000416000000000001004b000002eb0000c13d0000021601000041000000800010043f0000024601000041000008170001042e000002430020009c000002700000613d000002440020009c000002100000613d000002450020009c000002eb0000c13d0000000001000416000000000001004b000002eb0000c13d0000000303000039000000000203041a000000010520019000000001012002700000007f0410018f00000000010460190000001f0010008c00000000060000390000000106002039000000000662013f0000000100600190000003080000c13d000000800010043f000000000005004b0000016e0000613d000000000030043f000000020020008c000003340000413d000002580200004100000000040000190000000003040019000000000402041a000000a005300039000000000045043500000001022000390000002004300039000000000014004b000001030000413d000003bf0000013d0000023a0020009c000002810000613d0000023b0020009c000002150000613d0000023c0020009c000002eb0000c13d0000000001000416000000000001004b000002eb0000c13d0000001201000039000000800010043f0000024601000041000008170001042e000002300020009c000002930000613d000002310020009c0000025e0000613d000002320020009c000002eb0000c13d000000240030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000401100370000000000101043b0000020a0010009c000002eb0000213d000000000010043f000000200000043f00000040020000390000000001000019000001ad0000013d0000023f0020009c000001d10000613d000002400020009c000002eb0000c13d000000640030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000402100370000000000202043b0000020a0020009c000002eb0000213d00000000040200190000002402100370000000000202043b000900000002001d0000020a0020009c000002eb0000213d0000004401100370000000000301043b00000000020004110000000001040019000800000004001d081605af0000040f000000080000006b000003d10000c13d000000400100043d0000024b02000041000003d50000013d000002360020009c000001d60000613d000002370020009c000002eb0000c13d0000000001000416000000000001004b000002eb0000c13d0000000801000039000000000101041a0000020a01100197000000800010043f0000024601000041000008170001042e0000022c0020009c000001f70000613d0000022d0020009c000002eb0000c13d0000000001000416000000000001004b000002eb0000c13d0000000403000039000000000203041a000000010520019000000001012002700000007f0410018f00000000010460190000001f0010008c00000000060000390000000106002039000000000662013f0000000100600190000003080000c13d000000800010043f000000000005004b000003310000c13d0000025c01200197000000a00010043f000000000004004b000000c001000039000000a001006039000003c00000013d000002260020009c000002d30000613d000002270020009c000002eb0000c13d000000c40030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000006402100370000000000202043b000900000002001d000000ff0020008c000002eb0000213d0000000401100370000000000201043b000800000002001d0000000001000411081606bb0000040f00000000010003670000002402100370000000000202043b0000004403100370000000000403043b0000008403100370000000000603043b000000a401100370000002cc0000013d000002210020009c000002e10000613d000002220020009c000002eb0000c13d000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000402100370000000000202043b0000020a0020009c000002eb0000213d0000002401100370000000000101043b000900000001001d0000020a0010009c000002eb0000213d000000000020043f0000000101000039000000200010043f00000040020000390000000001000019081607f70000040f0000000902000029000000000020043f000000200010043f00000000010000190000004002000039081607f70000040f0000028f0000013d000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000402100370000000000202043b000900000002001d0000020a0020009c000002eb0000213d0000002401100370000000000301043b0000000002000411000000000002004b0000030e0000c13d0000025701000041000003390000013d000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000002402100370000000000302043b0000020a0030009c000002eb0000213d0000000002000411000000000023004b000003120000c13d0000000401100370000000000101043b0816066a0000040f0000000001000019000008170001042e0000000001000416000000000001004b000002eb0000c13d00000002010000390000028f0000013d000000240030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000401100370000000000201043b0000000001000411081606bb0000040f0000000001000019000008170001042e000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000402100370000000000202043b0000020a0020009c000002eb0000213d00000000040200190000002401100370000000000301043b000800000003001d00000000020004110000000001040019000900000004001d081605af0000040f00000009010000290000000802000029081606bb0000040f0000000001000019000008170001042e000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000002402100370000000000202043b000900000002001d0000020a0020009c000002eb0000213d0000000401100370000000000101043b000000000010043f0000000601000039000000200010043f00000040020000390000000001000019081607f70000040f0000000902000029000000000020043f000000200010043f00000000010000190000004002000039081607f70000040f000002970000013d0000000001000416000000000001004b000002eb0000c13d00000007010000390000028f0000013d000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000402100370000000000202043b000900000002001d0000002401100370000000000101043b000800000001001d0000020a0010009c000002eb0000213d0000000901000029000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b0000000101100039000000000101041a000700000001001d000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b0000000002000411000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000101041a000000ff00100190000003f60000c13d000000400100043d0000002402100039000000070300002900000000003204350000024e020000410000000000210435000000040210003900000000030004110000000000320435000002070010009c000002070100804100000040011002100000024f011001c70000081800010430000000240030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000401100370000000000101043b000900000001001d0000020a0010009c000002eb0000213d081606190000040f0000000801000039000000000201041a000002170220019700000009022001af000000000021041b0000000001000019000008170001042e000000240030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000401100370000000000101043b0000025900100198000002eb0000c13d0000025a0010009c000000000200003900000001020060390000025b0010009c00000001022061bf000000800020043f0000024601000041000008170001042e000000240030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000401100370000000000101043b000000000010043f0000000601000039000000200010043f00000040020000390000000001000019081607f70000040f0000000101100039000000000101041a000000800010043f0000024601000041000008170001042e0000000001000416000000000001004b000002eb0000c13d0000000501000039000000000101041a000000ff001001900000000001000039000000010100c039000000800010043f0000024601000041000008170001042e000000240030008c000002eb0000413d0000000001000416000000000001004b000002eb0000c13d081606190000040f00000004010000390000000001100367000000000101043b0000000702000039000000000012041b0000000001000019000008170001042e000000e40030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000402100370000000000202043b0000020a0020009c000002eb0000213d00000000040200190000008402100370000000000202043b000900000002001d000000ff0020008c000002eb0000213d0000002401100370000000000301043b000800000003001d00000000020004110000000001040019000700000004001d081605af0000040f00000007010000290000000802000029081606bb0000040f00000000010003670000004402100370000000000202043b0000006403100370000000000403043b000000a403100370000000000603043b000000c401100370000000000701043b000000080100002900000000030004110000000905000029081607220000040f0000000001000019000008170001042e000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000000401100370000000000101043b0000020a0010009c000002eb0000213d0000000002000411000000000002004b000003360000c13d0000024b01000041000003390000013d000000440030008c000002eb0000413d0000000002000416000000000002004b000002eb0000c13d0000002402100370000000000202043b000900000002001d0000020a0020009c000002ed0000a13d000000000100001900000818000104300000000401100370000000000101043b000800000001001d000000000010043f0000000601000039000000200010043f00000040020000390000000001000019081607f70000040f0000000101100039000000000101041a0816063a0000040f000000080100002900000009020000290816066a0000040f0000000001000019000008170001042e0000000308000039000000000108041a0000000102100190000000010b1002700000007f0bb0618f0000001f00b0008c00000000010000390000000101002039000000000012004b0000033d0000613d0000021b01000041000000000010043f0000002201000039000000040010043f0000021c010000410000081800010430000000090000006b0000037d0000c13d0000025601000041000003390000013d0000025301000041000000800010043f000002480100004100000818000104300000000501000039000000000201041a000000ff00200190000004700000c13d0000025c0220019700000001022001bf000000000021041b000000400100043d00000000020004110000000000210435000002070010009c000002070100804100000040011002100000000002000414000002070020009c0000020702008041000000c002200210000000000112019f0000020f011001c70000800d0200003900000001030000390000024d040000410816080c0000040f0000000100200190000002eb0000613d0000000001000019000008170001042e000000000030043f000000020020008c000003b50000813d000000a001000039000003c00000013d000000000001004b000003dd0000c13d0000024901000041000000800010043f000000840000043f0000024a0100004100000818000104300000002000b0008c000700000007001d000400000006001d000300000005001d000003660000413d00010000000b001d00020000000a001d000500000009001d000600000003001d000000000080043f0000000001000414000002070010009c0000020701008041000000c0011002100000020f011001c70000801002000039081608110000040f0000000100200190000002eb0000613d00000005090000290000001f029000390000000502200270000000200090008c0000000002004019000000000301043b00000001010000290000001f01100039000000050110027000000000011300190000000002230019000000000012004b0000000404000039000000070700002900000003080000390000000603000029000000020a000029000003660000813d000000000002041b0000000102200039000000000012004b000003620000413d0000001f0090008c000003e10000a13d000500000009001d000600000003001d000000000080043f0000000001000414000002070010009c0000020701008041000000c0011002100000020f011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000050a0000290000025d02a00198000000000101043b0000000609000029000004780000c13d000000200300003900000007070000290000000308000039000004860000013d000800000003001d000000000020043f0000000101000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b0000000902000029000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b0000000802000029000000000021041b000000400100043d0000000000210435000002070010009c000002070100804100000040011002100000000002000414000002070020009c0000020702008041000000c002200210000000000112019f0000020f011001c70000800d0200003900000003030000390000025404000041000000000500041100000009060000290816080c0000040f0000000100200190000002eb0000613d000000400100043d00000001020000390000000000210435000002070010009c0000020701008041000000400110021000000255011001c7000008170001042e0000024c0200004100000000040000190000000003040019000000000402041a000000a005300039000000000045043500000001022000390000002004300039000000000014004b000003b70000413d000000c001300039000000800210008a0000008001000039081605950000040f000000400100043d000900000001001d0000008002000039081605800000040f00000009020000290000000001210049000002070010009c00000207010080410000006001100210000002070020009c00000207020080410000004002200210000000000121019f000008170001042e000000090000006b000003f30000c13d000000400100043d0000024902000041000000000021043500000004021000390000000000020435000002070010009c000002070100804100000040011002100000021c011001c700000818000104300000024701000041000000800010043f00000248010000410000081800010430000000000009004b0000000001000019000003e50000613d00000000010a043300000003029002100000025e0220027f0000025e02200167000000000121016f0000000102900210000000000121019f000004930000013d0000000701000039000000000101041a000000080010006b000004420000a13d000000400100043d0000025202000041000004720000013d000000400100043d0000024702000041000004720000013d0000000901000029000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b0000000802000029000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000101041a000000ff001001900000032f0000c13d0000000901000029000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b0000000802000029000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000201041a0000025c0220019700000001022001bf000000000021041b0000000001000414000002070010009c0000020701008041000000c00110021000000213011001c70000800d02000039000000040300003900000214040000410000000905000029000000080600002900000000070004110816080c0000040f0000000100200190000002eb0000613d0000032f0000013d000000090000006b000003d30000613d0000000501000039000000000101041a000000ff00100190000004700000c13d0000000201000039000000000201041a000000080020002a0000057a0000413d0000000802200029000000000021041b0000000901000029000000000010043f000000200000043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000201041a00000008030000290000000002320019000000000021041b000000400100043d0000000000310435000002070010009c000002070100804100000040011002100000000002000414000002070020009c0000020702008041000000c002200210000000000112019f0000020f011001c70000800d0200003900000003030000390000025104000041000000000500001900000009060000290000032c0000013d000000400100043d00000250020000410000000000210435000002070010009c000002070100804100000040011002100000021a011001c70000081800010430000000010320008a00000005033002700000000004310019000000200300003900000001044000390000000707000029000000030800003900000000059300190000000005050433000000000051041b00000020033000390000000101100039000000000041004b0000047f0000c13d0000000000a2004b000004900000813d0000000302a00210000000f80220018f0000025e0220027f0000025e0220016700000000039300190000000003030433000000000223016f000000000021041b0000000101a0021000000001011001bf0000000404000039000000000018041b00000000070704330000020e0070009c0000005f0000213d000000000104041a000000010010019000000001031002700000007f0330618f0000001f0030008c00000000020000390000000102002039000000000121013f0000000100100190000003080000c13d000500000003001d000000200030008c000600000007001d000004c10000413d000000000040043f0000000001000414000002070010009c0000020701008041000000c0011002100000020f011001c70000801002000039081608110000040f0000000100200190000002eb0000613d00000006070000290000001f027000390000000502200270000000200070008c0000000002004019000000000301043b00000005010000290000001f01100039000000050110027000000000011300190000000002230019000000000012004b0000000404000039000004c10000813d000000000002041b0000000102200039000000000012004b000004bd0000413d0000001f0070008c000004d30000a13d000000000040043f0000000001000414000002070010009c0000020701008041000000c0011002100000020f011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000200200008a0000000602200180000000000101043b000004e00000c13d0000002003000039000004ed0000013d000000060000006b0000000001000019000004d80000613d00000003010000290000000001010433000000060400002900000003024002100000025e0220027f0000025e02200167000000000121016f0000000102400210000000000121019f000004fb0000013d000000010320008a0000000503300270000000000431001900000020030000390000000104400039000000070600002900000000056300190000000005050433000000000051041b00000020033000390000000101100039000000000041004b000004e60000c13d000000060020006c000004f80000813d00000006020000290000000302200210000000f80220018f0000025e0220027f0000025e0220016700000007033000290000000003030433000000000223016f000000000021041b0000000601000029000000010110021000000001011001bf0000000402000039000000000012041b0000000501000039000000000201041a0000025c02200197000000000021041b00000210010000410000000702000039000000000012041b00000004010000290007020a0010019c0000050a0000c13d000000400100043d0000021902000041000004720000013d0000000701000029000000000010043f0000021101000041000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000101041a000000ff001001900000053b0000c13d0000000701000029000000000010043f0000021101000041000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000201041a0000025c0220019700000001022001bf000000000021041b0000000001000414000002070010009c0000020701008041000000c00110021000000213011001c70000800d02000039000000040300003900000000070004110000021404000041000000000500001900000007060000290816080c0000040f0000000100200190000002eb0000613d00000009010000290000020a01100197000900000001001d000000000010043f0000021501000041000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000101041a000000ff001001900000056e0000c13d0000000901000029000000000010043f0000021501000041000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000002eb0000613d000000000101043b000000000201041a0000025c0220019700000001022001bf000000000021041b0000000001000414000002070010009c0000020701008041000000c00110021000000213011001c70000800d02000039000000040300003900000000070004110000021404000041000002160500004100000009060000290816080c0000040f0000000100200190000002eb0000613d00000008010000290000020a011001970000000802000039000000000302041a0000021703300197000000000113019f000000000012041b0000002001000039000001000010044300000120000004430000021801000041000008170001042e0000021b01000041000000000010043f0000001101000039000000040010043f0000021c01000041000008180001043000000020030000390000000004310436000000003202043400000000002404350000004001100039000000000002004b0000058f0000613d000000000400001900000000054100190000000006430019000000000606043300000000006504350000002004400039000000000024004b000005880000413d000000000321001900000000000304350000001f022000390000025d022001970000000001210019000000000001042d0000001f022000390000025d022001970000000001120019000000000021004b000000000200003900000001020040390000020e0010009c000005a10000213d0000000100200190000005a10000c13d000000400010043f000000000001042d0000021b01000041000000000010043f0000004101000039000000040010043f0000021c01000041000008180001043000000040051000390000000000450435000000200410003900000000003404350000020a0220019700000000002104350000006001100039000000000001042d0004000000000002000200000003001d000400000002001d0000020a01100197000100000001001d000000000010043f0000000101000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000005fa0000613d000000000101043b00000004020000290000020a02200197000300000002001d000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000005fa0000613d0000000402000029000000000101043b000000000301041a0000025e0030009c000005f90000613d0000000204000029000000000543004b000005fc0000413d0000000101000029000000000001004b0000060c0000613d000400000005001d000000030000006b0000060f0000613d000000000010043f0000000101000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000005fa0000613d000000000101043b0000000302000029000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000005fa0000613d000000000101043b0000000402000029000000000021041b000000000001042d00000000010000190000081800010430000000400500043d000300000005001d0000025f0100004100000000001504350000000401500039081605a70000040f00000003020000290000000001210049000002070010009c00000207010080410000006001100210000002070020009c00000207020080410000004002200210000000000121019f0000081800010430000000400100043d0000025702000041000006110000013d000000400100043d0000025602000041000000000021043500000004021000390000000000020435000002070010009c000002070100804100000040011002100000021c011001c700000818000104300000000001000411000000000010043f0000021101000041000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f00000001002001900000062b0000613d000000000101043b000000000101041a000000ff001001900000062d0000613d000000000001042d00000000010000190000081800010430000000400100043d0000024e02000041000000000021043500000004021000390000000003000411000000000032043500000024021000390000000000020435000002070010009c000002070100804100000040011002100000024f011001c700000818000104300001000000000002000100000001001d000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f00000001002001900000065a0000613d000000000101043b0000000002000411000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f00000001002001900000065a0000613d000000000101043b000000000101041a000000ff001001900000065c0000613d000000000001042d00000000010000190000081800010430000000400100043d0000002402100039000000010300002900000000003204350000024e020000410000000000210435000000040210003900000000030004110000000000320435000002070010009c000002070100804100000040011002100000024f011001c700000818000104300002000000000002000100000002001d000200000001001d000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000006b90000613d000000000101043b00000001020000290000020a02200197000100000002001d000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000006b90000613d000000000101043b000000000101041a000000ff00100190000006b80000613d0000000201000029000000000010043f0000000601000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000006b90000613d000000000101043b0000000102000029000000000020043f000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000006b90000613d000000000101043b000000000201041a0000025c02200197000000000021041b0000000001000414000002070010009c0000020701008041000000c00110021000000213011001c70000800d02000039000000040300003900000000070004110000026004000041000000020500002900000001060000290816080c0000040f0000000100200190000006b90000613d000000000001042d000000000100001900000818000104300004000000000002000400000002001d0000020a03100198000006fe0000613d000100000001001d0000000501000039000000000101041a000000ff00100190000007080000c13d000000000030043f000000200000043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039000300000003001d081608110000040f0000000100200190000006fc0000613d0000000302000029000000000101043b000000000301041a0002000400300074000007100000413d000000000020043f000000200000043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000006fc0000613d000000000101043b0000000202000029000000000021041b0000000201000039000000000201041a00000004030000290000000002320049000000000021041b000000400100043d0000000000310435000002070010009c000002070100804100000040011002100000000002000414000002070020009c0000020702008041000000c002200210000000000112019f0000020f011001c70000800d0200003900000003030000390000025104000041000000030500002900000000060000190816080c0000040f0000000100200190000006fc0000613d000000000001042d00000000010000190000081800010430000000400100043d0000024b02000041000000000021043500000004021000390000000000020435000002070010009c000002070100804100000040011002100000021c011001c70000081800010430000000400100043d00000250020000410000000000210435000002070010009c000002070100804100000040011002100000021a011001c70000081800010430000000400200043d000300000002001d00000261010000410000000000120435000000040120003900000001020000290000000404000029081605a70000040f00000003020000290000000001210049000002070010009c00000207010080410000006001100210000002070020009c00000207020080410000004002200210000000000121019f00000818000104300009000000000002000600000007001d000700000006001d000800000005001d000000400700043d000000a006700039000000000500041000000000005604350000008005700039000300000004001d00000000004504350000004004700039000100000001001d0000000000140435000000a00100003900000000011704360000020a043001970000006003700039000200000004001d0000000000430435000900000002001d0000000000210435000002620070009c000007c80000813d000000c002700039000400000002001d000000400020043f000002070010009c00000207010080410000004001100210000500000007001d0000000002070433000002070020009c00000207020080410000006002200210000000000112019f0000000002000414000002070020009c0000020702008041000000c002200210000000000112019f00000213011001c70000801002000039081608110000040f0000000100200190000007c60000613d000000000101043b0000000404000029000000000014043500000005030000290000012001300039000000060200002900000000002104350000010001300039000000070200002900000000002104350000000801000029000000ff0110018f000000e0023000390000000000120435000000000000043f000002070040009c000002070400804100000040014002100000000002000414000002070020009c0000020702008041000000c002200210000000000112019f00000263011001c70000000102000039081608110000040f00000060031002700000020703300197000000200030008c000000200400003900000000040340190000001f0540018f0000002004400190000007780000613d000000000601034f0000000007000019000000006806043c0000000007870436000000000047004b000007740000c13d000000000005004b000007850000613d000000000641034f0000000305500210000000000704043300000000075701cf000000000757022f000000000606043b0000010005500089000000000656022f00000000055601cf000000000575019f00000000005404350000000100200190000007ce0000613d0000000801000039000000000101041a000000000200043d000000000121013f0000020a00100198000007ec0000c13d0000000901000029000000000010043f0000000901000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000007c60000613d000000000101043b000000000101041a000000ff00100190000007ef0000c13d0000000901000029000000000010043f0000000901000039000000200010043f0000000001000414000002070010009c0000020701008041000000c00110021000000212011001c70000801002000039081608110000040f0000000100200190000007c60000613d000000000101043b000000000201041a0000025c0220019700000001022001bf000000000021041b000000400100043d00000001020000290000000000210435000002070010009c000002070100804100000040011002100000000002000414000002070020009c0000020702008041000000c002200210000000000112019f0000020f011001c70000800d02000039000000040300003900000266040000410000000905000029000000020600002900000003070000290816080c0000040f0000000100200190000007c60000613d000000000001042d000000000100001900000818000104300000021b01000041000000000010043f0000004101000039000000040010043f0000021c0100004100000818000104300000001f0530018f0000020906300198000000400200043d0000000004620019000007d90000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000007d50000c13d000000000005004b000007e60000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001300210000002070020009c00000207020080410000004002200210000000000112019f0000081800010430000000400100043d0000026402000041000007f10000013d000000400100043d00000265020000410000000000210435000002070010009c000002070100804100000040011002100000021a011001c70000081800010430000002070010009c00000207010080410000004001100210000002070020009c00000207020080410000006002200210000000000112019f0000000002000414000002070020009c0000020702008041000000c002200210000000000112019f00000213011001c70000801002000039081608110000040f00000001002001900000080a0000613d000000000101043b000000000001042d000000000100001900000818000104300000080f002104210000000102000039000000000001042d0000000002000019000000000001042d00000814002104230000000102000039000000000001042d0000000002000019000000000001042d0000081600000432000008170001042e000008180001043000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000ffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffffbf54524158204368697073000000000000000000000000000000000000000000005452415800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff020000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000021e19e0c9bab240000054cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8020000000000000000000000000000000000004000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d3195c024b2ddd6d9b8f6c836aa52f67fe69376c8903d009b80229b3ce4425f519f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ffffffffffffffffffffffff00000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000d92e233d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000004e487b71000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000000000005c975aba000000000000000000000000000000000000000000000000000000009e6a1d7c00000000000000000000000000000000000000000000000000000000c97bc25800000000000000000000000000000000000000000000000000000000d547741e00000000000000000000000000000000000000000000000000000000d547741f00000000000000000000000000000000000000000000000000000000dd62ed3e00000000000000000000000000000000000000000000000000000000c97bc25900000000000000000000000000000000000000000000000000000000d539139300000000000000000000000000000000000000000000000000000000a9059cba00000000000000000000000000000000000000000000000000000000a9059cbb00000000000000000000000000000000000000000000000000000000bed90f9b000000000000000000000000000000000000000000000000000000009e6a1d7d00000000000000000000000000000000000000000000000000000000a217fddf0000000000000000000000000000000000000000000000000000000079cc678f0000000000000000000000000000000000000000000000000000000091d148530000000000000000000000000000000000000000000000000000000091d148540000000000000000000000000000000000000000000000000000000095d89b410000000000000000000000000000000000000000000000000000000079cc6790000000000000000000000000000000000000000000000000000000008456cb59000000000000000000000000000000000000000000000000000000005c975abb000000000000000000000000000000000000000000000000000000006c19e7830000000000000000000000000000000000000000000000000000000070a0823100000000000000000000000000000000000000000000000000000000248a9ca20000000000000000000000000000000000000000000000000000000036568abd0000000000000000000000000000000000000000000000000000000042966c670000000000000000000000000000000000000000000000000000000042966c68000000000000000000000000000000000000000000000000000000005b7633d00000000000000000000000000000000000000000000000000000000036568abe0000000000000000000000000000000000000000000000000000000040c10f1900000000000000000000000000000000000000000000000000000000248a9ca3000000000000000000000000000000000000000000000000000000002f2ff15d00000000000000000000000000000000000000000000000000000000313ce56700000000000000000000000000000000000000000000000000000000095ea7b20000000000000000000000000000000000000000000000000000000018160ddc0000000000000000000000000000000000000000000000000000000018160ddd0000000000000000000000000000000000000000000000000000000023b872dd00000000000000000000000000000000000000000000000000000000095ea7b30000000000000000000000000000000000000000000000000000000012a77b960000000000000000000000000000000000000000000000000000000001ffc9a700000000000000000000000000000000000000000000000000000000068b2fec0000000000000000000000000000000000000000000000000000000006fdde030000000000000000000000000000000000000020000000800000000000000000ab064ad3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000800000000000000000ec442f0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000080000000000000000096c6fd1e000000000000000000000000000000000000000000000000000000008a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258e2517d3f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044000000000000000000000000d93c066500000000000000000000000000000000000000000000000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efec8e6a63000000000000000000000000000000000000000000000000000000006697b232000000000000000000000000000000000000000000000000000000008c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925000000000000000000000000000000000000002000000000000000000000000094280d6200000000000000000000000000000000000000000000000000000000e602df0500000000000000000000000000000000000000000000000000000000c2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff01ffc9a7000000000000000000000000000000000000000000000000000000007965db0b00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb8f41b200000000000000000000000000000000000000000000000000000000f6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171be450d38c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff400000000000000000000000000000000000000080000000000000000000000000356a44180000000000000000000000000000000000000000000000000000000065d472ed00000000000000000000000000000000000000000000000000000000b10bbc93786cd0f11375f208a14fa4aa8576248a30c1aa201ec4d106125a6e1800000000000000000000000000000000000000000000000000000000000000001da92b5fe6d031647a0185fc354182166cb7cf1dc80dc2510ddcbaaeaa61407c
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003857ce692dd96f307d42a03ac5f33db2496cf82f0000000000000000000000003857ce692dd96f307d42a03ac5f33db2496cf82f0000000000000000000000005000ef9a8d4b4fd6dd694a254f8296d30ba95d13
-----Decoded View---------------
Arg [0] : defaultAdmin (address): 0x3857CE692dd96f307d42A03Ac5F33DB2496cF82f
Arg [1] : minter (address): 0x3857CE692dd96f307d42A03Ac5F33DB2496cF82f
Arg [2] : _signerAddress (address): 0x5000Ef9A8d4B4fd6dd694A254F8296d30Ba95d13
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000003857ce692dd96f307d42a03ac5f33db2496cf82f
Arg [1] : 0000000000000000000000003857ce692dd96f307d42a03ac5f33db2496cf82f
Arg [2] : 0000000000000000000000005000ef9a8d4b4fd6dd694a254f8296d30ba95d13
[ 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.