BEP-20
Gambling
Overview
Max Total Supply
19,272,000PLT
Holders
29,957 ( -0.013%)
Market
Price
$3.64 @ 0.005232 BNB (-2.14%)
Onchain Market Cap
$70,150,080.00
Circulating Supply Market Cap
$57,779,862.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
1 PLTValue
$3.64 ( ~0.00523210186816234 BNB) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Poollotto
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at BscScan.com on 2021-06-11 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity =0.8.4; /** * @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 pragma solidity =0.8.4; /** * @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/utils/Context.sol pragma solidity =0.8.4; /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity =0.8.4; /** * @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 guidelines: functions revert instead * of 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 defaut 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"); _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"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(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: * * - `to` 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); } /** * @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"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(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 to 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 { } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol pragma solidity =0.8.4; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), currentAllowance - amount); _burn(account, amount); } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol pragma solidity =0.8.4; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 immutable private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor (uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol pragma solidity =0.8.4; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol pragma solidity =0.8.4; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } } else if (signature.length == 64) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { let vs := mload(add(signature, 0x40)) r := mload(add(signature, 0x20)) s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } } else { revert("ECDSA: invalid signature length"); } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: @openzeppelin/contracts/utils/cryptography/draft-EIP712.sol pragma solidity =0.8.4; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256( abi.encode( typeHash, name, version, block.chainid, address(this) ) ); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File: @openzeppelin/contracts/utils/Counters.sol pragma solidity =0.8.4; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. 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; // } } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol pragma solidity =0.8.4; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping (address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") { } /** * @dev See {IERC20Permit-permit}. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override { // solhint-disable-next-line not-rely-on-time require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256( abi.encode( _PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline ) ); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } } // File: contracts/PLT-Token-ERC20.sol pragma solidity =0.8.4; contract Poollotto is ERC20, ERC20Burnable, ERC20Permit { constructor() ERC20("Poollotto.finance", "PLT") ERC20Permit("Poollotto.finance") { _mint(msg.sender, 19272000 * 10 ** decimals()); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b5060405180604001604052806011815260200170506f6f6c6c6f74746f2e66696e616e636560781b81525080604051806040016040528060018152602001603160f81b81525060405180604001604052806011815260200170506f6f6c6c6f74746f2e66696e616e636560781b8152506040518060400160405280600381526020016214131560ea1b8152508160039080519060200190620000db92919062000296565b508051620000f190600490602084019062000296565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920190925280519401939093209092526101005250620001a8905033620001926012600a620003a0565b620001a29063012611406200046e565b620001ae565b620004e3565b6001600160a01b038216620002095760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200021d91906200033c565b90915550506001600160a01b038216600090815260208190526040812080548392906200024c9084906200033c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620002a49062000490565b90600052602060002090601f016020900481019282620002c8576000855562000313565b82601f10620002e357805160ff191683800117855562000313565b8280016001018555821562000313579182015b8281111562000313578251825591602001919060010190620002f6565b506200032192915062000325565b5090565b5b8082111562000321576000815560010162000326565b60008219821115620003525762000352620004cd565b500190565b600181815b80851115620003985781600019048211156200037c576200037c620004cd565b808516156200038a57918102915b93841c93908002906200035c565b509250929050565b6000620003b160ff841683620003b8565b9392505050565b600082620003c95750600162000468565b81620003d85750600062000468565b8160018114620003f15760028114620003fc576200041c565b600191505062000468565b60ff841115620004105762000410620004cd565b50506001821b62000468565b5060208310610133831016604e8410600b841016171562000441575081810a62000468565b6200044d838362000357565b8060001904821115620004645762000464620004cd565b0290505b92915050565b60008160001904831182151516156200048b576200048b620004cd565b500290565b600181811c90821680620004a557607f821691505b60208210811415620004c757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e05161010051610120516111d862000533600039600061061d01526000610afd01526000610b4c01526000610b2701526000610aab01526000610ad401526111d86000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d714610201578063a9059cbb14610214578063d505accf14610227578063dd62ed3e1461023a57600080fd5b806370a08231146101aa57806379cc6790146101d35780637ecebe00146101e657806395d89b41146101f957600080fd5b8063313ce567116100d3578063313ce5671461016b5780633644e5151461017a578063395093511461018257806342966c681461019557600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610273565b60405161011a91906110d5565b60405180910390f35b610136610131366004611094565b610305565b604051901515815260200161011a565b6002545b60405190815260200161011a565b610136610166366004610fe8565b61031b565b6040516012815260200161011a565b61014a6103e6565b610136610190366004611094565b6103f5565b6101a86101a33660046110bd565b61042c565b005b61014a6101b8366004610f95565b6001600160a01b031660009081526020819052604090205490565b6101a86101e1366004611094565b610439565b61014a6101f4366004610f95565b6104da565b61010d6104fa565b61013661020f366004611094565b610509565b610136610222366004611094565b6105bc565b6101a8610235366004611023565b6105c9565b61014a610248366004610fb6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461028290611157565b80601f01602080910402602001604051908101604052809291908181526020018280546102ae90611157565b80156102fb5780601f106102d0576101008083540402835291602001916102fb565b820191906000526020600020905b8154815290600101906020018083116102de57829003601f168201915b5050505050905090565b600061031233848461072d565b50600192915050565b6000610328848484610886565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103c75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103db85336103d68685611140565b61072d565b506001949350505050565b60006103f0610aa7565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103129185906103d6908690611128565b6104363382610b9a565b50565b60006104458333610248565b9050818110156104bc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016103be565b6104cb83336103d68585611140565b6104d58383610b9a565b505050565b6001600160a01b0381166000908152600560205260408120545b92915050565b60606004805461028290611157565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105a35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016103be565b6105b233856103d68685611140565b5060019392505050565b6000610312338484610886565b834211156106195760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016103be565b60007f00000000000000000000000000000000000000000000000000000000000000008888886106488c610d20565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006106a382610d4a565b905060006106b382878787610db3565b9050896001600160a01b0316816001600160a01b0316146107165760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016103be565b6107218a8a8a61072d565b50505050505050505050565b6001600160a01b0383166107a85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b0382166108245760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166109025760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b03821661097e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b03831660009081526020819052604090205481811015610a0d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103be565b610a178282611140565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610a4d908490611128565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a9991815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610af657507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610c165760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b03821660009081526020819052604090205481811015610ca55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016103be565b610caf8282611140565b6001600160a01b03841660009081526020819052604081209190915560028054849290610cdd908490611140565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610879565b6001600160a01b0381166000908152600560205260409020805490610d4481610f5c565b50919050565b60006104f4610d57610aa7565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610e305760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016103be565b8360ff16601b1480610e4557508360ff16601c145b610e9c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016103be565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610ef0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f535760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016103be565b95945050505050565b6001816000016000828254610f719190611128565b909155505050565b80356001600160a01b0381168114610f9057600080fd5b919050565b600060208284031215610fa6578081fd5b610faf82610f79565b9392505050565b60008060408385031215610fc8578081fd5b610fd183610f79565b9150610fdf60208401610f79565b90509250929050565b600080600060608486031215610ffc578081fd5b61100584610f79565b925061101360208501610f79565b9150604084013590509250925092565b600080600080600080600060e0888a03121561103d578283fd5b61104688610f79565b965061105460208901610f79565b95506040880135945060608801359350608088013560ff81168114611077578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156110a6578182fd5b6110af83610f79565b946020939093013593505050565b6000602082840312156110ce578081fd5b5035919050565b6000602080835283518082850152825b81811015611101578581018301518582016040015282016110e5565b818111156111125783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561113b5761113b61118c565b500190565b6000828210156111525761115261118c565b500390565b600181811c9082168061116b57607f821691505b60208210811415610d4457634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212208b9cd1cf788492c30820affd45f8f4ecb59cb1d41e6144ddddfd30d929df9e2564736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d714610201578063a9059cbb14610214578063d505accf14610227578063dd62ed3e1461023a57600080fd5b806370a08231146101aa57806379cc6790146101d35780637ecebe00146101e657806395d89b41146101f957600080fd5b8063313ce567116100d3578063313ce5671461016b5780633644e5151461017a578063395093511461018257806342966c681461019557600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610273565b60405161011a91906110d5565b60405180910390f35b610136610131366004611094565b610305565b604051901515815260200161011a565b6002545b60405190815260200161011a565b610136610166366004610fe8565b61031b565b6040516012815260200161011a565b61014a6103e6565b610136610190366004611094565b6103f5565b6101a86101a33660046110bd565b61042c565b005b61014a6101b8366004610f95565b6001600160a01b031660009081526020819052604090205490565b6101a86101e1366004611094565b610439565b61014a6101f4366004610f95565b6104da565b61010d6104fa565b61013661020f366004611094565b610509565b610136610222366004611094565b6105bc565b6101a8610235366004611023565b6105c9565b61014a610248366004610fb6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461028290611157565b80601f01602080910402602001604051908101604052809291908181526020018280546102ae90611157565b80156102fb5780601f106102d0576101008083540402835291602001916102fb565b820191906000526020600020905b8154815290600101906020018083116102de57829003601f168201915b5050505050905090565b600061031233848461072d565b50600192915050565b6000610328848484610886565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103c75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103db85336103d68685611140565b61072d565b506001949350505050565b60006103f0610aa7565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103129185906103d6908690611128565b6104363382610b9a565b50565b60006104458333610248565b9050818110156104bc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016103be565b6104cb83336103d68585611140565b6104d58383610b9a565b505050565b6001600160a01b0381166000908152600560205260408120545b92915050565b60606004805461028290611157565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105a35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016103be565b6105b233856103d68685611140565b5060019392505050565b6000610312338484610886565b834211156106195760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016103be565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886106488c610d20565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006106a382610d4a565b905060006106b382878787610db3565b9050896001600160a01b0316816001600160a01b0316146107165760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016103be565b6107218a8a8a61072d565b50505050505050505050565b6001600160a01b0383166107a85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b0382166108245760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166109025760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b03821661097e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b03831660009081526020819052604090205481811015610a0d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103be565b610a178282611140565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610a4d908490611128565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a9991815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000038461415610af657507ff541eb97ec5c36ecd3d3dfc3a729d1235fd38e4c862ce3b12fb4f5b378c66dec90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fc5a5f91155954327e681360d48342854ba089d3aee5f282fe7b657d2de8d8084828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610c165760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016103be565b6001600160a01b03821660009081526020819052604090205481811015610ca55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016103be565b610caf8282611140565b6001600160a01b03841660009081526020819052604081209190915560028054849290610cdd908490611140565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610879565b6001600160a01b0381166000908152600560205260409020805490610d4481610f5c565b50919050565b60006104f4610d57610aa7565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610e305760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016103be565b8360ff16601b1480610e4557508360ff16601c145b610e9c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016103be565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610ef0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f535760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016103be565b95945050505050565b6001816000016000828254610f719190611128565b909155505050565b80356001600160a01b0381168114610f9057600080fd5b919050565b600060208284031215610fa6578081fd5b610faf82610f79565b9392505050565b60008060408385031215610fc8578081fd5b610fd183610f79565b9150610fdf60208401610f79565b90509250929050565b600080600060608486031215610ffc578081fd5b61100584610f79565b925061101360208501610f79565b9150604084013590509250925092565b600080600080600080600060e0888a03121561103d578283fd5b61104688610f79565b965061105460208901610f79565b95506040880135945060608801359350608088013560ff81168114611077578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156110a6578182fd5b6110af83610f79565b946020939093013593505050565b6000602082840312156110ce578081fd5b5035919050565b6000602080835283518082850152825b81811015611101578581018301518582016040015282016110e5565b818111156111125783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561113b5761113b61118c565b500190565b6000828210156111525761115261118c565b500390565b600181811c9082168061116b57607f821691505b60208210811415610d4457634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212208b9cd1cf788492c30820affd45f8f4ecb59cb1d41e6144ddddfd30d929df9e2564736f6c63430008040033
Deployed Bytecode Sourcemap
33860:212:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6528:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8695:169;;;;;;:::i;:::-;;:::i;:::-;;;2830:14:1;;2823:22;2805:41;;2793:2;2778:18;8695:169:0;2760:92:1;7648:108:0;7736:12;;7648:108;;;3003:25:1;;;2991:2;2976:18;7648:108:0;2958:76:1;9346:422:0;;;;;;:::i;:::-;;:::i;7490:93::-;;;7573:2;11436:36:1;;11424:2;11409:18;7490:93:0;11391:87:1;33314:115:0;;;:::i;10177:215::-;;;;;;:::i;:::-;;:::i;15790:91::-;;;;;;:::i;:::-;;:::i;:::-;;7819:127;;;;;;:::i;:::-;-1:-1:-1;;;;;7920:18:0;7893:7;7920:18;;;;;;;;;;;;7819:127;16200:332;;;;;;:::i;:::-;;:::i;33056:128::-;;;;;;:::i;:::-;;:::i;6747:104::-;;;:::i;10895:377::-;;;;;;:::i;:::-;;:::i;8159:175::-;;;;;;:::i;:::-;;:::i;32219:771::-;;;;;;:::i;:::-;;:::i;8397:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8513:18:0;;;8486:7;8513:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8397:151;6528:100;6582:13;6615:5;6608:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6528:100;:::o;8695:169::-;8778:4;8795:39;4195:10;8818:7;8827:6;8795:8;:39::i;:::-;-1:-1:-1;8852:4:0;8695:169;;;;:::o;9346:422::-;9452:4;9469:36;9479:6;9487:9;9498:6;9469:9;:36::i;:::-;-1:-1:-1;;;;;9545:19:0;;9518:24;9545:19;;;:11;:19;;;;;;;;4195:10;9545:33;;;;;;;;9597:26;;;;9589:79;;;;-1:-1:-1;;;9589:79:0;;8881:2:1;9589:79:0;;;8863:21:1;8920:2;8900:18;;;8893:30;8959:34;8939:18;;;8932:62;9030:10;9010:18;;;9003:38;9058:19;;9589:79:0;;;;;;;;;9679:57;9688:6;4195:10;9710:25;9729:6;9710:16;:25;:::i;:::-;9679:8;:57::i;:::-;-1:-1:-1;9756:4:0;;9346:422;-1:-1:-1;;;;9346:422:0:o;33314:115::-;33374:7;33401:20;:18;:20::i;:::-;33394:27;;33314:115;:::o;10177:215::-;4195:10;10265:4;10314:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10314:34:0;;;;;;;;;;10265:4;;10282:80;;10305:7;;10314:47;;10351:10;;10314:47;:::i;15790:91::-;15846:27;4195:10;15866:6;15846:5;:27::i;:::-;15790:91;:::o;16200:332::-;16277:24;16304:32;16314:7;4195:10;8397:151;:::i;16304:32::-;16277:59;;16375:6;16355:16;:26;;16347:75;;;;-1:-1:-1;;;16347:75:0;;9290:2:1;16347:75:0;;;9272:21:1;9329:2;9309:18;;;9302:30;9368:34;9348:18;;;9341:62;9439:6;9419:18;;;9412:34;9463:19;;16347:75:0;9262:226:1;16347:75:0;16433:58;16442:7;4195:10;16465:25;16484:6;16465:16;:25;:::i;16433:58::-;16502:22;16508:7;16517:6;16502:5;:22::i;:::-;16200:332;;;:::o;33056:128::-;-1:-1:-1;;;;;33152:14:0;;33125:7;33152:14;;;:7;:14;;;;;30420;33152:24;33145:31;33056:128;-1:-1:-1;;33056:128:0:o;6747:104::-;6803:13;6836:7;6829:14;;;;;:::i;10895:377::-;4195:10;10988:4;11032:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11032:34:0;;;;;;;;;;11085:35;;;;11077:85;;;;-1:-1:-1;;;11077:85:0;;10908:2:1;11077:85:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:34;10966:18;;;10959:62;11057:7;11037:18;;;11030:35;11082:19;;11077:85:0;10880:227:1;11077:85:0;11173:67;4195:10;11196:7;11205:34;11224:15;11205:16;:34;:::i;11173:67::-;-1:-1:-1;11260:4:0;;10895:377;-1:-1:-1;;;10895:377:0:o;8159:175::-;8245:4;8262:42;4195:10;8286:9;8297:6;8262:9;:42::i;32219:771::-;32448:8;32429:15;:27;;32421:69;;;;-1:-1:-1;;;32421:69:0;;6951:2:1;32421:69:0;;;6933:21:1;6990:2;6970:18;;;6963:30;7029:31;7009:18;;;7002:59;7078:18;;32421:69:0;6923:179:1;32421:69:0;32503:18;32577:16;32612:5;32636:7;32662:5;32686:16;32696:5;32686:9;:16::i;:::-;32548:196;;;;;;3326:25:1;;;;-1:-1:-1;;;;;3448:15:1;;;3428:18;;;3421:43;3500:15;;;;3480:18;;;3473:43;3532:18;;;3525:34;3575:19;;;3568:35;3619:19;;;3612:35;;;3298:19;;32548:196:0;;;;;;;;;;;;32524:231;;;;;;32503:252;;32768:12;32783:28;32800:10;32783:16;:28::i;:::-;32768:43;;32824:14;32841:28;32855:4;32861:1;32864;32867;32841:13;:28::i;:::-;32824:45;;32898:5;-1:-1:-1;;;;;32888:15:0;:6;-1:-1:-1;;;;;32888:15:0;;32880:58;;;;-1:-1:-1;;;32880:58:0;;8522:2:1;32880:58:0;;;8504:21:1;8561:2;8541:18;;;8534:30;8600:32;8580:18;;;8573:60;8650:18;;32880:58:0;8494:180:1;32880:58:0;32951:31;32960:5;32967:7;32976:5;32951:8;:31::i;:::-;32219:771;;;;;;;;;;:::o;14251:346::-;-1:-1:-1;;;;;14353:19:0;;14345:68;;;;-1:-1:-1;;;14345:68:0;;10503:2:1;14345:68:0;;;10485:21:1;10542:2;10522:18;;;10515:30;10581:34;10561:18;;;10554:62;10652:6;10632:18;;;10625:34;10676:19;;14345:68:0;10475:226:1;14345:68:0;-1:-1:-1;;;;;14432:21:0;;14424:68;;;;-1:-1:-1;;;14424:68:0;;6548:2:1;14424:68:0;;;6530:21:1;6587:2;6567:18;;;6560:30;6626:34;6606:18;;;6599:62;6697:4;6677:18;;;6670:32;6719:19;;14424:68:0;6520:224:1;14424:68:0;-1:-1:-1;;;;;14505:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14557:32;;3003:25:1;;;14557:32:0;;2976:18:1;14557:32:0;;;;;;;;14251:346;;;:::o;11762:604::-;-1:-1:-1;;;;;11868:20:0;;11860:70;;;;-1:-1:-1;;;11860:70:0;;10097:2:1;11860:70:0;;;10079:21:1;10136:2;10116:18;;;10109:30;10175:34;10155:18;;;10148:62;10246:7;10226:18;;;10219:35;10271:19;;11860:70:0;10069:227:1;11860:70:0;-1:-1:-1;;;;;11949:23:0;;11941:71;;;;-1:-1:-1;;;11941:71:0;;5741:2:1;11941:71:0;;;5723:21:1;5780:2;5760:18;;;5753:30;5819:34;5799:18;;;5792:62;5890:5;5870:18;;;5863:33;5913:19;;11941:71:0;5713:225:1;11941:71:0;-1:-1:-1;;;;;12109:17:0;;12085:21;12109:17;;;;;;;;;;;12145:23;;;;12137:74;;;;-1:-1:-1;;;12137:74:0;;7309:2:1;12137:74:0;;;7291:21:1;7348:2;7328:18;;;7321:30;7387:34;7367:18;;;7360:62;7458:8;7438:18;;;7431:36;7484:19;;12137:74:0;7281:228:1;12137:74:0;12242:22;12258:6;12242:13;:22;:::i;:::-;-1:-1:-1;;;;;12222:17:0;;;:9;:17;;;;;;;;;;;:42;;;;12275:20;;;;;;;;:30;;12299:6;;12222:9;12275:30;;12299:6;;12275:30;:::i;:::-;;;;;;;;12340:9;-1:-1:-1;;;;;12323:35:0;12332:6;-1:-1:-1;;;;;12323:35:0;;12351:6;12323:35;;;;3003:25:1;;2991:2;2976:18;;2958:76;12323:35:0;;;;;;;;11762:604;;;;:::o;28069:281::-;28122:7;28163:16;28146:13;:33;28142:201;;;-1:-1:-1;28203:24:0;;28069:281::o;28142:201::-;-1:-1:-1;28511:165:0;;;28289:10;28511:165;;;;3917:25:1;;;;28301:12:0;3958:18:1;;;3951:34;28315:15:0;4001:18:1;;;3994:34;28616:13:0;4044:18:1;;;4037:34;28656:4:0;4087:19:1;;;;4080:84;;;;28511:165:0;;;;;;;;;;3889:19:1;;;;28511:165:0;;;28487:200;;;;;;33314:115::o;13319:494::-;-1:-1:-1;;;;;13403:21:0;;13395:67;;;;-1:-1:-1;;;13395:67:0;;9695:2:1;13395:67:0;;;9677:21:1;9734:2;9714:18;;;9707:30;9773:34;9753:18;;;9746:62;9844:3;9824:18;;;9817:31;9865:19;;13395:67:0;9667:223:1;13395:67:0;-1:-1:-1;;;;;13562:18:0;;13537:22;13562:18;;;;;;;;;;;13599:24;;;;13591:71;;;;-1:-1:-1;;;13591:71:0;;6145:2:1;13591:71:0;;;6127:21:1;6184:2;6164:18;;;6157:30;6223:34;6203:18;;;6196:62;6294:4;6274:18;;;6267:32;6316:19;;13591:71:0;6117:224:1;13591:71:0;13694:23;13711:6;13694:14;:23;:::i;:::-;-1:-1:-1;;;;;13673:18:0;;:9;:18;;;;;;;;;;:44;;;;13728:12;:22;;13744:6;;13673:9;13728:22;;13744:6;;13728:22;:::i;:::-;;;;-1:-1:-1;;13768:37:0;;3003:25:1;;;13794:1:0;;-1:-1:-1;;;;;13768:37:0;;;;;2991:2:1;2976:18;13768:37:0;2958:76:1;33567:207:0;-1:-1:-1;;;;;33688:14:0;;33627:15;33688:14;;;:7;:14;;;;;30420;;;33749:17;33688:14;33749:15;:17::i;:::-;33567:207;;;;:::o;29337:167::-;29414:7;29441:55;29463:20;:18;:20::i;:::-;29485:10;24948:57;;2486:66:1;24948:57:0;;;2474:79:1;2569:11;;;2562:27;;;2605:12;;;2598:28;;;24911:7:0;;2642:12:1;;24948:57:0;;;;;;;;;;;;24938:68;;;;;;24931:75;;24818:196;;;;;22467:1432;22552:7;23477:66;23463:80;;;23455:127;;;;-1:-1:-1;;;23455:127:0;;7716:2:1;23455:127:0;;;7698:21:1;7755:2;7735:18;;;7728:30;7794:34;7774:18;;;7767:62;-1:-1:-1;;;7845:18:1;;;7838:32;7887:19;;23455:127:0;7688:224:1;23455:127:0;23601:1;:7;;23606:2;23601:7;:18;;;;23612:1;:7;;23617:2;23612:7;23601:18;23593:65;;;;-1:-1:-1;;;23593:65:0;;8119:2:1;23593:65:0;;;8101:21:1;8158:2;8138:18;;;8131:30;8197:34;8177:18;;;8170:62;-1:-1:-1;;;8248:18:1;;;8241:32;8290:19;;23593:65:0;8091:224:1;23593:65:0;23773:24;;;23756:14;23773:24;;;;;;;;;4402:25:1;;;4475:4;4463:17;;4443:18;;;4436:45;;;;4497:18;;;4490:34;;;4540:18;;;4533:34;;;23773:24:0;;4374:19:1;;23773:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23773:24:0;;-1:-1:-1;;23773:24:0;;;-1:-1:-1;;;;;;;23816:20:0;;23808:57;;;;-1:-1:-1;;;23808:57:0;;5388:2:1;23808:57:0;;;5370:21:1;5427:2;5407:18;;;5400:30;5466:26;5446:18;;;5439:54;5510:18;;23808:57:0;5360:174:1;23808:57:0;23885:6;22467:1432;-1:-1:-1;;;;;22467:1432:0:o;30450:133::-;30560:1;30542:7;:14;;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;;30450:133:0:o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:196::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;348:6;340;333:22;295:2;376:29;395:9;376:29;:::i;:::-;366:39;285:126;-1:-1:-1;;;285:126:1:o;416:270::-;484:6;492;545:2;533:9;524:7;520:23;516:32;513:2;;;566:6;558;551:22;513:2;594:29;613:9;594:29;:::i;:::-;584:39;;642:38;676:2;665:9;661:18;642:38;:::i;:::-;632:48;;503:183;;;;;:::o;691:338::-;768:6;776;784;837:2;825:9;816:7;812:23;808:32;805:2;;;858:6;850;843:22;805:2;886:29;905:9;886:29;:::i;:::-;876:39;;934:38;968:2;957:9;953:18;934:38;:::i;:::-;924:48;;1019:2;1008:9;1004:18;991:32;981:42;;795:234;;;;;:::o;1034:713::-;1145:6;1153;1161;1169;1177;1185;1193;1246:3;1234:9;1225:7;1221:23;1217:33;1214:2;;;1268:6;1260;1253:22;1214:2;1296:29;1315:9;1296:29;:::i;:::-;1286:39;;1344:38;1378:2;1367:9;1363:18;1344:38;:::i;:::-;1334:48;;1429:2;1418:9;1414:18;1401:32;1391:42;;1480:2;1469:9;1465:18;1452:32;1442:42;;1534:3;1523:9;1519:19;1506:33;1579:4;1572:5;1568:16;1561:5;1558:27;1548:2;;1604:6;1596;1589:22;1548:2;1204:543;;;;-1:-1:-1;1204:543:1;;;;1632:5;1684:3;1669:19;;1656:33;;-1:-1:-1;1736:3:1;1721:19;;;1708:33;;1204:543;-1:-1:-1;;1204:543:1:o;1752:264::-;1820:6;1828;1881:2;1869:9;1860:7;1856:23;1852:32;1849:2;;;1902:6;1894;1887:22;1849:2;1930:29;1949:9;1930:29;:::i;:::-;1920:39;2006:2;1991:18;;;;1978:32;;-1:-1:-1;;;1839:177:1:o;2021:190::-;2080:6;2133:2;2121:9;2112:7;2108:23;2104:32;2101:2;;;2154:6;2146;2139:22;2101:2;-1:-1:-1;2182:23:1;;2091:120;-1:-1:-1;2091:120:1:o;4578:603::-;4690:4;4719:2;4748;4737:9;4730:21;4780:6;4774:13;4823:6;4818:2;4807:9;4803:18;4796:34;4848:4;4861:140;4875:6;4872:1;4869:13;4861:140;;;4970:14;;;4966:23;;4960:30;4936:17;;;4955:2;4932:26;4925:66;4890:10;;4861:140;;;5019:6;5016:1;5013:13;5010:2;;;5089:4;5084:2;5075:6;5064:9;5060:22;5056:31;5049:45;5010:2;-1:-1:-1;5165:2:1;5144:15;-1:-1:-1;;5140:29:1;5125:45;;;;5172:2;5121:54;;4699:482;-1:-1:-1;;;4699:482:1:o;11483:128::-;11523:3;11554:1;11550:6;11547:1;11544:13;11541:2;;;11560:18;;:::i;:::-;-1:-1:-1;11596:9:1;;11531:80::o;11616:125::-;11656:4;11684:1;11681;11678:8;11675:2;;;11689:18;;:::i;:::-;-1:-1:-1;11726:9:1;;11665:76::o;11746:437::-;11825:1;11821:12;;;;11868;;;11889:2;;11943:4;11935:6;11931:17;11921:27;;11889:2;11996;11988:6;11985:14;11965:18;11962:38;11959:2;;;-1:-1:-1;;;12030:1:1;12023:88;12134:4;12131:1;12124:15;12162:4;12159:1;12152:15;12188:184;-1:-1:-1;;;12237:1:1;12230:88;12337:4;12334:1;12327:15;12361:4;12358:1;12351:15
Swarm Source
ipfs://8b9cd1cf788492c30820affd45f8f4ecb59cb1d41e6144ddddfd30d929df9e25
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.