Feature Tip: Add private address tag to any address under My Name Tag !
Latest 25 from a total of 1,772 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 21189572 | 13 days ago | IN | 0 ETH | 0.00098011 | ||||
Transfer | 21156575 | 17 days ago | IN | 0 ETH | 0.00065358 | ||||
Transfer | 21119169 | 23 days ago | IN | 0 ETH | 0.0002179 | ||||
Transfer | 21093054 | 26 days ago | IN | 0 ETH | 0.00059847 | ||||
Transfer | 20936336 | 48 days ago | IN | 0 ETH | 0.00122955 | ||||
Transfer | 20878542 | 56 days ago | IN | 0 ETH | 0.00057289 | ||||
Permit | 20862880 | 58 days ago | IN | 0 ETH | 0.00058669 | ||||
Transfer | 20793872 | 68 days ago | IN | 0 ETH | 0.00063818 | ||||
Transfer | 20731322 | 77 days ago | IN | 0 ETH | 0.00014554 | ||||
Transfer | 20672931 | 85 days ago | IN | 0 ETH | 0.00011649 | ||||
Transfer | 20649975 | 88 days ago | IN | 0 ETH | 0.00012532 | ||||
Transfer | 20465114 | 114 days ago | IN | 0 ETH | 0.00028171 | ||||
Transfer | 20412744 | 121 days ago | IN | 0 ETH | 0.00041348 | ||||
Transfer | 20407357 | 122 days ago | IN | 0 ETH | 0.0001764 | ||||
Transfer | 20395902 | 124 days ago | IN | 0 ETH | 0.00017513 | ||||
Transfer | 20392195 | 124 days ago | IN | 0 ETH | 0.00021444 | ||||
Transfer | 20377684 | 126 days ago | IN | 0 ETH | 0.00036655 | ||||
Transfer | 20373757 | 127 days ago | IN | 0 ETH | 0.00149658 | ||||
Transfer | 20372120 | 127 days ago | IN | 0 ETH | 0.00033721 | ||||
Transfer | 20372025 | 127 days ago | IN | 0 ETH | 0.00023862 | ||||
Transfer | 20370828 | 127 days ago | IN | 0 ETH | 0.00035194 | ||||
Transfer | 20367355 | 128 days ago | IN | 0 ETH | 0.00026293 | ||||
Transfer | 20364301 | 128 days ago | IN | 0 ETH | 0.00039152 | ||||
Transfer | 20361471 | 128 days ago | IN | 0 ETH | 0.00035629 | ||||
Transfer | 20361296 | 128 days ago | IN | 0 ETH | 0.00023644 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
NiftifyERC20
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; /// @title Niftify ERC20 Token /// @author Niftify contract NiftifyERC20 is ERC20Pausable, ERC20Permit, AccessControl { bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE"); /** * @dev Contract constructor. * @param name token name * @param symbol token symbol * @param initialBalance starting token fund balance * @param owner address of the Smart Contract owner */ constructor( string memory name, string memory symbol, uint256 initialBalance, address owner ) ERC20(name, symbol) ERC20Permit(name) { _mint(owner, initialBalance); _setupRole(DEFAULT_ADMIN_ROLE, owner); _setupRole(OPERATOR_ROLE, owner); } /** * @dev Function for pausing the Smart Contract (any transactions made during the pause period get reverted). */ function pause() external onlyOperator { _pause(); } /** * @dev Function for unpausing the Smart Contract. */ function unpause() external onlyOperator { _unpause(); } /** * @dev Function for approving incoming token transfer and initiating the transfer. * @param recipient address of the recipient of the transferred funds * @param owner address of the owner that is transferring the funds * @param value the amount of tokens that are being transferred * @param deadline time until the permit expires * @param signature the signature of the transaction, which contains the transfer permit */ function transferWithPermit( address recipient, address owner, address spender, uint256 value, uint256 deadline, bytes memory signature ) external { bytes32 r; bytes32 s; uint8 v; assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } ERC20Permit.permit(owner, spender, value, deadline, v, r, s); transferFrom(owner, recipient, value); } /** * @dev Function for overriding the ERC20Pausable function * @param from the address from which tokens get transferred * @param to the address that the tokens will be transferred to * @param amount the amount of tokens that are being transferred */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override(ERC20Pausable, ERC20) { ERC20Pausable._beforeTokenTransfer(from, to, amount); } /** * @dev Modifier to make a function callable only by OPERATOR_ROLE. */ modifier onlyOperator() { require(hasRole(OPERATOR_ROLE, msg.sender), "Caller is not operator"); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * 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 granted `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}. * ==== */ 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); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./draft-IERC20Permit.sol"; import "../ERC20.sol"; import "../../../utils/cryptography/draft-EIP712.sol"; import "../../../utils/cryptography/ECDSA.sol"; import "../../../utils/Counters.sol"; /** * @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 { 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(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @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 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, 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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. 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. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // 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) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @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) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // 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 (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): 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. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @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) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @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)); } }
// SPDX-License-Identifier: MIT 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialBalance","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_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":[],"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":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"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":"bytes","name":"signature","type":"bytes"}],"name":"transferWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120908152503480156200003a57600080fd5b506040516200407a3803806200407a8339818101604052810190620000609190620006f8565b83806040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525086868160039080519060200190620000b2929190620005a8565b508060049080519060200190620000cb929190620005a8565b5050506000600560006101000a81548160ff02191690831515021790555060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260c081815250508160e081815250504660a0818152505062000151818484620001ca60201b60201c565b608081815250508061010081815250505050505050506200017981836200020660201b60201c565b6200018e6000801b826200037f60201b60201c565b620001c07f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929826200037f60201b60201c565b5050505062000b7b565b60008383834630604051602001620001e795949392919062000873565b6040516020818303038152906040528051906020012090509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000279576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027090620008d0565b60405180910390fd5b6200028d600083836200039560201b60201c565b8060026000828254620002a19190620009a9565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620002f89190620009a9565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200035f919062000914565b60405180910390a36200037b60008383620003b260201b60201c565b5050565b620003918282620003b760201b60201c565b5050565b620003ad838383620004a960201b62000eea1760201c565b505050565b505050565b620003c982826200051960201b60201c565b620004a55760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200044a6200058460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620004c18383836200058c60201b62000f421760201c565b620004d16200059160201b60201c565b1562000514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200050b90620008f2565b60405180910390fd5b505050565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b505050565b6000600560009054906101000a900460ff16905090565b828054620005b69062000a84565b90600052602060002090601f016020900481019282620005da576000855562000626565b82601f10620005f557805160ff191683800117855562000626565b8280016001018555821562000626579182015b828111156200062557825182559160200191906001019062000608565b5b50905062000635919062000639565b5090565b5b80821115620006545760008160009055506001016200063a565b5090565b60006200066f620006698462000965565b62000931565b9050828152602081018484840111156200068857600080fd5b6200069584828562000a4e565b509392505050565b600081519050620006ae8162000b47565b92915050565b600082601f830112620006c657600080fd5b8151620006d884826020860162000658565b91505092915050565b600081519050620006f28162000b61565b92915050565b600080600080608085870312156200070f57600080fd5b600085015167ffffffffffffffff8111156200072a57600080fd5b6200073887828801620006b4565b945050602085015167ffffffffffffffff8111156200075657600080fd5b6200076487828801620006b4565b93505060406200077787828801620006e1565b92505060606200078a878288016200069d565b91505092959194509250565b620007a18162000a06565b82525050565b620007b28162000a1a565b82525050565b6000620007c7601f8362000998565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b600062000809602a8362000998565b91507f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008301527f696c6520706175736564000000000000000000000000000000000000000000006020830152604082019050919050565b6200086d8162000a44565b82525050565b600060a0820190506200088a6000830188620007a7565b620008996020830187620007a7565b620008a86040830186620007a7565b620008b7606083018562000862565b620008c6608083018462000796565b9695505050505050565b60006020820190508181036000830152620008eb81620007b8565b9050919050565b600060208201905081810360008301526200090d81620007fa565b9050919050565b60006020820190506200092b600083018462000862565b92915050565b6000604051905081810181811067ffffffffffffffff821117156200095b576200095a62000b18565b5b8060405250919050565b600067ffffffffffffffff82111562000983576200098262000b18565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b6000620009b68262000a44565b9150620009c38362000a44565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620009fb57620009fa62000aba565b5b828201905092915050565b600062000a138262000a24565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000a6e57808201518184015260208101905062000a51565b8381111562000a7e576000848401525b50505050565b6000600282049050600182168062000a9d57607f821691505b6020821081141562000ab45762000ab362000ae9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000b528162000a06565b811462000b5e57600080fd5b50565b62000b6c8162000a44565b811462000b7857600080fd5b50565b60805160a05160c05160e05161010051610120516134af62000bcb6000396000610d1b015260006115da0152600061161c015260006115fb01526000611587015260006115af01526134af6000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80635c975abb116100de578063a217fddf11610097578063d505accf11610071578063d505accf146104ad578063d547741f146104c9578063dd62ed3e146104e5578063f5b541a6146105155761018e565b8063a217fddf1461042f578063a457c2d71461044d578063a9059cbb1461047d5761018e565b80635c975abb1461035957806370a08231146103775780637ecebe00146103a75780638456cb59146103d757806391d14854146103e157806395d89b41146104115761018e565b80632f2ff15d1161014b57806336568abe1161012557806336568abe146102e757806339509351146103035780633ea38cbe146103335780633f4ba83a1461034f5761018e565b80632f2ff15d1461028f578063313ce567146102ab5780633644e515146102c95761018e565b806301ffc9a71461019357806306fdde03146101c3578063095ea7b3146101e157806318160ddd1461021157806323b872dd1461022f578063248a9ca31461025f575b600080fd5b6101ad60048036038101906101a89190612473565b610533565b6040516101ba9190612d16565b60405180910390f35b6101cb6105ad565b6040516101d89190612e45565b60405180910390f35b6101fb60048036038101906101f691906123d2565b61063f565b6040516102089190612d16565b60405180910390f35b61021961065d565b60405161022691906130c7565b60405180910390f35b610249600480360381019061024491906122e5565b610667565b6040516102569190612d16565b60405180910390f35b6102796004803603810190610274919061240e565b61075f565b6040516102869190612d31565b60405180910390f35b6102a960048036038101906102a49190612437565b61077f565b005b6102b36107a8565b6040516102c091906130e2565b60405180910390f35b6102d16107b1565b6040516102de9190612d31565b60405180910390f35b61030160048036038101906102fc9190612437565b6107c0565b005b61031d600480360381019061031891906123d2565b610843565b60405161032a9190612d16565b60405180910390f35b61034d60048036038101906103489190612244565b6108ef565b005b610357610932565b005b6103616109a5565b60405161036e9190612d16565b60405180910390f35b610391600480360381019061038c91906121df565b6109bc565b60405161039e91906130c7565b60405180910390f35b6103c160048036038101906103bc91906121df565b610a04565b6040516103ce91906130c7565b60405180910390f35b6103df610a54565b005b6103fb60048036038101906103f69190612437565b610ac7565b6040516104089190612d16565b60405180910390f35b610419610b32565b6040516104269190612e45565b60405180910390f35b610437610bc4565b6040516104449190612d31565b60405180910390f35b610467600480360381019061046291906123d2565b610bcb565b6040516104749190612d16565b60405180910390f35b610497600480360381019061049291906123d2565b610cb6565b6040516104a49190612d16565b60405180910390f35b6104c760048036038101906104c29190612334565b610cd4565b005b6104e360048036038101906104de9190612437565b610e16565b005b6104ff60048036038101906104fa9190612208565b610e3f565b60405161050c91906130c7565b60405180910390f35b61051d610ec6565b60405161052a9190612d31565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105a657506105a582610f47565b5b9050919050565b6060600380546105bc9061332c565b80601f01602080910402602001604051908101604052809291908181526020018280546105e89061332c565b80156106355780601f1061060a57610100808354040283529160200191610635565b820191906000526020600020905b81548152906001019060200180831161061857829003601f168201915b5050505050905090565b600061065361064c610fb1565b8484610fb9565b6001905092915050565b6000600254905090565b6000610674848484611184565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106bf610fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561073f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073690612fe7565b60405180910390fd5b6107538561074b610fb1565b858403610fb9565b60019150509392505050565b600060076000838152602001908152602001600020600101549050919050565b6107888261075f565b61079981610794610fb1565b611405565b6107a383836114a2565b505050565b60006012905090565b60006107bb611583565b905090565b6107c8610fb1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082c90613087565b60405180910390fd5b61083f8282611646565b5050565b60006108e5610850610fb1565b84846001600061085e610fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e09190613185565b610fb9565b6001905092915050565b60008060006020840151925060408401519150606084015160001a905061091b88888888858888610cd4565b610926888a88610667565b50505050505050505050565b61095c7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610ac7565b61099b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099290613007565b60405180910390fd5b6109a3611728565b565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610a4d600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206117ca565b9050919050565b610a7e7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610ac7565b610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab490613007565b60405180910390fd5b610ac56117d8565b565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b419061332c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6d9061332c565b8015610bba5780601f10610b8f57610100808354040283529160200191610bba565b820191906000526020600020905b815481529060010190602001808311610b9d57829003601f168201915b5050505050905090565b6000801b81565b60008060016000610bda610fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613067565b60405180910390fd5b610cab610ca2610fb1565b85858403610fb9565b600191505092915050565b6000610cca610cc3610fb1565b8484611184565b6001905092915050565b83421115610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e90612f27565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000888888610d468c61187b565b89604051602001610d5c96959493929190612d4c565b6040516020818303038152906040528051906020012090506000610d7f826118d9565b90506000610d8f828787876118f3565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df690612fc7565b60405180910390fd5b610e0a8a8a8a610fb9565b50505050505050505050565b610e1f8261075f565b610e3081610e2b610fb1565b611405565b610e3a8383611646565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92981565b610ef5838383610f42565b610efd6109a5565b15610f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f34906130a7565b60405180910390fd5b505050565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102090613047565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090612f07565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161117791906130c7565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111eb90613027565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b90612ea7565b60405180910390fd5b61126f83838361191e565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90612f47565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113889190613185565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113ec91906130c7565b60405180910390a36113ff84848461192e565b50505050565b61140f8282610ac7565b61149e576114348173ffffffffffffffffffffffffffffffffffffffff166014611933565b6114428360001c6020611933565b604051602001611453929190612cc1565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114959190612e45565b60405180910390fd5b5050565b6114ac8282610ac7565b61157f5760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611524610fb1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60007f00000000000000000000000000000000000000000000000000000000000000004614156115d5577f00000000000000000000000000000000000000000000000000000000000000009050611643565b6116407f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611c2d565b90505b90565b6116508282610ac7565b156117245760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116c9610fb1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6117306109a5565b61176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690612ec7565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6117b3610fb1565b6040516117c09190612cfb565b60405180910390a1565b600081600001549050919050565b6117e06109a5565b15611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790612f87565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611864610fb1565b6040516118719190612cfb565b60405180910390a1565b600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506118c8816117ca565b91506118d381611c67565b50919050565b60006118ec6118e6611583565b83611c7d565b9050919050565b600080600061190487878787611cb0565b9150915061191181611dbd565b8192505050949350505050565b611929838383610eea565b505050565b505050565b60606000600283600261194691906131db565b6119509190613185565b67ffffffffffffffff81111561198f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119c15781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611a1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611aa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611ae991906131db565b611af39190613185565b90505b6001811115611bdf577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611b5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611b98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611bd890613302565b9050611af6565b5060008414611c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1a90612e87565b60405180910390fd5b8091505092915050565b60008383834630604051602001611c48959493929190612dad565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b60008282604051602001611c92929190612c8a565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611ceb576000600391509150611db4565b601b8560ff1614158015611d035750601c8560ff1614155b15611d15576000600491509150611db4565b600060018787878760405160008152602001604052604051611d3a9493929190612e00565b6020604051602081039080840390855afa158015611d5c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dab57600060019250925050611db4565b80600092509250505b94509492505050565b60006004811115611df7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611e30577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611e3b5761210b565b60016004811115611e75577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611eae577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690612e67565b60405180910390fd5b60026004811115611f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611f62577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90612ee7565b60405180910390fd5b60036004811115611fdd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612016577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90612f67565b60405180910390fd5b600480811115612090577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156120c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561210a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210190612fa7565b60405180910390fd5b5b50565b600061212161211c8461312e565b6130fd565b90508281526020810184848401111561213957600080fd5b6121448482856132c0565b509392505050565b60008135905061215b81613406565b92915050565b6000813590506121708161341d565b92915050565b60008135905061218581613434565b92915050565b600082601f83011261219c57600080fd5b81356121ac84826020860161210e565b91505092915050565b6000813590506121c48161344b565b92915050565b6000813590506121d981613462565b92915050565b6000602082840312156121f157600080fd5b60006121ff8482850161214c565b91505092915050565b6000806040838503121561221b57600080fd5b60006122298582860161214c565b925050602061223a8582860161214c565b9150509250929050565b60008060008060008060c0878903121561225d57600080fd5b600061226b89828a0161214c565b965050602061227c89828a0161214c565b955050604061228d89828a0161214c565b945050606061229e89828a016121b5565b93505060806122af89828a016121b5565b92505060a087013567ffffffffffffffff8111156122cc57600080fd5b6122d889828a0161218b565b9150509295509295509295565b6000806000606084860312156122fa57600080fd5b60006123088682870161214c565b93505060206123198682870161214c565b925050604061232a868287016121b5565b9150509250925092565b600080600080600080600060e0888a03121561234f57600080fd5b600061235d8a828b0161214c565b975050602061236e8a828b0161214c565b965050604061237f8a828b016121b5565b95505060606123908a828b016121b5565b94505060806123a18a828b016121ca565b93505060a06123b28a828b01612161565b92505060c06123c38a828b01612161565b91505092959891949750929550565b600080604083850312156123e557600080fd5b60006123f38582860161214c565b9250506020612404858286016121b5565b9150509250929050565b60006020828403121561242057600080fd5b600061242e84828501612161565b91505092915050565b6000806040838503121561244a57600080fd5b600061245885828601612161565b92505060206124698582860161214c565b9150509250929050565b60006020828403121561248557600080fd5b600061249384828501612176565b91505092915050565b6124a581613235565b82525050565b6124b481613247565b82525050565b6124c381613253565b82525050565b6124da6124d582613253565b61335e565b82525050565b60006124eb8261315e565b6124f58185613169565b93506125058185602086016132cf565b61250e816133f5565b840191505092915050565b60006125248261315e565b61252e818561317a565b935061253e8185602086016132cf565b80840191505092915050565b6000612557601883613169565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612597602083613169565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b60006125d7602383613169565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061263d601483613169565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b600061267d601f83613169565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006126bd602283613169565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061272360028361317a565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000612763601d83613169565b91507f45524332305065726d69743a206578706972656420646561646c696e650000006000830152602082019050919050565b60006127a3602683613169565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612809602283613169565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061286f601083613169565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006128af602283613169565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612915601e83613169565b91507f45524332305065726d69743a20696e76616c6964207369676e617475726500006000830152602082019050919050565b6000612955602883613169565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006129bb601683613169565b91507f43616c6c6572206973206e6f74206f70657261746f72000000000000000000006000830152602082019050919050565b60006129fb602583613169565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612a61602483613169565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612ac760178361317a565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000612b07602583613169565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b6d60118361317a565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612bad602f83613169565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b6000612c13602a83613169565b91507f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008301527f696c6520706175736564000000000000000000000000000000000000000000006020830152604082019050919050565b612c75816132a9565b82525050565b612c84816132b3565b82525050565b6000612c9582612716565b9150612ca182856124c9565b602082019150612cb182846124c9565b6020820191508190509392505050565b6000612ccc82612aba565b9150612cd88285612519565b9150612ce382612b60565b9150612cef8284612519565b91508190509392505050565b6000602082019050612d10600083018461249c565b92915050565b6000602082019050612d2b60008301846124ab565b92915050565b6000602082019050612d4660008301846124ba565b92915050565b600060c082019050612d6160008301896124ba565b612d6e602083018861249c565b612d7b604083018761249c565b612d886060830186612c6c565b612d956080830185612c6c565b612da260a0830184612c6c565b979650505050505050565b600060a082019050612dc260008301886124ba565b612dcf60208301876124ba565b612ddc60408301866124ba565b612de96060830185612c6c565b612df6608083018461249c565b9695505050505050565b6000608082019050612e1560008301876124ba565b612e226020830186612c7b565b612e2f60408301856124ba565b612e3c60608301846124ba565b95945050505050565b60006020820190508181036000830152612e5f81846124e0565b905092915050565b60006020820190508181036000830152612e808161254a565b9050919050565b60006020820190508181036000830152612ea08161258a565b9050919050565b60006020820190508181036000830152612ec0816125ca565b9050919050565b60006020820190508181036000830152612ee081612630565b9050919050565b60006020820190508181036000830152612f0081612670565b9050919050565b60006020820190508181036000830152612f20816126b0565b9050919050565b60006020820190508181036000830152612f4081612756565b9050919050565b60006020820190508181036000830152612f6081612796565b9050919050565b60006020820190508181036000830152612f80816127fc565b9050919050565b60006020820190508181036000830152612fa081612862565b9050919050565b60006020820190508181036000830152612fc0816128a2565b9050919050565b60006020820190508181036000830152612fe081612908565b9050919050565b6000602082019050818103600083015261300081612948565b9050919050565b60006020820190508181036000830152613020816129ae565b9050919050565b60006020820190508181036000830152613040816129ee565b9050919050565b6000602082019050818103600083015261306081612a54565b9050919050565b6000602082019050818103600083015261308081612afa565b9050919050565b600060208201905081810360008301526130a081612ba0565b9050919050565b600060208201905081810360008301526130c081612c06565b9050919050565b60006020820190506130dc6000830184612c6c565b92915050565b60006020820190506130f76000830184612c7b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613124576131236133c6565b5b8060405250919050565b600067ffffffffffffffff821115613149576131486133c6565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000613190826132a9565b915061319b836132a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131d0576131cf613368565b5b828201905092915050565b60006131e6826132a9565b91506131f1836132a9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561322a57613229613368565b5b828202905092915050565b600061324082613289565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156132ed5780820151818401526020810190506132d2565b838111156132fc576000848401525b50505050565b600061330d826132a9565b9150600082141561332157613320613368565b5b600182039050919050565b6000600282049050600182168061334457607f821691505b6020821081141561335857613357613397565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61340f81613235565b811461341a57600080fd5b50565b61342681613253565b811461343157600080fd5b50565b61343d8161325d565b811461344857600080fd5b50565b613454816132a9565b811461345f57600080fd5b50565b61346b816132b3565b811461347657600080fd5b5056fea2646970667358221220023298a8bacaf5bcf127c49aaf7597ac164452611660c957c6dd74436914830b64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000a56fa5b99019a5c8000000000000000000000000000000f43b17a983cc8d6c1e48f780ffea2e2828ebc77d00000000000000000000000000000000000000000000000000000000000000074e6966746966790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e49465400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80635c975abb116100de578063a217fddf11610097578063d505accf11610071578063d505accf146104ad578063d547741f146104c9578063dd62ed3e146104e5578063f5b541a6146105155761018e565b8063a217fddf1461042f578063a457c2d71461044d578063a9059cbb1461047d5761018e565b80635c975abb1461035957806370a08231146103775780637ecebe00146103a75780638456cb59146103d757806391d14854146103e157806395d89b41146104115761018e565b80632f2ff15d1161014b57806336568abe1161012557806336568abe146102e757806339509351146103035780633ea38cbe146103335780633f4ba83a1461034f5761018e565b80632f2ff15d1461028f578063313ce567146102ab5780633644e515146102c95761018e565b806301ffc9a71461019357806306fdde03146101c3578063095ea7b3146101e157806318160ddd1461021157806323b872dd1461022f578063248a9ca31461025f575b600080fd5b6101ad60048036038101906101a89190612473565b610533565b6040516101ba9190612d16565b60405180910390f35b6101cb6105ad565b6040516101d89190612e45565b60405180910390f35b6101fb60048036038101906101f691906123d2565b61063f565b6040516102089190612d16565b60405180910390f35b61021961065d565b60405161022691906130c7565b60405180910390f35b610249600480360381019061024491906122e5565b610667565b6040516102569190612d16565b60405180910390f35b6102796004803603810190610274919061240e565b61075f565b6040516102869190612d31565b60405180910390f35b6102a960048036038101906102a49190612437565b61077f565b005b6102b36107a8565b6040516102c091906130e2565b60405180910390f35b6102d16107b1565b6040516102de9190612d31565b60405180910390f35b61030160048036038101906102fc9190612437565b6107c0565b005b61031d600480360381019061031891906123d2565b610843565b60405161032a9190612d16565b60405180910390f35b61034d60048036038101906103489190612244565b6108ef565b005b610357610932565b005b6103616109a5565b60405161036e9190612d16565b60405180910390f35b610391600480360381019061038c91906121df565b6109bc565b60405161039e91906130c7565b60405180910390f35b6103c160048036038101906103bc91906121df565b610a04565b6040516103ce91906130c7565b60405180910390f35b6103df610a54565b005b6103fb60048036038101906103f69190612437565b610ac7565b6040516104089190612d16565b60405180910390f35b610419610b32565b6040516104269190612e45565b60405180910390f35b610437610bc4565b6040516104449190612d31565b60405180910390f35b610467600480360381019061046291906123d2565b610bcb565b6040516104749190612d16565b60405180910390f35b610497600480360381019061049291906123d2565b610cb6565b6040516104a49190612d16565b60405180910390f35b6104c760048036038101906104c29190612334565b610cd4565b005b6104e360048036038101906104de9190612437565b610e16565b005b6104ff60048036038101906104fa9190612208565b610e3f565b60405161050c91906130c7565b60405180910390f35b61051d610ec6565b60405161052a9190612d31565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105a657506105a582610f47565b5b9050919050565b6060600380546105bc9061332c565b80601f01602080910402602001604051908101604052809291908181526020018280546105e89061332c565b80156106355780601f1061060a57610100808354040283529160200191610635565b820191906000526020600020905b81548152906001019060200180831161061857829003601f168201915b5050505050905090565b600061065361064c610fb1565b8484610fb9565b6001905092915050565b6000600254905090565b6000610674848484611184565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106bf610fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561073f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073690612fe7565b60405180910390fd5b6107538561074b610fb1565b858403610fb9565b60019150509392505050565b600060076000838152602001908152602001600020600101549050919050565b6107888261075f565b61079981610794610fb1565b611405565b6107a383836114a2565b505050565b60006012905090565b60006107bb611583565b905090565b6107c8610fb1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082c90613087565b60405180910390fd5b61083f8282611646565b5050565b60006108e5610850610fb1565b84846001600061085e610fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e09190613185565b610fb9565b6001905092915050565b60008060006020840151925060408401519150606084015160001a905061091b88888888858888610cd4565b610926888a88610667565b50505050505050505050565b61095c7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610ac7565b61099b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099290613007565b60405180910390fd5b6109a3611728565b565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610a4d600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206117ca565b9050919050565b610a7e7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933610ac7565b610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab490613007565b60405180910390fd5b610ac56117d8565b565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b419061332c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6d9061332c565b8015610bba5780601f10610b8f57610100808354040283529160200191610bba565b820191906000526020600020905b815481529060010190602001808311610b9d57829003601f168201915b5050505050905090565b6000801b81565b60008060016000610bda610fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613067565b60405180910390fd5b610cab610ca2610fb1565b85858403610fb9565b600191505092915050565b6000610cca610cc3610fb1565b8484611184565b6001905092915050565b83421115610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e90612f27565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610d468c61187b565b89604051602001610d5c96959493929190612d4c565b6040516020818303038152906040528051906020012090506000610d7f826118d9565b90506000610d8f828787876118f3565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df690612fc7565b60405180910390fd5b610e0a8a8a8a610fb9565b50505050505050505050565b610e1f8261075f565b610e3081610e2b610fb1565b611405565b610e3a8383611646565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92981565b610ef5838383610f42565b610efd6109a5565b15610f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f34906130a7565b60405180910390fd5b505050565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102090613047565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090612f07565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161117791906130c7565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111eb90613027565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b90612ea7565b60405180910390fd5b61126f83838361191e565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90612f47565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113889190613185565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113ec91906130c7565b60405180910390a36113ff84848461192e565b50505050565b61140f8282610ac7565b61149e576114348173ffffffffffffffffffffffffffffffffffffffff166014611933565b6114428360001c6020611933565b604051602001611453929190612cc1565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114959190612e45565b60405180910390fd5b5050565b6114ac8282610ac7565b61157f5760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611524610fb1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60007f00000000000000000000000000000000000000000000000000000000000000014614156115d5577f2f740d82fa8045a1b4221d05d02832ed016ad55c7d83fddc266ca9266c190f8c9050611643565b6116407f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fbdea3c6bf4521c19705dc07e0f91bf05a0a9910592ab47cde78d879f31571e947fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6611c2d565b90505b90565b6116508282610ac7565b156117245760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116c9610fb1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6117306109a5565b61176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690612ec7565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6117b3610fb1565b6040516117c09190612cfb565b60405180910390a1565b600081600001549050919050565b6117e06109a5565b15611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790612f87565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611864610fb1565b6040516118719190612cfb565b60405180910390a1565b600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506118c8816117ca565b91506118d381611c67565b50919050565b60006118ec6118e6611583565b83611c7d565b9050919050565b600080600061190487878787611cb0565b9150915061191181611dbd565b8192505050949350505050565b611929838383610eea565b505050565b505050565b60606000600283600261194691906131db565b6119509190613185565b67ffffffffffffffff81111561198f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119c15781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611a1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611aa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611ae991906131db565b611af39190613185565b90505b6001811115611bdf577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611b5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611b98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611bd890613302565b9050611af6565b5060008414611c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1a90612e87565b60405180910390fd5b8091505092915050565b60008383834630604051602001611c48959493929190612dad565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b60008282604051602001611c92929190612c8a565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611ceb576000600391509150611db4565b601b8560ff1614158015611d035750601c8560ff1614155b15611d15576000600491509150611db4565b600060018787878760405160008152602001604052604051611d3a9493929190612e00565b6020604051602081039080840390855afa158015611d5c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dab57600060019250925050611db4565b80600092509250505b94509492505050565b60006004811115611df7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611e30577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611e3b5761210b565b60016004811115611e75577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611eae577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690612e67565b60405180910390fd5b60026004811115611f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611f62577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90612ee7565b60405180910390fd5b60036004811115611fdd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612016577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90612f67565b60405180910390fd5b600480811115612090577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156120c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561210a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210190612fa7565b60405180910390fd5b5b50565b600061212161211c8461312e565b6130fd565b90508281526020810184848401111561213957600080fd5b6121448482856132c0565b509392505050565b60008135905061215b81613406565b92915050565b6000813590506121708161341d565b92915050565b60008135905061218581613434565b92915050565b600082601f83011261219c57600080fd5b81356121ac84826020860161210e565b91505092915050565b6000813590506121c48161344b565b92915050565b6000813590506121d981613462565b92915050565b6000602082840312156121f157600080fd5b60006121ff8482850161214c565b91505092915050565b6000806040838503121561221b57600080fd5b60006122298582860161214c565b925050602061223a8582860161214c565b9150509250929050565b60008060008060008060c0878903121561225d57600080fd5b600061226b89828a0161214c565b965050602061227c89828a0161214c565b955050604061228d89828a0161214c565b945050606061229e89828a016121b5565b93505060806122af89828a016121b5565b92505060a087013567ffffffffffffffff8111156122cc57600080fd5b6122d889828a0161218b565b9150509295509295509295565b6000806000606084860312156122fa57600080fd5b60006123088682870161214c565b93505060206123198682870161214c565b925050604061232a868287016121b5565b9150509250925092565b600080600080600080600060e0888a03121561234f57600080fd5b600061235d8a828b0161214c565b975050602061236e8a828b0161214c565b965050604061237f8a828b016121b5565b95505060606123908a828b016121b5565b94505060806123a18a828b016121ca565b93505060a06123b28a828b01612161565b92505060c06123c38a828b01612161565b91505092959891949750929550565b600080604083850312156123e557600080fd5b60006123f38582860161214c565b9250506020612404858286016121b5565b9150509250929050565b60006020828403121561242057600080fd5b600061242e84828501612161565b91505092915050565b6000806040838503121561244a57600080fd5b600061245885828601612161565b92505060206124698582860161214c565b9150509250929050565b60006020828403121561248557600080fd5b600061249384828501612176565b91505092915050565b6124a581613235565b82525050565b6124b481613247565b82525050565b6124c381613253565b82525050565b6124da6124d582613253565b61335e565b82525050565b60006124eb8261315e565b6124f58185613169565b93506125058185602086016132cf565b61250e816133f5565b840191505092915050565b60006125248261315e565b61252e818561317a565b935061253e8185602086016132cf565b80840191505092915050565b6000612557601883613169565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612597602083613169565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b60006125d7602383613169565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061263d601483613169565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b600061267d601f83613169565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006126bd602283613169565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061272360028361317a565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000612763601d83613169565b91507f45524332305065726d69743a206578706972656420646561646c696e650000006000830152602082019050919050565b60006127a3602683613169565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612809602283613169565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061286f601083613169565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006128af602283613169565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612915601e83613169565b91507f45524332305065726d69743a20696e76616c6964207369676e617475726500006000830152602082019050919050565b6000612955602883613169565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006129bb601683613169565b91507f43616c6c6572206973206e6f74206f70657261746f72000000000000000000006000830152602082019050919050565b60006129fb602583613169565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612a61602483613169565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612ac760178361317a565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000612b07602583613169565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b6d60118361317a565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612bad602f83613169565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b6000612c13602a83613169565b91507f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008301527f696c6520706175736564000000000000000000000000000000000000000000006020830152604082019050919050565b612c75816132a9565b82525050565b612c84816132b3565b82525050565b6000612c9582612716565b9150612ca182856124c9565b602082019150612cb182846124c9565b6020820191508190509392505050565b6000612ccc82612aba565b9150612cd88285612519565b9150612ce382612b60565b9150612cef8284612519565b91508190509392505050565b6000602082019050612d10600083018461249c565b92915050565b6000602082019050612d2b60008301846124ab565b92915050565b6000602082019050612d4660008301846124ba565b92915050565b600060c082019050612d6160008301896124ba565b612d6e602083018861249c565b612d7b604083018761249c565b612d886060830186612c6c565b612d956080830185612c6c565b612da260a0830184612c6c565b979650505050505050565b600060a082019050612dc260008301886124ba565b612dcf60208301876124ba565b612ddc60408301866124ba565b612de96060830185612c6c565b612df6608083018461249c565b9695505050505050565b6000608082019050612e1560008301876124ba565b612e226020830186612c7b565b612e2f60408301856124ba565b612e3c60608301846124ba565b95945050505050565b60006020820190508181036000830152612e5f81846124e0565b905092915050565b60006020820190508181036000830152612e808161254a565b9050919050565b60006020820190508181036000830152612ea08161258a565b9050919050565b60006020820190508181036000830152612ec0816125ca565b9050919050565b60006020820190508181036000830152612ee081612630565b9050919050565b60006020820190508181036000830152612f0081612670565b9050919050565b60006020820190508181036000830152612f20816126b0565b9050919050565b60006020820190508181036000830152612f4081612756565b9050919050565b60006020820190508181036000830152612f6081612796565b9050919050565b60006020820190508181036000830152612f80816127fc565b9050919050565b60006020820190508181036000830152612fa081612862565b9050919050565b60006020820190508181036000830152612fc0816128a2565b9050919050565b60006020820190508181036000830152612fe081612908565b9050919050565b6000602082019050818103600083015261300081612948565b9050919050565b60006020820190508181036000830152613020816129ae565b9050919050565b60006020820190508181036000830152613040816129ee565b9050919050565b6000602082019050818103600083015261306081612a54565b9050919050565b6000602082019050818103600083015261308081612afa565b9050919050565b600060208201905081810360008301526130a081612ba0565b9050919050565b600060208201905081810360008301526130c081612c06565b9050919050565b60006020820190506130dc6000830184612c6c565b92915050565b60006020820190506130f76000830184612c7b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613124576131236133c6565b5b8060405250919050565b600067ffffffffffffffff821115613149576131486133c6565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000613190826132a9565b915061319b836132a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131d0576131cf613368565b5b828201905092915050565b60006131e6826132a9565b91506131f1836132a9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561322a57613229613368565b5b828202905092915050565b600061324082613289565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156132ed5780820151818401526020810190506132d2565b838111156132fc576000848401525b50505050565b600061330d826132a9565b9150600082141561332157613320613368565b5b600182039050919050565b6000600282049050600182168061334457607f821691505b6020821081141561335857613357613397565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61340f81613235565b811461341a57600080fd5b50565b61342681613253565b811461343157600080fd5b50565b61343d8161325d565b811461344857600080fd5b50565b613454816132a9565b811461345f57600080fd5b50565b61346b816132b3565b811461347657600080fd5b5056fea2646970667358221220023298a8bacaf5bcf127c49aaf7597ac164452611660c957c6dd74436914830b64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000a56fa5b99019a5c8000000000000000000000000000000f43b17a983cc8d6c1e48f780ffea2e2828ebc77d00000000000000000000000000000000000000000000000000000000000000074e6966746966790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e49465400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Niftify
Arg [1] : symbol (string): NIFT
Arg [2] : initialBalance (uint256): 200000000000000000000000000
Arg [3] : owner (address): 0xF43B17a983cC8D6C1e48F780fFEA2E2828Ebc77d
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000000000000000000000a56fa5b99019a5c8000000
Arg [3] : 000000000000000000000000f43b17a983cc8d6c1e48f780ffea2e2828ebc77d
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 4e69667469667900000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4e49465400000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.