Token
Overlay (OVL)
ERC-20
Source Code
Overview
Max Total Supply
5,387,505.19891937510083628 OVL
Holders
62,439
Market
Price
-
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1.181193428793759084 OVLLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
OverlayV1Token
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
import "ERC20.sol";
import "AccessControlEnumerable.sol";
import "IOverlayV1Token.sol";
contract OverlayV1Token is IOverlayV1Token, AccessControlEnumerable, ERC20("Overlay", "OVL") {
constructor() {
_grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
}
modifier onlyMinter() {
require(hasRole(MINTER_ROLE, msg.sender), "ERC20: !minter");
_;
}
modifier onlyBurner() {
require(hasRole(BURNER_ROLE, msg.sender), "ERC20: !burner");
_;
}
function mint(address _recipient, uint256 _amount) external onlyMinter {
_mint(_recipient, _amount);
}
function burn(uint256 _amount) external onlyBurner {
_burn(msg.sender, _amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "IERC20.sol";
import "IERC20Metadata.sol";
import "Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` 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 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* 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 `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, _allowances[owner][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = _allowances[owner][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* 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.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Spend `amount` form the allowance of `owner` toward `spender`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "IAccessControlEnumerable.sol";
import "AccessControl.sol";
import "EnumerableSet.sol";
/**
* @dev Extension of {AccessControl} that allows enumerating the members of each role.
*/
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
using EnumerableSet for EnumerableSet.AddressSet;
mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
return _roleMembers[role].at(index);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
return _roleMembers[role].length();
}
/**
* @dev Overload {_grantRole} to track enumerable memberships
*/
function _grantRole(bytes32 role, address account) internal virtual override {
super._grantRole(role, account);
_roleMembers[role].add(account);
}
/**
* @dev Overload {_revokeRole} to track enumerable memberships
*/
function _revokeRole(bytes32 role, address account) internal virtual override {
super._revokeRole(role, account);
_roleMembers[role].remove(account);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "IAccessControl.sol";
/**
* @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
*/
interface IAccessControlEnumerable is IAccessControl {
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) external view returns (address);
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "IAccessControl.sol";
import "Context.sol";
import "Strings.sol";
import "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:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role, _msgSender());
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping(bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) {
// Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
if (lastIndex != toDeleteIndex) {
bytes32 lastvalue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastvalue;
// Update the index for the moved value
set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
return set._values[index];
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function _values(Set storage set) private view returns (bytes32[] memory) {
return set._values;
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
return _values(set._inner);
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(AddressSet storage set) internal view returns (address[] memory) {
bytes32[] memory store = _values(set._inner);
address[] memory result;
assembly {
result := store
}
return result;
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(UintSet storage set) internal view returns (uint256[] memory) {
bytes32[] memory store = _values(set._inner);
uint256[] memory result;
assembly {
result := store
}
return result;
}
}// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
import "IERC20.sol";
import "IAccessControlEnumerable.sol";
bytes32 constant MINTER_ROLE = keccak256("MINTER");
bytes32 constant BURNER_ROLE = keccak256("BURNER");
bytes32 constant GOVERNOR_ROLE = keccak256("GOVERNOR");
bytes32 constant GUARDIAN_ROLE = keccak256("GUARDIAN");
interface IOverlayV1Token is IAccessControlEnumerable, IERC20 {
// mint/burn
function mint(address _recipient, uint256 _amount) external;
function burn(uint256 _amount) external;
}{
"evmVersion": "istanbul",
"optimizer": {
"enabled": true,
"runs": 800
},
"libraries": {
"OverlayV1Token.sol": {}
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201825260078152664f7665726c617960c81b60208083019182528351808501909452600384526213d59360ea1b9084015281519192916200005c91600591620001e0565b50805162000072906006906020840190620001e0565b5062000084915060009050336200008a565b620002c3565b620000a18282620000cd60201b620007d91760201c565b6000828152600160209081526040909120620000c8918390620008776200016e821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200016a576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001293390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000185836001600160a01b0384166200018e565b90505b92915050565b6000818152600183016020526040812054620001d75750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000188565b50600062000188565b828054620001ee9062000286565b90600052602060002090601f0160209004810192826200021257600085556200025d565b82601f106200022d57805160ff19168380011785556200025d565b828001600101855582156200025d579182015b828111156200025d57825182559160200191906001019062000240565b506200026b9291506200026f565b5090565b5b808211156200026b576000815560010162000270565b600181811c908216806200029b57607f821691505b60208210811415620002bd57634e487b7160e01b600052602260045260246000fd5b50919050565b61168880620002d36000396000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806342966c68116100d8578063a217fddf1161008c578063ca15c87311610066578063ca15c87314610350578063d547741f14610363578063dd62ed3e1461037657600080fd5b8063a217fddf14610322578063a457c2d71461032a578063a9059cbb1461033d57600080fd5b80639010d07c116100bd5780639010d07c146102b857806391d14854146102e357806395d89b411461031a57600080fd5b806342966c681461027c57806370a082311461028f57600080fd5b8063248a9ca31161013a57806336568abe1161011457806336568abe14610243578063395093511461025657806340c10f191461026957600080fd5b8063248a9ca3146101fc5780632f2ff15d1461021f578063313ce5671461023457600080fd5b8063095ea7b31161016b578063095ea7b3146101c457806318160ddd146101d757806323b872dd146101e957600080fd5b806301ffc9a71461018757806306fdde03146101af575b600080fd5b61019a610195366004611322565b6103af565b60405190151581526020015b60405180910390f35b6101b76103da565b6040516101a69190611378565b61019a6101d23660046113c7565b61046c565b6004545b6040519081526020016101a6565b61019a6101f73660046113f1565b610484565b6101db61020a36600461142d565b60009081526020819052604090206001015490565b61023261022d366004611446565b6104a8565b005b604051601281526020016101a6565b610232610251366004611446565b6104d3565b61019a6102643660046113c7565b610564565b6102326102773660046113c7565b6105a3565b61023261028a36600461142d565b61062b565b6101db61029d366004611472565b6001600160a01b031660009081526002602052604090205490565b6102cb6102c636600461148d565b6106b6565b6040516001600160a01b0390911681526020016101a6565b61019a6102f1366004611446565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6101b76106d5565b6101db600081565b61019a6103383660046113c7565b6106e4565b61019a61034b3660046113c7565b61078e565b6101db61035e36600461142d565b61079c565b610232610371366004611446565b6107b3565b6101db6103843660046114af565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60006001600160e01b03198216635a05180f60e01b14806103d457506103d48261088c565b92915050565b6060600580546103e9906114d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610415906114d9565b80156104625780601f1061043757610100808354040283529160200191610462565b820191906000526020600020905b81548152906001019060200180831161044557829003601f168201915b5050505050905090565b60003361047a8185856108c1565b5060019392505050565b6000336104928582856109e5565b61049d858585610a77565b506001949350505050565b6000828152602081905260409020600101546104c48133610c74565b6104ce8383610cf2565b505050565b6001600160a01b03811633146105565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6105608282610d14565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490919061047a908290869061059e90879061152a565b6108c1565b3360009081527f213adc0a84cc939081f025f2b699be0ed944ae23aa7816da33f513ef6fc3cdfb602052604090205460ff166106215760405162461bcd60e51b815260206004820152600e60248201527f45524332303a20216d696e746572000000000000000000000000000000000000604482015260640161054d565b6105608282610d36565b3360009081527fa183958c000cf56a4394cb845eaca1d40020849c6fc7b1afc321eae460ef09e2602052604090205460ff166106a95760405162461bcd60e51b815260206004820152600e60248201527f45524332303a20216275726e6572000000000000000000000000000000000000604482015260640161054d565b6106b33382610e15565b50565b60008281526001602052604081206106ce9083610f63565b9392505050565b6060600680546103e9906114d9565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909190838110156107815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161054d565b61049d82868684036108c1565b60003361047a818585610a77565b60008181526001602052604081206103d490610f6f565b6000828152602081905260409020600101546107cf8133610c74565b6104ce8383610d14565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610560576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556108333390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006106ce836001600160a01b038416610f79565b60006001600160e01b03198216637965db0b60e01b14806103d457506301ffc9a760e01b6001600160e01b03198316146103d4565b6001600160a01b0383166109235760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161054d565b6001600160a01b0382166109845760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161054d565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600360209081526040808320938616835292905220546000198114610a715781811015610a645760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161054d565b610a7184848484036108c1565b50505050565b6001600160a01b038316610af35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161054d565b6001600160a01b038216610b555760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161054d565b6001600160a01b03831660009081526002602052604090205481811015610be45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161054d565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290610c1b90849061152a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c6791815260200190565b60405180910390a3610a71565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1661056057610cb0816001600160a01b03166014610fc8565b610cbb836020610fc8565b604051602001610ccc929190611542565b60408051601f198184030181529082905262461bcd60e51b825261054d91600401611378565b610cfc82826107d9565b60008281526001602052604090206104ce9082610877565b610d1e8282611171565b60008281526001602052604090206104ce90826111f0565b6001600160a01b038216610d8c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161054d565b8060046000828254610d9e919061152a565b90915550506001600160a01b03821660009081526002602052604081208054839290610dcb90849061152a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610e755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161054d565b6001600160a01b03821660009081526002602052604090205481811015610ee95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161054d565b6001600160a01b0383166000908152600260205260408120838303905560048054849290610f189084906115c3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60006106ce8383611205565b60006103d4825490565b6000818152600183016020526040812054610fc0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556103d4565b5060006103d4565b60606000610fd78360026115da565b610fe290600261152a565b67ffffffffffffffff811115610ffa57610ffa6115f9565b6040519080825280601f01601f191660200182016040528015611024576020820181803683370190505b509050600360fc1b8160008151811061103f5761103f61160f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061106e5761106e61160f565b60200101906001600160f81b031916908160001a90535060006110928460026115da565b61109d90600161152a565b90505b6001811115611122577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106110de576110de61160f565b1a60f81b8282815181106110f4576110f461160f565b60200101906001600160f81b031916908160001a90535060049490941c9361111b81611625565b90506110a0565b5083156106ce5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161054d565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610560576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006106ce836001600160a01b03841661122f565b600082600001828154811061121c5761121c61160f565b9060005260206000200154905092915050565b600081815260018301602052604081205480156113185760006112536001836115c3565b8554909150600090611267906001906115c3565b90508181146112cc5760008660000182815481106112875761128761160f565b90600052602060002001549050808760000184815481106112aa576112aa61160f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806112dd576112dd61163c565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506103d4565b60009150506103d4565b60006020828403121561133457600080fd5b81356001600160e01b0319811681146106ce57600080fd5b60005b8381101561136757818101518382015260200161134f565b83811115610a715750506000910152565b602081526000825180602084015261139781604085016020870161134c565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146113c257600080fd5b919050565b600080604083850312156113da57600080fd5b6113e3836113ab565b946020939093013593505050565b60008060006060848603121561140657600080fd5b61140f846113ab565b925061141d602085016113ab565b9150604084013590509250925092565b60006020828403121561143f57600080fd5b5035919050565b6000806040838503121561145957600080fd5b82359150611469602084016113ab565b90509250929050565b60006020828403121561148457600080fd5b6106ce826113ab565b600080604083850312156114a057600080fd5b50508035926020909101359150565b600080604083850312156114c257600080fd5b6114cb836113ab565b9150611469602084016113ab565b600181811c908216806114ed57607f821691505b6020821081141561150e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561153d5761153d611514565b500190565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161157a81601785016020880161134c565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516115b781602884016020880161134c565b01602801949350505050565b6000828210156115d5576115d5611514565b500390565b60008160001904831182151516156115f4576115f4611514565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161163457611634611514565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212205c6c45ada4b2ad0a484ccb4a8b384e942e2bc23cc8e652f269179f6f734e671c64736f6c634300080a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101825760003560e01c806342966c68116100d8578063a217fddf1161008c578063ca15c87311610066578063ca15c87314610350578063d547741f14610363578063dd62ed3e1461037657600080fd5b8063a217fddf14610322578063a457c2d71461032a578063a9059cbb1461033d57600080fd5b80639010d07c116100bd5780639010d07c146102b857806391d14854146102e357806395d89b411461031a57600080fd5b806342966c681461027c57806370a082311461028f57600080fd5b8063248a9ca31161013a57806336568abe1161011457806336568abe14610243578063395093511461025657806340c10f191461026957600080fd5b8063248a9ca3146101fc5780632f2ff15d1461021f578063313ce5671461023457600080fd5b8063095ea7b31161016b578063095ea7b3146101c457806318160ddd146101d757806323b872dd146101e957600080fd5b806301ffc9a71461018757806306fdde03146101af575b600080fd5b61019a610195366004611322565b6103af565b60405190151581526020015b60405180910390f35b6101b76103da565b6040516101a69190611378565b61019a6101d23660046113c7565b61046c565b6004545b6040519081526020016101a6565b61019a6101f73660046113f1565b610484565b6101db61020a36600461142d565b60009081526020819052604090206001015490565b61023261022d366004611446565b6104a8565b005b604051601281526020016101a6565b610232610251366004611446565b6104d3565b61019a6102643660046113c7565b610564565b6102326102773660046113c7565b6105a3565b61023261028a36600461142d565b61062b565b6101db61029d366004611472565b6001600160a01b031660009081526002602052604090205490565b6102cb6102c636600461148d565b6106b6565b6040516001600160a01b0390911681526020016101a6565b61019a6102f1366004611446565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6101b76106d5565b6101db600081565b61019a6103383660046113c7565b6106e4565b61019a61034b3660046113c7565b61078e565b6101db61035e36600461142d565b61079c565b610232610371366004611446565b6107b3565b6101db6103843660046114af565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60006001600160e01b03198216635a05180f60e01b14806103d457506103d48261088c565b92915050565b6060600580546103e9906114d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610415906114d9565b80156104625780601f1061043757610100808354040283529160200191610462565b820191906000526020600020905b81548152906001019060200180831161044557829003601f168201915b5050505050905090565b60003361047a8185856108c1565b5060019392505050565b6000336104928582856109e5565b61049d858585610a77565b506001949350505050565b6000828152602081905260409020600101546104c48133610c74565b6104ce8383610cf2565b505050565b6001600160a01b03811633146105565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6105608282610d14565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490919061047a908290869061059e90879061152a565b6108c1565b3360009081527f213adc0a84cc939081f025f2b699be0ed944ae23aa7816da33f513ef6fc3cdfb602052604090205460ff166106215760405162461bcd60e51b815260206004820152600e60248201527f45524332303a20216d696e746572000000000000000000000000000000000000604482015260640161054d565b6105608282610d36565b3360009081527fa183958c000cf56a4394cb845eaca1d40020849c6fc7b1afc321eae460ef09e2602052604090205460ff166106a95760405162461bcd60e51b815260206004820152600e60248201527f45524332303a20216275726e6572000000000000000000000000000000000000604482015260640161054d565b6106b33382610e15565b50565b60008281526001602052604081206106ce9083610f63565b9392505050565b6060600680546103e9906114d9565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909190838110156107815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161054d565b61049d82868684036108c1565b60003361047a818585610a77565b60008181526001602052604081206103d490610f6f565b6000828152602081905260409020600101546107cf8133610c74565b6104ce8383610d14565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610560576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556108333390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006106ce836001600160a01b038416610f79565b60006001600160e01b03198216637965db0b60e01b14806103d457506301ffc9a760e01b6001600160e01b03198316146103d4565b6001600160a01b0383166109235760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161054d565b6001600160a01b0382166109845760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161054d565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600360209081526040808320938616835292905220546000198114610a715781811015610a645760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161054d565b610a7184848484036108c1565b50505050565b6001600160a01b038316610af35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161054d565b6001600160a01b038216610b555760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161054d565b6001600160a01b03831660009081526002602052604090205481811015610be45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161054d565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290610c1b90849061152a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c6791815260200190565b60405180910390a3610a71565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1661056057610cb0816001600160a01b03166014610fc8565b610cbb836020610fc8565b604051602001610ccc929190611542565b60408051601f198184030181529082905262461bcd60e51b825261054d91600401611378565b610cfc82826107d9565b60008281526001602052604090206104ce9082610877565b610d1e8282611171565b60008281526001602052604090206104ce90826111f0565b6001600160a01b038216610d8c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161054d565b8060046000828254610d9e919061152a565b90915550506001600160a01b03821660009081526002602052604081208054839290610dcb90849061152a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610e755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161054d565b6001600160a01b03821660009081526002602052604090205481811015610ee95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161054d565b6001600160a01b0383166000908152600260205260408120838303905560048054849290610f189084906115c3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60006106ce8383611205565b60006103d4825490565b6000818152600183016020526040812054610fc0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556103d4565b5060006103d4565b60606000610fd78360026115da565b610fe290600261152a565b67ffffffffffffffff811115610ffa57610ffa6115f9565b6040519080825280601f01601f191660200182016040528015611024576020820181803683370190505b509050600360fc1b8160008151811061103f5761103f61160f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061106e5761106e61160f565b60200101906001600160f81b031916908160001a90535060006110928460026115da565b61109d90600161152a565b90505b6001811115611122577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106110de576110de61160f565b1a60f81b8282815181106110f4576110f461160f565b60200101906001600160f81b031916908160001a90535060049490941c9361111b81611625565b90506110a0565b5083156106ce5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161054d565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610560576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006106ce836001600160a01b03841661122f565b600082600001828154811061121c5761121c61160f565b9060005260206000200154905092915050565b600081815260018301602052604081205480156113185760006112536001836115c3565b8554909150600090611267906001906115c3565b90508181146112cc5760008660000182815481106112875761128761160f565b90600052602060002001549050808760000184815481106112aa576112aa61160f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806112dd576112dd61163c565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506103d4565b60009150506103d4565b60006020828403121561133457600080fd5b81356001600160e01b0319811681146106ce57600080fd5b60005b8381101561136757818101518382015260200161134f565b83811115610a715750506000910152565b602081526000825180602084015261139781604085016020870161134c565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146113c257600080fd5b919050565b600080604083850312156113da57600080fd5b6113e3836113ab565b946020939093013593505050565b60008060006060848603121561140657600080fd5b61140f846113ab565b925061141d602085016113ab565b9150604084013590509250925092565b60006020828403121561143f57600080fd5b5035919050565b6000806040838503121561145957600080fd5b82359150611469602084016113ab565b90509250929050565b60006020828403121561148457600080fd5b6106ce826113ab565b600080604083850312156114a057600080fd5b50508035926020909101359150565b600080604083850312156114c257600080fd5b6114cb836113ab565b9150611469602084016113ab565b600181811c908216806114ed57607f821691505b6020821081141561150e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561153d5761153d611514565b500190565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161157a81601785016020880161134c565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516115b781602884016020880161134c565b01602801949350505050565b6000828210156115d5576115d5611514565b500390565b60008160001904831182151516156115f4576115f4611514565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161163457611634611514565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212205c6c45ada4b2ad0a484ccb4a8b384e942e2bc23cc8e652f269179f6f734e671c64736f6c634300080a0033
Deployed Bytecode Sourcemap
152:624:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;613:212:1;;;;;;:::i;:::-;;:::i;:::-;;;470:14:14;;463:22;445:41;;433:2;418:18;613:212:1;;;;;;;;2129:98:4;;;:::i;:::-;;;;;;;:::i;4406:197::-;;;;;;:::i;:::-;;:::i;3217:106::-;3304:12;;3217:106;;;1754:25:14;;;1742:2;1727:18;3217:106:4;1608:177:14;5165:286:4;;;;;;:::i;:::-;;:::i;3965:129:0:-;;;;;;:::i;:::-;4039:7;4065:12;;;;;;;;;;:22;;;;3965:129;4344:145;;;;;;:::i;:::-;;:::i;:::-;;3066:91:4;;;3148:2;2891:36:14;;2879:2;2864:18;3066:91:4;2749:184:14;5361:214:0;;;;;;:::i;:::-;;:::i;5846:236:4:-;;;;;;:::i;:::-;;:::i;560:114:12:-;;;;;;:::i;:::-;;:::i;680:94::-;;;;;;:::i;:::-;;:::i;3381:125:4:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3481:18:4;3455:7;3481:18;;;:9;:18;;;;;;;3381:125;1410:151:1;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3731:55:14;;;3713:74;;3701:2;3686:18;1410:151:1;3567:226:14;2866:145:0;;;;;;:::i;:::-;2952:4;2975:12;;;;;;;;;;;-1:-1:-1;;;;;2975:29:0;;;;;;;;;;;;;;;2866:145;2340:102:4;;;:::i;1984:49:0:-;;2029:4;1984:49;;6569:429:4;;;;;;:::i;:::-;;:::i;3702:189::-;;;;;;:::i;:::-;;:::i;1729:140:1:-;;;;;;:::i;:::-;;:::i;4723:147:0:-;;;;;;:::i;:::-;;:::i;3949:149:4:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4064:18:4;;;4038:7;4064:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3949:149;613:212:1;698:4;-1:-1:-1;;;;;;721:57:1;;-1:-1:-1;;;721:57:1;;:97;;;782:36;806:11;782:23;:36::i;:::-;714:104;613:212;-1:-1:-1;;613:212:1:o;2129:98:4:-;2183:13;2215:5;2208:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2129:98;:::o;4406:197::-;4489:4;719:10:2;4543:32:4;719:10:2;4559:7:4;4568:6;4543:8;:32::i;:::-;-1:-1:-1;4592:4:4;;4406:197;-1:-1:-1;;;4406:197:4:o;5165:286::-;5292:4;719:10:2;5348:38:4;5364:4;719:10:2;5379:6:4;5348:15;:38::i;:::-;5396:27;5406:4;5412:2;5416:6;5396:9;:27::i;:::-;-1:-1:-1;5440:4:4;;5165:286;-1:-1:-1;;;;5165:286:4:o;4344:145:0:-;4039:7;4065:12;;;;;;;;;;:22;;;2462:30;2473:4;719:10:2;2462::0;:30::i;:::-;4457:25:::1;4468:4;4474:7;4457:10;:25::i;:::-;4344:145:::0;;;:::o;5361:214::-;-1:-1:-1;;;;;5456:23:0;;719:10:2;5456:23:0;5448:83;;;;-1:-1:-1;;;5448:83:0;;4650:2:14;5448:83:0;;;4632:21:14;4689:2;4669:18;;;4662:30;4728:34;4708:18;;;4701:62;4799:17;4779:18;;;4772:45;4834:19;;5448:83:0;;;;;;;;;5542:26;5554:4;5560:7;5542:11;:26::i;:::-;5361:214;;:::o;5846:236:4:-;719:10:2;5934:4:4;6013:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6013:27:4;;;;;;;;;;5934:4;;719:10:2;5988:66:4;;719:10:2;;6013:27:4;;:40;;6043:10;;6013:40;:::i;:::-;5988:8;:66::i;560:114:12:-;391:10;2952:4:0;2975:29;;;:12;;:29;:12;:29;;;;;362:59:12;;;;-1:-1:-1;;;362:59:12;;5331:2:14;362:59:12;;;5313:21:14;5370:2;5350:18;;;5343:30;5409:16;5389:18;;;5382:44;5443:18;;362:59:12;5129:338:14;362:59:12;641:26:::1;647:10;659:7;641:5;:26::i;680:94::-:0;506:10;2952:4:0;2975:29;;;:12;;:29;:12;:29;;;;;477:59:12;;;;-1:-1:-1;;;477:59:12;;5674:2:14;477:59:12;;;5656:21:14;5713:2;5693:18;;;5686:30;5752:16;5732:18;;;5725:44;5786:18;;477:59:12;5472:338:14;477:59:12;741:26:::1;747:10;759:7;741:5;:26::i;:::-;680:94:::0;:::o;1410:151:1:-;1500:7;1526:18;;;:12;:18;;;;;:28;;1548:5;1526:21;:28::i;:::-;1519:35;1410:151;-1:-1:-1;;;1410:151:1:o;2340:102:4:-;2396:13;2428:7;2421:14;;;;;:::i;6569:429::-;719:10:2;6662:4:4;6743:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6743:27:4;;;;;;;;;;6662:4;;719:10:2;6788:35:4;;;;6780:85;;;;-1:-1:-1;;;6780:85:4;;6017:2:14;6780:85:4;;;5999:21:14;6056:2;6036:18;;;6029:30;6095:34;6075:18;;;6068:62;6166:7;6146:18;;;6139:35;6191:19;;6780:85:4;5815:401:14;6780:85:4;6899:60;6908:5;6915:7;6943:15;6924:16;:34;6899:8;:60::i;3702:189::-;3781:4;719:10:2;3835:28:4;719:10:2;3852:2:4;3856:6;3835:9;:28::i;1729:140:1:-;1809:7;1835:18;;;:12;:18;;;;;:27;;:25;:27::i;4723:147:0:-;4039:7;4065:12;;;;;;;;;;:22;;;2462:30;2473:4;719:10:2;2462::0;:30::i;:::-;4837:26:::1;4849:4;4855:7;4837:11;:26::i;6818:233::-:0;2952:4;2975:12;;;;;;;;;;;-1:-1:-1;;;;;2975:29:0;;;;;;;;;;;;6896:149;;6939:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6939:29:0;;;;;;;;;:36;;-1:-1:-1;;6939:36:0;6971:4;6939:36;;;7021:12;719:10:2;;640:96;7021:12:0;-1:-1:-1;;;;;6994:40:0;7012:7;-1:-1:-1;;;;;6994:40:0;7006:4;6994:40;;;;;;;;;;6818:233;;:::o;7612:150:5:-;7682:4;7705:50;7710:3;-1:-1:-1;;;;;7730:23:5;;7705:4;:50::i;2577:202:0:-;2662:4;-1:-1:-1;;;;;;2685:47:0;;-1:-1:-1;;;2685:47:0;;:87;;-1:-1:-1;;;;;;;;;;935:40:3;;;2736:36:0;827:155:3;10096:370:4;-1:-1:-1;;;;;10227:19:4;;10219:68;;;;-1:-1:-1;;;10219:68:4;;6423:2:14;10219:68:4;;;6405:21:14;6462:2;6442:18;;;6435:30;6501:34;6481:18;;;6474:62;-1:-1:-1;;;6552:18:14;;;6545:34;6596:19;;10219:68:4;6221:400:14;10219:68:4;-1:-1:-1;;;;;10305:21:4;;10297:68;;;;-1:-1:-1;;;10297:68:4;;6828:2:14;10297:68:4;;;6810:21:14;6867:2;6847:18;;;6840:30;6906:34;6886:18;;;6879:62;-1:-1:-1;;;6957:18:14;;;6950:32;6999:19;;10297:68:4;6626:398:14;10297:68:4;-1:-1:-1;;;;;10376:18:4;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10427:32;;1754:25:14;;;10427:32:4;;1727:18:14;10427:32:4;;;;;;;10096:370;;;:::o;10743:441::-;-1:-1:-1;;;;;4064:18:4;;;10873:24;4064:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10939:37:4;;10935:243;;11020:6;11000:16;:26;;10992:68;;;;-1:-1:-1;;;10992:68:4;;7231:2:14;10992:68:4;;;7213:21:14;7270:2;7250:18;;;7243:30;7309:31;7289:18;;;7282:59;7358:18;;10992:68:4;7029:353:14;10992:68:4;11102:51;11111:5;11118:7;11146:6;11127:16;:25;11102:8;:51::i;:::-;10863:321;10743:441;;;:::o;7461:651::-;-1:-1:-1;;;;;7587:18:4;;7579:68;;;;-1:-1:-1;;;7579:68:4;;7589:2:14;7579:68:4;;;7571:21:14;7628:2;7608:18;;;7601:30;7667:34;7647:18;;;7640:62;7738:7;7718:18;;;7711:35;7763:19;;7579:68:4;7387:401:14;7579:68:4;-1:-1:-1;;;;;7665:16:4;;7657:64;;;;-1:-1:-1;;;7657:64:4;;7995:2:14;7657:64:4;;;7977:21:14;8034:2;8014:18;;;8007:30;8073:34;8053:18;;;8046:62;-1:-1:-1;;;8124:18:14;;;8117:33;8167:19;;7657:64:4;7793:399:14;7657:64:4;-1:-1:-1;;;;;7803:15:4;;7781:19;7803:15;;;:9;:15;;;;;;7836:21;;;;7828:72;;;;-1:-1:-1;;;7828:72:4;;8399:2:14;7828:72:4;;;8381:21:14;8438:2;8418:18;;;8411:30;8477:34;8457:18;;;8450:62;8548:8;8528:18;;;8521:36;8574:19;;7828:72:4;8197:402:14;7828:72:4;-1:-1:-1;;;;;7934:15:4;;;;;;;:9;:15;;;;;;7952:20;;;7934:38;;7992:13;;;;;;;;:23;;7966:6;;7934:15;7992:23;;7966:6;;7992:23;:::i;:::-;;;;;;;;8046:2;-1:-1:-1;;;;;8031:26:4;8040:4;-1:-1:-1;;;;;8031:26:4;;8050:6;8031:26;;;;1754:25:14;;1742:2;1727:18;;1608:177;8031:26:4;;;;;;;;8068:37;4344:145:0;3292:492;2952:4;2975:12;;;;;;;;;;;-1:-1:-1;;;;;2975:29:0;;;;;;;;;;;;3375:403;;3563:41;3591:7;-1:-1:-1;;;;;3563:41:0;3601:2;3563:19;:41::i;:::-;3675:38;3703:4;3710:2;3675:19;:38::i;:::-;3470:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3470:265:0;;;;;;;;;;-1:-1:-1;;;3418:349:0;;;;;;;:::i;1957:166:1:-;2044:31;2061:4;2067:7;2044:16;:31::i;:::-;2085:18;;;;:12;:18;;;;;:31;;2108:7;2085:22;:31::i;2212:171::-;2300:32;2318:4;2324:7;2300:17;:32::i;:::-;2342:18;;;;:12;:18;;;;;:34;;2368:7;2342:25;:34::i;8388:389:4:-;-1:-1:-1;;;;;8471:21:4;;8463:65;;;;-1:-1:-1;;;8463:65:4;;9597:2:14;8463:65:4;;;9579:21:14;9636:2;9616:18;;;9609:30;9675:33;9655:18;;;9648:61;9726:18;;8463:65:4;9395:355:14;8463:65:4;8615:6;8599:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8631:18:4;;;;;;:9;:18;;;;;:28;;8653:6;;8631:18;:28;;8653:6;;8631:28;:::i;:::-;;;;-1:-1:-1;;8674:37:4;;1754:25:14;;;-1:-1:-1;;;;;8674:37:4;;;8691:1;;8674:37;;1742:2:14;1727:18;8674:37:4;;;;;;;5361:214:0;;:::o;9097:576:4:-;-1:-1:-1;;;;;9180:21:4;;9172:67;;;;-1:-1:-1;;;9172:67:4;;9957:2:14;9172:67:4;;;9939:21:14;9996:2;9976:18;;;9969:30;10035:34;10015:18;;;10008:62;-1:-1:-1;;;10086:18:14;;;10079:31;10127:19;;9172:67:4;9755:397:14;9172:67:4;-1:-1:-1;;;;;9335:18:4;;9310:22;9335:18;;;:9;:18;;;;;;9371:24;;;;9363:71;;;;-1:-1:-1;;;9363:71:4;;10359:2:14;9363:71:4;;;10341:21:14;10398:2;10378:18;;;10371:30;10437:34;10417:18;;;10410:62;-1:-1:-1;;;10488:18:14;;;10481:32;10530:19;;9363:71:4;10157:398:14;9363:71:4;-1:-1:-1;;;;;9468:18:4;;;;;;:9;:18;;;;;9489:23;;;9468:44;;9532:12;:22;;9506:6;;9468:18;9532:22;;9506:6;;9532:22;:::i;:::-;;;;-1:-1:-1;;9570:37:4;;1754:25:14;;;9596:1:4;;-1:-1:-1;;;;;9570:37:4;;;;;1742:2:14;1727:18;9570:37:4;;;;;;;4344:145:0;;;:::o;8870:156:5:-;8944:7;8994:22;8998:3;9010:5;8994:3;:22::i;8413:115::-;8476:7;8502:19;8510:3;4028:18;;3946:107;1697:404;1760:4;3834:19;;;:12;;;:19;;;;;;1776:319;;-1:-1:-1;1818:23:5;;;;;;;;:11;:23;;;;;;;;;;;;;1998:18;;1976:19;;;:12;;;:19;;;;;;:40;;;;2030:11;;1776:319;-1:-1:-1;2079:5:5;2072:12;;1588:441:13;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:13;;1688:47;;-1:-1:-1;;;1745:6:13;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:13;;;;;;;;;-1:-1:-1;;;1770:6:13;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:13;;;;;;;;-1:-1:-1;1800:9:13;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;1866:12;1879:5;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:13;;;;;;;;-1:-1:-1;1915:1:13;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:13;;1936:55;;;;-1:-1:-1;;;1936:55:13;;11470:2:14;1936:55:13;;;11452:21:14;;;11489:18;;;11482:30;11548:34;11528:18;;;11521:62;11600:18;;1936:55:13;11268:356:14;7176:234:0;2952:4;2975:12;;;;;;;;;;;-1:-1:-1;;;;;2975:29:0;;;;;;;;;;;;7255:149;;;7329:5;7297:12;;;;;;;;;;;-1:-1:-1;;;;;7297:29:0;;;;;;;;;;:37;;-1:-1:-1;;7297:37:0;;;7353:40;719:10:2;;7297:12:0;;7353:40;;7329:5;7353:40;7176:234;;:::o;7930:156:5:-;8003:4;8026:53;8034:3;-1:-1:-1;;;;;8054:23:5;;8026:7;:53::i;4395:118::-;4462:7;4488:3;:11;;4500:5;4488:18;;;;;;;;:::i;:::-;;;;;;;;;4481:25;;4395:118;;;;:::o;2269:1388::-;2335:4;2472:19;;;:12;;;:19;;;;;;2506:15;;2502:1149;;2875:21;2899:14;2912:1;2899:10;:14;:::i;:::-;2947:18;;2875:38;;-1:-1:-1;2927:17:5;;2947:22;;2968:1;;2947:22;:::i;:::-;2927:42;;3001:13;2988:9;:26;2984:398;;3034:17;3054:3;:11;;3066:9;3054:22;;;;;;;;:::i;:::-;;;;;;;;;3034:42;;3205:9;3176:3;:11;;3188:13;3176:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3288:23;;;:12;;;:23;;;;;:36;;;2984:398;3460:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3552:3;:12;;:19;3565:5;3552:19;;;;;;;;;;;3545:26;;;3593:4;3586:11;;;;;;;2502:1149;3635:5;3628:12;;;;;14:286:14;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:14;;209:43;;199:71;;266:1;263;256:12;497:258;569:1;579:113;593:6;590:1;587:13;579:113;;;669:11;;;663:18;650:11;;;643:39;615:2;608:10;579:113;;;710:6;707:1;704:13;701:48;;;-1:-1:-1;;745:1:14;727:16;;720:27;497:258::o;760:383::-;909:2;898:9;891:21;872:4;941:6;935:13;984:6;979:2;968:9;964:18;957:34;1000:66;1059:6;1054:2;1043:9;1039:18;1034:2;1026:6;1022:15;1000:66;:::i;:::-;1127:2;1106:15;-1:-1:-1;;1102:29:14;1087:45;;;;1134:2;1083:54;;760:383;-1:-1:-1;;760:383:14:o;1148:196::-;1216:20;;-1:-1:-1;;;;;1265:54:14;;1255:65;;1245:93;;1334:1;1331;1324:12;1245:93;1148:196;;;:::o;1349:254::-;1417:6;1425;1478:2;1466:9;1457:7;1453:23;1449:32;1446:52;;;1494:1;1491;1484:12;1446:52;1517:29;1536:9;1517:29;:::i;:::-;1507:39;1593:2;1578:18;;;;1565:32;;-1:-1:-1;;;1349:254:14:o;1790:328::-;1867:6;1875;1883;1936:2;1924:9;1915:7;1911:23;1907:32;1904:52;;;1952:1;1949;1942:12;1904:52;1975:29;1994:9;1975:29;:::i;:::-;1965:39;;2023:38;2057:2;2046:9;2042:18;2023:38;:::i;:::-;2013:48;;2108:2;2097:9;2093:18;2080:32;2070:42;;1790:328;;;;;:::o;2123:180::-;2182:6;2235:2;2223:9;2214:7;2210:23;2206:32;2203:52;;;2251:1;2248;2241:12;2203:52;-1:-1:-1;2274:23:14;;2123:180;-1:-1:-1;2123:180:14:o;2490:254::-;2558:6;2566;2619:2;2607:9;2598:7;2594:23;2590:32;2587:52;;;2635:1;2632;2625:12;2587:52;2671:9;2658:23;2648:33;;2700:38;2734:2;2723:9;2719:18;2700:38;:::i;:::-;2690:48;;2490:254;;;;;:::o;3123:186::-;3182:6;3235:2;3223:9;3214:7;3210:23;3206:32;3203:52;;;3251:1;3248;3241:12;3203:52;3274:29;3293:9;3274:29;:::i;3314:248::-;3382:6;3390;3443:2;3431:9;3422:7;3418:23;3414:32;3411:52;;;3459:1;3456;3449:12;3411:52;-1:-1:-1;;3482:23:14;;;3552:2;3537:18;;;3524:32;;-1:-1:-1;3314:248:14:o;3798:260::-;3866:6;3874;3927:2;3915:9;3906:7;3902:23;3898:32;3895:52;;;3943:1;3940;3933:12;3895:52;3966:29;3985:9;3966:29;:::i;:::-;3956:39;;4014:38;4048:2;4037:9;4033:18;4014:38;:::i;4063:380::-;4142:1;4138:12;;;;4185;;;4206:61;;4260:4;4252:6;4248:17;4238:27;;4206:61;4313:2;4305:6;4302:14;4282:18;4279:38;4276:161;;;4359:10;4354:3;4350:20;4347:1;4340:31;4394:4;4391:1;4384:15;4422:4;4419:1;4412:15;4276:161;;4063:380;;;:::o;4864:127::-;4925:10;4920:3;4916:20;4913:1;4906:31;4956:4;4953:1;4946:15;4980:4;4977:1;4970:15;4996:128;5036:3;5067:1;5063:6;5060:1;5057:13;5054:39;;;5073:18;;:::i;:::-;-1:-1:-1;5109:9:14;;4996:128::o;8604:786::-;9015:25;9010:3;9003:38;8985:3;9070:6;9064:13;9086:62;9141:6;9136:2;9131:3;9127:12;9120:4;9112:6;9108:17;9086:62;:::i;:::-;9212:19;9207:2;9167:16;;;9199:11;;;9192:40;9257:13;;9279:63;9257:13;9328:2;9320:11;;9313:4;9301:17;;9279:63;:::i;:::-;9362:17;9381:2;9358:26;;8604:786;-1:-1:-1;;;;8604:786:14:o;10560:125::-;10600:4;10628:1;10625;10622:8;10619:34;;;10633:18;;:::i;:::-;-1:-1:-1;10670:9:14;;10560:125::o;10690:168::-;10730:7;10796:1;10792;10788:6;10784:14;10781:1;10778:21;10773:1;10766:9;10759:17;10755:45;10752:71;;;10803:18;;:::i;:::-;-1:-1:-1;10843:9:14;;10690:168::o;10863:127::-;10924:10;10919:3;10915:20;10912:1;10905:31;10955:4;10952:1;10945:15;10979:4;10976:1;10969:15;10995:127;11056:10;11051:3;11047:20;11044:1;11037:31;11087:4;11084:1;11077:15;11111:4;11108:1;11101:15;11127:136;11166:3;11194:5;11184:39;;11203:18;;:::i;:::-;-1:-1:-1;;;11239:18:14;;11127:136::o;11629:127::-;11690:10;11685:3;11681:20;11678:1;11671:31;11721:4;11718:1;11711:15;11745:4;11742:1;11735:15
Swarm Source
ipfs://5c6c45ada4b2ad0a484ccb4a8b384e942e2bc23cc8e652f269179f6f734e671c
[ 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.