Address Details
contract
0x4402216c0BD14aE7F95EEB9798D0579eA7A74aad
- Contract Name
- DanielToken
- Creator
- 0x675e3c–2327e5 at 0x2934d7–3d2a35
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- Fetching transactions...
- Transfers
- Fetching transfers...
- Gas Used
- Fetching gas used...
- Last Balance Update
- 11141563
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- DanielToken
- Optimization enabled
- false
- Compiler version
- v0.8.4+commit.c7e474f2
- EVM Version
- istanbul
- Verified at
- 2022-05-24T13:45:49.742620Z
contracts/DanielToken.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; contract DanielToken is Initializable, ERC20Upgradeable, ERC20BurnableUpgradeable, AccessControlUpgradeable, ERC20PermitUpgradeable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); /// @custom:oz-upgrades-unsafe-allow constructor constructor() initializer {} function initialize() initializer public { __ERC20_init("DanielToken", "DAN"); __ERC20Burnable_init(); __AccessControl_init(); __ERC20Permit_init("DanielToken"); _mint(msg.sender, 1000 * 10 ** decimals()); _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); } function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) { _mint(to, amount); } function hello() public returns(string memory) { string memory str = 'Hello! This is new.'; return str; } }
/_openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControlUpgradeable.sol"; import "../utils/ContextUpgradeable.sol"; import "../utils/StringsUpgradeable.sol"; import "../utils/introspection/ERC165Upgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable { function __AccessControl_init() internal onlyInitializing { } function __AccessControl_init_unchained() internal onlyInitializing { } struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", StringsUpgradeable.toHexString(uint160(account), 20), " is missing role ", StringsUpgradeable.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
/_openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControlUpgradeable { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
/_openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } }
/_openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20Upgradeable.sol"; import "./extensions/IERC20MetadataUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable { 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. */ function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[45] private __gap; }
/_openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @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); }
/_openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20Upgradeable.sol"; import "../../../utils/ContextUpgradeable.sol"; import "../../../proxy/utils/Initializable.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 ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable { function __ERC20Burnable_init() internal onlyInitializing { } function __ERC20Burnable_init_unchained() internal onlyInitializing { } /** * @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 { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20Upgradeable.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20MetadataUpgradeable is IERC20Upgradeable { /** * @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); }
/_openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; import "./draft-IERC20PermitUpgradeable.sol"; import "../ERC20Upgradeable.sol"; import "../../../utils/cryptography/draft-EIP712Upgradeable.sol"; import "../../../utils/cryptography/ECDSAUpgradeable.sol"; import "../../../utils/CountersUpgradeable.sol"; import "../../../proxy/utils/Initializable.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 ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable { using CountersUpgradeable for CountersUpgradeable.Counter; mapping(address => CountersUpgradeable.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH; /** * @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. */ function __ERC20Permit_init(string memory name) internal onlyInitializing { __EIP712_init_unchained(name, "1"); __ERC20Permit_init_unchained(name); } function __ERC20Permit_init_unchained(string memory) internal onlyInitializing { _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");} /** * @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 = ECDSAUpgradeable.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) { CountersUpgradeable.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
/_openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) 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 IERC20PermitUpgradeable { /** * @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); }
/_openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library CountersUpgradeable { 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; } }
/_openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { 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); } }
/_openzeppelin/contracts-upgradeable/utils/cryptography/ECDSAUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../StringsUpgradeable.sol"; /** * @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 ECDSAUpgradeable { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", StringsUpgradeable.toString(s.length), s)); } /** * @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)); } }
/_openzeppelin/contracts-upgradeable/utils/cryptography/draft-EIP712Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSAUpgradeable.sol"; import "../../proxy/utils/Initializable.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 EIP712Upgradeable is Initializable { /* solhint-disable var-name-mixedcase */ bytes32 private _HASHED_NAME; bytes32 private _HASHED_VERSION; bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); /* 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]. */ function __EIP712_init(string memory name, string memory version) internal onlyInitializing { __EIP712_init_unchained(name, version); } function __EIP712_init_unchained(string memory name, string memory version) internal onlyInitializing { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash()); } 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 ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev The hash of the name parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712NameHash() internal virtual view returns (bytes32) { return _HASHED_NAME; } /** * @dev The hash of the version parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712VersionHash() internal virtual view returns (bytes32) { return _HASHED_VERSION; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @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); }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DOMAIN_SEPARATOR","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"MINTER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burnFrom","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"hello","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nonces","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"permit","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]}]
Contract Creation Code
0x60806040523480156200001157600080fd5b50600060019054906101000a900460ff166200003c5760008054906101000a900460ff16156200004d565b6200004c6200010960201b60201c565b5b6200008f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000869062000171565b60405180910390fd5b60008060019054906101000a900460ff161590508015620000e0576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015620001025760008060016101000a81548160ff0219169083151502179055505b50620001f3565b600062000121306200012760201b62000fd51760201c565b15905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600062000159602e8362000193565b91506200016682620001a4565b604082019050919050565b600060208201905081810360008301526200018c816200014a565b9050919050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b613d0680620002036000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806342966c68116100f9578063a217fddf11610097578063d505accf11610071578063d505accf146104f6578063d539139314610512578063d547741f14610530578063dd62ed3e1461054c576101a9565b8063a217fddf14610478578063a457c2d714610496578063a9059cbb146104c6576101a9565b80637ecebe00116100d35780637ecebe00146103f05780638129fc1c1461042057806391d148541461042a57806395d89b411461045a576101a9565b806342966c681461038857806370a08231146103a457806379cc6790146103d4576101a9565b8063248a9ca3116101665780633644e515116101405780633644e5151461030257806336568abe14610320578063395093511461033c57806340c10f191461036c576101a9565b8063248a9ca3146102985780632f2ff15d146102c8578063313ce567146102e4576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063095ea7b3146101fc57806318160ddd1461022c57806319ff1d211461024a57806323b872dd14610268575b600080fd5b6101c860048036038101906101c391906129e9565b61057c565b6040516101d59190612e9d565b60405180910390f35b6101e66105f6565b6040516101f39190612fcc565b60405180910390f35b61021660048036038101906102119190612948565b610688565b6040516102239190612e9d565b60405180910390f35b6102346106ab565b604051610241919061326e565b60405180910390f35b6102526106b5565b60405161025f9190612fcc565b60405180910390f35b610282600480360381019061027d919061285b565b6106f8565b60405161028f9190612e9d565b60405180910390f35b6102b260048036038101906102ad9190612984565b610727565b6040516102bf9190612eb8565b60405180910390f35b6102e260048036038101906102dd91906129ad565b610747565b005b6102ec610770565b6040516102f99190613289565b60405180910390f35b61030a610779565b6040516103179190612eb8565b60405180910390f35b61033a600480360381019061033591906129ad565b610788565b005b61035660048036038101906103519190612948565b61080b565b6040516103639190612e9d565b60405180910390f35b61038660048036038101906103819190612948565b6108b5565b005b6103a2600480360381019061039d9190612a12565b6108f6565b005b6103be60048036038101906103b991906127f6565b61090a565b6040516103cb919061326e565b60405180910390f35b6103ee60048036038101906103e99190612948565b610953565b005b61040a600480360381019061040591906127f6565b610973565b604051610417919061326e565b60405180910390f35b6104286109c4565b005b610444600480360381019061043f91906129ad565b610bcb565b6040516104519190612e9d565b60405180910390f35b610462610c36565b60405161046f9190612fcc565b60405180910390f35b610480610cc8565b60405161048d9190612eb8565b60405180910390f35b6104b060048036038101906104ab9190612948565b610ccf565b6040516104bd9190612e9d565b60405180910390f35b6104e060048036038101906104db9190612948565b610db9565b6040516104ed9190612e9d565b60405180910390f35b610510600480360381019061050b91906128aa565b610ddc565b005b61051a610f01565b6040516105279190612eb8565b60405180910390f35b61054a600480360381019061054591906129ad565b610f25565b005b6105666004803603810190610561919061281f565b610f4e565b604051610573919061326e565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ef57506105ee82610ff8565b5b9050919050565b60606036805461060590613608565b80601f016020809104026020016040519081016040528092919081815260200182805461063190613608565b801561067e5780601f106106535761010080835404028352916020019161067e565b820191906000526020600020905b81548152906001019060200180831161066157829003601f168201915b5050505050905090565b600080610693611062565b90506106a081858561106a565b600191505092915050565b6000603554905090565b606060006040518060400160405280601381526020017f48656c6c6f212054686973206973206e65772e0000000000000000000000000081525090508091505090565b600080610703611062565b9050610710858285611235565b61071b8585856112c1565b60019150509392505050565b600060c96000838152602001908152602001600020600101549050919050565b61075082610727565b6107618161075c611062565b611545565b61076b83836115e2565b505050565b60006012905090565b60006107836116c3565b905090565b610790611062565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f49061322e565b60405180910390fd5b6108078282611703565b5050565b600080610816611062565b90506108aa818585603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108a591906132cb565b61106a565b600191505092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108e7816108e2611062565b611545565b6108f183836117e5565b505050565b610907610901611062565b82611946565b50565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109658261095f611062565b83611235565b61096f8282611946565b5050565b60006109bd61012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611b1f565b9050919050565b600060019054906101000a900460ff166109ec5760008054906101000a900460ff16156109f5565b6109f4611b2d565b5b610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b9061312e565b60405180910390fd5b60008060019054906101000a900460ff161590508015610a84576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610af86040518060400160405280600b81526020017f44616e69656c546f6b656e0000000000000000000000000000000000000000008152506040518060400160405280600381526020017f44414e0000000000000000000000000000000000000000000000000000000000815250611b3e565b610b00611b9b565b610b08611bec565b610b466040518060400160405280600b81526020017f44616e69656c546f6b656e000000000000000000000000000000000000000000815250611c3d565b610b7033610b52610770565b600a610b5e9190613374565b6103e8610b6b9190613492565b6117e5565b610b7d6000801b336115e2565b610ba77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336115e2565b8015610bc85760008060016101000a81548160ff0219169083151502179055505b50565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060378054610c4590613608565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7190613608565b8015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b820191906000526020600020905b815481529060010190602001808311610ca157829003601f168201915b5050505050905090565b6000801b81565b600080610cda611062565b90506000603460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d979061320e565b60405180910390fd5b610dad828686840361106a565b60019250505092915050565b600080610dc4611062565b9050610dd18185856112c1565b600191505092915050565b83421115610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e16906130ce565b60405180910390fd5b600061013054888888610e318c611cd7565b89604051602001610e4796959493929190612ed3565b6040516020818303038152906040528051906020012090506000610e6a82611d36565b90506000610e7a82878787611d50565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee19061316e565b60405180910390fd5b610ef58a8a8a61106a565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610f2e82610727565b610f3f81610f3a611062565b611545565b610f498383611703565b505050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d1906131ce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061308e565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611228919061326e565b60405180910390a3505050565b60006112418484610f4e565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112bb57818110156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a4906130ae565b60405180910390fd5b6112ba848484840361106a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611331576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611328906131ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113989061302e565b60405180910390fd5b6113ac838383611d7b565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906130ee565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114c891906132cb565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161152c919061326e565b60405180910390a361153f848484611d80565b50505050565b61154f8282610bcb565b6115de576115748173ffffffffffffffffffffffffffffffffffffffff166014611d85565b6115828360001c6020611d85565b604051602001611593929190612e63565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d59190612fcc565b60405180910390fd5b5050565b6115ec8282610bcb565b6116bf57600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611664611062565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006116fe7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6116f161207f565b6116f9612089565b612093565b905090565b61170d8282610bcb565b156117e157600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611786611062565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c9061324e565b60405180910390fd5b61186160008383611d7b565b806035600082825461187391906132cb565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118c991906132cb565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161192e919061326e565b60405180910390a361194260008383611d80565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad9061318e565b60405180910390fd5b6119c282600083611d7b565b6000603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a409061304e565b60405180910390fd5b818103603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160356000828254611aa191906134ec565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b06919061326e565b60405180910390a3611b1a83600084611d80565b505050565b600081600001549050919050565b6000611b3830610fd5565b15905090565b600060019054906101000a900460ff16611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b84906131ee565b60405180910390fd5b611b9782826120cd565b5050565b600060019054906101000a900460ff16611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906131ee565b60405180910390fd5b565b600060019054906101000a900460ff16611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c32906131ee565b60405180910390fd5b565b600060019054906101000a900460ff16611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c83906131ee565b60405180910390fd5b611ccb816040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525061214e565b611cd4816121c9565b50565b60008061012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611d2581611b1f565b9150611d3081612243565b50919050565b6000611d49611d436116c3565b83612259565b9050919050565b6000806000611d618787878761228c565b91509150611d6e81612399565b8192505050949350505050565b505050565b505050565b606060006002836002611d989190613492565b611da291906132cb565b67ffffffffffffffff811115611de1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e135781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611e71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611efb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611f3b9190613492565b611f4591906132cb565b90505b6001811115612031577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611fad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611fea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061202a906135de565b9050611f48565b5060008414612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c9061300e565b60405180910390fd5b8091505092915050565b600060fb54905090565b600060fc54905090565b600083838346306040516020016120ae959493929190612f34565b6040516020818303038152906040528051906020012090509392505050565b600060019054906101000a900460ff1661211c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612113906131ee565b60405180910390fd5b81603690805190602001906121329291906126ea565b5080603790805190602001906121499291906126ea565b505050565b600060019054906101000a900460ff1661219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906131ee565b60405180910390fd5b6000828051906020012090506000828051906020012090508160fb819055508060fc8190555050505050565b600060019054906101000a900460ff16612218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220f906131ee565b60405180910390fd5b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101308190555050565b6001816000016000828254019250508190555050565b6000828260405160200161226e929190612e2c565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156122c7576000600391509150612390565b601b8560ff16141580156122df5750601c8560ff1614155b156122f1576000600491509150612390565b6000600187878787604051600081526020016040526040516123169493929190612f87565b6020604051602081039080840390855afa158015612338573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561238757600060019250925050612390565b80600092509250505b94509492505050565b600060048111156123d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561240c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612417576126e7565b60016004811115612451577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561248a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156124cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c290612fee565b60405180910390fd5b60026004811115612505577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561253e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561257f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125769061306e565b60405180910390fd5b600360048111156125b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262a9061310e565b60405180910390fd5b60048081111561266c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd9061314e565b60405180910390fd5b5b50565b8280546126f690613608565b90600052602060002090601f016020900481019282612718576000855561275f565b82601f1061273157805160ff191683800117855561275f565b8280016001018555821561275f579182015b8281111561275e578251825591602001919060010190612743565b5b50905061276c9190612770565b5090565b5b80821115612789576000816000905550600101612771565b5090565b60008135905061279c81613c5d565b92915050565b6000813590506127b181613c74565b92915050565b6000813590506127c681613c8b565b92915050565b6000813590506127db81613ca2565b92915050565b6000813590506127f081613cb9565b92915050565b60006020828403121561280857600080fd5b60006128168482850161278d565b91505092915050565b6000806040838503121561283257600080fd5b60006128408582860161278d565b92505060206128518582860161278d565b9150509250929050565b60008060006060848603121561287057600080fd5b600061287e8682870161278d565b935050602061288f8682870161278d565b92505060406128a0868287016127cc565b9150509250925092565b600080600080600080600060e0888a0312156128c557600080fd5b60006128d38a828b0161278d565b97505060206128e48a828b0161278d565b96505060406128f58a828b016127cc565b95505060606129068a828b016127cc565b94505060806129178a828b016127e1565b93505060a06129288a828b016127a2565b92505060c06129398a828b016127a2565b91505092959891949750929550565b6000806040838503121561295b57600080fd5b60006129698582860161278d565b925050602061297a858286016127cc565b9150509250929050565b60006020828403121561299657600080fd5b60006129a4848285016127a2565b91505092915050565b600080604083850312156129c057600080fd5b60006129ce858286016127a2565b92505060206129df8582860161278d565b9150509250929050565b6000602082840312156129fb57600080fd5b6000612a09848285016127b7565b91505092915050565b600060208284031215612a2457600080fd5b6000612a32848285016127cc565b91505092915050565b612a4481613520565b82525050565b612a5381613532565b82525050565b612a628161353e565b82525050565b612a79612a748261353e565b61363a565b82525050565b6000612a8a826132a4565b612a9481856132af565b9350612aa48185602086016135ab565b612aad816136a2565b840191505092915050565b6000612ac3826132a4565b612acd81856132c0565b9350612add8185602086016135ab565b80840191505092915050565b6000612af66018836132af565b9150612b01826136c0565b602082019050919050565b6000612b196020836132af565b9150612b24826136e9565b602082019050919050565b6000612b3c6023836132af565b9150612b4782613712565b604082019050919050565b6000612b5f6022836132af565b9150612b6a82613761565b604082019050919050565b6000612b82601f836132af565b9150612b8d826137b0565b602082019050919050565b6000612ba56022836132af565b9150612bb0826137d9565b604082019050919050565b6000612bc86002836132c0565b9150612bd382613828565b600282019050919050565b6000612beb601d836132af565b9150612bf682613851565b602082019050919050565b6000612c0e601d836132af565b9150612c198261387a565b602082019050919050565b6000612c316026836132af565b9150612c3c826138a3565b604082019050919050565b6000612c546022836132af565b9150612c5f826138f2565b604082019050919050565b6000612c77602e836132af565b9150612c8282613941565b604082019050919050565b6000612c9a6022836132af565b9150612ca582613990565b604082019050919050565b6000612cbd601e836132af565b9150612cc8826139df565b602082019050919050565b6000612ce06021836132af565b9150612ceb82613a08565b604082019050919050565b6000612d036025836132af565b9150612d0e82613a57565b604082019050919050565b6000612d266024836132af565b9150612d3182613aa6565b604082019050919050565b6000612d49602b836132af565b9150612d5482613af5565b604082019050919050565b6000612d6c6017836132c0565b9150612d7782613b44565b601782019050919050565b6000612d8f6025836132af565b9150612d9a82613b6d565b604082019050919050565b6000612db26011836132c0565b9150612dbd82613bbc565b601182019050919050565b6000612dd5602f836132af565b9150612de082613be5565b604082019050919050565b6000612df8601f836132af565b9150612e0382613c34565b602082019050919050565b612e1781613594565b82525050565b612e268161359e565b82525050565b6000612e3782612bbb565b9150612e438285612a68565b602082019150612e538284612a68565b6020820191508190509392505050565b6000612e6e82612d5f565b9150612e7a8285612ab8565b9150612e8582612da5565b9150612e918284612ab8565b91508190509392505050565b6000602082019050612eb26000830184612a4a565b92915050565b6000602082019050612ecd6000830184612a59565b92915050565b600060c082019050612ee86000830189612a59565b612ef56020830188612a3b565b612f026040830187612a3b565b612f0f6060830186612e0e565b612f1c6080830185612e0e565b612f2960a0830184612e0e565b979650505050505050565b600060a082019050612f496000830188612a59565b612f566020830187612a59565b612f636040830186612a59565b612f706060830185612e0e565b612f7d6080830184612a3b565b9695505050505050565b6000608082019050612f9c6000830187612a59565b612fa96020830186612e1d565b612fb66040830185612a59565b612fc36060830184612a59565b95945050505050565b60006020820190508181036000830152612fe68184612a7f565b905092915050565b6000602082019050818103600083015261300781612ae9565b9050919050565b6000602082019050818103600083015261302781612b0c565b9050919050565b6000602082019050818103600083015261304781612b2f565b9050919050565b6000602082019050818103600083015261306781612b52565b9050919050565b6000602082019050818103600083015261308781612b75565b9050919050565b600060208201905081810360008301526130a781612b98565b9050919050565b600060208201905081810360008301526130c781612bde565b9050919050565b600060208201905081810360008301526130e781612c01565b9050919050565b6000602082019050818103600083015261310781612c24565b9050919050565b6000602082019050818103600083015261312781612c47565b9050919050565b6000602082019050818103600083015261314781612c6a565b9050919050565b6000602082019050818103600083015261316781612c8d565b9050919050565b6000602082019050818103600083015261318781612cb0565b9050919050565b600060208201905081810360008301526131a781612cd3565b9050919050565b600060208201905081810360008301526131c781612cf6565b9050919050565b600060208201905081810360008301526131e781612d19565b9050919050565b6000602082019050818103600083015261320781612d3c565b9050919050565b6000602082019050818103600083015261322781612d82565b9050919050565b6000602082019050818103600083015261324781612dc8565b9050919050565b6000602082019050818103600083015261326781612deb565b9050919050565b60006020820190506132836000830184612e0e565b92915050565b600060208201905061329e6000830184612e1d565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b60006132d682613594565b91506132e183613594565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561331657613315613644565b5b828201905092915050565b6000808291508390505b600185111561336b5780860481111561334757613346613644565b5b60018516156133565780820291505b8081029050613364856136b3565b945061332b565b94509492505050565b600061337f82613594565b915061338a8361359e565b92506133b77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846133bf565b905092915050565b6000826133cf576001905061348b565b816133dd576000905061348b565b81600181146133f357600281146133fd5761342c565b600191505061348b565b60ff84111561340f5761340e613644565b5b8360020a91508482111561342657613425613644565b5b5061348b565b5060208310610133831016604e8410600b84101617156134615782820a90508381111561345c5761345b613644565b5b61348b565b61346e8484846001613321565b9250905081840481111561348557613484613644565b5b81810290505b9392505050565b600061349d82613594565b91506134a883613594565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134e1576134e0613644565b5b828202905092915050565b60006134f782613594565b915061350283613594565b92508282101561351557613514613644565b5b828203905092915050565b600061352b82613574565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156135c95780820151818401526020810190506135ae565b838111156135d8576000848401525b50505050565b60006135e982613594565b915060008214156135fd576135fc613644565b5b600182039050919050565b6000600282049050600182168061362057607f821691505b6020821081141561363457613633613673565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b613c6681613520565b8114613c7157600080fd5b50565b613c7d8161353e565b8114613c8857600080fd5b50565b613c9481613548565b8114613c9f57600080fd5b50565b613cab81613594565b8114613cb657600080fd5b50565b613cc28161359e565b8114613ccd57600080fd5b5056fea26469706673582212207483cc12dea19e01a8d71c9d9844df600b30281cd556457406f31122aa6f1f1764736f6c63430008040033
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806342966c68116100f9578063a217fddf11610097578063d505accf11610071578063d505accf146104f6578063d539139314610512578063d547741f14610530578063dd62ed3e1461054c576101a9565b8063a217fddf14610478578063a457c2d714610496578063a9059cbb146104c6576101a9565b80637ecebe00116100d35780637ecebe00146103f05780638129fc1c1461042057806391d148541461042a57806395d89b411461045a576101a9565b806342966c681461038857806370a08231146103a457806379cc6790146103d4576101a9565b8063248a9ca3116101665780633644e515116101405780633644e5151461030257806336568abe14610320578063395093511461033c57806340c10f191461036c576101a9565b8063248a9ca3146102985780632f2ff15d146102c8578063313ce567146102e4576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063095ea7b3146101fc57806318160ddd1461022c57806319ff1d211461024a57806323b872dd14610268575b600080fd5b6101c860048036038101906101c391906129e9565b61057c565b6040516101d59190612e9d565b60405180910390f35b6101e66105f6565b6040516101f39190612fcc565b60405180910390f35b61021660048036038101906102119190612948565b610688565b6040516102239190612e9d565b60405180910390f35b6102346106ab565b604051610241919061326e565b60405180910390f35b6102526106b5565b60405161025f9190612fcc565b60405180910390f35b610282600480360381019061027d919061285b565b6106f8565b60405161028f9190612e9d565b60405180910390f35b6102b260048036038101906102ad9190612984565b610727565b6040516102bf9190612eb8565b60405180910390f35b6102e260048036038101906102dd91906129ad565b610747565b005b6102ec610770565b6040516102f99190613289565b60405180910390f35b61030a610779565b6040516103179190612eb8565b60405180910390f35b61033a600480360381019061033591906129ad565b610788565b005b61035660048036038101906103519190612948565b61080b565b6040516103639190612e9d565b60405180910390f35b61038660048036038101906103819190612948565b6108b5565b005b6103a2600480360381019061039d9190612a12565b6108f6565b005b6103be60048036038101906103b991906127f6565b61090a565b6040516103cb919061326e565b60405180910390f35b6103ee60048036038101906103e99190612948565b610953565b005b61040a600480360381019061040591906127f6565b610973565b604051610417919061326e565b60405180910390f35b6104286109c4565b005b610444600480360381019061043f91906129ad565b610bcb565b6040516104519190612e9d565b60405180910390f35b610462610c36565b60405161046f9190612fcc565b60405180910390f35b610480610cc8565b60405161048d9190612eb8565b60405180910390f35b6104b060048036038101906104ab9190612948565b610ccf565b6040516104bd9190612e9d565b60405180910390f35b6104e060048036038101906104db9190612948565b610db9565b6040516104ed9190612e9d565b60405180910390f35b610510600480360381019061050b91906128aa565b610ddc565b005b61051a610f01565b6040516105279190612eb8565b60405180910390f35b61054a600480360381019061054591906129ad565b610f25565b005b6105666004803603810190610561919061281f565b610f4e565b604051610573919061326e565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ef57506105ee82610ff8565b5b9050919050565b60606036805461060590613608565b80601f016020809104026020016040519081016040528092919081815260200182805461063190613608565b801561067e5780601f106106535761010080835404028352916020019161067e565b820191906000526020600020905b81548152906001019060200180831161066157829003601f168201915b5050505050905090565b600080610693611062565b90506106a081858561106a565b600191505092915050565b6000603554905090565b606060006040518060400160405280601381526020017f48656c6c6f212054686973206973206e65772e0000000000000000000000000081525090508091505090565b600080610703611062565b9050610710858285611235565b61071b8585856112c1565b60019150509392505050565b600060c96000838152602001908152602001600020600101549050919050565b61075082610727565b6107618161075c611062565b611545565b61076b83836115e2565b505050565b60006012905090565b60006107836116c3565b905090565b610790611062565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f49061322e565b60405180910390fd5b6108078282611703565b5050565b600080610816611062565b90506108aa818585603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108a591906132cb565b61106a565b600191505092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108e7816108e2611062565b611545565b6108f183836117e5565b505050565b610907610901611062565b82611946565b50565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109658261095f611062565b83611235565b61096f8282611946565b5050565b60006109bd61012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611b1f565b9050919050565b600060019054906101000a900460ff166109ec5760008054906101000a900460ff16156109f5565b6109f4611b2d565b5b610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b9061312e565b60405180910390fd5b60008060019054906101000a900460ff161590508015610a84576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610af86040518060400160405280600b81526020017f44616e69656c546f6b656e0000000000000000000000000000000000000000008152506040518060400160405280600381526020017f44414e0000000000000000000000000000000000000000000000000000000000815250611b3e565b610b00611b9b565b610b08611bec565b610b466040518060400160405280600b81526020017f44616e69656c546f6b656e000000000000000000000000000000000000000000815250611c3d565b610b7033610b52610770565b600a610b5e9190613374565b6103e8610b6b9190613492565b6117e5565b610b7d6000801b336115e2565b610ba77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336115e2565b8015610bc85760008060016101000a81548160ff0219169083151502179055505b50565b600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060378054610c4590613608565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7190613608565b8015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b820191906000526020600020905b815481529060010190602001808311610ca157829003601f168201915b5050505050905090565b6000801b81565b600080610cda611062565b90506000603460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d979061320e565b60405180910390fd5b610dad828686840361106a565b60019250505092915050565b600080610dc4611062565b9050610dd18185856112c1565b600191505092915050565b83421115610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e16906130ce565b60405180910390fd5b600061013054888888610e318c611cd7565b89604051602001610e4796959493929190612ed3565b6040516020818303038152906040528051906020012090506000610e6a82611d36565b90506000610e7a82878787611d50565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee19061316e565b60405180910390fd5b610ef58a8a8a61106a565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610f2e82610727565b610f3f81610f3a611062565b611545565b610f498383611703565b505050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d1906131ce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061308e565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611228919061326e565b60405180910390a3505050565b60006112418484610f4e565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112bb57818110156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a4906130ae565b60405180910390fd5b6112ba848484840361106a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611331576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611328906131ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113989061302e565b60405180910390fd5b6113ac838383611d7b565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906130ee565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114c891906132cb565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161152c919061326e565b60405180910390a361153f848484611d80565b50505050565b61154f8282610bcb565b6115de576115748173ffffffffffffffffffffffffffffffffffffffff166014611d85565b6115828360001c6020611d85565b604051602001611593929190612e63565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d59190612fcc565b60405180910390fd5b5050565b6115ec8282610bcb565b6116bf57600160c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611664611062565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006116fe7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6116f161207f565b6116f9612089565b612093565b905090565b61170d8282610bcb565b156117e157600060c9600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611786611062565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c9061324e565b60405180910390fd5b61186160008383611d7b565b806035600082825461187391906132cb565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118c991906132cb565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161192e919061326e565b60405180910390a361194260008383611d80565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad9061318e565b60405180910390fd5b6119c282600083611d7b565b6000603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a409061304e565b60405180910390fd5b818103603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160356000828254611aa191906134ec565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b06919061326e565b60405180910390a3611b1a83600084611d80565b505050565b600081600001549050919050565b6000611b3830610fd5565b15905090565b600060019054906101000a900460ff16611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b84906131ee565b60405180910390fd5b611b9782826120cd565b5050565b600060019054906101000a900460ff16611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906131ee565b60405180910390fd5b565b600060019054906101000a900460ff16611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c32906131ee565b60405180910390fd5b565b600060019054906101000a900460ff16611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c83906131ee565b60405180910390fd5b611ccb816040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525061214e565b611cd4816121c9565b50565b60008061012f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611d2581611b1f565b9150611d3081612243565b50919050565b6000611d49611d436116c3565b83612259565b9050919050565b6000806000611d618787878761228c565b91509150611d6e81612399565b8192505050949350505050565b505050565b505050565b606060006002836002611d989190613492565b611da291906132cb565b67ffffffffffffffff811115611de1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e135781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611e71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611efb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611f3b9190613492565b611f4591906132cb565b90505b6001811115612031577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611fad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611fea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061202a906135de565b9050611f48565b5060008414612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c9061300e565b60405180910390fd5b8091505092915050565b600060fb54905090565b600060fc54905090565b600083838346306040516020016120ae959493929190612f34565b6040516020818303038152906040528051906020012090509392505050565b600060019054906101000a900460ff1661211c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612113906131ee565b60405180910390fd5b81603690805190602001906121329291906126ea565b5080603790805190602001906121499291906126ea565b505050565b600060019054906101000a900460ff1661219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906131ee565b60405180910390fd5b6000828051906020012090506000828051906020012090508160fb819055508060fc8190555050505050565b600060019054906101000a900460ff16612218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220f906131ee565b60405180910390fd5b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101308190555050565b6001816000016000828254019250508190555050565b6000828260405160200161226e929190612e2c565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156122c7576000600391509150612390565b601b8560ff16141580156122df5750601c8560ff1614155b156122f1576000600491509150612390565b6000600187878787604051600081526020016040526040516123169493929190612f87565b6020604051602081039080840390855afa158015612338573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561238757600060019250925050612390565b80600092509250505b94509492505050565b600060048111156123d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561240c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612417576126e7565b60016004811115612451577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561248a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156124cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c290612fee565b60405180910390fd5b60026004811115612505577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561253e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561257f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125769061306e565b60405180910390fd5b600360048111156125b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262a9061310e565b60405180910390fd5b60048081111561266c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd9061314e565b60405180910390fd5b5b50565b8280546126f690613608565b90600052602060002090601f016020900481019282612718576000855561275f565b82601f1061273157805160ff191683800117855561275f565b8280016001018555821561275f579182015b8281111561275e578251825591602001919060010190612743565b5b50905061276c9190612770565b5090565b5b80821115612789576000816000905550600101612771565b5090565b60008135905061279c81613c5d565b92915050565b6000813590506127b181613c74565b92915050565b6000813590506127c681613c8b565b92915050565b6000813590506127db81613ca2565b92915050565b6000813590506127f081613cb9565b92915050565b60006020828403121561280857600080fd5b60006128168482850161278d565b91505092915050565b6000806040838503121561283257600080fd5b60006128408582860161278d565b92505060206128518582860161278d565b9150509250929050565b60008060006060848603121561287057600080fd5b600061287e8682870161278d565b935050602061288f8682870161278d565b92505060406128a0868287016127cc565b9150509250925092565b600080600080600080600060e0888a0312156128c557600080fd5b60006128d38a828b0161278d565b97505060206128e48a828b0161278d565b96505060406128f58a828b016127cc565b95505060606129068a828b016127cc565b94505060806129178a828b016127e1565b93505060a06129288a828b016127a2565b92505060c06129398a828b016127a2565b91505092959891949750929550565b6000806040838503121561295b57600080fd5b60006129698582860161278d565b925050602061297a858286016127cc565b9150509250929050565b60006020828403121561299657600080fd5b60006129a4848285016127a2565b91505092915050565b600080604083850312156129c057600080fd5b60006129ce858286016127a2565b92505060206129df8582860161278d565b9150509250929050565b6000602082840312156129fb57600080fd5b6000612a09848285016127b7565b91505092915050565b600060208284031215612a2457600080fd5b6000612a32848285016127cc565b91505092915050565b612a4481613520565b82525050565b612a5381613532565b82525050565b612a628161353e565b82525050565b612a79612a748261353e565b61363a565b82525050565b6000612a8a826132a4565b612a9481856132af565b9350612aa48185602086016135ab565b612aad816136a2565b840191505092915050565b6000612ac3826132a4565b612acd81856132c0565b9350612add8185602086016135ab565b80840191505092915050565b6000612af66018836132af565b9150612b01826136c0565b602082019050919050565b6000612b196020836132af565b9150612b24826136e9565b602082019050919050565b6000612b3c6023836132af565b9150612b4782613712565b604082019050919050565b6000612b5f6022836132af565b9150612b6a82613761565b604082019050919050565b6000612b82601f836132af565b9150612b8d826137b0565b602082019050919050565b6000612ba56022836132af565b9150612bb0826137d9565b604082019050919050565b6000612bc86002836132c0565b9150612bd382613828565b600282019050919050565b6000612beb601d836132af565b9150612bf682613851565b602082019050919050565b6000612c0e601d836132af565b9150612c198261387a565b602082019050919050565b6000612c316026836132af565b9150612c3c826138a3565b604082019050919050565b6000612c546022836132af565b9150612c5f826138f2565b604082019050919050565b6000612c77602e836132af565b9150612c8282613941565b604082019050919050565b6000612c9a6022836132af565b9150612ca582613990565b604082019050919050565b6000612cbd601e836132af565b9150612cc8826139df565b602082019050919050565b6000612ce06021836132af565b9150612ceb82613a08565b604082019050919050565b6000612d036025836132af565b9150612d0e82613a57565b604082019050919050565b6000612d266024836132af565b9150612d3182613aa6565b604082019050919050565b6000612d49602b836132af565b9150612d5482613af5565b604082019050919050565b6000612d6c6017836132c0565b9150612d7782613b44565b601782019050919050565b6000612d8f6025836132af565b9150612d9a82613b6d565b604082019050919050565b6000612db26011836132c0565b9150612dbd82613bbc565b601182019050919050565b6000612dd5602f836132af565b9150612de082613be5565b604082019050919050565b6000612df8601f836132af565b9150612e0382613c34565b602082019050919050565b612e1781613594565b82525050565b612e268161359e565b82525050565b6000612e3782612bbb565b9150612e438285612a68565b602082019150612e538284612a68565b6020820191508190509392505050565b6000612e6e82612d5f565b9150612e7a8285612ab8565b9150612e8582612da5565b9150612e918284612ab8565b91508190509392505050565b6000602082019050612eb26000830184612a4a565b92915050565b6000602082019050612ecd6000830184612a59565b92915050565b600060c082019050612ee86000830189612a59565b612ef56020830188612a3b565b612f026040830187612a3b565b612f0f6060830186612e0e565b612f1c6080830185612e0e565b612f2960a0830184612e0e565b979650505050505050565b600060a082019050612f496000830188612a59565b612f566020830187612a59565b612f636040830186612a59565b612f706060830185612e0e565b612f7d6080830184612a3b565b9695505050505050565b6000608082019050612f9c6000830187612a59565b612fa96020830186612e1d565b612fb66040830185612a59565b612fc36060830184612a59565b95945050505050565b60006020820190508181036000830152612fe68184612a7f565b905092915050565b6000602082019050818103600083015261300781612ae9565b9050919050565b6000602082019050818103600083015261302781612b0c565b9050919050565b6000602082019050818103600083015261304781612b2f565b9050919050565b6000602082019050818103600083015261306781612b52565b9050919050565b6000602082019050818103600083015261308781612b75565b9050919050565b600060208201905081810360008301526130a781612b98565b9050919050565b600060208201905081810360008301526130c781612bde565b9050919050565b600060208201905081810360008301526130e781612c01565b9050919050565b6000602082019050818103600083015261310781612c24565b9050919050565b6000602082019050818103600083015261312781612c47565b9050919050565b6000602082019050818103600083015261314781612c6a565b9050919050565b6000602082019050818103600083015261316781612c8d565b9050919050565b6000602082019050818103600083015261318781612cb0565b9050919050565b600060208201905081810360008301526131a781612cd3565b9050919050565b600060208201905081810360008301526131c781612cf6565b9050919050565b600060208201905081810360008301526131e781612d19565b9050919050565b6000602082019050818103600083015261320781612d3c565b9050919050565b6000602082019050818103600083015261322781612d82565b9050919050565b6000602082019050818103600083015261324781612dc8565b9050919050565b6000602082019050818103600083015261326781612deb565b9050919050565b60006020820190506132836000830184612e0e565b92915050565b600060208201905061329e6000830184612e1d565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b60006132d682613594565b91506132e183613594565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561331657613315613644565b5b828201905092915050565b6000808291508390505b600185111561336b5780860481111561334757613346613644565b5b60018516156133565780820291505b8081029050613364856136b3565b945061332b565b94509492505050565b600061337f82613594565b915061338a8361359e565b92506133b77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846133bf565b905092915050565b6000826133cf576001905061348b565b816133dd576000905061348b565b81600181146133f357600281146133fd5761342c565b600191505061348b565b60ff84111561340f5761340e613644565b5b8360020a91508482111561342657613425613644565b5b5061348b565b5060208310610133831016604e8410600b84101617156134615782820a90508381111561345c5761345b613644565b5b61348b565b61346e8484846001613321565b9250905081840481111561348557613484613644565b5b81810290505b9392505050565b600061349d82613594565b91506134a883613594565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134e1576134e0613644565b5b828202905092915050565b60006134f782613594565b915061350283613594565b92508282101561351557613514613644565b5b828203905092915050565b600061352b82613574565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156135c95780820151818401526020810190506135ae565b838111156135d8576000848401525b50505050565b60006135e982613594565b915060008214156135fd576135fc613644565b5b600182039050919050565b6000600282049050600182168061362057607f821691505b6020821081141561363457613633613673565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b613c6681613520565b8114613c7157600080fd5b50565b613c7d8161353e565b8114613c8857600080fd5b50565b613c9481613548565b8114613c9f57600080fd5b50565b613cab81613594565b8114613cb657600080fd5b50565b613cc28161359e565b8114613ccd57600080fd5b5056fea26469706673582212207483cc12dea19e01a8d71c9d9844df600b30281cd556457406f31122aa6f1f1764736f6c63430008040033