ERC-20
Real World Assets
Overview
Max Total Supply
56,901,925.238885084391570179 RIO
Holders
31,480 ( -0.006%)
Market
Price
$0.98 @ 0.000293 ETH (+0.60%)
Onchain Market Cap
$55,785,509.47
Circulating Supply Market Cap
$54,250,822.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,400 RIOValue
$1,372.53 ( ~0.410766017318362 Eth) [0.0025%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
RIOToken
Compiler Version
v0.8.27+commit.40a35a09
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Compatible with OpenZeppelin Contracts ^5.0.0 pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; contract RIOToken is ERC20, ERC20Burnable, AccessControl { uint256 public constant MAX_SUPPLY = 175_000_000 * 10 ** 18; // 175 million tokens with 18 decimals uint256 public dailyMintCap = 1_750_000 * 10 ** 18; // 1.75M tokens with 18 decimals uint256 public lastMintTimestamp; uint256 public mintedToday; // Variables for delayed daily mint cap updates uint256 public pendingDailyMintCap; uint256 public dailyMintCapUpdateTimestamp; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); event BridgedOut(address, uint256); event DailyCapUpdated(uint256); constructor(address defaultAdmin, address minter) ERC20("Realio Network", "RIO") { _grantRole(DEFAULT_ADMIN_ROLE, defaultAdmin); _grantRole(MINTER_ROLE, minter); } /*******************************************************************************************\ * @dev mint function to mint new tokens * @param recipient address of recipient of the newly-minted tokens * @param amount amount of the newly-minted tokens to go to recipient * The mint function will revert if the minted amount would result in either * the MAX_SUPPLY or the active dailyMintCap being exceeded \*******************************************************************************************/ function mint( address recipient, uint256 amount ) external onlyRole(MINTER_ROLE) { // Apply the new daily cap if 24 hours have passed if ( pendingDailyMintCap > 0 && block.timestamp >= dailyMintCapUpdateTimestamp + 1 days ) { dailyMintCap = pendingDailyMintCap; pendingDailyMintCap = 0; // Clear the pending update } uint256 newSupply = totalSupply() + amount; // Calculate the new total supply require(newSupply <= MAX_SUPPLY, "Exceeds max supply"); if (block.timestamp >= _nextResetTime()) { mintedToday = 0; lastMintTimestamp = block.timestamp; } require(mintedToday + amount <= dailyMintCap, "Exceeds daily cap"); mintedToday += amount; _mint(recipient, amount); } /*******************************************************************************************\ * @dev batchMint function to mint new tokens in batches * @param recipients list of recipients of the newly-minted tokens * @param amounts list of amounts of the newly-minted tokens per recipient * The lists are in corresponding orders, i.e. recipients[n] receives amounts[n] * The batchMint function will revert if the total minted amount would result in either * the MAX_SUPPLY or the active dailyMintCap being exceeded \*******************************************************************************************/ function batchMint( address[] memory recipients, uint256[] memory amounts ) external onlyRole(MINTER_ROLE) { require( recipients.length == amounts.length, "Mismatched input lengths" ); // Apply the new daily cap if 24 hours have passed if ( pendingDailyMintCap > 0 && block.timestamp >= dailyMintCapUpdateTimestamp + 1 days ) { dailyMintCap = pendingDailyMintCap; pendingDailyMintCap = 0; // Clear the pending update } uint256 totalMintAmount = _sumArray(amounts); // Sum all the amounts in the batch uint256 newSupply = totalSupply() + totalMintAmount; // Calculate the new total supply require(newSupply <= MAX_SUPPLY, "Exceeds max supply"); if (block.timestamp >= _nextResetTime()) { mintedToday = 0; lastMintTimestamp = block.timestamp; } require( mintedToday + totalMintAmount <= dailyMintCap, "Exceeds daily cap" ); mintedToday += totalMintAmount; for (uint256 i = 0; i < recipients.length; i++) { _mint(recipients[i], amounts[i]); } } // Helper function to calculate the next daily cap reset time function _nextResetTime() private view returns (uint256) { // Calculate the next daily cap reset time at midnight UTC return (lastMintTimestamp / 1 days + 1) * 1 days; } // Helper function to sum an array of uint256 values function _sumArray( uint256[] memory amounts ) private pure returns (uint256 total) { for (uint256 i = 0; i < amounts.length; i++) { total += amounts[i]; } } /*******************************************************************************************\ * @dev Admin function to modify the daily mint limit * @param newCap new limit value * The new cap will only take effect after 24hr have passed since the update was made * Only the admin (owner) can modify the daily limit \*******************************************************************************************/ function updateDailyMintCap( uint newCap ) external onlyRole(DEFAULT_ADMIN_ROLE) { pendingDailyMintCap = newCap; dailyMintCapUpdateTimestamp = block.timestamp; // Store update timestamp emit DailyCapUpdated(pendingDailyMintCap); } /*******************************************************************************************\ * @dev Admin function to burn tokens on behalf of a user (for bridging out) * @param account address of the account whose tokens will be burned * @param amount amount of tokens to burn * The admin must be approved for (at least) the amount by the user, and this is exactly * equivalent to calling burnFrom directly, with an added event emission * Only the admin can call this function to burn tokens on behalf of users \*******************************************************************************************/ function bridgeOut( address account, uint256 amount ) external onlyRole(DEFAULT_ADMIN_ROLE) { // Burn the tokens (requires approval) burnFrom(account, amount); // Emit the BridgedOut event emit BridgedOut(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.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) (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) (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.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.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) (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.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) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"defaultAdmin","type":"address"},{"internalType":"address","name":"minter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"BridgedOut","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"DailyCapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bridgeOut","outputs":[],"stateMutability":"nonpayable","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":"dailyMintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dailyMintCapUpdateTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastMintTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedToday","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":"pendingDailyMintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCap","type":"uint256"}],"name":"updateDailyMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526a017293b0a9e69fd9c0000060065534801561001f57600080fd5b5060405161297a38038061297a833981810160405281019061004191906102ef565b6040518060400160405280600e81526020017f5265616c696f204e6574776f726b0000000000000000000000000000000000008152506040518060400160405280600381526020017f52494f000000000000000000000000000000000000000000000000000000000081525081600390816100bc919061057f565b5080600490816100cc919061057f565b5050506100e26000801b8361011b60201b60201c565b506101137f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68261011b60201b60201c565b505050610651565b600061012d838361021960201b60201c565b61020e5760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506101ab61028460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050610213565b600090505b92915050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102bc82610291565b9050919050565b6102cc816102b1565b81146102d757600080fd5b50565b6000815190506102e9816102c3565b92915050565b600080604083850312156103065761030561028c565b5b6000610314858286016102da565b9250506020610325858286016102da565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806103b057607f821691505b6020821081036103c3576103c2610369565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261042b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826103ee565b61043586836103ee565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061047c6104776104728461044d565b610457565b61044d565b9050919050565b6000819050919050565b61049683610461565b6104aa6104a282610483565b8484546103fb565b825550505050565b600090565b6104bf6104b2565b6104ca81848461048d565b505050565b5b818110156104ee576104e36000826104b7565b6001810190506104d0565b5050565b601f82111561053357610504816103c9565b61050d846103de565b8101602085101561051c578190505b610530610528856103de565b8301826104cf565b50505b505050565b600082821c905092915050565b600061055660001984600802610538565b1980831691505092915050565b600061056f8383610545565b9150826002028217905092915050565b6105888261032f565b67ffffffffffffffff8111156105a1576105a061033a565b5b6105ab8254610398565b6105b68282856104f2565b600060209050601f8311600181146105e957600084156105d7578287015190505b6105e18582610563565b865550610649565b601f1984166105f7866103c9565b60005b8281101561061f578489015182556001820191506020850194506020810190506105fa565b8683101561063c5784890151610638601f891682610545565b8355505b6001600288020188555050505b505050505050565b61231a806106606000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636857310711610104578063a217fddf116100a2578063d132e58611610071578063d132e58614610530578063d53913931461054e578063d547741f1461056c578063dd62ed3e14610588576101cf565b8063a217fddf146104a8578063a9059cbb146104c6578063b7c140dd146104f6578063d12c8e6d14610514576101cf565b80638e80ff5d116100de5780638e80ff5d1461042057806391d148541461043e57806395d89b411461046e5780639854175f1461048c576101cf565b806368573107146103b857806370a08231146103d457806379cc679014610404576101cf565b80632f2ff15d1161017157806336568abe1161014b57806336568abe1461034657806340c10f191461036257806342966c681461037e578063432326341461039a576101cf565b80632f2ff15d146102ee578063313ce5671461030a57806332cb6b0c14610328576101cf565b806318160ddd116101ad57806318160ddd1461025257806323b872dd14610270578063248a9ca3146102a05780632832bcb5146102d0576101cf565b806301ffc9a7146101d457806306fdde0314610204578063095ea7b314610222575b600080fd5b6101ee60048036038101906101e991906118d2565b6105b8565b6040516101fb919061191a565b60405180910390f35b61020c610632565b60405161021991906119c5565b60405180910390f35b61023c60048036038101906102379190611a7b565b6106c4565b604051610249919061191a565b60405180910390f35b61025a6106e7565b6040516102679190611aca565b60405180910390f35b61028a60048036038101906102859190611ae5565b6106f1565b604051610297919061191a565b60405180910390f35b6102ba60048036038101906102b59190611b6e565b610720565b6040516102c79190611baa565b60405180910390f35b6102d8610740565b6040516102e59190611aca565b60405180910390f35b61030860048036038101906103039190611bc5565b610746565b005b610312610768565b60405161031f9190611c21565b60405180910390f35b610330610771565b60405161033d9190611aca565b60405180910390f35b610360600480360381019061035b9190611bc5565b610780565b005b61037c60048036038101906103779190611a7b565b6107fb565b005b61039860048036038101906103939190611c3c565b61095c565b005b6103a2610970565b6040516103af9190611aca565b60405180910390f35b6103d260048036038101906103cd9190611e74565b610976565b005b6103ee60048036038101906103e99190611eec565b610b77565b6040516103fb9190611aca565b60405180910390f35b61041e60048036038101906104199190611a7b565b610bbf565b005b610428610bdf565b6040516104359190611aca565b60405180910390f35b61045860048036038101906104539190611bc5565b610be5565b604051610465919061191a565b60405180910390f35b610476610c50565b60405161048391906119c5565b60405180910390f35b6104a660048036038101906104a19190611a7b565b610ce2565b005b6104b0610d37565b6040516104bd9190611baa565b60405180910390f35b6104e060048036038101906104db9190611a7b565b610d3e565b6040516104ed919061191a565b60405180910390f35b6104fe610d61565b60405161050b9190611aca565b60405180910390f35b61052e60048036038101906105299190611c3c565b610d67565b005b610538610dbf565b6040516105459190611aca565b60405180910390f35b610556610dc5565b6040516105639190611baa565b60405180910390f35b61058660048036038101906105819190611bc5565b610de9565b005b6105a2600480360381019061059d9190611f19565b610e0b565b6040516105af9190611aca565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062b575061062a82610e92565b5b9050919050565b60606003805461064190611f88565b80601f016020809104026020016040519081016040528092919081815260200182805461066d90611f88565b80156106ba5780601f1061068f576101008083540402835291602001916106ba565b820191906000526020600020905b81548152906001019060200180831161069d57829003601f168201915b5050505050905090565b6000806106cf610efc565b90506106dc818585610f04565b600191505092915050565b6000600254905090565b6000806106fc610efc565b9050610709858285610f16565b610714858585610faa565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b60065481565b61074f82610720565b6107588161109e565b61076283836110b2565b50505050565b60006012905090565b6a90c1b1025e16710f00000081565b610788610efc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107ec576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107f682826111a4565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108258161109e565b6000600954118015610847575062015180600a546108439190611fe8565b4210155b1561085e5760095460068190555060006009819055505b6000826108696106e7565b6108739190611fe8565b90506a90c1b1025e16710f0000008111156108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba90612068565b60405180910390fd5b6108cb611297565b42106108e1576000600881905550426007819055505b600654836008546108f29190611fe8565b1115610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092a906120d4565b60405180910390fd5b82600860008282546109459190611fe8565b9250508190555061095684846112c9565b50505050565b61096d610967610efc565b8261134b565b50565b60095481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109a08161109e565b81518351146109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90612140565b60405180910390fd5b6000600954118015610a06575062015180600a54610a029190611fe8565b4210155b15610a1d5760095460068190555060006009819055505b6000610a28836113cd565b9050600081610a356106e7565b610a3f9190611fe8565b90506a90c1b1025e16710f000000811115610a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8690612068565b60405180910390fd5b610a97611297565b4210610aad576000600881905550426007819055505b60065482600854610abe9190611fe8565b1115610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af6906120d4565b60405180910390fd5b8160086000828254610b119190611fe8565b9250508190555060005b8551811015610b6f57610b62868281518110610b3a57610b39612160565b5b6020026020010151868381518110610b5557610b54612160565b5b60200260200101516112c9565b8080600101915050610b1b565b505050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bd182610bcb610efc565b83610f16565b610bdb828261134b565b5050565b60075481565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610c5f90611f88565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8b90611f88565b8015610cd85780601f10610cad57610100808354040283529160200191610cd8565b820191906000526020600020905b815481529060010190602001808311610cbb57829003601f168201915b5050505050905090565b6000801b610cef8161109e565b610cf98383610bbf565b7fd6f811082282fcd48bc0904e5f578b143ca8a184e2752e70b136ac6dc21fcbe68383604051610d2a92919061219e565b60405180910390a1505050565b6000801b81565b600080610d49610efc565b9050610d56818585610faa565b600191505092915050565b60085481565b6000801b610d748161109e565b8160098190555042600a819055507f8925eb7e33342c248e8380fb70e3f497217013b0fd9bfca496b50b77bc90a01f600954604051610db39190611aca565b60405180910390a15050565b600a5481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610df282610720565b610dfb8161109e565b610e0583836111a4565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610f118383836001611419565b505050565b6000610f228484610e0b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610fa45781811015610f94578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610f8b939291906121c7565b60405180910390fd5b610fa384848484036000611419565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361101c5760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161101391906121fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361108e5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161108591906121fe565b60405180910390fd5b6110998383836115f0565b505050565b6110af816110aa610efc565b611815565b50565b60006110be8383610be5565b6111995760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611136610efc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905061119e565b600090505b92915050565b60006111b08383610be5565b1561128c5760006005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611229610efc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611291565b600090505b92915050565b6000620151806001620151806007546112b09190612248565b6112ba9190611fe8565b6112c49190612279565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361133b5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161133291906121fe565b60405180910390fd5b611347600083836115f0565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113bd5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016113b491906121fe565b60405180910390fd5b6113c9826000836115f0565b5050565b600080600090505b8251811015611413578281815181106113f1576113f0612160565b5b6020026020010151826114049190611fe8565b915080806001019150506113d5565b50919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361148b5760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161148291906121fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114fd5760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016114f491906121fe565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156115ea578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516115e19190611aca565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116425780600260008282546116369190611fe8565b92505081905550611715565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116ce578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016116c5939291906121c7565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361175e57806002600082825403925050819055506117ab565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118089190611aca565b60405180910390a3505050565b61181f8282610be5565b6118625780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016118599291906122bb565b60405180910390fd5b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6118af8161187a565b81146118ba57600080fd5b50565b6000813590506118cc816118a6565b92915050565b6000602082840312156118e8576118e7611870565b5b60006118f6848285016118bd565b91505092915050565b60008115159050919050565b611914816118ff565b82525050565b600060208201905061192f600083018461190b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561196f578082015181840152602081019050611954565b60008484015250505050565b6000601f19601f8301169050919050565b600061199782611935565b6119a18185611940565b93506119b1818560208601611951565b6119ba8161197b565b840191505092915050565b600060208201905081810360008301526119df818461198c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a12826119e7565b9050919050565b611a2281611a07565b8114611a2d57600080fd5b50565b600081359050611a3f81611a19565b92915050565b6000819050919050565b611a5881611a45565b8114611a6357600080fd5b50565b600081359050611a7581611a4f565b92915050565b60008060408385031215611a9257611a91611870565b5b6000611aa085828601611a30565b9250506020611ab185828601611a66565b9150509250929050565b611ac481611a45565b82525050565b6000602082019050611adf6000830184611abb565b92915050565b600080600060608486031215611afe57611afd611870565b5b6000611b0c86828701611a30565b9350506020611b1d86828701611a30565b9250506040611b2e86828701611a66565b9150509250925092565b6000819050919050565b611b4b81611b38565b8114611b5657600080fd5b50565b600081359050611b6881611b42565b92915050565b600060208284031215611b8457611b83611870565b5b6000611b9284828501611b59565b91505092915050565b611ba481611b38565b82525050565b6000602082019050611bbf6000830184611b9b565b92915050565b60008060408385031215611bdc57611bdb611870565b5b6000611bea85828601611b59565b9250506020611bfb85828601611a30565b9150509250929050565b600060ff82169050919050565b611c1b81611c05565b82525050565b6000602082019050611c366000830184611c12565b92915050565b600060208284031215611c5257611c51611870565b5b6000611c6084828501611a66565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611ca68261197b565b810181811067ffffffffffffffff82111715611cc557611cc4611c6e565b5b80604052505050565b6000611cd8611866565b9050611ce48282611c9d565b919050565b600067ffffffffffffffff821115611d0457611d03611c6e565b5b602082029050602081019050919050565b600080fd5b6000611d2d611d2884611ce9565b611cce565b90508083825260208201905060208402830185811115611d5057611d4f611d15565b5b835b81811015611d795780611d658882611a30565b845260208401935050602081019050611d52565b5050509392505050565b600082601f830112611d9857611d97611c69565b5b8135611da8848260208601611d1a565b91505092915050565b600067ffffffffffffffff821115611dcc57611dcb611c6e565b5b602082029050602081019050919050565b6000611df0611deb84611db1565b611cce565b90508083825260208201905060208402830185811115611e1357611e12611d15565b5b835b81811015611e3c5780611e288882611a66565b845260208401935050602081019050611e15565b5050509392505050565b600082601f830112611e5b57611e5a611c69565b5b8135611e6b848260208601611ddd565b91505092915050565b60008060408385031215611e8b57611e8a611870565b5b600083013567ffffffffffffffff811115611ea957611ea8611875565b5b611eb585828601611d83565b925050602083013567ffffffffffffffff811115611ed657611ed5611875565b5b611ee285828601611e46565b9150509250929050565b600060208284031215611f0257611f01611870565b5b6000611f1084828501611a30565b91505092915050565b60008060408385031215611f3057611f2f611870565b5b6000611f3e85828601611a30565b9250506020611f4f85828601611a30565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611fa057607f821691505b602082108103611fb357611fb2611f59565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611ff382611a45565b9150611ffe83611a45565b925082820190508082111561201657612015611fb9565b5b92915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b6000612052601283611940565b915061205d8261201c565b602082019050919050565b6000602082019050818103600083015261208181612045565b9050919050565b7f45786365656473206461696c7920636170000000000000000000000000000000600082015250565b60006120be601183611940565b91506120c982612088565b602082019050919050565b600060208201905081810360008301526120ed816120b1565b9050919050565b7f4d69736d61746368656420696e707574206c656e677468730000000000000000600082015250565b600061212a601883611940565b9150612135826120f4565b602082019050919050565b600060208201905081810360008301526121598161211d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b61219881611a07565b82525050565b60006040820190506121b3600083018561218f565b6121c06020830184611abb565b9392505050565b60006060820190506121dc600083018661218f565b6121e96020830185611abb565b6121f66040830184611abb565b949350505050565b6000602082019050612213600083018461218f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061225382611a45565b915061225e83611a45565b92508261226e5761226d612219565b5b828204905092915050565b600061228482611a45565b915061228f83611a45565b925082820261229d81611a45565b915082820484148315176122b4576122b3611fb9565b5b5092915050565b60006040820190506122d0600083018561218f565b6122dd6020830184611b9b565b939250505056fea26469706673582212207f0725c6165e7b5342ed83cc9fc344c2d3645c21b516652e257def8dd7a2108b64736f6c634300081b003300000000000000000000000076bbce5d4115fbd24424a9fcfc2e5beaae09957100000000000000000000000076bbce5d4115fbd24424a9fcfc2e5beaae099571
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636857310711610104578063a217fddf116100a2578063d132e58611610071578063d132e58614610530578063d53913931461054e578063d547741f1461056c578063dd62ed3e14610588576101cf565b8063a217fddf146104a8578063a9059cbb146104c6578063b7c140dd146104f6578063d12c8e6d14610514576101cf565b80638e80ff5d116100de5780638e80ff5d1461042057806391d148541461043e57806395d89b411461046e5780639854175f1461048c576101cf565b806368573107146103b857806370a08231146103d457806379cc679014610404576101cf565b80632f2ff15d1161017157806336568abe1161014b57806336568abe1461034657806340c10f191461036257806342966c681461037e578063432326341461039a576101cf565b80632f2ff15d146102ee578063313ce5671461030a57806332cb6b0c14610328576101cf565b806318160ddd116101ad57806318160ddd1461025257806323b872dd14610270578063248a9ca3146102a05780632832bcb5146102d0576101cf565b806301ffc9a7146101d457806306fdde0314610204578063095ea7b314610222575b600080fd5b6101ee60048036038101906101e991906118d2565b6105b8565b6040516101fb919061191a565b60405180910390f35b61020c610632565b60405161021991906119c5565b60405180910390f35b61023c60048036038101906102379190611a7b565b6106c4565b604051610249919061191a565b60405180910390f35b61025a6106e7565b6040516102679190611aca565b60405180910390f35b61028a60048036038101906102859190611ae5565b6106f1565b604051610297919061191a565b60405180910390f35b6102ba60048036038101906102b59190611b6e565b610720565b6040516102c79190611baa565b60405180910390f35b6102d8610740565b6040516102e59190611aca565b60405180910390f35b61030860048036038101906103039190611bc5565b610746565b005b610312610768565b60405161031f9190611c21565b60405180910390f35b610330610771565b60405161033d9190611aca565b60405180910390f35b610360600480360381019061035b9190611bc5565b610780565b005b61037c60048036038101906103779190611a7b565b6107fb565b005b61039860048036038101906103939190611c3c565b61095c565b005b6103a2610970565b6040516103af9190611aca565b60405180910390f35b6103d260048036038101906103cd9190611e74565b610976565b005b6103ee60048036038101906103e99190611eec565b610b77565b6040516103fb9190611aca565b60405180910390f35b61041e60048036038101906104199190611a7b565b610bbf565b005b610428610bdf565b6040516104359190611aca565b60405180910390f35b61045860048036038101906104539190611bc5565b610be5565b604051610465919061191a565b60405180910390f35b610476610c50565b60405161048391906119c5565b60405180910390f35b6104a660048036038101906104a19190611a7b565b610ce2565b005b6104b0610d37565b6040516104bd9190611baa565b60405180910390f35b6104e060048036038101906104db9190611a7b565b610d3e565b6040516104ed919061191a565b60405180910390f35b6104fe610d61565b60405161050b9190611aca565b60405180910390f35b61052e60048036038101906105299190611c3c565b610d67565b005b610538610dbf565b6040516105459190611aca565b60405180910390f35b610556610dc5565b6040516105639190611baa565b60405180910390f35b61058660048036038101906105819190611bc5565b610de9565b005b6105a2600480360381019061059d9190611f19565b610e0b565b6040516105af9190611aca565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062b575061062a82610e92565b5b9050919050565b60606003805461064190611f88565b80601f016020809104026020016040519081016040528092919081815260200182805461066d90611f88565b80156106ba5780601f1061068f576101008083540402835291602001916106ba565b820191906000526020600020905b81548152906001019060200180831161069d57829003601f168201915b5050505050905090565b6000806106cf610efc565b90506106dc818585610f04565b600191505092915050565b6000600254905090565b6000806106fc610efc565b9050610709858285610f16565b610714858585610faa565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b60065481565b61074f82610720565b6107588161109e565b61076283836110b2565b50505050565b60006012905090565b6a90c1b1025e16710f00000081565b610788610efc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107ec576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107f682826111a4565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108258161109e565b6000600954118015610847575062015180600a546108439190611fe8565b4210155b1561085e5760095460068190555060006009819055505b6000826108696106e7565b6108739190611fe8565b90506a90c1b1025e16710f0000008111156108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba90612068565b60405180910390fd5b6108cb611297565b42106108e1576000600881905550426007819055505b600654836008546108f29190611fe8565b1115610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092a906120d4565b60405180910390fd5b82600860008282546109459190611fe8565b9250508190555061095684846112c9565b50505050565b61096d610967610efc565b8261134b565b50565b60095481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109a08161109e565b81518351146109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90612140565b60405180910390fd5b6000600954118015610a06575062015180600a54610a029190611fe8565b4210155b15610a1d5760095460068190555060006009819055505b6000610a28836113cd565b9050600081610a356106e7565b610a3f9190611fe8565b90506a90c1b1025e16710f000000811115610a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8690612068565b60405180910390fd5b610a97611297565b4210610aad576000600881905550426007819055505b60065482600854610abe9190611fe8565b1115610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af6906120d4565b60405180910390fd5b8160086000828254610b119190611fe8565b9250508190555060005b8551811015610b6f57610b62868281518110610b3a57610b39612160565b5b6020026020010151868381518110610b5557610b54612160565b5b60200260200101516112c9565b8080600101915050610b1b565b505050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bd182610bcb610efc565b83610f16565b610bdb828261134b565b5050565b60075481565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610c5f90611f88565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8b90611f88565b8015610cd85780601f10610cad57610100808354040283529160200191610cd8565b820191906000526020600020905b815481529060010190602001808311610cbb57829003601f168201915b5050505050905090565b6000801b610cef8161109e565b610cf98383610bbf565b7fd6f811082282fcd48bc0904e5f578b143ca8a184e2752e70b136ac6dc21fcbe68383604051610d2a92919061219e565b60405180910390a1505050565b6000801b81565b600080610d49610efc565b9050610d56818585610faa565b600191505092915050565b60085481565b6000801b610d748161109e565b8160098190555042600a819055507f8925eb7e33342c248e8380fb70e3f497217013b0fd9bfca496b50b77bc90a01f600954604051610db39190611aca565b60405180910390a15050565b600a5481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610df282610720565b610dfb8161109e565b610e0583836111a4565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610f118383836001611419565b505050565b6000610f228484610e0b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610fa45781811015610f94578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610f8b939291906121c7565b60405180910390fd5b610fa384848484036000611419565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361101c5760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161101391906121fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361108e5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161108591906121fe565b60405180910390fd5b6110998383836115f0565b505050565b6110af816110aa610efc565b611815565b50565b60006110be8383610be5565b6111995760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611136610efc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905061119e565b600090505b92915050565b60006111b08383610be5565b1561128c5760006005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611229610efc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611291565b600090505b92915050565b6000620151806001620151806007546112b09190612248565b6112ba9190611fe8565b6112c49190612279565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361133b5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161133291906121fe565b60405180910390fd5b611347600083836115f0565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113bd5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016113b491906121fe565b60405180910390fd5b6113c9826000836115f0565b5050565b600080600090505b8251811015611413578281815181106113f1576113f0612160565b5b6020026020010151826114049190611fe8565b915080806001019150506113d5565b50919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361148b5760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161148291906121fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114fd5760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016114f491906121fe565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156115ea578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516115e19190611aca565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116425780600260008282546116369190611fe8565b92505081905550611715565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116ce578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016116c5939291906121c7565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361175e57806002600082825403925050819055506117ab565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118089190611aca565b60405180910390a3505050565b61181f8282610be5565b6118625780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016118599291906122bb565b60405180910390fd5b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6118af8161187a565b81146118ba57600080fd5b50565b6000813590506118cc816118a6565b92915050565b6000602082840312156118e8576118e7611870565b5b60006118f6848285016118bd565b91505092915050565b60008115159050919050565b611914816118ff565b82525050565b600060208201905061192f600083018461190b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561196f578082015181840152602081019050611954565b60008484015250505050565b6000601f19601f8301169050919050565b600061199782611935565b6119a18185611940565b93506119b1818560208601611951565b6119ba8161197b565b840191505092915050565b600060208201905081810360008301526119df818461198c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a12826119e7565b9050919050565b611a2281611a07565b8114611a2d57600080fd5b50565b600081359050611a3f81611a19565b92915050565b6000819050919050565b611a5881611a45565b8114611a6357600080fd5b50565b600081359050611a7581611a4f565b92915050565b60008060408385031215611a9257611a91611870565b5b6000611aa085828601611a30565b9250506020611ab185828601611a66565b9150509250929050565b611ac481611a45565b82525050565b6000602082019050611adf6000830184611abb565b92915050565b600080600060608486031215611afe57611afd611870565b5b6000611b0c86828701611a30565b9350506020611b1d86828701611a30565b9250506040611b2e86828701611a66565b9150509250925092565b6000819050919050565b611b4b81611b38565b8114611b5657600080fd5b50565b600081359050611b6881611b42565b92915050565b600060208284031215611b8457611b83611870565b5b6000611b9284828501611b59565b91505092915050565b611ba481611b38565b82525050565b6000602082019050611bbf6000830184611b9b565b92915050565b60008060408385031215611bdc57611bdb611870565b5b6000611bea85828601611b59565b9250506020611bfb85828601611a30565b9150509250929050565b600060ff82169050919050565b611c1b81611c05565b82525050565b6000602082019050611c366000830184611c12565b92915050565b600060208284031215611c5257611c51611870565b5b6000611c6084828501611a66565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611ca68261197b565b810181811067ffffffffffffffff82111715611cc557611cc4611c6e565b5b80604052505050565b6000611cd8611866565b9050611ce48282611c9d565b919050565b600067ffffffffffffffff821115611d0457611d03611c6e565b5b602082029050602081019050919050565b600080fd5b6000611d2d611d2884611ce9565b611cce565b90508083825260208201905060208402830185811115611d5057611d4f611d15565b5b835b81811015611d795780611d658882611a30565b845260208401935050602081019050611d52565b5050509392505050565b600082601f830112611d9857611d97611c69565b5b8135611da8848260208601611d1a565b91505092915050565b600067ffffffffffffffff821115611dcc57611dcb611c6e565b5b602082029050602081019050919050565b6000611df0611deb84611db1565b611cce565b90508083825260208201905060208402830185811115611e1357611e12611d15565b5b835b81811015611e3c5780611e288882611a66565b845260208401935050602081019050611e15565b5050509392505050565b600082601f830112611e5b57611e5a611c69565b5b8135611e6b848260208601611ddd565b91505092915050565b60008060408385031215611e8b57611e8a611870565b5b600083013567ffffffffffffffff811115611ea957611ea8611875565b5b611eb585828601611d83565b925050602083013567ffffffffffffffff811115611ed657611ed5611875565b5b611ee285828601611e46565b9150509250929050565b600060208284031215611f0257611f01611870565b5b6000611f1084828501611a30565b91505092915050565b60008060408385031215611f3057611f2f611870565b5b6000611f3e85828601611a30565b9250506020611f4f85828601611a30565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611fa057607f821691505b602082108103611fb357611fb2611f59565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611ff382611a45565b9150611ffe83611a45565b925082820190508082111561201657612015611fb9565b5b92915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b6000612052601283611940565b915061205d8261201c565b602082019050919050565b6000602082019050818103600083015261208181612045565b9050919050565b7f45786365656473206461696c7920636170000000000000000000000000000000600082015250565b60006120be601183611940565b91506120c982612088565b602082019050919050565b600060208201905081810360008301526120ed816120b1565b9050919050565b7f4d69736d61746368656420696e707574206c656e677468730000000000000000600082015250565b600061212a601883611940565b9150612135826120f4565b602082019050919050565b600060208201905081810360008301526121598161211d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b61219881611a07565b82525050565b60006040820190506121b3600083018561218f565b6121c06020830184611abb565b9392505050565b60006060820190506121dc600083018661218f565b6121e96020830185611abb565b6121f66040830184611abb565b949350505050565b6000602082019050612213600083018461218f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061225382611a45565b915061225e83611a45565b92508261226e5761226d612219565b5b828204905092915050565b600061228482611a45565b915061228f83611a45565b925082820261229d81611a45565b915082820484148315176122b4576122b3611fb9565b5b5092915050565b60006040820190506122d0600083018561218f565b6122dd6020830184611b9b565b939250505056fea26469706673582212207f0725c6165e7b5342ed83cc9fc344c2d3645c21b516652e257def8dd7a2108b64736f6c634300081b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000076bbce5d4115fbd24424a9fcfc2e5beaae09957100000000000000000000000076bbce5d4115fbd24424a9fcfc2e5beaae099571
-----Decoded View---------------
Arg [0] : defaultAdmin (address): 0x76BbCe5d4115fBd24424a9FCFC2e5BeAAE099571
Arg [1] : minter (address): 0x76BbCe5d4115fBd24424a9FCFC2e5BeAAE099571
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000076bbce5d4115fbd24424a9fcfc2e5beaae099571
Arg [1] : 00000000000000000000000076bbce5d4115fbd24424a9fcfc2e5beaae099571
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.