Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,569 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21635483 | 13 days ago | IN | 0 ETH | 0.00006594 | ||||
Approve | 21635482 | 13 days ago | IN | 0 ETH | 0.00007509 | ||||
Approve | 21286942 | 62 days ago | IN | 0 ETH | 0.00068824 | ||||
Approve | 20933633 | 111 days ago | IN | 0 ETH | 0.00043386 | ||||
Transfer | 20933570 | 111 days ago | IN | 0 ETH | 0.00052219 | ||||
Transfer | 20933567 | 111 days ago | IN | 0 ETH | 0.00053601 | ||||
Approve | 20927070 | 112 days ago | IN | 0 ETH | 0.0006248 | ||||
Approve | 20913452 | 114 days ago | IN | 0 ETH | 0.00088724 | ||||
Approve | 20913446 | 114 days ago | IN | 0 ETH | 0.00081287 | ||||
Transfer From | 20913443 | 114 days ago | IN | 0 ETH | 0.0007918 | ||||
Approve | 20913438 | 114 days ago | IN | 0 ETH | 0.00046031 | ||||
Approve | 20913416 | 114 days ago | IN | 0 ETH | 0.00064093 | ||||
Approve | 20913068 | 114 days ago | IN | 0 ETH | 0.00071822 | ||||
Transfer | 20911879 | 114 days ago | IN | 0 ETH | 0.00034844 | ||||
Transfer | 20900086 | 116 days ago | IN | 0 ETH | 0.00031433 | ||||
Approve | 20897474 | 116 days ago | IN | 0 ETH | 0.00023515 | ||||
Approve | 20897381 | 116 days ago | IN | 0 ETH | 0.00019667 | ||||
Transfer | 20897367 | 116 days ago | IN | 0 ETH | 0.00022191 | ||||
Transfer From | 20897363 | 116 days ago | IN | 0 ETH | 0.00022821 | ||||
Approve | 20897344 | 116 days ago | IN | 0 ETH | 0.00021421 | ||||
Transfer From | 20897341 | 116 days ago | IN | 0 ETH | 0.0002301 | ||||
Approve | 20897340 | 116 days ago | IN | 0 ETH | 0.00013406 | ||||
Approve | 20896074 | 116 days ago | IN | 0 ETH | 0.00020696 | ||||
Approve | 20894880 | 116 days ago | IN | 0 ETH | 0.00038428 | ||||
Approve | 20894770 | 116 days ago | IN | 0 ETH | 0.0004248 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PaintToken
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; contract PaintToken is ERC20, ERC20Burnable, ERC20Snapshot, AccessControl, Pausable, ERC20Permit { bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE"); bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); constructor() ERC20("PaintToken", "PAINT") ERC20Permit("PaintToken") { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(SNAPSHOT_ROLE, msg.sender); _setupRole(PAUSER_ROLE, msg.sender); _mint(msg.sender, 1000000000 * 10 ** decimals()); } function snapshot() public { require(hasRole(SNAPSHOT_ROLE, msg.sender)); _snapshot(); } function pause() public { require(hasRole(PAUSER_ROLE, msg.sender)); _pause(); } function unpause() public { require(hasRole(PAUSER_ROLE, msg.sender)); _unpause(); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override(ERC20, ERC20Snapshot) { super._beforeTokenTransfer(from, to, amount); } }
// 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 guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The 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 "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Arrays.sol"; import "../../../utils/Counters.sol"; /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it * return `block.number` will trigger the creation of snapshot at the begining of each new block. When overridding this * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract. * * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient * alternative consider {ERC20Votes}. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ abstract contract ERC20Snapshot is ERC20 { // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping(address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal virtual returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _getCurrentSnapshotId(); emit Snapshot(currentId); return currentId; } /** * @dev Get the current snapshotId */ function _getCurrentSnapshotId() internal view virtual returns (uint256) { return _currentSnapshotId.current(); } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // Update balance and/or total supply snapshots before the values are modified. This is implemented // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // mint _updateAccountSnapshot(to); _updateTotalSupplySnapshot(); } else if (to == address(0)) { // burn _updateAccountSnapshot(from); _updateTotalSupplySnapshot(); } else { // transfer _updateAccountSnapshot(from); _updateAccountSnapshot(to); } } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _getCurrentSnapshotId(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @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 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 {_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 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]{20}) is missing role (0x[0-9a-f]{32})$/ * * _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]{20}) is missing role (0x[0-9a-f]{32})$/ */ 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 { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = 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 "../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; 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 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 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; import "./math/Math.sol"; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } }
// 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute. return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2); } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// 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; /** * @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 { /** * @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. * * 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] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // 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 recover(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 recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} 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.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"snapshot","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120908152503480156200003a57600080fd5b506040518060400160405280600a81526020017f5061696e74546f6b656e00000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f5061696e74546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f5041494e5400000000000000000000000000000000000000000000000000000081525081600390805190602001906200012c9291906200094a565b508060049080519060200190620001459291906200094a565b5050506000600a60006101000a81548160ff02191690831515021790555060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260c081815250508160e081815250504660a08181525050620001cb818484620002a060201b60201c565b60808181525050806101008181525050505050505050620001f66000801b33620002dc60201b60201c565b620002287f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33620002dc60201b60201c565b6200025a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620002dc60201b60201c565b6200029a336200026f620002f260201b60201c565b600a6200027d919062000c02565b633b9aca006200028e919062000d3f565b620002fb60201b60201c565b62000f52565b60008383834630604051602001620002bd95949392919062000a7b565b6040516020818303038152906040528051906020012090509392505050565b620002ee82826200047460201b60201c565b5050565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200036e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003659062000afa565b60405180910390fd5b62000382600083836200056660201b60201c565b806002600082825462000396919062000b4a565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620003ed919062000b4a565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000454919062000b1c565b60405180910390a36200047060008383620005d660201b60201c565b5050565b620004868282620005db60201b60201c565b620005625760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620005076200064660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620005766200064e60201b60201c565b15620005b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005b09062000ad8565b60405180910390fd5b620005d18383836200066560201b620010c81760201c565b505050565b505050565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000600a60009054906101000a900460ff16905090565b6200067d8383836200076060201b620011821760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620006da57620006c4826200076560201b60201c565b620006d4620007c860201b60201c565b6200075b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620007375762000721836200076560201b60201c565b62000731620007c860201b60201c565b6200075a565b62000748836200076560201b60201c565b62000759826200076560201b60201c565b5b5b505050565b505050565b620007c5600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020620007b983620007ec60201b60201c565b6200083460201b60201c565b50565b620007ea6006620007de620008c060201b60201c565b6200083460201b60201c565b565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600062000846620008ca60201b60201c565b9050806200085d84600001620008e860201b60201c565b1015620008bb5782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600254905090565b6000620008e360086200093c60201b620011871760201c565b905090565b6000808280549050141562000901576000905062000937565b816001838054905062000915919062000da0565b8154811062000929576200092862000ec4565b5b906000526020600020015490505b919050565b600081600001549050919050565b828054620009589062000e30565b90600052602060002090601f0160209004810192826200097c5760008555620009c8565b82601f106200099757805160ff1916838001178555620009c8565b82800160010185558215620009c8579182015b82811115620009c7578251825591602001919060010190620009aa565b5b509050620009d79190620009db565b5090565b5b80821115620009f6576000816000905550600101620009dc565b5090565b62000a058162000ddb565b82525050565b62000a168162000def565b82525050565b600062000a2b60108362000b39565b915062000a388262000f00565b602082019050919050565b600062000a52601f8362000b39565b915062000a5f8262000f29565b602082019050919050565b62000a758162000e19565b82525050565b600060a08201905062000a92600083018862000a0b565b62000aa1602083018762000a0b565b62000ab0604083018662000a0b565b62000abf606083018562000a6a565b62000ace6080830184620009fa565b9695505050505050565b6000602082019050818103600083015262000af38162000a1c565b9050919050565b6000602082019050818103600083015262000b158162000a43565b9050919050565b600060208201905062000b33600083018462000a6a565b92915050565b600082825260208201905092915050565b600062000b578262000e19565b915062000b648362000e19565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b9c5762000b9b62000e66565b5b828201905092915050565b6000808291508390505b600185111562000bf95780860481111562000bd15762000bd062000e66565b5b600185161562000be15780820291505b808102905062000bf18562000ef3565b945062000bb1565b94509492505050565b600062000c0f8262000e19565b915062000c1c8362000e23565b925062000c4b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000c53565b905092915050565b60008262000c65576001905062000d38565b8162000c75576000905062000d38565b816001811462000c8e576002811462000c995762000ccf565b600191505062000d38565b60ff84111562000cae5762000cad62000e66565b5b8360020a91508482111562000cc85762000cc762000e66565b5b5062000d38565b5060208310610133831016604e8410600b841016171562000d095782820a90508381111562000d035762000d0262000e66565b5b62000d38565b62000d18848484600162000ba7565b9250905081840481111562000d325762000d3162000e66565b5b81810290505b9392505050565b600062000d4c8262000e19565b915062000d598362000e19565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000d955762000d9462000e66565b5b828202905092915050565b600062000dad8262000e19565b915062000dba8362000e19565b92508282101562000dd05762000dcf62000e66565b5b828203905092915050565b600062000de88262000df9565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000600282049050600182168062000e4957607f821691505b6020821081141562000e605762000e5f62000e95565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160011c9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60805160a05160c05160e0516101005161012051613b1862000fa26000396000610ef9015260006118280152600061186a01526000611849015260006117d5015260006117fd0152613b186000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80637028e2cd1161010f578063981b24d0116100a2578063d505accf11610071578063d505accf146105a8578063d547741f146105c4578063dd62ed3e146105e0578063e63ab1e914610610576101e5565b8063981b24d0146104fa578063a217fddf1461052a578063a457c2d714610548578063a9059cbb14610578576101e5565b80638456cb59116100de5780638456cb591461049857806391d14854146104a257806395d89b41146104d25780639711715a146104f0576101e5565b80637028e2cd146103fe57806370a082311461041c57806379cc67901461044c5780637ecebe0014610468576101e5565b8063313ce567116101875780633f4ba83a116101565780633f4ba83a1461038a57806342966c68146103945780634ee2cd7e146103b05780635c975abb146103e0576101e5565b8063313ce567146103025780633644e5151461032057806336568abe1461033e578063395093511461035a576101e5565b806318160ddd116101c357806318160ddd1461026857806323b872dd14610286578063248a9ca3146102b65780632f2ff15d146102e6576101e5565b806301ffc9a7146101ea57806306fdde031461021a578063095ea7b314610238575b600080fd5b61020460048036038101906101ff91906127f6565b61062e565b6040516102119190612cf0565b60405180910390f35b6102226106a8565b60405161022f9190612e1f565b60405180910390f35b610252600480360381019061024d9190612749565b61073a565b60405161025f9190612cf0565b60405180910390f35b610270610758565b60405161027d91906130e1565b60405180910390f35b6102a0600480360381019061029b9190612654565b610762565b6040516102ad9190612cf0565b60405180910390f35b6102d060048036038101906102cb9190612789565b61085a565b6040516102dd9190612d0b565b60405180910390f35b61030060048036038101906102fb91906127b6565b61087a565b005b61030a6108a3565b60405161031791906130fc565b60405180910390f35b6103286108ac565b6040516103359190612d0b565b60405180910390f35b610358600480360381019061035391906127b6565b6108bb565b005b610374600480360381019061036f9190612749565b61093e565b6040516103819190612cf0565b60405180910390f35b6103926109ea565b005b6103ae60048036038101906103a99190612823565b610a27565b005b6103ca60048036038101906103c59190612749565b610a3b565b6040516103d791906130e1565b60405180910390f35b6103e8610aab565b6040516103f59190612cf0565b60405180910390f35b610406610ac2565b6040516104139190612d0b565b60405180910390f35b610436600480360381019061043191906125e7565b610ae6565b60405161044391906130e1565b60405180910390f35b61046660048036038101906104619190612749565b610b2e565b005b610482600480360381019061047d91906125e7565b610ba9565b60405161048f91906130e1565b60405180910390f35b6104a0610bf9565b005b6104bc60048036038101906104b791906127b6565b610c36565b6040516104c99190612cf0565b60405180910390f35b6104da610ca1565b6040516104e79190612e1f565b60405180910390f35b6104f8610d33565b005b610514600480360381019061050f9190612823565b610d71565b60405161052191906130e1565b60405180910390f35b610532610da2565b60405161053f9190612d0b565b60405180910390f35b610562600480360381019061055d9190612749565b610da9565b60405161056f9190612cf0565b60405180910390f35b610592600480360381019061058d9190612749565b610e94565b60405161059f9190612cf0565b60405180910390f35b6105c260048036038101906105bd91906126a7565b610eb2565b005b6105de60048036038101906105d991906127b6565b610ff4565b005b6105fa60048036038101906105f59190612614565b61101d565b60405161060791906130e1565b60405180910390f35b6106186110a4565b6040516106259190612d0b565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106a157506106a082611195565b5b9050919050565b6060600380546106b79061333b565b80601f01602080910402602001604051908101604052809291908181526020018280546106e39061333b565b80156107305780601f1061070557610100808354040283529160200191610730565b820191906000526020600020905b81548152906001019060200180831161071357829003601f168201915b5050505050905090565b600061074e6107476111ff565b8484611207565b6001905092915050565b6000600254905090565b600061076f8484846113d2565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006107ba6111ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561083a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083190612fe1565b60405180910390fd5b61084e856108466111ff565b858403611207565b60019150509392505050565b600060096000838152602001908152602001600020600101549050919050565b6108838261085a565b6108948161088f6111ff565b611653565b61089e83836116f0565b505050565b60006012905090565b60006108b66117d1565b905090565b6108c36111ff565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610930576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610927906130c1565b60405180910390fd5b61093a8282611894565b5050565b60006109e061094b6111ff565b8484600160006109596111ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109db919061313e565b611207565b6001905092915050565b610a147f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610c36565b610a1d57600080fd5b610a25611976565b565b610a38610a326111ff565b82611a18565b50565b6000806000610a8884600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611bef565b9150915081610a9f57610a9a85610ae6565b610aa1565b805b9250505092915050565b6000600a60009054906101000a900460ff16905090565b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610b4183610b3c6111ff565b61101d565b905081811015610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d90613001565b60405180910390fd5b610b9a83610b926111ff565b848403611207565b610ba48383611a18565b505050565b6000610bf2600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611187565b9050919050565b610c237f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610c36565b610c2c57600080fd5b610c34611ce5565b565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610cb09061333b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdc9061333b565b8015610d295780601f10610cfe57610100808354040283529160200191610d29565b820191906000526020600020905b815481529060010190602001808311610d0c57829003601f168201915b5050505050905090565b610d5d7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33610c36565b610d6657600080fd5b610d6e611d88565b50565b6000806000610d81846006611bef565b9150915081610d9757610d92610758565b610d99565b805b92505050919050565b6000801b81565b60008060016000610db86111ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c906130a1565b60405180910390fd5b610e89610e806111ff565b85858403611207565b600191505092915050565b6000610ea8610ea16111ff565b84846113d2565b6001905092915050565b83421115610ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eec90612f21565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000888888610f248c611dde565b89604051602001610f3a96959493929190612d26565b6040516020818303038152906040528051906020012090506000610f5d82611e3c565b90506000610f6d82878787611e56565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd490612fc1565b60405180910390fd5b610fe88a8a8a611207565b50505050505050505050565b610ffd8261085a565b61100e816110096111ff565b611653565b6110188383611894565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6110d3838383611182565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561111e5761111182611fe1565b611119612034565b61117d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111695761115c83611fe1565b611164612034565b61117c565b61117283611fe1565b61117b82611fe1565b5b5b505050565b505050565b600081600001549050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90613061565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90612f01565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113c591906130e1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143990613041565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990612ea1565b60405180910390fd5b6114bd838383612048565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153a90612f41565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d6919061313e565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161163a91906130e1565b60405180910390a361164d8484846120a0565b50505050565b61165d8282610c36565b6116ec576116828173ffffffffffffffffffffffffffffffffffffffff1660146120a5565b6116908360001c60206120a5565b6040516020016116a1929190612c9b565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e39190612e1f565b60405180910390fd5b5050565b6116fa8282610c36565b6117cd5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117726111ff565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415611823577f00000000000000000000000000000000000000000000000000000000000000009050611891565b61188e7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006122e1565b90505b90565b61189e8282610c36565b156119725760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119176111ff565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61197e610aab565b6119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b490612ec1565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a016111ff565b604051611a0e9190612cd5565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7f90613021565b60405180910390fd5b611a9482600083612048565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1190612ee1565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611b71919061321f565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bd691906130e1565b60405180910390a3611bea836000846120a0565b505050565b60008060008411611c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2c90613081565b60405180910390fd5b611c3d61231b565b841115611c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7690612e61565b60405180910390fd5b6000611c97858560000161232c90919063ffffffff16565b90508360000180549050811415611cb5576000809250925050611cde565b6001846001018281548110611ccd57611ccc613435565b5b906000526020600020015492509250505b9250929050565b611ced610aab565b15611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490612f81565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d716111ff565b604051611d7e9190612cd5565b60405180910390a1565b6000611d946008612406565b6000611d9e61231b565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051611dcf91906130e1565b60405180910390a18091505090565b600080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611e2b81611187565b9150611e3681612406565b50919050565b6000611e4f611e496117d1565b8361241c565b9050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590612f61565b60405180910390fd5b601b8460ff161480611ed35750601c8460ff16145b611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990612fa1565b60405180910390fd5b600060018686868660405160008152602001604052604051611f379493929190612dda565b6020604051602081039080840390855afa158015611f59573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc90612e41565b60405180910390fd5b80915050949350505050565b612031600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061202c83610ae6565b61244f565b50565b6120466006612041610758565b61244f565b565b612050610aab565b15612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790612f81565b60405180910390fd5b61209b8383836110c8565b505050565b505050565b6060600060028360026120b891906131c5565b6120c2919061313e565b67ffffffffffffffff8111156120db576120da613464565b5b6040519080825280601f01601f19166020018201604052801561210d5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061214557612144613435565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106121a9576121a8613435565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121e991906131c5565b6121f3919061313e565b90505b6001811115612293577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061223557612234613435565b5b1a60f81b82828151811061224c5761224b613435565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061228c90613311565b90506121f6565b50600084146122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce90612e81565b60405180910390fd5b8091505092915050565b600083838346306040516020016122fc959493929190612d87565b6040516020818303038152906040528051906020012090509392505050565b60006123276008611187565b905090565b600080838054905014156123435760009050612400565b600080848054905090505b808210156123a757600061236283836124ca565b90508486828154811061237857612377613435565b5b90600052602060002001541115612391578091506123a1565b60018161239e919061313e565b92505b5061234e565b6000821180156123df575083856001846123c1919061321f565b815481106123d2576123d1613435565b5b9060005260206000200154145b156123fa576001826123f1919061321f565b92505050612400565b81925050505b92915050565b6001816000016000828254019250508190555050565b60008282604051602001612431929190612c64565b60405160208183030381529060405280519060200120905092915050565b600061245961231b565b90508061246884600001612531565b10156124c55782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600280836124da9190613377565b6002856124e79190613377565b6124f1919061313e565b6124fb9190613194565b6002836125089190613194565b6002856125159190613194565b61251f919061313e565b612529919061313e565b905092915050565b600080828054905014156125485760009050612579565b816001838054905061255a919061321f565b8154811061256b5761256a613435565b5b906000526020600020015490505b919050565b60008135905061258d81613a6f565b92915050565b6000813590506125a281613a86565b92915050565b6000813590506125b781613a9d565b92915050565b6000813590506125cc81613ab4565b92915050565b6000813590506125e181613acb565b92915050565b6000602082840312156125fd576125fc613493565b5b600061260b8482850161257e565b91505092915050565b6000806040838503121561262b5761262a613493565b5b60006126398582860161257e565b925050602061264a8582860161257e565b9150509250929050565b60008060006060848603121561266d5761266c613493565b5b600061267b8682870161257e565b935050602061268c8682870161257e565b925050604061269d868287016125bd565b9150509250925092565b600080600080600080600060e0888a0312156126c6576126c5613493565b5b60006126d48a828b0161257e565b97505060206126e58a828b0161257e565b96505060406126f68a828b016125bd565b95505060606127078a828b016125bd565b94505060806127188a828b016125d2565b93505060a06127298a828b01612593565b92505060c061273a8a828b01612593565b91505092959891949750929550565b600080604083850312156127605761275f613493565b5b600061276e8582860161257e565b925050602061277f858286016125bd565b9150509250929050565b60006020828403121561279f5761279e613493565b5b60006127ad84828501612593565b91505092915050565b600080604083850312156127cd576127cc613493565b5b60006127db85828601612593565b92505060206127ec8582860161257e565b9150509250929050565b60006020828403121561280c5761280b613493565b5b600061281a848285016125a8565b91505092915050565b60006020828403121561283957612838613493565b5b6000612847848285016125bd565b91505092915050565b61285981613253565b82525050565b61286881613265565b82525050565b61287781613271565b82525050565b61288e61288982613271565b61336d565b82525050565b600061289f82613117565b6128a98185613122565b93506128b98185602086016132de565b6128c281613498565b840191505092915050565b60006128d882613117565b6128e28185613133565b93506128f28185602086016132de565b80840191505092915050565b600061290b601883613122565b9150612916826134a9565b602082019050919050565b600061292e601d83613122565b9150612939826134d2565b602082019050919050565b6000612951602083613122565b915061295c826134fb565b602082019050919050565b6000612974602383613122565b915061297f82613524565b604082019050919050565b6000612997601483613122565b91506129a282613573565b602082019050919050565b60006129ba602283613122565b91506129c58261359c565b604082019050919050565b60006129dd602283613122565b91506129e8826135eb565b604082019050919050565b6000612a00600283613133565b9150612a0b8261363a565b600282019050919050565b6000612a23601d83613122565b9150612a2e82613663565b602082019050919050565b6000612a46602683613122565b9150612a518261368c565b604082019050919050565b6000612a69602283613122565b9150612a74826136db565b604082019050919050565b6000612a8c601083613122565b9150612a978261372a565b602082019050919050565b6000612aaf602283613122565b9150612aba82613753565b604082019050919050565b6000612ad2601e83613122565b9150612add826137a2565b602082019050919050565b6000612af5602883613122565b9150612b00826137cb565b604082019050919050565b6000612b18602483613122565b9150612b238261381a565b604082019050919050565b6000612b3b602183613122565b9150612b4682613869565b604082019050919050565b6000612b5e602583613122565b9150612b69826138b8565b604082019050919050565b6000612b81602483613122565b9150612b8c82613907565b604082019050919050565b6000612ba4601683613122565b9150612baf82613956565b602082019050919050565b6000612bc7601783613133565b9150612bd28261397f565b601782019050919050565b6000612bea602583613122565b9150612bf5826139a8565b604082019050919050565b6000612c0d601183613133565b9150612c18826139f7565b601182019050919050565b6000612c30602f83613122565b9150612c3b82613a20565b604082019050919050565b612c4f816132c7565b82525050565b612c5e816132d1565b82525050565b6000612c6f826129f3565b9150612c7b828561287d565b602082019150612c8b828461287d565b6020820191508190509392505050565b6000612ca682612bba565b9150612cb282856128cd565b9150612cbd82612c00565b9150612cc982846128cd565b91508190509392505050565b6000602082019050612cea6000830184612850565b92915050565b6000602082019050612d05600083018461285f565b92915050565b6000602082019050612d20600083018461286e565b92915050565b600060c082019050612d3b600083018961286e565b612d486020830188612850565b612d556040830187612850565b612d626060830186612c46565b612d6f6080830185612c46565b612d7c60a0830184612c46565b979650505050505050565b600060a082019050612d9c600083018861286e565b612da9602083018761286e565b612db6604083018661286e565b612dc36060830185612c46565b612dd06080830184612850565b9695505050505050565b6000608082019050612def600083018761286e565b612dfc6020830186612c55565b612e09604083018561286e565b612e16606083018461286e565b95945050505050565b60006020820190508181036000830152612e398184612894565b905092915050565b60006020820190508181036000830152612e5a816128fe565b9050919050565b60006020820190508181036000830152612e7a81612921565b9050919050565b60006020820190508181036000830152612e9a81612944565b9050919050565b60006020820190508181036000830152612eba81612967565b9050919050565b60006020820190508181036000830152612eda8161298a565b9050919050565b60006020820190508181036000830152612efa816129ad565b9050919050565b60006020820190508181036000830152612f1a816129d0565b9050919050565b60006020820190508181036000830152612f3a81612a16565b9050919050565b60006020820190508181036000830152612f5a81612a39565b9050919050565b60006020820190508181036000830152612f7a81612a5c565b9050919050565b60006020820190508181036000830152612f9a81612a7f565b9050919050565b60006020820190508181036000830152612fba81612aa2565b9050919050565b60006020820190508181036000830152612fda81612ac5565b9050919050565b60006020820190508181036000830152612ffa81612ae8565b9050919050565b6000602082019050818103600083015261301a81612b0b565b9050919050565b6000602082019050818103600083015261303a81612b2e565b9050919050565b6000602082019050818103600083015261305a81612b51565b9050919050565b6000602082019050818103600083015261307a81612b74565b9050919050565b6000602082019050818103600083015261309a81612b97565b9050919050565b600060208201905081810360008301526130ba81612bdd565b9050919050565b600060208201905081810360008301526130da81612c23565b9050919050565b60006020820190506130f66000830184612c46565b92915050565b60006020820190506131116000830184612c55565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000613149826132c7565b9150613154836132c7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613189576131886133a8565b5b828201905092915050565b600061319f826132c7565b91506131aa836132c7565b9250826131ba576131b96133d7565b5b828204905092915050565b60006131d0826132c7565b91506131db836132c7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613214576132136133a8565b5b828202905092915050565b600061322a826132c7565b9150613235836132c7565b925082821015613248576132476133a8565b5b828203905092915050565b600061325e826132a7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156132fc5780820151818401526020810190506132e1565b8381111561330b576000848401525b50505050565b600061331c826132c7565b915060008214156133305761332f6133a8565b5b600182039050919050565b6000600282049050600182168061335357607f821691505b6020821081141561336757613366613406565b5b50919050565b6000819050919050565b6000613382826132c7565b915061338d836132c7565b92508261339d5761339c6133d7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230536e617073686f743a206964206973203000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b613a7881613253565b8114613a8357600080fd5b50565b613a8f81613271565b8114613a9a57600080fd5b50565b613aa68161327b565b8114613ab157600080fd5b50565b613abd816132c7565b8114613ac857600080fd5b50565b613ad4816132d1565b8114613adf57600080fd5b5056fea26469706673582212208db712df275686212515abe74e897184672e686e63f279a0b087f2c14daa406564736f6c63430008060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80637028e2cd1161010f578063981b24d0116100a2578063d505accf11610071578063d505accf146105a8578063d547741f146105c4578063dd62ed3e146105e0578063e63ab1e914610610576101e5565b8063981b24d0146104fa578063a217fddf1461052a578063a457c2d714610548578063a9059cbb14610578576101e5565b80638456cb59116100de5780638456cb591461049857806391d14854146104a257806395d89b41146104d25780639711715a146104f0576101e5565b80637028e2cd146103fe57806370a082311461041c57806379cc67901461044c5780637ecebe0014610468576101e5565b8063313ce567116101875780633f4ba83a116101565780633f4ba83a1461038a57806342966c68146103945780634ee2cd7e146103b05780635c975abb146103e0576101e5565b8063313ce567146103025780633644e5151461032057806336568abe1461033e578063395093511461035a576101e5565b806318160ddd116101c357806318160ddd1461026857806323b872dd14610286578063248a9ca3146102b65780632f2ff15d146102e6576101e5565b806301ffc9a7146101ea57806306fdde031461021a578063095ea7b314610238575b600080fd5b61020460048036038101906101ff91906127f6565b61062e565b6040516102119190612cf0565b60405180910390f35b6102226106a8565b60405161022f9190612e1f565b60405180910390f35b610252600480360381019061024d9190612749565b61073a565b60405161025f9190612cf0565b60405180910390f35b610270610758565b60405161027d91906130e1565b60405180910390f35b6102a0600480360381019061029b9190612654565b610762565b6040516102ad9190612cf0565b60405180910390f35b6102d060048036038101906102cb9190612789565b61085a565b6040516102dd9190612d0b565b60405180910390f35b61030060048036038101906102fb91906127b6565b61087a565b005b61030a6108a3565b60405161031791906130fc565b60405180910390f35b6103286108ac565b6040516103359190612d0b565b60405180910390f35b610358600480360381019061035391906127b6565b6108bb565b005b610374600480360381019061036f9190612749565b61093e565b6040516103819190612cf0565b60405180910390f35b6103926109ea565b005b6103ae60048036038101906103a99190612823565b610a27565b005b6103ca60048036038101906103c59190612749565b610a3b565b6040516103d791906130e1565b60405180910390f35b6103e8610aab565b6040516103f59190612cf0565b60405180910390f35b610406610ac2565b6040516104139190612d0b565b60405180910390f35b610436600480360381019061043191906125e7565b610ae6565b60405161044391906130e1565b60405180910390f35b61046660048036038101906104619190612749565b610b2e565b005b610482600480360381019061047d91906125e7565b610ba9565b60405161048f91906130e1565b60405180910390f35b6104a0610bf9565b005b6104bc60048036038101906104b791906127b6565b610c36565b6040516104c99190612cf0565b60405180910390f35b6104da610ca1565b6040516104e79190612e1f565b60405180910390f35b6104f8610d33565b005b610514600480360381019061050f9190612823565b610d71565b60405161052191906130e1565b60405180910390f35b610532610da2565b60405161053f9190612d0b565b60405180910390f35b610562600480360381019061055d9190612749565b610da9565b60405161056f9190612cf0565b60405180910390f35b610592600480360381019061058d9190612749565b610e94565b60405161059f9190612cf0565b60405180910390f35b6105c260048036038101906105bd91906126a7565b610eb2565b005b6105de60048036038101906105d991906127b6565b610ff4565b005b6105fa60048036038101906105f59190612614565b61101d565b60405161060791906130e1565b60405180910390f35b6106186110a4565b6040516106259190612d0b565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106a157506106a082611195565b5b9050919050565b6060600380546106b79061333b565b80601f01602080910402602001604051908101604052809291908181526020018280546106e39061333b565b80156107305780601f1061070557610100808354040283529160200191610730565b820191906000526020600020905b81548152906001019060200180831161071357829003601f168201915b5050505050905090565b600061074e6107476111ff565b8484611207565b6001905092915050565b6000600254905090565b600061076f8484846113d2565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006107ba6111ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561083a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083190612fe1565b60405180910390fd5b61084e856108466111ff565b858403611207565b60019150509392505050565b600060096000838152602001908152602001600020600101549050919050565b6108838261085a565b6108948161088f6111ff565b611653565b61089e83836116f0565b505050565b60006012905090565b60006108b66117d1565b905090565b6108c36111ff565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610930576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610927906130c1565b60405180910390fd5b61093a8282611894565b5050565b60006109e061094b6111ff565b8484600160006109596111ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109db919061313e565b611207565b6001905092915050565b610a147f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610c36565b610a1d57600080fd5b610a25611976565b565b610a38610a326111ff565b82611a18565b50565b6000806000610a8884600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611bef565b9150915081610a9f57610a9a85610ae6565b610aa1565b805b9250505092915050565b6000600a60009054906101000a900460ff16905090565b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610b4183610b3c6111ff565b61101d565b905081811015610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d90613001565b60405180910390fd5b610b9a83610b926111ff565b848403611207565b610ba48383611a18565b505050565b6000610bf2600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611187565b9050919050565b610c237f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610c36565b610c2c57600080fd5b610c34611ce5565b565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610cb09061333b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdc9061333b565b8015610d295780601f10610cfe57610100808354040283529160200191610d29565b820191906000526020600020905b815481529060010190602001808311610d0c57829003601f168201915b5050505050905090565b610d5d7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33610c36565b610d6657600080fd5b610d6e611d88565b50565b6000806000610d81846006611bef565b9150915081610d9757610d92610758565b610d99565b805b92505050919050565b6000801b81565b60008060016000610db86111ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c906130a1565b60405180910390fd5b610e89610e806111ff565b85858403611207565b600191505092915050565b6000610ea8610ea16111ff565b84846113d2565b6001905092915050565b83421115610ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eec90612f21565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610f248c611dde565b89604051602001610f3a96959493929190612d26565b6040516020818303038152906040528051906020012090506000610f5d82611e3c565b90506000610f6d82878787611e56565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd490612fc1565b60405180910390fd5b610fe88a8a8a611207565b50505050505050505050565b610ffd8261085a565b61100e816110096111ff565b611653565b6110188383611894565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6110d3838383611182565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561111e5761111182611fe1565b611119612034565b61117d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111695761115c83611fe1565b611164612034565b61117c565b61117283611fe1565b61117b82611fe1565b5b5b505050565b505050565b600081600001549050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90613061565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90612f01565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113c591906130e1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143990613041565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990612ea1565b60405180910390fd5b6114bd838383612048565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153a90612f41565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d6919061313e565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161163a91906130e1565b60405180910390a361164d8484846120a0565b50505050565b61165d8282610c36565b6116ec576116828173ffffffffffffffffffffffffffffffffffffffff1660146120a5565b6116908360001c60206120a5565b6040516020016116a1929190612c9b565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e39190612e1f565b60405180910390fd5b5050565b6116fa8282610c36565b6117cd5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117726111ff565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415611823577f7dfd2083b19a7154fdd0dcf48e1ce319d86ac2ef70a343037fc595322b0294d59050611891565b61188e7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f51ef2973ca3a5b7e6f2dad3673f0add13e4877a2e7030a01a0d78a02cbb4a49b7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66122e1565b90505b90565b61189e8282610c36565b156119725760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119176111ff565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61197e610aab565b6119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b490612ec1565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a016111ff565b604051611a0e9190612cd5565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7f90613021565b60405180910390fd5b611a9482600083612048565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1190612ee1565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611b71919061321f565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bd691906130e1565b60405180910390a3611bea836000846120a0565b505050565b60008060008411611c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2c90613081565b60405180910390fd5b611c3d61231b565b841115611c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7690612e61565b60405180910390fd5b6000611c97858560000161232c90919063ffffffff16565b90508360000180549050811415611cb5576000809250925050611cde565b6001846001018281548110611ccd57611ccc613435565b5b906000526020600020015492509250505b9250929050565b611ced610aab565b15611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490612f81565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d716111ff565b604051611d7e9190612cd5565b60405180910390a1565b6000611d946008612406565b6000611d9e61231b565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051611dcf91906130e1565b60405180910390a18091505090565b600080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611e2b81611187565b9150611e3681612406565b50919050565b6000611e4f611e496117d1565b8361241c565b9050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590612f61565b60405180910390fd5b601b8460ff161480611ed35750601c8460ff16145b611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990612fa1565b60405180910390fd5b600060018686868660405160008152602001604052604051611f379493929190612dda565b6020604051602081039080840390855afa158015611f59573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc90612e41565b60405180910390fd5b80915050949350505050565b612031600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061202c83610ae6565b61244f565b50565b6120466006612041610758565b61244f565b565b612050610aab565b15612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790612f81565b60405180910390fd5b61209b8383836110c8565b505050565b505050565b6060600060028360026120b891906131c5565b6120c2919061313e565b67ffffffffffffffff8111156120db576120da613464565b5b6040519080825280601f01601f19166020018201604052801561210d5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061214557612144613435565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106121a9576121a8613435565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121e991906131c5565b6121f3919061313e565b90505b6001811115612293577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061223557612234613435565b5b1a60f81b82828151811061224c5761224b613435565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061228c90613311565b90506121f6565b50600084146122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce90612e81565b60405180910390fd5b8091505092915050565b600083838346306040516020016122fc959493929190612d87565b6040516020818303038152906040528051906020012090509392505050565b60006123276008611187565b905090565b600080838054905014156123435760009050612400565b600080848054905090505b808210156123a757600061236283836124ca565b90508486828154811061237857612377613435565b5b90600052602060002001541115612391578091506123a1565b60018161239e919061313e565b92505b5061234e565b6000821180156123df575083856001846123c1919061321f565b815481106123d2576123d1613435565b5b9060005260206000200154145b156123fa576001826123f1919061321f565b92505050612400565b81925050505b92915050565b6001816000016000828254019250508190555050565b60008282604051602001612431929190612c64565b60405160208183030381529060405280519060200120905092915050565b600061245961231b565b90508061246884600001612531565b10156124c55782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600280836124da9190613377565b6002856124e79190613377565b6124f1919061313e565b6124fb9190613194565b6002836125089190613194565b6002856125159190613194565b61251f919061313e565b612529919061313e565b905092915050565b600080828054905014156125485760009050612579565b816001838054905061255a919061321f565b8154811061256b5761256a613435565b5b906000526020600020015490505b919050565b60008135905061258d81613a6f565b92915050565b6000813590506125a281613a86565b92915050565b6000813590506125b781613a9d565b92915050565b6000813590506125cc81613ab4565b92915050565b6000813590506125e181613acb565b92915050565b6000602082840312156125fd576125fc613493565b5b600061260b8482850161257e565b91505092915050565b6000806040838503121561262b5761262a613493565b5b60006126398582860161257e565b925050602061264a8582860161257e565b9150509250929050565b60008060006060848603121561266d5761266c613493565b5b600061267b8682870161257e565b935050602061268c8682870161257e565b925050604061269d868287016125bd565b9150509250925092565b600080600080600080600060e0888a0312156126c6576126c5613493565b5b60006126d48a828b0161257e565b97505060206126e58a828b0161257e565b96505060406126f68a828b016125bd565b95505060606127078a828b016125bd565b94505060806127188a828b016125d2565b93505060a06127298a828b01612593565b92505060c061273a8a828b01612593565b91505092959891949750929550565b600080604083850312156127605761275f613493565b5b600061276e8582860161257e565b925050602061277f858286016125bd565b9150509250929050565b60006020828403121561279f5761279e613493565b5b60006127ad84828501612593565b91505092915050565b600080604083850312156127cd576127cc613493565b5b60006127db85828601612593565b92505060206127ec8582860161257e565b9150509250929050565b60006020828403121561280c5761280b613493565b5b600061281a848285016125a8565b91505092915050565b60006020828403121561283957612838613493565b5b6000612847848285016125bd565b91505092915050565b61285981613253565b82525050565b61286881613265565b82525050565b61287781613271565b82525050565b61288e61288982613271565b61336d565b82525050565b600061289f82613117565b6128a98185613122565b93506128b98185602086016132de565b6128c281613498565b840191505092915050565b60006128d882613117565b6128e28185613133565b93506128f28185602086016132de565b80840191505092915050565b600061290b601883613122565b9150612916826134a9565b602082019050919050565b600061292e601d83613122565b9150612939826134d2565b602082019050919050565b6000612951602083613122565b915061295c826134fb565b602082019050919050565b6000612974602383613122565b915061297f82613524565b604082019050919050565b6000612997601483613122565b91506129a282613573565b602082019050919050565b60006129ba602283613122565b91506129c58261359c565b604082019050919050565b60006129dd602283613122565b91506129e8826135eb565b604082019050919050565b6000612a00600283613133565b9150612a0b8261363a565b600282019050919050565b6000612a23601d83613122565b9150612a2e82613663565b602082019050919050565b6000612a46602683613122565b9150612a518261368c565b604082019050919050565b6000612a69602283613122565b9150612a74826136db565b604082019050919050565b6000612a8c601083613122565b9150612a978261372a565b602082019050919050565b6000612aaf602283613122565b9150612aba82613753565b604082019050919050565b6000612ad2601e83613122565b9150612add826137a2565b602082019050919050565b6000612af5602883613122565b9150612b00826137cb565b604082019050919050565b6000612b18602483613122565b9150612b238261381a565b604082019050919050565b6000612b3b602183613122565b9150612b4682613869565b604082019050919050565b6000612b5e602583613122565b9150612b69826138b8565b604082019050919050565b6000612b81602483613122565b9150612b8c82613907565b604082019050919050565b6000612ba4601683613122565b9150612baf82613956565b602082019050919050565b6000612bc7601783613133565b9150612bd28261397f565b601782019050919050565b6000612bea602583613122565b9150612bf5826139a8565b604082019050919050565b6000612c0d601183613133565b9150612c18826139f7565b601182019050919050565b6000612c30602f83613122565b9150612c3b82613a20565b604082019050919050565b612c4f816132c7565b82525050565b612c5e816132d1565b82525050565b6000612c6f826129f3565b9150612c7b828561287d565b602082019150612c8b828461287d565b6020820191508190509392505050565b6000612ca682612bba565b9150612cb282856128cd565b9150612cbd82612c00565b9150612cc982846128cd565b91508190509392505050565b6000602082019050612cea6000830184612850565b92915050565b6000602082019050612d05600083018461285f565b92915050565b6000602082019050612d20600083018461286e565b92915050565b600060c082019050612d3b600083018961286e565b612d486020830188612850565b612d556040830187612850565b612d626060830186612c46565b612d6f6080830185612c46565b612d7c60a0830184612c46565b979650505050505050565b600060a082019050612d9c600083018861286e565b612da9602083018761286e565b612db6604083018661286e565b612dc36060830185612c46565b612dd06080830184612850565b9695505050505050565b6000608082019050612def600083018761286e565b612dfc6020830186612c55565b612e09604083018561286e565b612e16606083018461286e565b95945050505050565b60006020820190508181036000830152612e398184612894565b905092915050565b60006020820190508181036000830152612e5a816128fe565b9050919050565b60006020820190508181036000830152612e7a81612921565b9050919050565b60006020820190508181036000830152612e9a81612944565b9050919050565b60006020820190508181036000830152612eba81612967565b9050919050565b60006020820190508181036000830152612eda8161298a565b9050919050565b60006020820190508181036000830152612efa816129ad565b9050919050565b60006020820190508181036000830152612f1a816129d0565b9050919050565b60006020820190508181036000830152612f3a81612a16565b9050919050565b60006020820190508181036000830152612f5a81612a39565b9050919050565b60006020820190508181036000830152612f7a81612a5c565b9050919050565b60006020820190508181036000830152612f9a81612a7f565b9050919050565b60006020820190508181036000830152612fba81612aa2565b9050919050565b60006020820190508181036000830152612fda81612ac5565b9050919050565b60006020820190508181036000830152612ffa81612ae8565b9050919050565b6000602082019050818103600083015261301a81612b0b565b9050919050565b6000602082019050818103600083015261303a81612b2e565b9050919050565b6000602082019050818103600083015261305a81612b51565b9050919050565b6000602082019050818103600083015261307a81612b74565b9050919050565b6000602082019050818103600083015261309a81612b97565b9050919050565b600060208201905081810360008301526130ba81612bdd565b9050919050565b600060208201905081810360008301526130da81612c23565b9050919050565b60006020820190506130f66000830184612c46565b92915050565b60006020820190506131116000830184612c55565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000613149826132c7565b9150613154836132c7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613189576131886133a8565b5b828201905092915050565b600061319f826132c7565b91506131aa836132c7565b9250826131ba576131b96133d7565b5b828204905092915050565b60006131d0826132c7565b91506131db836132c7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613214576132136133a8565b5b828202905092915050565b600061322a826132c7565b9150613235836132c7565b925082821015613248576132476133a8565b5b828203905092915050565b600061325e826132a7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156132fc5780820151818401526020810190506132e1565b8381111561330b576000848401525b50505050565b600061331c826132c7565b915060008214156133305761332f6133a8565b5b600182039050919050565b6000600282049050600182168061335357607f821691505b6020821081141561336757613366613406565b5b50919050565b6000819050919050565b6000613382826132c7565b915061338d836132c7565b92508261339d5761339c6133d7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230536e617073686f743a206964206973203000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b613a7881613253565b8114613a8357600080fd5b50565b613a8f81613271565b8114613a9a57600080fd5b50565b613aa68161327b565b8114613ab157600080fd5b50565b613abd816132c7565b8114613ac857600080fd5b50565b613ad4816132d1565b8114613adf57600080fd5b5056fea26469706673582212208db712df275686212515abe74e897184672e686e63f279a0b087f2c14daa406564736f6c63430008060033
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.