Token migration announcement. Spume token contract has migrated to a new address.
ERC-20
Old Contract
Overview
Max Total Supply
100,000,000 SPUME
Holders
365 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SPUMEToken
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-28 */ // 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 v4.4.1 (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 v4.4.1 (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, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been 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 v4.4.1 (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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // 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 v4.4.1 (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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `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 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 v4.4.1 (token/ERC20/extensions/ERC20Snapshot.sol) pragma solidity ^0.8.9; /** * @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 begining of each new block. When overridding 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/spume.sol pragma solidity ^0.8.9; 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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620019b9380380620019b9833981016040819052620000349162000489565b604051806040016040528060058152602001645370756d6560d81b815250604051806040016040528060058152602001645350554d4560d81b815250816003908051906020019062000088929190620003e3565b5080516200009e906004906020840190620003e3565b505050620000b33382620000c760201b60201c565b620000c0600033620001be565b5062000541565b6001600160a01b038216620001225760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b6200013060008383620001ca565b8060026000828254620001449190620004b9565b90915550506001600160a01b0382166000908152602081905260408120805483929062000173908490620004b9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b620001ba82826200023b565b620001e28383836200020660201b620004f01760201c565b6001600160a01b0383166200020b57620001fc82620002df565b6200020662000317565b505050565b6001600160a01b0382166200022557620001fc83620002df565b6200023083620002df565b6200020682620002df565b60008281526009602090815260408083206001600160a01b038516845290915290205460ff16620001ba5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200029b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b0381166000908152600560209081526040808320918390529091205462000314919062000329565b62000329565b50565b6200032760066200030e60025490565b565b60006200033562000378565b905080620003438462000396565b101562000206578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000620003916008620003df60201b620007d91760201c565b905090565b8054600090620003a857506000919050565b81548290620003ba90600190620004d4565b81548110620003cd57620003cd620004ee565b90600052602060002001549050919050565b5490565b828054620003f19062000504565b90600052602060002090601f01602090048101928262000415576000855562000460565b82601f106200043057805160ff191683800117855562000460565b8280016001018555821562000460579182015b828111156200046057825182559160200191906001019062000443565b506200046e92915062000472565b5090565b5b808211156200046e576000815560010162000473565b6000602082840312156200049c57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115620004cf57620004cf620004a3565b500190565b600082821015620004e957620004e9620004a3565b500390565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806200051957607f821691505b602082108114156200053b57634e487b7160e01b600052602260045260246000fd5b50919050565b61146880620005516000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637028e2cd116100b8578063981b24d01161007c578063981b24d0146102af578063a217fddf146102c2578063a457c2d7146102ca578063a9059cbb146102dd578063d547741f146102f0578063dd62ed3e1461030357600080fd5b80637028e2cd1461023c57806370a082311461026357806391d148541461028c57806395d89b411461029f5780639711715a146102a757600080fd5b8063248a9ca31161010a578063248a9ca3146101bc5780632f2ff15d146101df578063313ce567146101f457806336568abe1461020357806339509351146102165780634ee2cd7e1461022957600080fd5b806301ffc9a71461014757806306fdde031461016f578063095ea7b31461018457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015a610155366004611129565b61033c565b60405190151581526020015b60405180910390f35b610177610373565b604051610166919061117f565b61015a6101923660046111c9565b610405565b6002545b604051908152602001610166565b61015a6101b73660046111f3565b61041b565b61019b6101ca36600461122f565b60009081526009602052604090206001015490565b6101f26101ed366004611248565b6104ca565b005b60405160128152602001610166565b6101f2610211366004611248565b6104f5565b61015a6102243660046111c9565b610573565b61019b6102373660046111c9565b6105af565b61019b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b61019b610271366004611274565b6001600160a01b031660009081526020819052604090205490565b61015a61029a366004611248565b610608565b610177610633565b61019b610642565b61019b6102bd36600461122f565b6106e2565b61019b600081565b61015a6102d83660046111c9565b61070d565b61015a6102eb3660046111c9565b6107a6565b6101f26102fe366004611248565b6107b3565b61019b61031136600461128f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610382906112b9565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae906112b9565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905090565b60006104123384846107dd565b50600192915050565b6000610428848484610901565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104b25760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104bf85338584036107dd565b506001949350505050565b6000828152600960205260409020600101546104e68133610adc565b6104f08383610b40565b505050565b6001600160a01b03811633146105655760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104a9565b61056f8282610bc6565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104129185906105aa90869061130a565b6107dd565b6001600160a01b0382166000908152600560205260408120819081906105d6908590610c2d565b91509150816105fd576001600160a01b0385166000908152602081905260409020546105ff565b805b95945050505050565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054610382906112b9565b600061066e7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33610608565b6106d55760405162461bcd60e51b815260206004820152603260248201527f416363657373436f6e74726f6c3a2073656e646572206d757374206861766520604482015271726f6c6520534e415053484f545f524f4c4560701b60648201526084016104a9565b6106dd610d24565b905090565b60008060006106f2846006610c2d565b915091508161070357600254610705565b805b949350505050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561078f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104a9565b61079c33858584036107dd565b5060019392505050565b6000610412338484610901565b6000828152600960205260409020600101546107cf8133610adc565b6104f08383610bc6565b5490565b6001600160a01b03831661083f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a9565b6001600160a01b0382166108a05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109655760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a9565b6001600160a01b0382166109c75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a9565b6109d2838383610d7e565b6001600160a01b03831660009081526020819052604090205481811015610a4a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104a9565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a8190849061130a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610acd91815260200190565b60405180910390a35b50505050565b610ae68282610608565b61056f57610afe816001600160a01b03166014610dc6565b610b09836020610dc6565b604051602001610b1a929190611322565b60408051601f198184030181529082905262461bcd60e51b82526104a99160040161117f565b610b4a8282610608565b61056f5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610b823390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610bd08282610608565b1561056f5760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008060008411610c795760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104a9565b610c81610f69565b841115610cd05760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104a9565b6000610cdc8486610f74565b8454909150811415610cf5576000809250925050610d1d565b6001846001018281548110610d0c57610d0c611397565b906000526020600020015492509250505b9250929050565b6000610d34600880546001019055565b6000610d3e610f69565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051610d7191815260200190565b60405180910390a1919050565b6001600160a01b038316610d9d57610d9582611037565b6104f061106c565b6001600160a01b038216610db457610d9583611037565b610dbd83611037565b6104f082611037565b60606000610dd58360026113ad565b610de090600261130a565b67ffffffffffffffff811115610df857610df86113cc565b6040519080825280601f01601f191660200182016040528015610e22576020820181803683370190505b509050600360fc1b81600081518110610e3d57610e3d611397565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e6c57610e6c611397565b60200101906001600160f81b031916908160001a9053506000610e908460026113ad565b610e9b90600161130a565b90505b6001811115610f13576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ecf57610ecf611397565b1a60f81b828281518110610ee557610ee5611397565b60200101906001600160f81b031916908160001a90535060049490941c93610f0c816113e2565b9050610e9e565b508315610f625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104a9565b9392505050565b60006106dd60085490565b8154600090610f855750600061036d565b82546000905b80821015610fe1576000610f9f838361107c565b905084868281548110610fb457610fb4611397565b90600052602060002001541115610fcd57809150610fdb565b610fd881600161130a565b92505b50610f8b565b60008211801561101657508385610ff96001856113f9565b8154811061100957611009611397565b9060005260206000200154145b1561102f576110266001836113f9565b9250505061036d565b50905061036d565b6001600160a01b038116600090815260056020908152604080832091839052909120546110699190611097565b611097565b50565b61107a600661106460025490565b565b600061108b6002848418611410565b610f629084841661130a565b60006110a1610f69565b9050806110ad846110e1565b10156104f0578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b80546000906110f257506000919050565b81548290611102906001906113f9565b8154811061111257611112611397565b90600052602060002001549050919050565b919050565b60006020828403121561113b57600080fd5b81356001600160e01b031981168114610f6257600080fd5b60005b8381101561116e578181015183820152602001611156565b83811115610ad65750506000910152565b602081526000825180602084015261119e816040850160208701611153565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461112457600080fd5b600080604083850312156111dc57600080fd5b6111e5836111b2565b946020939093013593505050565b60008060006060848603121561120857600080fd5b611211846111b2565b925061121f602085016111b2565b9150604084013590509250925092565b60006020828403121561124157600080fd5b5035919050565b6000806040838503121561125b57600080fd5b8235915061126b602084016111b2565b90509250929050565b60006020828403121561128657600080fd5b610f62826111b2565b600080604083850312156112a257600080fd5b6112ab836111b2565b915061126b602084016111b2565b600181811c908216806112cd57607f821691505b602082108114156112ee57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561131d5761131d6112f4565b500190565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161135a816017850160208801611153565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161138b816028840160208801611153565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b60008160001904831182151516156113c7576113c76112f4565b500290565b634e487b7160e01b600052604160045260246000fd5b6000816113f1576113f16112f4565b506000190190565b60008282101561140b5761140b6112f4565b500390565b60008261142d57634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122026867390ef356d9b95fb356a84b551f3ead2692545225dd6a9e6d26245c6a3f664736f6c6343000809003300000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c80637028e2cd116100b8578063981b24d01161007c578063981b24d0146102af578063a217fddf146102c2578063a457c2d7146102ca578063a9059cbb146102dd578063d547741f146102f0578063dd62ed3e1461030357600080fd5b80637028e2cd1461023c57806370a082311461026357806391d148541461028c57806395d89b411461029f5780639711715a146102a757600080fd5b8063248a9ca31161010a578063248a9ca3146101bc5780632f2ff15d146101df578063313ce567146101f457806336568abe1461020357806339509351146102165780634ee2cd7e1461022957600080fd5b806301ffc9a71461014757806306fdde031461016f578063095ea7b31461018457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015a610155366004611129565b61033c565b60405190151581526020015b60405180910390f35b610177610373565b604051610166919061117f565b61015a6101923660046111c9565b610405565b6002545b604051908152602001610166565b61015a6101b73660046111f3565b61041b565b61019b6101ca36600461122f565b60009081526009602052604090206001015490565b6101f26101ed366004611248565b6104ca565b005b60405160128152602001610166565b6101f2610211366004611248565b6104f5565b61015a6102243660046111c9565b610573565b61019b6102373660046111c9565b6105af565b61019b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b61019b610271366004611274565b6001600160a01b031660009081526020819052604090205490565b61015a61029a366004611248565b610608565b610177610633565b61019b610642565b61019b6102bd36600461122f565b6106e2565b61019b600081565b61015a6102d83660046111c9565b61070d565b61015a6102eb3660046111c9565b6107a6565b6101f26102fe366004611248565b6107b3565b61019b61031136600461128f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610382906112b9565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae906112b9565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905090565b60006104123384846107dd565b50600192915050565b6000610428848484610901565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104b25760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104bf85338584036107dd565b506001949350505050565b6000828152600960205260409020600101546104e68133610adc565b6104f08383610b40565b505050565b6001600160a01b03811633146105655760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104a9565b61056f8282610bc6565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104129185906105aa90869061130a565b6107dd565b6001600160a01b0382166000908152600560205260408120819081906105d6908590610c2d565b91509150816105fd576001600160a01b0385166000908152602081905260409020546105ff565b805b95945050505050565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054610382906112b9565b600061066e7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33610608565b6106d55760405162461bcd60e51b815260206004820152603260248201527f416363657373436f6e74726f6c3a2073656e646572206d757374206861766520604482015271726f6c6520534e415053484f545f524f4c4560701b60648201526084016104a9565b6106dd610d24565b905090565b60008060006106f2846006610c2d565b915091508161070357600254610705565b805b949350505050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561078f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104a9565b61079c33858584036107dd565b5060019392505050565b6000610412338484610901565b6000828152600960205260409020600101546107cf8133610adc565b6104f08383610bc6565b5490565b6001600160a01b03831661083f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a9565b6001600160a01b0382166108a05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109655760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a9565b6001600160a01b0382166109c75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a9565b6109d2838383610d7e565b6001600160a01b03831660009081526020819052604090205481811015610a4a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104a9565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a8190849061130a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610acd91815260200190565b60405180910390a35b50505050565b610ae68282610608565b61056f57610afe816001600160a01b03166014610dc6565b610b09836020610dc6565b604051602001610b1a929190611322565b60408051601f198184030181529082905262461bcd60e51b82526104a99160040161117f565b610b4a8282610608565b61056f5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610b823390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610bd08282610608565b1561056f5760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008060008411610c795760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104a9565b610c81610f69565b841115610cd05760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104a9565b6000610cdc8486610f74565b8454909150811415610cf5576000809250925050610d1d565b6001846001018281548110610d0c57610d0c611397565b906000526020600020015492509250505b9250929050565b6000610d34600880546001019055565b6000610d3e610f69565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051610d7191815260200190565b60405180910390a1919050565b6001600160a01b038316610d9d57610d9582611037565b6104f061106c565b6001600160a01b038216610db457610d9583611037565b610dbd83611037565b6104f082611037565b60606000610dd58360026113ad565b610de090600261130a565b67ffffffffffffffff811115610df857610df86113cc565b6040519080825280601f01601f191660200182016040528015610e22576020820181803683370190505b509050600360fc1b81600081518110610e3d57610e3d611397565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e6c57610e6c611397565b60200101906001600160f81b031916908160001a9053506000610e908460026113ad565b610e9b90600161130a565b90505b6001811115610f13576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ecf57610ecf611397565b1a60f81b828281518110610ee557610ee5611397565b60200101906001600160f81b031916908160001a90535060049490941c93610f0c816113e2565b9050610e9e565b508315610f625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104a9565b9392505050565b60006106dd60085490565b8154600090610f855750600061036d565b82546000905b80821015610fe1576000610f9f838361107c565b905084868281548110610fb457610fb4611397565b90600052602060002001541115610fcd57809150610fdb565b610fd881600161130a565b92505b50610f8b565b60008211801561101657508385610ff96001856113f9565b8154811061100957611009611397565b9060005260206000200154145b1561102f576110266001836113f9565b9250505061036d565b50905061036d565b6001600160a01b038116600090815260056020908152604080832091839052909120546110699190611097565b611097565b50565b61107a600661106460025490565b565b600061108b6002848418611410565b610f629084841661130a565b60006110a1610f69565b9050806110ad846110e1565b10156104f0578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b80546000906110f257506000919050565b81548290611102906001906113f9565b8154811061111257611112611397565b90600052602060002001549050919050565b919050565b60006020828403121561113b57600080fd5b81356001600160e01b031981168114610f6257600080fd5b60005b8381101561116e578181015183820152602001611156565b83811115610ad65750506000910152565b602081526000825180602084015261119e816040850160208701611153565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461112457600080fd5b600080604083850312156111dc57600080fd5b6111e5836111b2565b946020939093013593505050565b60008060006060848603121561120857600080fd5b611211846111b2565b925061121f602085016111b2565b9150604084013590509250925092565b60006020828403121561124157600080fd5b5035919050565b6000806040838503121561125b57600080fd5b8235915061126b602084016111b2565b90509250929050565b60006020828403121561128657600080fd5b610f62826111b2565b600080604083850312156112a257600080fd5b6112ab836111b2565b915061126b602084016111b2565b600181811c908216806112cd57607f821691505b602082108114156112ee57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561131d5761131d6112f4565b500190565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161135a816017850160208801611153565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161138b816028840160208801611153565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b60008160001904831182151516156113c7576113c76112f4565b500290565b634e487b7160e01b600052604160045260246000fd5b6000816113f1576113f16112f4565b506000190190565b60008282101561140b5761140b6112f4565b500390565b60008261142d57634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122026867390ef356d9b95fb356a84b551f3ead2692545225dd6a9e6d26245c6a3f664736f6c63430008090033
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
44583:524:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14901:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;14901:204:0;;;;;;;;25624:100;;;:::i;:::-;;;;;;;:::i;27791:169::-;;;;;;:::i;:::-;;:::i;26744:108::-;26832:12;;26744:108;;;1731:25:1;;;1719:2;1704:18;26744:108:0;1585:177:1;28442:492:0;;;;;;:::i;:::-;;:::i;16312:123::-;;;;;;:::i;:::-;16378:7;16405:12;;;:6;:12;;;;;:22;;;;16312:123;16697:147;;;;;;:::i;:::-;;:::i;:::-;;26586:93;;;26669:2;2868:36:1;;2856:2;2841:18;26586:93:0;2726:184:1;17745:218:0;;;;;;:::i;:::-;;:::i;29343:215::-;;;;;;:::i;:::-;;:::i;40623:266::-;;;;;;:::i;:::-;;:::i;44670:66::-;;44710:26;44670:66;;26915:127;;;;;;:::i;:::-;-1:-1:-1;;;;;27016:18:0;26989:7;27016:18;;;;;;;;;;;;26915:127;15197:139;;;;;;:::i;:::-;;:::i;25843:104::-;;;:::i;44915:189::-;;;:::i;40993:234::-;;;;;;:::i;:::-;;:::i;14288:49::-;;14333:4;14288:49;;30061:413;;;;;;:::i;:::-;;:::i;27255:175::-;;;;;;:::i;:::-;;:::i;17089:149::-;;;;;;:::i;:::-;;:::i;27493:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;27609:18:0;;;27582:7;27609:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27493:151;14901:204;14986:4;-1:-1:-1;;;;;;15010:47:0;;-1:-1:-1;;;15010:47:0;;:87;;-1:-1:-1;;;;;;;;;;1891:40:0;;;15061:36;15003:94;14901:204;-1:-1:-1;;14901:204:0:o;25624:100::-;25678:13;25711:5;25704:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25624:100;:::o;27791:169::-;27874:4;27891:39;12191:10;27914:7;27923:6;27891:8;:39::i;:::-;-1:-1:-1;27948:4:0;27791:169;;;;:::o;28442:492::-;28582:4;28599:36;28609:6;28617:9;28628:6;28599:9;:36::i;:::-;-1:-1:-1;;;;;28675:19:0;;28648:24;28675:19;;;:11;:19;;;;;;;;12191:10;28675:33;;;;;;;;28727:26;;;;28719:79;;;;-1:-1:-1;;;28719:79:0;;4143:2:1;28719:79:0;;;4125:21:1;4182:2;4162:18;;;4155:30;4221:34;4201:18;;;4194:62;-1:-1:-1;;;4272:18:1;;;4265:38;4320:19;;28719:79:0;;;;;;;;;28834:57;28843:6;12191:10;28884:6;28865:16;:25;28834:8;:57::i;:::-;-1:-1:-1;28922:4:0;;28442:492;-1:-1:-1;;;;28442:492:0:o;16697:147::-;16378:7;16405:12;;;:6;:12;;;;;:22;;;14779:30;14790:4;12191:10;14779;:30::i;:::-;16811:25:::1;16822:4;16828:7;16811:10;:25::i;:::-;16697:147:::0;;;:::o;17745:218::-;-1:-1:-1;;;;;17841:23:0;;12191:10;17841:23;17833:83;;;;-1:-1:-1;;;17833:83:0;;4552:2:1;17833:83:0;;;4534:21:1;4591:2;4571:18;;;4564:30;4630:34;4610:18;;;4603:62;-1:-1:-1;;;4681:18:1;;;4674:45;4736:19;;17833:83:0;4350:411:1;17833:83:0;17929:26;17941:4;17947:7;17929:11;:26::i;:::-;17745:218;;:::o;29343:215::-;12191:10;29431:4;29480:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;29480:34:0;;;;;;;;;;29431:4;;29448:80;;29471:7;;29480:47;;29517:10;;29480:47;:::i;:::-;29448:8;:80::i;40623:266::-;-1:-1:-1;;;;;40787:33:0;;40710:7;40787:33;;;:24;:33;;;;;40710:7;;;;40766:55;;40775:10;;40766:8;:55::i;:::-;40730:91;;;;40841:11;:40;;-1:-1:-1;;;;;27016:18:0;;26989:7;27016:18;;;;;;;;;;;40841:40;;;40855:5;40841:40;40834:47;40623:266;-1:-1:-1;;;;;40623:266:0:o;15197:139::-;15275:4;15299:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;15299:29:0;;;;;;;;;;;;;;;15197:139::o;25843:104::-;25899:13;25932:7;25925:14;;;;;:::i;44915:189::-;44951:7;44978:34;44710:26;45001:10;44978:7;:34::i;:::-;44970:97;;;;-1:-1:-1;;;44970:97:0;;5233:2:1;44970:97:0;;;5215:21:1;5272:2;5252:18;;;5245:30;5311:34;5291:18;;;5284:62;-1:-1:-1;;;5362:18:1;;;5355:48;5420:19;;44970:97:0;5031:414:1;44970:97:0;45085:11;:9;:11::i;:::-;45078:18;;44915:189;:::o;40993:234::-;41065:7;41086:16;41104:13;41121:43;41130:10;41142:21;41121:8;:43::i;:::-;41085:79;;;;41184:11;:35;;26832:12;;41184:35;;;41198:5;41184:35;41177:42;40993:234;-1:-1:-1;;;;40993:234:0:o;30061:413::-;12191:10;30154:4;30198:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;30198:34:0;;;;;;;;;;30251:35;;;;30243:85;;;;-1:-1:-1;;;30243:85:0;;5652:2:1;30243:85:0;;;5634:21:1;5691:2;5671:18;;;5664:30;5730:34;5710:18;;;5703:62;-1:-1:-1;;;5781:18:1;;;5774:35;5826:19;;30243:85:0;5450:401:1;30243:85:0;30364:67;12191:10;30387:7;30415:15;30396:16;:34;30364:8;:67::i;:::-;-1:-1:-1;30462:4:0;;30061:413;-1:-1:-1;;;30061:413:0:o;27255:175::-;27341:4;27358:42;12191:10;27382:9;27393:6;27358:9;:42::i;17089:149::-;16378:7;16405:12;;;:6;:12;;;;;:22;;;14779:30;14790:4;12191:10;14779;:30::i;:::-;17204:26:::1;17216:4;17222:7;17204:11;:26::i;7983:114::-:0;8075:14;;7983:114::o;33745:380::-;-1:-1:-1;;;;;33881:19:0;;33873:68;;;;-1:-1:-1;;;33873:68:0;;6058:2:1;33873:68:0;;;6040:21:1;6097:2;6077:18;;;6070:30;6136:34;6116:18;;;6109:62;-1:-1:-1;;;6187:18:1;;;6180:34;6231:19;;33873:68:0;5856:400:1;33873:68:0;-1:-1:-1;;;;;33960:21:0;;33952:68;;;;-1:-1:-1;;;33952:68:0;;6463:2:1;33952:68:0;;;6445:21:1;6502:2;6482:18;;;6475:30;6541:34;6521:18;;;6514:62;-1:-1:-1;;;6592:18:1;;;6585:32;6634:19;;33952:68:0;6261:398:1;33952:68:0;-1:-1:-1;;;;;34033:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;34085:32;;1731:25:1;;;34085:32:0;;1704:18:1;34085:32:0;;;;;;;33745:380;;;:::o;30964:733::-;-1:-1:-1;;;;;31104:20:0;;31096:70;;;;-1:-1:-1;;;31096:70:0;;6866:2:1;31096:70:0;;;6848:21:1;6905:2;6885:18;;;6878:30;6944:34;6924:18;;;6917:62;-1:-1:-1;;;6995:18:1;;;6988:35;7040:19;;31096:70:0;6664:401:1;31096:70:0;-1:-1:-1;;;;;31185:23:0;;31177:71;;;;-1:-1:-1;;;31177:71:0;;7272:2:1;31177:71:0;;;7254:21:1;7311:2;7291:18;;;7284:30;7350:34;7330:18;;;7323:62;-1:-1:-1;;;7401:18:1;;;7394:33;7444:19;;31177:71:0;7070:399:1;31177:71:0;31261:47;31282:6;31290:9;31301:6;31261:20;:47::i;:::-;-1:-1:-1;;;;;31345:17:0;;31321:21;31345:17;;;;;;;;;;;31381:23;;;;31373:74;;;;-1:-1:-1;;;31373:74:0;;7676:2:1;31373:74:0;;;7658:21:1;7715:2;7695:18;;;7688:30;7754:34;7734:18;;;7727:62;-1:-1:-1;;;7805:18:1;;;7798:36;7851:19;;31373:74:0;7474:402:1;31373:74:0;-1:-1:-1;;;;;31483:17:0;;;:9;:17;;;;;;;;;;;31503:22;;;31483:42;;31547:20;;;;;;;;:30;;31519:6;;31483:9;31547:30;;31519:6;;31547:30;:::i;:::-;;;;;;;;31612:9;-1:-1:-1;;;;;31595:35:0;31604:6;-1:-1:-1;;;;;31595:35:0;;31623:6;31595:35;;;;1731:25:1;;1719:2;1704:18;;1585:177;31595:35:0;;;;;;;;31643:46;31085:612;30964:733;;;:::o;15626:497::-;15707:22;15715:4;15721:7;15707;:22::i;:::-;15702:414;;15895:41;15923:7;-1:-1:-1;;;;;15895:41:0;15933:2;15895:19;:41::i;:::-;16009:38;16037:4;16044:2;16009:19;:38::i;:::-;15800:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;15800:270:0;;;;;;;;;;-1:-1:-1;;;15746:358:0;;;;;;;:::i;19246:238::-;19330:22;19338:4;19344:7;19330;:22::i;:::-;19325:152;;19369:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;19369:29:0;;;;;;;;;:36;;-1:-1:-1;;19369:36:0;19401:4;19369:36;;;19452:12;12191:10;;12111:98;19452:12;-1:-1:-1;;;;;19425:40:0;19443:7;-1:-1:-1;;;;;19425:40:0;19437:4;19425:40;;;;;;;;;;19246:238;;:::o;19616:239::-;19700:22;19708:4;19714:7;19700;:22::i;:::-;19696:152;;;19771:5;19739:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;19739:29:0;;;;;;;;;;:37;;-1:-1:-1;;19739:37:0;;;19796:40;12191:10;;19739:12;;19796:40;;19771:5;19796:40;19616:239;;:::o;42074:1619::-;42163:4;42169:7;42210:1;42197:10;:14;42189:49;;;;-1:-1:-1;;;42189:49:0;;8874:2:1;42189:49:0;;;8856:21:1;8913:2;8893:18;;;8886:30;-1:-1:-1;;;8932:18:1;;;8925:52;8994:18;;42189:49:0;8672:346:1;42189:49:0;42271:23;:21;:23::i;:::-;42257:10;:37;;42249:79;;;;-1:-1:-1;;;42249:79:0;;9225:2:1;42249:79:0;;;9207:21:1;9264:2;9244:18;;;9237:30;9303:31;9283:18;;;9276:59;9352:18;;42249:79:0;9023:353:1;42249:79:0;43467:13;43483:40;:9;43512:10;43483:28;:40::i;:::-;43549:20;;43467:56;;-1:-1:-1;43540:29:0;;43536:150;;;43594:5;43601:1;43586:17;;;;;;;43536:150;43644:4;43650:9;:16;;43667:5;43650:23;;;;;;;;:::i;:::-;;;;;;;;;43636:38;;;;;42074:1619;;;;;;:::o;40095:223::-;40142:7;40162:30;:18;8194:19;;8212:1;8194:19;;;8105:127;40162:30;40205:17;40225:23;:21;:23::i;:::-;40205:43;;40264:19;40273:9;40264:19;;;;1731:25:1;;1719:2;1704:18;;1585:177;40264:19:0;;;;;;;;40301:9;40095:223;-1:-1:-1;40095:223:0:o;41444:622::-;-1:-1:-1;;;;;41648:18:0;;41644:415;;41704:26;41727:2;41704:22;:26::i;:::-;41745:28;:26;:28::i;41644:415::-;-1:-1:-1;;;;;41795:16:0;;41791:268;;41849:28;41872:4;41849:22;:28::i;41791:268::-;41978:28;42001:4;41978:22;:28::i;:::-;42021:26;42044:2;42021:22;:26::i;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;;10161:2:1;3968:55:0;;;10143:21:1;;;10180:18;;;10173:30;10239:34;10219:18;;;10212:62;10291:18;;3968:55:0;9959:356:1;3968:55:0;4048:6;3612:451;-1:-1:-1;;;3612:451:0:o;40384:127::-;40448:7;40475:28;:18;8075:14;;7983:114;10507:918;10620:12;;10596:7;;10616:58;;-1:-1:-1;10661:1:0;10654:8;;10616:58;10727:12;;10686:11;;10752:424;10765:4;10759:3;:10;10752:424;;;10786:11;10800:23;10813:3;10818:4;10800:12;:23::i;:::-;10786:37;;11057:7;11044:5;11050:3;11044:10;;;;;;;;:::i;:::-;;;;;;;;;:20;11040:125;;;11092:3;11085:10;;11040:125;;;11142:7;:3;11148:1;11142:7;:::i;:::-;11136:13;;11040:125;10771:405;10752:424;;;11302:1;11296:3;:7;:36;;;;-1:-1:-1;11325:7:0;11307:5;11313:7;11319:1;11313:3;:7;:::i;:::-;11307:14;;;;;;;;:::i;:::-;;;;;;;;;:25;11296:36;11292:126;;;11356:7;11362:1;11356:3;:7;:::i;:::-;11349:14;;;;;;11292:126;-1:-1:-1;11403:3:0;-1:-1:-1;11396:10:0;;43701:146;-1:-1:-1;;;;;43785:33:0;;;;;;:24;:33;;;;;;;;27016:18;;;;;;;;43769:70;;43785:33;43769:15;:70::i;43820:18::-;43769:15;:70::i;:::-;43701:146;:::o;43855:118::-;43912:53;43928:21;43951:13;26832:12;;;26744:108;43912:53;43855:118::o;9291:156::-;9353:7;9428:11;9438:1;9429:5;;;9428:11;:::i;:::-;9418:21;;9419:5;;;9418:21;:::i;43981:310::-;44076:17;44096:23;:21;:23::i;:::-;44076:43;-1:-1:-1;44076:43:0;44134:30;44150:9;44134:15;:30::i;:::-;:42;44130:154;;;44193:29;;;;;;;;-1:-1:-1;44193:29:0;;;;;;;;;;;;;;44237:16;;;:35;;;;;;;;;;;;;;;43981:310::o;44299:212::-;44393:10;;44369:7;;44389:115;;-1:-1:-1;44432:1:0;;44299:212;-1:-1:-1;44299:212:0:o;44389:115::-;44477:10;;44473:3;;44477:14;;44490:1;;44477:14;:::i;:::-;44473:19;;;;;;;;:::i;:::-;;;;;;;;;44466:26;;44299:212;;;:::o;44389:115::-;44299:212;;;:::o;14:286:1:-;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:1;;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:1;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:1;1087:45;;;;1134:2;1083:54;;760:383;-1:-1:-1;;760:383:1:o;1148:173::-;1216:20;;-1:-1:-1;;;;;1265:31:1;;1255:42;;1245:70;;1311:1;1308;1301:12;1326:254;1394:6;1402;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;1494:29;1513:9;1494:29;:::i;:::-;1484:39;1570:2;1555:18;;;;1542:32;;-1:-1:-1;;;1326:254:1:o;1767:328::-;1844:6;1852;1860;1913:2;1901:9;1892:7;1888:23;1884:32;1881:52;;;1929:1;1926;1919:12;1881:52;1952:29;1971:9;1952:29;:::i;:::-;1942:39;;2000:38;2034:2;2023:9;2019:18;2000:38;:::i;:::-;1990:48;;2085:2;2074:9;2070:18;2057:32;2047:42;;1767:328;;;;;:::o;2100:180::-;2159:6;2212:2;2200:9;2191:7;2187:23;2183:32;2180:52;;;2228:1;2225;2218:12;2180:52;-1:-1:-1;2251:23:1;;2100:180;-1:-1:-1;2100:180:1:o;2467:254::-;2535:6;2543;2596:2;2584:9;2575:7;2571:23;2567:32;2564:52;;;2612:1;2609;2602:12;2564:52;2648:9;2635:23;2625:33;;2677:38;2711:2;2700:9;2696:18;2677:38;:::i;:::-;2667:48;;2467:254;;;;;:::o;2915:186::-;2974:6;3027:2;3015:9;3006:7;3002:23;2998:32;2995:52;;;3043:1;3040;3033:12;2995:52;3066:29;3085:9;3066:29;:::i;3291:260::-;3359:6;3367;3420:2;3408:9;3399:7;3395:23;3391:32;3388:52;;;3436:1;3433;3426:12;3388:52;3459:29;3478:9;3459:29;:::i;:::-;3449:39;;3507:38;3541:2;3530:9;3526:18;3507:38;:::i;3556:380::-;3635:1;3631:12;;;;3678;;;3699:61;;3753:4;3745:6;3741:17;3731:27;;3699:61;3806:2;3798:6;3795:14;3775:18;3772:38;3769:161;;;3852:10;3847:3;3843:20;3840:1;3833:31;3887:4;3884:1;3877:15;3915:4;3912:1;3905:15;3769:161;;3556:380;;;:::o;4766:127::-;4827:10;4822:3;4818:20;4815:1;4808:31;4858:4;4855:1;4848:15;4882:4;4879:1;4872:15;4898:128;4938:3;4969:1;4965:6;4962:1;4959:13;4956:39;;;4975:18;;:::i;:::-;-1:-1:-1;5011:9:1;;4898:128::o;7881:786::-;8292:25;8287:3;8280:38;8262:3;8347:6;8341:13;8363:62;8418:6;8413:2;8408:3;8404:12;8397:4;8389:6;8385:17;8363:62;:::i;:::-;-1:-1:-1;;;8484:2:1;8444:16;;;8476:11;;;8469:40;8534:13;;8556:63;8534:13;8605:2;8597:11;;8590:4;8578:17;;8556:63;:::i;:::-;8639:17;8658:2;8635:26;;7881:786;-1:-1:-1;;;;7881:786:1:o;9381:127::-;9442:10;9437:3;9433:20;9430:1;9423:31;9473:4;9470:1;9463:15;9497:4;9494:1;9487:15;9513:168;9553:7;9619:1;9615;9611:6;9607:14;9604:1;9601:21;9596:1;9589:9;9582:17;9578:45;9575:71;;;9626:18;;:::i;:::-;-1:-1:-1;9666:9:1;;9513:168::o;9686:127::-;9747:10;9742:3;9738:20;9735:1;9728:31;9778:4;9775:1;9768:15;9802:4;9799:1;9792:15;9818:136;9857:3;9885:5;9875:39;;9894:18;;:::i;:::-;-1:-1:-1;;;9930:18:1;;9818:136::o;10320:125::-;10360:4;10388:1;10385;10382:8;10379:34;;;10393:18;;:::i;:::-;-1:-1:-1;10430:9:1;;10320:125::o;10450:217::-;10490:1;10516;10506:132;;10560:10;10555:3;10551:20;10548:1;10541:31;10595:4;10592:1;10585:15;10623:4;10620:1;10613:15;10506:132;-1:-1:-1;10652:9:1;;10450:217::o
Swarm Source
ipfs://26867390ef356d9b95fb356a84b551f3ead2692545225dd6a9e6d26245c6a3f6
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.