Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Marketplace
Overview
Max Total Supply
100,000,000 SPUME
Holders
1,787 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (+0.07%)
Onchain Market Cap
$37,472.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,200 SPUMEValue
$0.82 ( ~0.000332017652888445 Eth) [0.0022%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SPUMEToken
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-12 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // 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); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/utils/Strings.sol // 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); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // 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; } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } } // File: @openzeppelin/contracts/utils/Arrays.sol // OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @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); _; } /** * @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 `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @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()); } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the 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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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, allowance(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 = allowance(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 Updates `owner` s allowance for `spender` based on spent `amount`. * * 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 {} } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/ERC20Snapshot.sol) pragma solidity ^0.8.0; /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it * return `block.number` will trigger the creation of snapshot at the beginning of each new block. When overriding this * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract. * * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient * alternative consider {ERC20Votes}. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ abstract contract ERC20Snapshot is ERC20 { // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping(address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal virtual returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _getCurrentSnapshotId(); emit Snapshot(currentId); return currentId; } /** * @dev Get the current snapshotId */ function _getCurrentSnapshotId() internal view virtual returns (uint256) { return _currentSnapshotId.current(); } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // Update balance and/or total supply snapshots before the values are modified. This is implemented // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // mint _updateAccountSnapshot(to); _updateTotalSupplySnapshot(); } else if (to == address(0)) { // burn _updateAccountSnapshot(from); _updateTotalSupplySnapshot(); } else { // transfer _updateAccountSnapshot(from); _updateAccountSnapshot(to); } } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _getCurrentSnapshotId(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } } // File: contracts/SPUMEToken.sol pragma solidity ^0.8.7; contract SPUMEToken is ERC20Snapshot, AccessControl{ // Create snapshot role bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE"); constructor(uint256 initialSupply) ERC20("Spume", "SPUME"){ _mint(msg.sender, initialSupply); _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); } function snapshot() public returns (uint256){ require(hasRole(SNAPSHOT_ROLE, msg.sender), "AccessControl: sender must have role SNAPSHOT_ROLE"); return _snapshot(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"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":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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":"SNAPSHOT_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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":[],"name":"snapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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
60806040523480156200001157600080fd5b506040516200198338038062001983833981016040819052620000349162000489565b604051806040016040528060058152602001645370756d6560d81b815250604051806040016040528060058152602001645350554d4560d81b815250816003908051906020019062000088929190620003e3565b5080516200009e906004906020840190620003e3565b505050620000b33382620000c760201b60201c565b620000c0600033620001be565b5062000541565b6001600160a01b038216620001225760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b6200013060008383620001ca565b8060026000828254620001449190620004a3565b90915550506001600160a01b0382166000908152602081905260408120805483929062000173908490620004a3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b620001ba82826200023b565b620001e28383836200020660201b620004401760201c565b6001600160a01b0383166200020b57620001fc82620002df565b6200020662000317565b505050565b6001600160a01b0382166200022557620001fc83620002df565b6200023083620002df565b6200020682620002df565b60008281526009602090815260408083206001600160a01b038516845290915290205460ff16620001ba5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200029b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b0381166000908152600560209081526040808320918390529091205462000314919062000329565b62000329565b50565b6200032760066200030e60025490565b565b60006200033562000378565b905080620003438462000396565b101562000206578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000620003916008620003df60201b620007211760201c565b905090565b8054600090620003a857506000919050565b81548290620003ba90600190620004be565b81548110620003cd57620003cd6200052b565b90600052602060002001549050919050565b5490565b828054620003f190620004d8565b90600052602060002090601f01602090048101928262000415576000855562000460565b82601f106200043057805160ff191683800117855562000460565b8280016001018555821562000460579182015b828111156200046057825182559160200191906001019062000443565b506200046e92915062000472565b5090565b5b808211156200046e576000815560010162000473565b6000602082840312156200049c57600080fd5b5051919050565b60008219821115620004b957620004b962000515565b500190565b600082821015620004d357620004d362000515565b500390565b600181811c90821680620004ed57607f821691505b602082108114156200050f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61143280620005516000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637028e2cd116100b8578063981b24d01161007c578063981b24d0146102af578063a217fddf146102c2578063a457c2d7146102ca578063a9059cbb146102dd578063d547741f146102f0578063dd62ed3e1461030357600080fd5b80637028e2cd1461023c57806370a082311461026357806391d148541461028c57806395d89b411461029f5780639711715a146102a757600080fd5b8063248a9ca31161010a578063248a9ca3146101bc5780632f2ff15d146101df578063313ce567146101f457806336568abe1461020357806339509351146102165780634ee2cd7e1461022957600080fd5b806301ffc9a71461014757806306fdde031461016f578063095ea7b31461018457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015a6101553660046111fa565b610316565b60405190151581526020015b60405180910390f35b61017761034d565b6040516101669190611299565b61015a610192366004611194565b6103df565b6002545b604051908152602001610166565b61015a6101b7366004611158565b6103f7565b61019b6101ca3660046111be565b60009081526009602052604090206001015490565b6101f26101ed3660046111d7565b61041b565b005b60405160128152602001610166565b6101f26102113660046111d7565b610445565b61015a610224366004611194565b6104c8565b61019b610237366004611194565b6104ea565b61019b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b61019b61027136600461110a565b6001600160a01b031660009081526020819052604090205490565b61015a61029a3660046111d7565b610543565b61017761056e565b61019b61057d565b61019b6102bd3660046111be565b61061d565b61019b600081565b61015a6102d8366004611194565b610648565b61015a6102eb366004611194565b6106c3565b6101f26102fe3660046111d7565b6106d1565b61019b610311366004611125565b6106f6565b60006001600160e01b03198216637965db0b60e01b148061034757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461035c9061137f565b80601f01602080910402602001604051908101604052809291908181526020018280546103889061137f565b80156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b6000336103ed818585610725565b5060019392505050565b600033610405858285610849565b6104108585856108c3565b506001949350505050565b60008281526009602052604090206001015461043681610a9c565b6104408383610aa9565b505050565b6001600160a01b03811633146104ba5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6104c48282610b2f565b5050565b6000336103ed8185856104db83836106f6565b6104e591906112cc565b610725565b6001600160a01b038216600090815260056020526040812081908190610511908590610b96565b9150915081610538576001600160a01b03851660009081526020819052604090205461053a565b805b95945050505050565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461035c9061137f565b60006105a97f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33610543565b6106105760405162461bcd60e51b815260206004820152603260248201527f416363657373436f6e74726f6c3a2073656e646572206d757374206861766520604482015271726f6c6520534e415053484f545f524f4c4560701b60648201526084016104b1565b610618610c8d565b905090565b600080600061062d846006610b96565b915091508161063e57600254610640565b805b949350505050565b6000338161065682866106f6565b9050838110156106b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b1565b6104108286868403610725565b6000336103ed8185856108c3565b6000828152600960205260409020600101546106ec81610a9c565b6104408383610b2f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b5490565b6001600160a01b0383166107875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b1565b6001600160a01b0382166107e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061085584846106f6565b905060001981146108bd57818110156108b05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b1565b6108bd8484848403610725565b50505050565b6001600160a01b0383166109275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b1565b6001600160a01b0382166109895760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b1565b610994838383610ce7565b6001600160a01b03831660009081526020819052604090205481811015610a0c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a439084906112cc565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a8f91815260200190565b60405180910390a36108bd565b610aa68133610d2f565b50565b610ab38282610543565b6104c45760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610aeb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610b398282610543565b156104c45760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008060008411610be25760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104b1565b610bea610d93565b841115610c395760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104b1565b6000610c458486610d9e565b8454909150811415610c5e576000809250925050610c86565b6001846001018281548110610c7557610c756113d0565b906000526020600020015492509250505b9250929050565b6000610c9d600880546001019055565b6000610ca7610d93565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051610cda91815260200190565b60405180910390a1919050565b6001600160a01b038316610d0657610cfe82610e61565b610440610e93565b6001600160a01b038216610d1d57610cfe83610e61565b610d2683610e61565b61044082610e61565b610d398282610543565b6104c457610d51816001600160a01b03166014610ea3565b610d5c836020610ea3565b604051602001610d6d929190611224565b60408051601f198184030181529082905262461bcd60e51b82526104b191600401611299565b600061061860085490565b8154600090610daf57506000610347565b82546000905b80821015610e0b576000610dc98383611046565b905084868281548110610dde57610dde6113d0565b90600052602060002001541115610df757809150610e05565b610e028160016112cc565b92505b50610db5565b600082118015610e4057508385610e23600185611325565b81548110610e3357610e336113d0565b9060005260206000200154145b15610e5957610e50600183611325565b92505050610347565b509050610347565b6001600160a01b03811660009081526005602090815260408083209183905290912054610aa69190611061565b611061565b610ea16006610e8e60025490565b565b60606000610eb2836002611306565b610ebd9060026112cc565b67ffffffffffffffff811115610ed557610ed56113e6565b6040519080825280601f01601f191660200182016040528015610eff576020820181803683370190505b509050600360fc1b81600081518110610f1a57610f1a6113d0565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610f4957610f496113d0565b60200101906001600160f81b031916908160001a9053506000610f6d846002611306565b610f789060016112cc565b90505b6001811115610ff0576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610fac57610fac6113d0565b1a60f81b828281518110610fc257610fc26113d0565b60200101906001600160f81b031916908160001a90535060049490941c93610fe981611368565b9050610f7b565b50831561103f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104b1565b9392505050565b600061105560028484186112e4565b61103f908484166112cc565b600061106b610d93565b905080611077846110ab565b1015610440578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b80546000906110bc57506000919050565b815482906110cc90600190611325565b815481106110dc576110dc6113d0565b90600052602060002001549050919050565b919050565b80356001600160a01b03811681146110ee57600080fd5b60006020828403121561111c57600080fd5b61103f826110f3565b6000806040838503121561113857600080fd5b611141836110f3565b915061114f602084016110f3565b90509250929050565b60008060006060848603121561116d57600080fd5b611176846110f3565b9250611184602085016110f3565b9150604084013590509250925092565b600080604083850312156111a757600080fd5b6111b0836110f3565b946020939093013593505050565b6000602082840312156111d057600080fd5b5035919050565b600080604083850312156111ea57600080fd5b8235915061114f602084016110f3565b60006020828403121561120c57600080fd5b81356001600160e01b03198116811461103f57600080fd5b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161125c81601785016020880161133c565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161128d81602884016020880161133c565b01602801949350505050565b60208152600082518060208401526112b881604085016020870161133c565b601f01601f19169190910160400192915050565b600082198211156112df576112df6113ba565b500190565b60008261130157634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611320576113206113ba565b500290565b600082821015611337576113376113ba565b500390565b60005b8381101561135757818101518382015260200161133f565b838111156108bd5750506000910152565b600081611377576113776113ba565b506000190190565b600181811c9082168061139357607f821691505b602082108114156113b457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122016dce89404c0469a150e358fa3496a4ae72c8c78af6d4bae39b67f3920b8916b64736f6c6343000807003300000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c80637028e2cd116100b8578063981b24d01161007c578063981b24d0146102af578063a217fddf146102c2578063a457c2d7146102ca578063a9059cbb146102dd578063d547741f146102f0578063dd62ed3e1461030357600080fd5b80637028e2cd1461023c57806370a082311461026357806391d148541461028c57806395d89b411461029f5780639711715a146102a757600080fd5b8063248a9ca31161010a578063248a9ca3146101bc5780632f2ff15d146101df578063313ce567146101f457806336568abe1461020357806339509351146102165780634ee2cd7e1461022957600080fd5b806301ffc9a71461014757806306fdde031461016f578063095ea7b31461018457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015a6101553660046111fa565b610316565b60405190151581526020015b60405180910390f35b61017761034d565b6040516101669190611299565b61015a610192366004611194565b6103df565b6002545b604051908152602001610166565b61015a6101b7366004611158565b6103f7565b61019b6101ca3660046111be565b60009081526009602052604090206001015490565b6101f26101ed3660046111d7565b61041b565b005b60405160128152602001610166565b6101f26102113660046111d7565b610445565b61015a610224366004611194565b6104c8565b61019b610237366004611194565b6104ea565b61019b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b61019b61027136600461110a565b6001600160a01b031660009081526020819052604090205490565b61015a61029a3660046111d7565b610543565b61017761056e565b61019b61057d565b61019b6102bd3660046111be565b61061d565b61019b600081565b61015a6102d8366004611194565b610648565b61015a6102eb366004611194565b6106c3565b6101f26102fe3660046111d7565b6106d1565b61019b610311366004611125565b6106f6565b60006001600160e01b03198216637965db0b60e01b148061034757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461035c9061137f565b80601f01602080910402602001604051908101604052809291908181526020018280546103889061137f565b80156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b6000336103ed818585610725565b5060019392505050565b600033610405858285610849565b6104108585856108c3565b506001949350505050565b60008281526009602052604090206001015461043681610a9c565b6104408383610aa9565b505050565b6001600160a01b03811633146104ba5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6104c48282610b2f565b5050565b6000336103ed8185856104db83836106f6565b6104e591906112cc565b610725565b6001600160a01b038216600090815260056020526040812081908190610511908590610b96565b9150915081610538576001600160a01b03851660009081526020819052604090205461053a565b805b95945050505050565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461035c9061137f565b60006105a97f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33610543565b6106105760405162461bcd60e51b815260206004820152603260248201527f416363657373436f6e74726f6c3a2073656e646572206d757374206861766520604482015271726f6c6520534e415053484f545f524f4c4560701b60648201526084016104b1565b610618610c8d565b905090565b600080600061062d846006610b96565b915091508161063e57600254610640565b805b949350505050565b6000338161065682866106f6565b9050838110156106b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b1565b6104108286868403610725565b6000336103ed8185856108c3565b6000828152600960205260409020600101546106ec81610a9c565b6104408383610b2f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b5490565b6001600160a01b0383166107875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b1565b6001600160a01b0382166107e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061085584846106f6565b905060001981146108bd57818110156108b05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b1565b6108bd8484848403610725565b50505050565b6001600160a01b0383166109275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b1565b6001600160a01b0382166109895760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b1565b610994838383610ce7565b6001600160a01b03831660009081526020819052604090205481811015610a0c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a439084906112cc565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a8f91815260200190565b60405180910390a36108bd565b610aa68133610d2f565b50565b610ab38282610543565b6104c45760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610aeb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610b398282610543565b156104c45760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008060008411610be25760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104b1565b610bea610d93565b841115610c395760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104b1565b6000610c458486610d9e565b8454909150811415610c5e576000809250925050610c86565b6001846001018281548110610c7557610c756113d0565b906000526020600020015492509250505b9250929050565b6000610c9d600880546001019055565b6000610ca7610d93565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051610cda91815260200190565b60405180910390a1919050565b6001600160a01b038316610d0657610cfe82610e61565b610440610e93565b6001600160a01b038216610d1d57610cfe83610e61565b610d2683610e61565b61044082610e61565b610d398282610543565b6104c457610d51816001600160a01b03166014610ea3565b610d5c836020610ea3565b604051602001610d6d929190611224565b60408051601f198184030181529082905262461bcd60e51b82526104b191600401611299565b600061061860085490565b8154600090610daf57506000610347565b82546000905b80821015610e0b576000610dc98383611046565b905084868281548110610dde57610dde6113d0565b90600052602060002001541115610df757809150610e05565b610e028160016112cc565b92505b50610db5565b600082118015610e4057508385610e23600185611325565b81548110610e3357610e336113d0565b9060005260206000200154145b15610e5957610e50600183611325565b92505050610347565b509050610347565b6001600160a01b03811660009081526005602090815260408083209183905290912054610aa69190611061565b611061565b610ea16006610e8e60025490565b565b60606000610eb2836002611306565b610ebd9060026112cc565b67ffffffffffffffff811115610ed557610ed56113e6565b6040519080825280601f01601f191660200182016040528015610eff576020820181803683370190505b509050600360fc1b81600081518110610f1a57610f1a6113d0565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610f4957610f496113d0565b60200101906001600160f81b031916908160001a9053506000610f6d846002611306565b610f789060016112cc565b90505b6001811115610ff0576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610fac57610fac6113d0565b1a60f81b828281518110610fc257610fc26113d0565b60200101906001600160f81b031916908160001a90535060049490941c93610fe981611368565b9050610f7b565b50831561103f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104b1565b9392505050565b600061105560028484186112e4565b61103f908484166112cc565b600061106b610d93565b905080611077846110ab565b1015610440578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b80546000906110bc57506000919050565b815482906110cc90600190611325565b815481106110dc576110dc6113d0565b90600052602060002001549050919050565b919050565b80356001600160a01b03811681146110ee57600080fd5b60006020828403121561111c57600080fd5b61103f826110f3565b6000806040838503121561113857600080fd5b611141836110f3565b915061114f602084016110f3565b90509250929050565b60008060006060848603121561116d57600080fd5b611176846110f3565b9250611184602085016110f3565b9150604084013590509250925092565b600080604083850312156111a757600080fd5b6111b0836110f3565b946020939093013593505050565b6000602082840312156111d057600080fd5b5035919050565b600080604083850312156111ea57600080fd5b8235915061114f602084016110f3565b60006020828403121561120c57600080fd5b81356001600160e01b03198116811461103f57600080fd5b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161125c81601785016020880161133c565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161128d81602884016020880161133c565b01602801949350505050565b60208152600082518060208401526112b881604085016020870161133c565b601f01601f19169190910160400192915050565b600082198211156112df576112df6113ba565b500190565b60008261130157634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611320576113206113ba565b500290565b600082821015611337576113376113ba565b500390565b60005b8381101561135757818101518382015260200161133f565b838111156108bd5750506000910152565b600081611377576113776113ba565b506000190190565b600181811c9082168061139357607f821691505b602082108114156113b457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122016dce89404c0469a150e358fa3496a4ae72c8c78af6d4bae39b67f3920b8916b64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 100000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Deployed Bytecode Sourcemap
45884:524:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14917:204;;;;;;:::i;:::-;;:::i;:::-;;;3116:14:1;;3109:22;3091:41;;3079:2;3064:18;14917:204:0;;;;;;;;26071:100;;;:::i;:::-;;;;;;;:::i;28422:201::-;;;;;;:::i;:::-;;:::i;27191:108::-;27279:12;;27191:108;;;3289:25:1;;;3277:2;3262:18;27191:108:0;3143:177:1;29203:295:0;;;;;;:::i;:::-;;:::i;16753:131::-;;;;;;:::i;:::-;16827:7;16854:12;;;:6;:12;;;;;:22;;;;16753:131;17146:147;;;;;;:::i;:::-;;:::i;:::-;;27033:93;;;27116:2;8731:36:1;;8719:2;8704:18;27033:93:0;8589:184:1;18194:218:0;;;;;;:::i;:::-;;:::i;29907:238::-;;;;;;:::i;:::-;;:::i;41919:266::-;;;;;;:::i;:::-;;:::i;45971:66::-;;46011:26;45971:66;;27362:127;;;;;;:::i;:::-;-1:-1:-1;;;;;27463:18:0;27436:7;27463:18;;;;;;;;;;;;27362:127;15213:147;;;;;;:::i;:::-;;:::i;26290:104::-;;;:::i;46216:189::-;;;:::i;42289:234::-;;;;;;:::i;:::-;;:::i;14318:49::-;;14363:4;14318:49;;30648:436;;;;;;:::i;:::-;;:::i;27695:193::-;;;;;;:::i;:::-;;:::i;17538:149::-;;;;;;:::i;:::-;;:::i;27951:151::-;;;;;;:::i;:::-;;:::i;14917:204::-;15002:4;-1:-1:-1;;;;;;15026:47:0;;-1:-1:-1;;;15026:47:0;;:87;;-1:-1:-1;;;;;;;;;;1891:40:0;;;15077:36;15019:94;14917:204;-1:-1:-1;;14917:204:0:o;26071:100::-;26125:13;26158:5;26151:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26071:100;:::o;28422:201::-;28505:4;12206:10;28561:32;12206:10;28577:7;28586:6;28561:8;:32::i;:::-;-1:-1:-1;28611:4:0;;28422:201;-1:-1:-1;;;28422:201:0:o;29203:295::-;29334:4;12206:10;29392:38;29408:4;12206:10;29423:6;29392:15;:38::i;:::-;29441:27;29451:4;29457:2;29461:6;29441:9;:27::i;:::-;-1:-1:-1;29486:4:0;;29203:295;-1:-1:-1;;;;29203:295:0:o;17146:147::-;16827:7;16854:12;;;:6;:12;;;;;:22;;;14809:16;14820:4;14809:10;:16::i;:::-;17260:25:::1;17271:4;17277:7;17260:10;:25::i;:::-;17146:147:::0;;;:::o;18194:218::-;-1:-1:-1;;;;;18290:23:0;;12206:10;18290:23;18282:83;;;;-1:-1:-1;;;18282:83:0;;8193:2:1;18282:83:0;;;8175:21:1;8232:2;8212:18;;;8205:30;8271:34;8251:18;;;8244:62;-1:-1:-1;;;8322:18:1;;;8315:45;8377:19;;18282:83:0;;;;;;;;;18378:26;18390:4;18396:7;18378:11;:26::i;:::-;18194:218;;:::o;29907:238::-;29995:4;12206:10;30051:64;12206:10;30067:7;30104:10;30076:25;12206:10;30067:7;30076:9;:25::i;:::-;:38;;;;:::i;:::-;30051:8;:64::i;41919:266::-;-1:-1:-1;;;;;42083:33:0;;42006:7;42083:33;;;:24;:33;;;;;42006:7;;;;42062:55;;42071:10;;42062:8;:55::i;:::-;42026:91;;;;42137:11;:40;;-1:-1:-1;;;;;27463:18:0;;27436:7;27463:18;;;;;;;;;;;42137:40;;;42151:5;42137:40;42130:47;41919:266;-1:-1:-1;;;;;41919:266:0:o;15213:147::-;15299:4;15323:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;15323:29:0;;;;;;;;;;;;;;;15213:147::o;26290:104::-;26346:13;26379:7;26372:14;;;;;:::i;46216:189::-;46252:7;46279:34;46011:26;46302:10;46279:7;:34::i;:::-;46271:97;;;;-1:-1:-1;;;46271:97:0;;5799:2:1;46271:97:0;;;5781:21:1;5838:2;5818:18;;;5811:30;5877:34;5857:18;;;5850:62;-1:-1:-1;;;5928:18:1;;;5921:48;5986:19;;46271:97:0;5597:414:1;46271:97:0;46386:11;:9;:11::i;:::-;46379:18;;46216:189;:::o;42289:234::-;42361:7;42382:16;42400:13;42417:43;42426:10;42438:21;42417:8;:43::i;:::-;42381:79;;;;42480:11;:35;;27279:12;;42480:35;;;42494:5;42480:35;42473:42;42289:234;-1:-1:-1;;;;42289:234:0:o;30648:436::-;30741:4;12206:10;30741:4;30824:25;12206:10;30841:7;30824:9;:25::i;:::-;30797:52;;30888:15;30868:16;:35;;30860:85;;;;-1:-1:-1;;;30860:85:0;;7787:2:1;30860:85:0;;;7769:21:1;7826:2;7806:18;;;7799:30;7865:34;7845:18;;;7838:62;-1:-1:-1;;;7916:18:1;;;7909:35;7961:19;;30860:85:0;7585:401:1;30860:85:0;30981:60;30990:5;30997:7;31025:15;31006:16;:34;30981:8;:60::i;27695:193::-;27774:4;12206:10;27830:28;12206:10;27847:2;27851:6;27830:9;:28::i;17538:149::-;16827:7;16854:12;;;:6;:12;;;;;:22;;;14809:16;14820:4;14809:10;:16::i;:::-;17653:26:::1;17665:4;17671:7;17653:11;:26::i;27951:151::-:0;-1:-1:-1;;;;;28067:18:0;;;28040:7;28067:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27951:151::o;7983:114::-;8075:14;;7983:114::o;34282:380::-;-1:-1:-1;;;;;34418:19:0;;34410:68;;;;-1:-1:-1;;;34410:68:0;;7031:2:1;34410:68:0;;;7013:21:1;7070:2;7050:18;;;7043:30;7109:34;7089:18;;;7082:62;-1:-1:-1;;;7160:18:1;;;7153:34;7204:19;;34410:68:0;6829:400:1;34410:68:0;-1:-1:-1;;;;;34497:21:0;;34489:68;;;;-1:-1:-1;;;34489:68:0;;5038:2:1;34489:68:0;;;5020:21:1;5077:2;5057:18;;;5050:30;5116:34;5096:18;;;5089:62;-1:-1:-1;;;5167:18:1;;;5160:32;5209:19;;34489:68:0;4836:398:1;34489:68:0;-1:-1:-1;;;;;34570:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;34622:32;;3289:25:1;;;34622:32:0;;3262:18:1;34622:32:0;;;;;;;34282:380;;;:::o;34953:453::-;35088:24;35115:25;35125:5;35132:7;35115:9;:25::i;:::-;35088:52;;-1:-1:-1;;35155:16:0;:37;35151:248;;35237:6;35217:16;:26;;35209:68;;;;-1:-1:-1;;;35209:68:0;;5441:2:1;35209:68:0;;;5423:21:1;5480:2;5460:18;;;5453:30;5519:31;5499:18;;;5492:59;5568:18;;35209:68:0;5239:353:1;35209:68:0;35321:51;35330:5;35337:7;35365:6;35346:16;:25;35321:8;:51::i;:::-;35077:329;34953:453;;;:::o;31563:671::-;-1:-1:-1;;;;;31694:18:0;;31686:68;;;;-1:-1:-1;;;31686:68:0;;6625:2:1;31686:68:0;;;6607:21:1;6664:2;6644:18;;;6637:30;6703:34;6683:18;;;6676:62;-1:-1:-1;;;6754:18:1;;;6747:35;6799:19;;31686:68:0;6423:401:1;31686:68:0;-1:-1:-1;;;;;31773:16:0;;31765:64;;;;-1:-1:-1;;;31765:64:0;;4634:2:1;31765:64:0;;;4616:21:1;4673:2;4653:18;;;4646:30;4712:34;4692:18;;;4685:62;-1:-1:-1;;;4763:18:1;;;4756:33;4806:19;;31765:64:0;4432:399:1;31765:64:0;31842:38;31863:4;31869:2;31873:6;31842:20;:38::i;:::-;-1:-1:-1;;;;;31915:15:0;;31893:19;31915:15;;;;;;;;;;;31949:21;;;;31941:72;;;;-1:-1:-1;;;31941:72:0;;6218:2:1;31941:72:0;;;6200:21:1;6257:2;6237:18;;;6230:30;6296:34;6276:18;;;6269:62;-1:-1:-1;;;6347:18:1;;;6340:36;6393:19;;31941:72:0;6016:402:1;31941:72:0;-1:-1:-1;;;;;32049:15:0;;;:9;:15;;;;;;;;;;;32067:20;;;32049:38;;32109:13;;;;;;;;:23;;32081:6;;32049:9;32109:23;;32081:6;;32109:23;:::i;:::-;;;;;;;;32165:2;-1:-1:-1;;;;;32150:26:0;32159:4;-1:-1:-1;;;;;32150:26:0;;32169:6;32150:26;;;;3289:25:1;;3277:2;3262:18;;3143:177;32150:26:0;;;;;;;;32189:37;17146:147;15664:105;15731:30;15742:4;12206:10;15731;:30::i;:::-;15664:105;:::o;19695:238::-;19779:22;19787:4;19793:7;19779;:22::i;:::-;19774:152;;19818:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;19818:29:0;;;;;;;;;:36;;-1:-1:-1;;19818:36:0;19850:4;19818:36;;;19901:12;12206:10;;12126:98;19901:12;-1:-1:-1;;;;;19874:40:0;19892:7;-1:-1:-1;;;;;19874:40:0;19886:4;19874:40;;;;;;;;;;19695:238;;:::o;20065:239::-;20149:22;20157:4;20163:7;20149;:22::i;:::-;20145:152;;;20220:5;20188:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;20188:29:0;;;;;;;;;;:37;;-1:-1:-1;;20188:37:0;;;20245:40;12206:10;;20188:12;;20245:40;;20220:5;20245:40;20065:239;;:::o;43370:1619::-;43459:4;43465:7;43506:1;43493:10;:14;43485:49;;;;-1:-1:-1;;;43485:49:0;;7436:2:1;43485:49:0;;;7418:21:1;7475:2;7455:18;;;7448:30;-1:-1:-1;;;7494:18:1;;;7487:52;7556:18;;43485:49:0;7234:346:1;43485:49:0;43567:23;:21;:23::i;:::-;43553:10;:37;;43545:79;;;;-1:-1:-1;;;43545:79:0;;3915:2:1;43545:79:0;;;3897:21:1;3954:2;3934:18;;;3927:30;3993:31;3973:18;;;3966:59;4042:18;;43545:79:0;3713:353:1;43545:79:0;44763:13;44779:40;:9;44808:10;44779:28;:40::i;:::-;44845:20;;44763:56;;-1:-1:-1;44836:29:0;;44832:150;;;44890:5;44897:1;44882:17;;;;;;;44832:150;44940:4;44946:9;:16;;44963:5;44946:23;;;;;;;;:::i;:::-;;;;;;;;;44932:38;;;;;43370:1619;;;;;;:::o;41391:223::-;41438:7;41458:30;:18;8194:19;;8212:1;8194:19;;;8105:127;41458:30;41501:17;41521:23;:21;:23::i;:::-;41501:43;;41560:19;41569:9;41560:19;;;;3289:25:1;;3277:2;3262:18;;3143:177;41560:19:0;;;;;;;;41597:9;41391:223;-1:-1:-1;41391:223:0:o;42740:622::-;-1:-1:-1;;;;;42944:18:0;;42940:415;;43000:26;43023:2;43000:22;:26::i;:::-;43041:28;:26;:28::i;42940:415::-;-1:-1:-1;;;;;43091:16:0;;43087:268;;43145:28;43168:4;43145:22;:28::i;43087:268::-;43274:28;43297:4;43274:22;:28::i;:::-;43317:26;43340:2;43317:22;:26::i;16059:505::-;16148:22;16156:4;16162:7;16148;:22::i;:::-;16143:414;;16336:41;16364:7;-1:-1:-1;;;;;16336:41:0;16374:2;16336:19;:41::i;:::-;16450:38;16478:4;16485:2;16450:19;:38::i;:::-;16241:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;16241:270:0;;;;;;;;;;-1:-1:-1;;;16187:358:0;;;;;;;:::i;41680:127::-;41744:7;41771:28;:18;8075:14;;7983:114;10522:918;10635:12;;10611:7;;10631:58;;-1:-1:-1;10676:1:0;10669:8;;10631:58;10742:12;;10701:11;;10767:424;10780:4;10774:3;:10;10767:424;;;10801:11;10815:23;10828:3;10833:4;10815:12;:23::i;:::-;10801:37;;11072:7;11059:5;11065:3;11059:10;;;;;;;;:::i;:::-;;;;;;;;;:20;11055:125;;;11107:3;11100:10;;11055:125;;;11157:7;:3;11163:1;11157:7;:::i;:::-;11151:13;;11055:125;10786:405;10767:424;;;11317:1;11311:3;:7;:36;;;;-1:-1:-1;11340:7:0;11322:5;11328:7;11334:1;11328:3;:7;:::i;:::-;11322:14;;;;;;;;:::i;:::-;;;;;;;;;:25;11311:36;11307:126;;;11371:7;11377:1;11371:3;:7;:::i;:::-;11364:14;;;;;;11307:126;-1:-1:-1;11418:3:0;-1:-1:-1;11411:10:0;;44997:146;-1:-1:-1;;;;;45081:33:0;;;;;;:24;:33;;;;;;;;27463:18;;;;;;;;45065:70;;45081:33;45065:15;:70::i;45116:18::-;45065:15;:70::i;45151:118::-;45208:53;45224:21;45247:13;27279:12;;;27191:108;45208:53;45151:118::o;3612:451::-;3687:13;3713:19;3745:10;3749:6;3745:1;:10;:::i;:::-;:14;;3758:1;3745:14;:::i;:::-;3735:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3735:25:0;;3713:47;;-1:-1:-1;;;3771:6:0;3778:1;3771:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;3771:15:0;;;;;;;;;-1:-1:-1;;;3797:6:0;3804:1;3797:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;3797:15:0;;;;;;;;-1:-1:-1;3828:9:0;3840:10;3844:6;3840:1;:10;:::i;:::-;:14;;3853:1;3840:14;:::i;:::-;3828:26;;3823:135;3860:1;3856;:5;3823:135;;;-1:-1:-1;;;3908:5:0;3916:3;3908:11;3895:25;;;;;;;:::i;:::-;;;;3883:6;3890:1;3883:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;3883:37:0;;;;;;;;-1:-1:-1;3945:1:0;3935:11;;;;;3863:3;;;:::i;:::-;;;3823:135;;;-1:-1:-1;3976:10:0;;3968:55;;;;-1:-1:-1;;;3968:55:0;;4273:2:1;3968:55:0;;;4255:21:1;;;4292:18;;;4285:30;4351:34;4331:18;;;4324:62;4403:18;;3968:55:0;4071:356:1;3968:55:0;4048:6;3612:451;-1:-1:-1;;;3612:451:0:o;9306:156::-;9368:7;9443:11;9453:1;9444:5;;;9443:11;:::i;:::-;9433:21;;9434:5;;;9433:21;:::i;45277:310::-;45372:17;45392:23;:21;:23::i;:::-;45372:43;-1:-1:-1;45372:43:0;45430:30;45446:9;45430:15;:30::i;:::-;:42;45426:154;;;45489:29;;;;;;;;-1:-1:-1;45489:29:0;;;;;;;;;;;;;;45533:16;;;:35;;;;;;;;;;;;;;;45277:310::o;45595:212::-;45689:10;;45665:7;;45685:115;;-1:-1:-1;45728:1:0;;45595:212;-1:-1:-1;45595:212:0:o;45685:115::-;45773:10;;45769:3;;45773:14;;45786:1;;45773:14;:::i;:::-;45769:19;;;;;;;;:::i;:::-;;;;;;;;;45762:26;;45595:212;;;:::o;45685:115::-;45595:212;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:254::-;1049:6;1057;1110:2;1098:9;1089:7;1085:23;1081:32;1078:52;;;1126:1;1123;1116:12;1078:52;1149:29;1168:9;1149:29;:::i;:::-;1139:39;1225:2;1210:18;;;;1197:32;;-1:-1:-1;;;981:254:1:o;1240:180::-;1299:6;1352:2;1340:9;1331:7;1327:23;1323:32;1320:52;;;1368:1;1365;1358:12;1320:52;-1:-1:-1;1391:23:1;;1240:180;-1:-1:-1;1240:180:1:o;1425:254::-;1493:6;1501;1554:2;1542:9;1533:7;1529:23;1525:32;1522:52;;;1570:1;1567;1560:12;1522:52;1606:9;1593:23;1583:33;;1635:38;1669:2;1658:9;1654:18;1635:38;:::i;1684:286::-;1742:6;1795:2;1783:9;1774:7;1770:23;1766:32;1763:52;;;1811:1;1808;1801:12;1763:52;1837:23;;-1:-1:-1;;;;;;1889:32:1;;1879:43;;1869:71;;1936:1;1933;1926:12;2160:786;2571:25;2566:3;2559:38;2541:3;2626:6;2620:13;2642:62;2697:6;2692:2;2687:3;2683:12;2676:4;2668:6;2664:17;2642:62;:::i;:::-;-1:-1:-1;;;2763:2:1;2723:16;;;2755:11;;;2748:40;2813:13;;2835:63;2813:13;2884:2;2876:11;;2869:4;2857:17;;2835:63;:::i;:::-;2918:17;2937:2;2914:26;;2160:786;-1:-1:-1;;;;2160:786:1:o;3325:383::-;3474:2;3463:9;3456:21;3437:4;3506:6;3500:13;3549:6;3544:2;3533:9;3529:18;3522:34;3565:66;3624:6;3619:2;3608:9;3604:18;3599:2;3591:6;3587:15;3565:66;:::i;:::-;3692:2;3671:15;-1:-1:-1;;3667:29:1;3652:45;;;;3699:2;3648:54;;3325:383;-1:-1:-1;;3325:383:1:o;8778:128::-;8818:3;8849:1;8845:6;8842:1;8839:13;8836:39;;;8855:18;;:::i;:::-;-1:-1:-1;8891:9:1;;8778:128::o;8911:217::-;8951:1;8977;8967:132;;9021:10;9016:3;9012:20;9009:1;9002:31;9056:4;9053:1;9046:15;9084:4;9081:1;9074:15;8967:132;-1:-1:-1;9113:9:1;;8911:217::o;9133:168::-;9173:7;9239:1;9235;9231:6;9227:14;9224:1;9221:21;9216:1;9209:9;9202:17;9198:45;9195:71;;;9246:18;;:::i;:::-;-1:-1:-1;9286:9:1;;9133:168::o;9306:125::-;9346:4;9374:1;9371;9368:8;9365:34;;;9379:18;;:::i;:::-;-1:-1:-1;9416:9:1;;9306:125::o;9436:258::-;9508:1;9518:113;9532:6;9529:1;9526:13;9518:113;;;9608:11;;;9602:18;9589:11;;;9582:39;9554:2;9547:10;9518:113;;;9649:6;9646:1;9643:13;9640:48;;;-1:-1:-1;;9684:1:1;9666:16;;9659:27;9436:258::o;9699:136::-;9738:3;9766:5;9756:39;;9775:18;;:::i;:::-;-1:-1:-1;;;9811:18:1;;9699:136::o;9840:380::-;9919:1;9915:12;;;;9962;;;9983:61;;10037:4;10029:6;10025:17;10015:27;;9983:61;10090:2;10082:6;10079:14;10059:18;10056:38;10053:161;;;10136:10;10131:3;10127:20;10124:1;10117:31;10171:4;10168:1;10161:15;10199:4;10196:1;10189:15;10053:161;;9840:380;;;:::o;10225:127::-;10286:10;10281:3;10277:20;10274:1;10267:31;10317:4;10314:1;10307:15;10341:4;10338:1;10331:15;10357:127;10418:10;10413:3;10409:20;10406:1;10399:31;10449:4;10446:1;10439:15;10473:4;10470:1;10463:15;10489:127;10550:10;10545:3;10541:20;10538:1;10531:31;10581:4;10578:1;10571:15;10605:4;10602:1;10595:15
Swarm Source
ipfs://16dce89404c0469a150e358fa3496a4ae72c8c78af6d4bae39b67f3920b8916b
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.