Address Details
contract
token
0x96B562B07E5967762E5CfEfc71Fa01a478E5Aa98
- Token
- ONE US Dollar (ONEUSD)
- Creator
- 0x85f66d–720283 at 0xd287ba–146c14
- 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
- 23 Transactions
- Transfers
- 0 Transfers
- Gas Used
- 983,137
- Last Balance Update
- 11567300
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- ONEUSDollar
- Optimization enabled
- false
- Compiler version
- v0.8.9+commit.e5eed63a
- EVM Version
- london
- Verified at
- 2022-05-20T13:09:33.190626Z
contracts/ONEusd.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; import "@openzeppelin/contracts/metatx/ERC2771Context.sol"; import "@openzeppelin/contracts/metatx/MinimalForwarder.sol"; contract ONEUSDollar is ERC20, Pausable, AccessControl, ERC20Permit, ERC2771Context { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); bytes32 public constant MASTER_MINTER_ROLE = keccak256("MASTER_MINTER_ROLE"); bytes32 public constant BLACKLISTED_ROLE = keccak256("BLACKLISTED_ROLE"); bytes32 public constant AUDITOR_ROLE = keccak256("AUDITOR_ROLE"); /* ------ Auditor Report Status ------ */ uint internal auditTimestamp; uint256 internal auditTotalSupply; uint256 internal auditFiatBalance; mapping(address => bool) internal minters; mapping(address => uint256) internal minterAllowed; event MinterConfigured(address indexed minter, uint256 minterAllowedAmount); event MinterRemoved(address indexed oldMinter); event MasterMinterChanged(address indexed newMasterMinter); constructor(MinimalForwarder forwarder) ERC20("ONE US Dollar", "ONEUSD") ERC20Permit("ONE US Dollar") ERC2771Context(address(forwarder)) { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(PAUSER_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); _grantRole(ADMIN_ROLE, msg.sender); _grantRole(MASTER_MINTER_ROLE, msg.sender); _grantRole(AUDITOR_ROLE, msg.sender); // For testing only } function pause() public onlyRole(PAUSER_ROLE) { _pause(); } function unpause() public onlyRole(PAUSER_ROLE) { _unpause(); } function minterAllowance(address minter) external view returns (uint256) { return minterAllowed[minter]; } function isMinter(address account) external view returns (bool) { return hasRole(MINTER_ROLE, account); } function bulkTransfer(address[] memory to, uint256[] memory amount) external returns (bool) { address owner = _msgSender(); require(to.length == amount.length); uint256 totalAmount; for (uint256 i = 0; i < amount.length; i++) { totalAmount += amount[i]; } uint256 fromBalance = balanceOf(owner); require(fromBalance >= totalAmount, "ERC20: transfer amount exceeds balance"); for (uint256 i = 0; i < to.length; i++) { _transfer(owner, to[i], amount[i]); } return true; } function mint(address to, uint256 amount) public { require(!hasRole(BLACKLISTED_ROLE, _msgSender()) && !hasRole(BLACKLISTED_ROLE, to), "Blacklisted"); require(minters[_msgSender()], "Minter not configured"); require(amount > 0, "Amount must be greater than 0"); uint256 allowedAmount = minterAllowed[_msgSender()]; require(amount <= allowedAmount, "Mint amount exceeds minterAllowance"); minterAllowed[_msgSender()] = allowedAmount - amount; _mint(to, amount); } function burn(uint256 amount) external whenNotPaused { require(!hasRole(BLACKLISTED_ROLE, _msgSender()), "Blacklisted"); require(minters[_msgSender()], "Minter not configured"); require(amount > 0, "Burn amount not greater than 0"); _burn(_msgSender(), amount); } function burnFrom(address account, uint256 amount) public virtual { require(!hasRole(BLACKLISTED_ROLE, _msgSender()) && !hasRole(BLACKLISTED_ROLE, account), "Blacklisted"); require(minters[account], "Minter not configured"); require(amount > 0, "Burn amount not greater than 0"); _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } function configureMinter(address minter, uint256 minterAllowedAmount) external whenNotPaused onlyRole(MASTER_MINTER_ROLE) returns (bool) { minters[minter] = true; minterAllowed[minter] = minterAllowedAmount; emit MinterConfigured(minter, minterAllowedAmount); return true; } function increaseMinterAllowance(address minter, uint256 amount) external whenNotPaused onlyRole(MASTER_MINTER_ROLE) returns (bool) { require(minters[minter], "Minter not configured"); minterAllowed[minter] += amount; emit MinterConfigured(minter, minterAllowed[minter]); return true; } function decreaseMinterAllowance(address minter, uint256 amount) external whenNotPaused onlyRole(MASTER_MINTER_ROLE) returns (bool) { require(minters[minter], "Minter not configured"); require(minterAllowed[minter] >= amount, "Minter allowance cannot be decreased below 0"); minterAllowed[minter] -= amount; emit MinterConfigured(minter, minterAllowed[minter]); return true; } function removeMinter(address minter) external onlyRole(MASTER_MINTER_ROLE) returns (bool) { require(minters[minter], "Minter not configured"); minters[minter] = false; minterAllowed[minter] = 0; emit MinterRemoved(minter); return true; } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { require(!hasRole(BLACKLISTED_ROLE, from) && !hasRole(BLACKLISTED_ROLE, to), "Blacklisted"); super._beforeTokenTransfer(from, to, amount); } function setBlacklist(address account, bool blacklist) public onlyRole(ADMIN_ROLE) { if (blacklist) { require(!hasRole(BLACKLISTED_ROLE, account), "Already blacklisted"); _grantRole(BLACKLISTED_ROLE, account); } else { require(hasRole(BLACKLISTED_ROLE, account), "Not blacklisted"); _revokeRole(BLACKLISTED_ROLE, account); } } function setAuditorData(uint256 _totalSupply, uint256 _fiatCollateral) external onlyRole(AUDITOR_ROLE) { auditTimestamp = block.timestamp; auditTotalSupply = _totalSupply; auditFiatBalance = _fiatCollateral; } function getLastAuditorReport() external view returns (uint, uint256, uint256) { return (auditTimestamp, auditTotalSupply, auditFiatBalance); } function _msgSender() internal view override(Context, ERC2771Context) returns (address sender) { return ERC2771Context._msgSender(); } function _msgData() internal view override(Context, ERC2771Context) returns (bytes calldata) { return ERC2771Context._msgData(); } }
/_openzeppelin/contracts/access/AccessControl.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view 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 ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view 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()); } } }
/_openzeppelin/contracts/access/IAccessControl.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 IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
/_openzeppelin/contracts/metatx/ERC2771Context.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (metatx/ERC2771Context.sol) pragma solidity ^0.8.9; import "../utils/Context.sol"; /** * @dev Context variant with ERC2771 support. */ abstract contract ERC2771Context is Context { /// @custom:oz-upgrades-unsafe-allow state-variable-immutable address private immutable _trustedForwarder; /// @custom:oz-upgrades-unsafe-allow constructor constructor(address trustedForwarder) { _trustedForwarder = trustedForwarder; } function isTrustedForwarder(address forwarder) public view virtual returns (bool) { return forwarder == _trustedForwarder; } function _msgSender() internal view virtual override returns (address sender) { if (isTrustedForwarder(msg.sender)) { // The assembly code is more direct than the Solidity version using `abi.decode`. assembly { sender := shr(96, calldataload(sub(calldatasize(), 20))) } } else { return super._msgSender(); } } function _msgData() internal view virtual override returns (bytes calldata) { if (isTrustedForwarder(msg.sender)) { return msg.data[:msg.data.length - 20]; } else { return super._msgData(); } } }
/_openzeppelin/contracts/metatx/MinimalForwarder.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (metatx/MinimalForwarder.sol) pragma solidity ^0.8.0; import "../utils/cryptography/ECDSA.sol"; import "../utils/cryptography/draft-EIP712.sol"; /** * @dev Simple minimal forwarder to be used together with an ERC2771 compatible contract. See {ERC2771Context}. */ contract MinimalForwarder is EIP712 { using ECDSA for bytes32; struct ForwardRequest { address from; address to; uint256 value; uint256 gas; uint256 nonce; bytes data; } bytes32 private constant _TYPEHASH = keccak256("ForwardRequest(address from,address to,uint256 value,uint256 gas,uint256 nonce,bytes data)"); mapping(address => uint256) private _nonces; constructor() EIP712("MinimalForwarder", "0.0.1") {} function getNonce(address from) public view returns (uint256) { return _nonces[from]; } function verify(ForwardRequest calldata req, bytes calldata signature) public view returns (bool) { address signer = _hashTypedDataV4( keccak256(abi.encode(_TYPEHASH, req.from, req.to, req.value, req.gas, req.nonce, keccak256(req.data))) ).recover(signature); return _nonces[req.from] == req.nonce && signer == req.from; } function execute(ForwardRequest calldata req, bytes calldata signature) public payable returns (bool, bytes memory) { require(verify(req, signature), "MinimalForwarder: signature does not match request"); _nonces[req.from] = req.nonce + 1; (bool success, bytes memory returndata) = req.to.call{gas: req.gas, value: req.value}( abi.encodePacked(req.data, req.from) ); // Validate that the relayer has sent enough gas for the call. // See https://ronan.eth.link/blog/ethereum-gas-dangers/ if (gasleft() <= req.gas / 63) { // We explicitly trigger invalid opcode to consume all gas and bubble-up the effects, since // neither revert or assert consume all gas since Solidity 0.8.0 // https://docs.soliditylang.org/en/v0.8.0/control-structures.html#panic-via-assert-and-error-via-require assembly { invalid() } } return (success, returndata); } }
/_openzeppelin/contracts/security/Pausable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
/_openzeppelin/contracts/token/ERC20/ERC20.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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 {} }
/_openzeppelin/contracts/token/ERC20/IERC20.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 IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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/token/ERC20/extensions/IERC20Metadata.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
/_openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; import "./draft-IERC20Permit.sol"; import "../ERC20.sol"; import "../../../utils/cryptography/draft-EIP712.sol"; import "../../../utils/cryptography/ECDSA.sol"; import "../../../utils/Counters.sol"; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } }
/_openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.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 IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
/_openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
/_openzeppelin/contracts/utils/Counters.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 Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
/_openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
/_openzeppelin/contracts/utils/cryptography/ECDSA.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.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 ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = 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", Strings.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/utils/cryptography/draft-EIP712.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
/_openzeppelin/contracts/utils/introspection/ERC165.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
/_openzeppelin/contracts/utils/introspection/IERC165.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 IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"forwarder","internalType":"contract MinimalForwarder"}]},{"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":"MasterMinterChanged","inputs":[{"type":"address","name":"newMasterMinter","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"MinterConfigured","inputs":[{"type":"address","name":"minter","internalType":"address","indexed":true},{"type":"uint256","name":"minterAllowedAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MinterRemoved","inputs":[{"type":"address","name":"oldMinter","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","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":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"AUDITOR_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"BLACKLISTED_ROLE","inputs":[]},{"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":"MASTER_MINTER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"MINTER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"PAUSER_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":[{"type":"bool","name":"","internalType":"bool"}],"name":"bulkTransfer","inputs":[{"type":"address[]","name":"to","internalType":"address[]"},{"type":"uint256[]","name":"amount","internalType":"uint256[]"}]},{"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":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"configureMinter","inputs":[{"type":"address","name":"minter","internalType":"address"},{"type":"uint256","name":"minterAllowedAmount","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":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseMinterAllowance","inputs":[{"type":"address","name":"minter","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLastAuditorReport","inputs":[]},{"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":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseMinterAllowance","inputs":[{"type":"address","name":"minter","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isMinter","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isTrustedForwarder","inputs":[{"type":"address","name":"forwarder","internalType":"address"}]},{"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":"uint256","name":"","internalType":"uint256"}],"name":"minterAllowance","inputs":[{"type":"address","name":"minter","internalType":"address"}]},{"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":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"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":[{"type":"bool","name":"","internalType":"bool"}],"name":"removeMinter","inputs":[{"type":"address","name":"minter","internalType":"address"}]},{"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":"nonpayable","outputs":[],"name":"setAuditorData","inputs":[{"type":"uint256","name":"_totalSupply","internalType":"uint256"},{"type":"uint256","name":"_fiatCollateral","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBlacklist","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"bool","name":"blacklist","internalType":"bool"}]},{"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"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]}]
Contract Creation Code
0x6101806040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140908152503480156200003a57600080fd5b5060405162005bd238038062005bd28339818101604052810190620000609190620006f8565b806040518060400160405280600d81526020017f4f4e4520555320446f6c6c617200000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600d81526020017f4f4e4520555320446f6c6c6172000000000000000000000000000000000000008152506040518060400160405280600681526020017f4f4e455553440000000000000000000000000000000000000000000000000000815250816003908051906020019062000152929190620005ca565b5080600490805190602001906200016b929190620005ca565b5050506000600560006101000a81548160ff02191690831515021790555060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a08181525050620001f28184846200038860201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250508061012081815250505050505050508073ffffffffffffffffffffffffffffffffffffffff166101608173ffffffffffffffffffffffffffffffffffffffff168152505050620002876000801b33620003c460201b60201c565b620002b97f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620003c460201b60201c565b620002eb7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620003c460201b60201c565b6200031d7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533620003c460201b60201c565b6200034f7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c933620003c460201b60201c565b620003817f59a1c48e5837ad7a7f3dcedcbe129bf3249ec4fbf651fd4f5e2600ead39fe2f533620003c460201b60201c565b5062000833565b60008383834630604051602001620003a595949392919062000771565b6040516020818303038152906040528051906020012090509392505050565b620003d68282620004b660201b60201c565b620004b25760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620004576200052160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000620005386200053d60201b620022ac1760201c565b905090565b600062000550336200058760201b60201c565b156200056657601436033560601c905062000583565b6200057b620005c260201b620022de1760201c565b905062000584565b5b90565b60006101605173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600033905090565b828054620005d890620007fd565b90600052602060002090601f016020900481019282620005fc576000855562000648565b82601f106200061757805160ff191683800117855562000648565b8280016001018555821562000648579182015b82811115620006475782518255916020019190600101906200062a565b5b5090506200065791906200065b565b5090565b5b80821115620006765760008160009055506001016200065c565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006ac826200067f565b9050919050565b6000620006c0826200069f565b9050919050565b620006d281620006b3565b8114620006de57600080fd5b50565b600081519050620006f281620006c7565b92915050565b6000602082840312156200071157620007106200067a565b5b60006200072184828501620006e1565b91505092915050565b6000819050919050565b6200073f816200072a565b82525050565b6000819050919050565b6200075a8162000745565b82525050565b6200076b816200069f565b82525050565b600060a08201905062000788600083018862000734565b62000797602083018762000734565b620007a6604083018662000734565b620007b560608301856200074f565b620007c4608083018462000760565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200081657607f821691505b602082108114156200082d576200082c620007ce565b5b50919050565b60805160a05160c05160e05161010051610120516101405161016051615339620008996000396000611614015260006120b901526000612b4501526000612b8701526000612b6601526000612a9b01526000612af101526000612b1a01526153396000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c806362b199c511610151578063a217fddf116100c3578063be76ebe511610087578063be76ebe5146107eb578063d505accf1461081b578063d539139314610837578063d547741f14610855578063dd62ed3e14610871578063e63ab1e9146108a157610274565b8063a217fddf1461070d578063a2ded1151461072b578063a457c2d71461075b578063a9059cbb1461078b578063aa271e1a146107bb57610274565b80637ecebe00116101155780637ecebe00146106375780638456cb59146106675780638a6db9c31461067157806391a64e5f146106a157806391d14854146106bf57806395d89b41146106ef57610274565b806362b199c5146105915780636e1d616e146105af57806370a08231146105cd57806375b238fc146105fd57806379cc67901461061b57610274565b80633644e515116101ea57806340c10f19116101ae57806340c10f19146104bb57806342966c68146104d75780634e44d956146104f357806350a7e37414610523578063572b6c05146105435780635c975abb1461057357610274565b80633644e5151461042b57806336568abe146104495780633877e7021461046557806339509351146104815780633f4ba83a146104b157610274565b806318160ddd1161023c57806318160ddd1461034357806323b872dd14610361578063248a9ca3146103915780632f2ff15d146103c15780633092afd5146103dd578063313ce5671461040d57610274565b806301ffc9a71461027957806306fdde03146102a9578063095ea7b3146102c7578063153a1f3e146102f7578063153b0d1e14610327575b600080fd5b610293600480360381019061028e91906137ea565b6108bf565b6040516102a09190613832565b60405180910390f35b6102b1610939565b6040516102be91906138e6565b60405180910390f35b6102e160048036038101906102dc919061399c565b6109cb565b6040516102ee9190613832565b60405180910390f35b610311600480360381019061030c9190613be7565b6109ee565b60405161031e9190613832565b60405180910390f35b610341600480360381019061033c9190613c8b565b610b12565b005b61034b610c7c565b6040516103589190613cda565b60405180910390f35b61037b60048036038101906103769190613cf5565b610c86565b6040516103889190613832565b60405180910390f35b6103ab60048036038101906103a69190613d7e565b610cb5565b6040516103b89190613dba565b60405180910390f35b6103db60048036038101906103d69190613dd5565b610cd5565b005b6103f760048036038101906103f29190613e15565b610cfe565b6040516104049190613832565b60405180910390f35b610415610ea8565b6040516104229190613e5e565b60405180910390f35b610433610eb1565b6040516104409190613dba565b60405180910390f35b610463600480360381019061045e9190613dd5565b610ec0565b005b61047f600480360381019061047a9190613e79565b610f43565b005b61049b6004803603810190610496919061399c565b610f8f565b6040516104a89190613832565b60405180910390f35b6104b9611039565b005b6104d560048036038101906104d0919061399c565b611076565b005b6104f160048036038101906104ec9190613eb9565b6112e3565b005b61050d6004803603810190610508919061399c565b611486565b60405161051a9190613832565b60405180910390f35b61052b6115f7565b60405161053a93929190613ee6565b60405180910390f35b61055d60048036038101906105589190613e15565b611610565b60405161056a9190613832565b60405180910390f35b61057b611668565b6040516105889190613832565b60405180910390f35b61059961167f565b6040516105a69190613dba565b60405180910390f35b6105b76116a3565b6040516105c49190613dba565b60405180910390f35b6105e760048036038101906105e29190613e15565b6116c7565b6040516105f49190613cda565b60405180910390f35b61060561170f565b6040516106129190613dba565b60405180910390f35b6106356004803603810190610630919061399c565b611733565b005b610651600480360381019061064c9190613e15565b6118c6565b60405161065e9190613cda565b60405180910390f35b61066f611916565b005b61068b60048036038101906106869190613e15565b611953565b6040516106989190613cda565b60405180910390f35b6106a961199c565b6040516106b69190613dba565b60405180910390f35b6106d960048036038101906106d49190613dd5565b6119c0565b6040516106e69190613832565b60405180910390f35b6106f7611a2b565b60405161070491906138e6565b60405180910390f35b610715611abd565b6040516107229190613dba565b60405180910390f35b6107456004803603810190610740919061399c565b611ac4565b6040516107529190613832565b60405180910390f35b6107756004803603810190610770919061399c565b611d3c565b6040516107829190613832565b60405180910390f35b6107a560048036038101906107a0919061399c565b611e26565b6040516107b29190613832565b60405180910390f35b6107d560048036038101906107d09190613e15565b611e49565b6040516107e29190613832565b60405180910390f35b6108056004803603810190610800919061399c565b611e7c565b6040516108129190613832565b60405180910390f35b61083560048036038101906108309190613f49565b612072565b005b61083f6121b4565b60405161084c9190613dba565b60405180910390f35b61086f600480360381019061086a9190613dd5565b6121d8565b005b61088b60048036038101906108869190613feb565b612201565b6040516108989190613cda565b60405180910390f35b6108a9612288565b6040516108b69190613dba565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109325750610931826122e6565b5b9050919050565b6060600380546109489061405a565b80601f01602080910402602001604051908101604052809291908181526020018280546109749061405a565b80156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b5050505050905090565b6000806109d6612350565b90506109e381858561235f565b600191505092915050565b6000806109f9612350565b90508251845114610a0957600080fd5b600080600090505b8451811015610a5557848181518110610a2d57610a2c61408c565b5b602002602001015182610a4091906140ea565b91508080610a4d90614140565b915050610a11565b506000610a61836116c7565b905081811015610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d906141fb565b60405180910390fd5b60005b8651811015610b0457610af184888381518110610ac957610ac861408c565b5b6020026020010151888481518110610ae457610ae361408c565b5b602002602001015161252a565b8080610afc90614140565b915050610aa9565b506001935050505092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610b4481610b3f612350565b6127ab565b8115610be357610b747f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed846119c0565b15610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bab90614267565b60405180910390fd5b610bde7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed84612848565b610c77565b610c0d7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed846119c0565b610c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c43906142d3565b60405180910390fd5b610c767f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed84612929565b5b505050565b6000600254905090565b600080610c91612350565b9050610c9e858285612a0b565b610ca985858561252a565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b610cde82610cb5565b610cef81610cea612350565b6127ab565b610cf98383612848565b505050565b60007f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9610d3281610d2d612350565b6127ab565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db59061433f565b60405180910390fd5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a26001915050919050565b60006012905090565b6000610ebb612a97565b905090565b610ec8612350565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c906143d1565b60405180910390fd5b610f3f8282612929565b5050565b7f59a1c48e5837ad7a7f3dcedcbe129bf3249ec4fbf651fd4f5e2600ead39fe2f5610f7581610f70612350565b6127ab565b426008819055508260098190555081600a81905550505050565b600080610f9a612350565b905061102e818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461102991906140ea565b61235f565b600191505092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61106b81611066612350565b6127ab565b611073612bb1565b50565b6110a77f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed6110a2612350565b6119c0565b1580156110db57506110d97f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836119c0565b155b61111a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111119061443d565b60405180910390fd5b600b6000611126612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a49061433f565b60405180910390fd5b600081116111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e7906144a9565b60405180910390fd5b6000600c60006111fe612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508082111561127e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112759061453b565b60405180910390fd5b818161128a919061455b565b600c6000611296612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112de8383612c53565b505050565b6112eb611668565b1561132b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611322906145db565b60405180910390fd5b61135c7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed611357612350565b6119c0565b1561139c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113939061443d565b60405180910390fd5b600b60006113a8612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661142f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114269061433f565b60405180910390fd5b60008111611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146990614647565b60405180910390fd5b61148361147d612350565b82612db3565b50565b6000611490611668565b156114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c7906145db565b60405180910390fd5b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9611502816114fd612350565b6127ab565b6001600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff167f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20846040516115e49190613cda565b60405180910390a2600191505092915050565b6000806000600854600954600a54925092509250909192565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600560009054906101000a900460ff16905090565b7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed81565b7f59a1c48e5837ad7a7f3dcedcbe129bf3249ec4fbf651fd4f5e2600ead39fe2f581565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6117647f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed61175f612350565b6119c0565b15801561179857506117967f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836119c0565b155b6117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce9061443d565b60405180910390fd5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a9061433f565b60405180910390fd5b600081116118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614647565b60405180910390fd5b6118b8826118b2612350565b83612a0b565b6118c28282612db3565b5050565b600061190f600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f8a565b9050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61194881611943612350565b6127ab565b611950612f98565b50565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c981565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054611a3a9061405a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a669061405a565b8015611ab35780601f10611a8857610100808354040283529160200191611ab3565b820191906000526020600020905b815481529060010190602001808311611a9657829003601f168201915b5050505050905090565b6000801b81565b6000611ace611668565b15611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b05906145db565b60405180910390fd5b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9611b4081611b3b612350565b6127ab565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc39061433f565b60405180910390fd5b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c45906146d9565b60405180910390fd5b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9d919061455b565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051611d299190613cda565b60405180910390a2600191505092915050565b600080611d47612350565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e049061476b565b60405180910390fd5b611e1a828686840361235f565b60019250505092915050565b600080611e31612350565b9050611e3e81858561252a565b600191505092915050565b6000611e757f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836119c0565b9050919050565b6000611e86611668565b15611ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebd906145db565b60405180910390fd5b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9611ef881611ef3612350565b6127ab565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b9061433f565b60405180910390fd5b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd391906140ea565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460405161205f9190613cda565b60405180910390a2600191505092915050565b834211156120b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ac906147d7565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008888886120e48c61303b565b896040516020016120fa96959493929190614806565b604051602081830303815290604052805190602001209050600061211d82613099565b9050600061212d828787876130b3565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906148b3565b60405180910390fd5b6121a88a8a8a61235f565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6121e182610cb5565b6121f2816121ed612350565b6127ab565b6121fc8383612929565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006122b733611610565b156122cb57601436033560601c90506122da565b6122d36122de565b90506122db565b5b90565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061235a6122ac565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c690614945565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561243f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612436906149d7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161251d9190613cda565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561259a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259190614a69565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561260a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260190614afb565b60405180910390fd5b6126158383836130de565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561269b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612692906141fb565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272e91906140ea565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127929190613cda565b60405180910390a36127a58484846131d3565b50505050565b6127b582826119c0565b612844576127da8173ffffffffffffffffffffffffffffffffffffffff1660146131d8565b6127e88360001c60206131d8565b6040516020016127f9929190614bef565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283b91906138e6565b60405180910390fd5b5050565b61285282826119c0565b6129255760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506128ca612350565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61293382826119c0565b15612a075760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129ac612350565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612a178484612201565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612a915781811015612a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7a90614c75565b60405180910390fd5b612a90848484840361235f565b5b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015612b1357507f000000000000000000000000000000000000000000000000000000000000000046145b15612b40577f00000000000000000000000000000000000000000000000000000000000000009050612bae565b612bab7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613414565b90505b90565b612bb9611668565b612bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bef90614ce1565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612c3c612350565b604051612c499190614d01565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cba90614d68565b60405180910390fd5b612ccf600083836130de565b8060026000828254612ce191906140ea565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d3691906140ea565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612d9b9190613cda565b60405180910390a3612daf600083836131d3565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614dfa565b60405180910390fd5b612e2f826000836130de565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eac90614e8c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612f0c919061455b565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f719190613cda565b60405180910390a3612f85836000846131d3565b505050565b600081600001549050919050565b612fa0611668565b15612fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd7906145db565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613024612350565b6040516130319190614d01565b60405180910390a1565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061308881612f8a565b91506130938161344e565b50919050565b60006130ac6130a6612a97565b83613464565b9050919050565b60008060006130c487878787613497565b915091506130d1816135a4565b8192505050949350505050565b6130e6611668565b15613126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311d906145db565b60405180910390fd5b6131507f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed846119c0565b15801561318457506131827f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836119c0565b155b6131c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ba9061443d565b60405180910390fd5b6131ce838383613779565b505050565b505050565b6060600060028360026131eb9190614eac565b6131f591906140ea565b67ffffffffffffffff81111561320e5761320d6139e1565b5b6040519080825280601f01601f1916602001820160405280156132405781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132785761327761408c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106132dc576132db61408c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261331c9190614eac565b61332691906140ea565b90505b60018111156133c6577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133685761336761408c565b5b1a60f81b82828151811061337f5761337e61408c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806133bf90614f06565b9050613329565b506000841461340a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340190614f7c565b60405180910390fd5b8091505092915050565b6000838383463060405160200161342f959493929190614f9c565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b6000828260405160200161347992919061505c565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156134d257600060039150915061359b565b601b8560ff16141580156134ea5750601c8560ff1614155b156134fc57600060049150915061359b565b6000600187878787604051600081526020016040526040516135219493929190615093565b6020604051602081039080840390855afa158015613543573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135925760006001925092505061359b565b80600092509250505b94509492505050565b600060048111156135b8576135b76150d8565b5b8160048111156135cb576135ca6150d8565b5b14156135d657613776565b600160048111156135ea576135e96150d8565b5b8160048111156135fd576135fc6150d8565b5b141561363e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363590615153565b60405180910390fd5b60026004811115613652576136516150d8565b5b816004811115613665576136646150d8565b5b14156136a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369d906151bf565b60405180910390fd5b600360048111156136ba576136b96150d8565b5b8160048111156136cd576136cc6150d8565b5b141561370e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370590615251565b60405180910390fd5b600480811115613721576137206150d8565b5b816004811115613734576137336150d8565b5b1415613775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376c906152e3565b60405180910390fd5b5b50565b505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137c781613792565b81146137d257600080fd5b50565b6000813590506137e4816137be565b92915050565b600060208284031215613800576137ff613788565b5b600061380e848285016137d5565b91505092915050565b60008115159050919050565b61382c81613817565b82525050565b60006020820190506138476000830184613823565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561388757808201518184015260208101905061386c565b83811115613896576000848401525b50505050565b6000601f19601f8301169050919050565b60006138b88261384d565b6138c28185613858565b93506138d2818560208601613869565b6138db8161389c565b840191505092915050565b6000602082019050818103600083015261390081846138ad565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061393382613908565b9050919050565b61394381613928565b811461394e57600080fd5b50565b6000813590506139608161393a565b92915050565b6000819050919050565b61397981613966565b811461398457600080fd5b50565b60008135905061399681613970565b92915050565b600080604083850312156139b3576139b2613788565b5b60006139c185828601613951565b92505060206139d285828601613987565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a198261389c565b810181811067ffffffffffffffff82111715613a3857613a376139e1565b5b80604052505050565b6000613a4b61377e565b9050613a578282613a10565b919050565b600067ffffffffffffffff821115613a7757613a766139e1565b5b602082029050602081019050919050565b600080fd5b6000613aa0613a9b84613a5c565b613a41565b90508083825260208201905060208402830185811115613ac357613ac2613a88565b5b835b81811015613aec5780613ad88882613951565b845260208401935050602081019050613ac5565b5050509392505050565b600082601f830112613b0b57613b0a6139dc565b5b8135613b1b848260208601613a8d565b91505092915050565b600067ffffffffffffffff821115613b3f57613b3e6139e1565b5b602082029050602081019050919050565b6000613b63613b5e84613b24565b613a41565b90508083825260208201905060208402830185811115613b8657613b85613a88565b5b835b81811015613baf5780613b9b8882613987565b845260208401935050602081019050613b88565b5050509392505050565b600082601f830112613bce57613bcd6139dc565b5b8135613bde848260208601613b50565b91505092915050565b60008060408385031215613bfe57613bfd613788565b5b600083013567ffffffffffffffff811115613c1c57613c1b61378d565b5b613c2885828601613af6565b925050602083013567ffffffffffffffff811115613c4957613c4861378d565b5b613c5585828601613bb9565b9150509250929050565b613c6881613817565b8114613c7357600080fd5b50565b600081359050613c8581613c5f565b92915050565b60008060408385031215613ca257613ca1613788565b5b6000613cb085828601613951565b9250506020613cc185828601613c76565b9150509250929050565b613cd481613966565b82525050565b6000602082019050613cef6000830184613ccb565b92915050565b600080600060608486031215613d0e57613d0d613788565b5b6000613d1c86828701613951565b9350506020613d2d86828701613951565b9250506040613d3e86828701613987565b9150509250925092565b6000819050919050565b613d5b81613d48565b8114613d6657600080fd5b50565b600081359050613d7881613d52565b92915050565b600060208284031215613d9457613d93613788565b5b6000613da284828501613d69565b91505092915050565b613db481613d48565b82525050565b6000602082019050613dcf6000830184613dab565b92915050565b60008060408385031215613dec57613deb613788565b5b6000613dfa85828601613d69565b9250506020613e0b85828601613951565b9150509250929050565b600060208284031215613e2b57613e2a613788565b5b6000613e3984828501613951565b91505092915050565b600060ff82169050919050565b613e5881613e42565b82525050565b6000602082019050613e736000830184613e4f565b92915050565b60008060408385031215613e9057613e8f613788565b5b6000613e9e85828601613987565b9250506020613eaf85828601613987565b9150509250929050565b600060208284031215613ecf57613ece613788565b5b6000613edd84828501613987565b91505092915050565b6000606082019050613efb6000830186613ccb565b613f086020830185613ccb565b613f156040830184613ccb565b949350505050565b613f2681613e42565b8114613f3157600080fd5b50565b600081359050613f4381613f1d565b92915050565b600080600080600080600060e0888a031215613f6857613f67613788565b5b6000613f768a828b01613951565b9750506020613f878a828b01613951565b9650506040613f988a828b01613987565b9550506060613fa98a828b01613987565b9450506080613fba8a828b01613f34565b93505060a0613fcb8a828b01613d69565b92505060c0613fdc8a828b01613d69565b91505092959891949750929550565b6000806040838503121561400257614001613788565b5b600061401085828601613951565b925050602061402185828601613951565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061407257607f821691505b602082108114156140865761408561402b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140f582613966565b915061410083613966565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614135576141346140bb565b5b828201905092915050565b600061414b82613966565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561417e5761417d6140bb565b5b600182019050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006141e5602683613858565b91506141f082614189565b604082019050919050565b60006020820190508181036000830152614214816141d8565b9050919050565b7f416c726561647920626c61636b6c697374656400000000000000000000000000600082015250565b6000614251601383613858565b915061425c8261421b565b602082019050919050565b6000602082019050818103600083015261428081614244565b9050919050565b7f4e6f7420626c61636b6c69737465640000000000000000000000000000000000600082015250565b60006142bd600f83613858565b91506142c882614287565b602082019050919050565b600060208201905081810360008301526142ec816142b0565b9050919050565b7f4d696e746572206e6f7420636f6e666967757265640000000000000000000000600082015250565b6000614329601583613858565b9150614334826142f3565b602082019050919050565b600060208201905081810360008301526143588161431c565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006143bb602f83613858565b91506143c68261435f565b604082019050919050565b600060208201905081810360008301526143ea816143ae565b9050919050565b7f426c61636b6c6973746564000000000000000000000000000000000000000000600082015250565b6000614427600b83613858565b9150614432826143f1565b602082019050919050565b600060208201905081810360008301526144568161441a565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b6000614493601d83613858565b915061449e8261445d565b602082019050919050565b600060208201905081810360008301526144c281614486565b9050919050565b7f4d696e7420616d6f756e742065786365656473206d696e746572416c6c6f776160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b6000614525602383613858565b9150614530826144c9565b604082019050919050565b6000602082019050818103600083015261455481614518565b9050919050565b600061456682613966565b915061457183613966565b925082821015614584576145836140bb565b5b828203905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006145c5601083613858565b91506145d08261458f565b602082019050919050565b600060208201905081810360008301526145f4816145b8565b9050919050565b7f4275726e20616d6f756e74206e6f742067726561746572207468616e20300000600082015250565b6000614631601e83613858565b915061463c826145fb565b602082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b7f4d696e74657220616c6c6f77616e63652063616e6e6f7420626520646563726560008201527f617365642062656c6f7720300000000000000000000000000000000000000000602082015250565b60006146c3602c83613858565b91506146ce82614667565b604082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614755602583613858565b9150614760826146f9565b604082019050919050565b6000602082019050818103600083015261478481614748565b9050919050565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b60006147c1601d83613858565b91506147cc8261478b565b602082019050919050565b600060208201905081810360008301526147f0816147b4565b9050919050565b61480081613928565b82525050565b600060c08201905061481b6000830189613dab565b61482860208301886147f7565b61483560408301876147f7565b6148426060830186613ccb565b61484f6080830185613ccb565b61485c60a0830184613ccb565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b600061489d601e83613858565b91506148a882614867565b602082019050919050565b600060208201905081810360008301526148cc81614890565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061492f602483613858565b915061493a826148d3565b604082019050919050565b6000602082019050818103600083015261495e81614922565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006149c1602283613858565b91506149cc82614965565b604082019050919050565b600060208201905081810360008301526149f0816149b4565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614a53602583613858565b9150614a5e826149f7565b604082019050919050565b60006020820190508181036000830152614a8281614a46565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614ae5602383613858565b9150614af082614a89565b604082019050919050565b60006020820190508181036000830152614b1481614ad8565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614b5c601783614b1b565b9150614b6782614b26565b601782019050919050565b6000614b7d8261384d565b614b878185614b1b565b9350614b97818560208601613869565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614bd9601183614b1b565b9150614be482614ba3565b601182019050919050565b6000614bfa82614b4f565b9150614c068285614b72565b9150614c1182614bcc565b9150614c1d8284614b72565b91508190509392505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614c5f601d83613858565b9150614c6a82614c29565b602082019050919050565b60006020820190508181036000830152614c8e81614c52565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614ccb601483613858565b9150614cd682614c95565b602082019050919050565b60006020820190508181036000830152614cfa81614cbe565b9050919050565b6000602082019050614d1660008301846147f7565b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614d52601f83613858565b9150614d5d82614d1c565b602082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614de4602183613858565b9150614def82614d88565b604082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e76602283613858565b9150614e8182614e1a565b604082019050919050565b60006020820190508181036000830152614ea581614e69565b9050919050565b6000614eb782613966565b9150614ec283613966565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614efb57614efa6140bb565b5b828202905092915050565b6000614f1182613966565b91506000821415614f2557614f246140bb565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614f66602083613858565b9150614f7182614f30565b602082019050919050565b60006020820190508181036000830152614f9581614f59565b9050919050565b600060a082019050614fb16000830188613dab565b614fbe6020830187613dab565b614fcb6040830186613dab565b614fd86060830185613ccb565b614fe560808301846147f7565b9695505050505050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615025600283614b1b565b915061503082614fef565b600282019050919050565b6000819050919050565b61505661505182613d48565b61503b565b82525050565b600061506782615018565b91506150738285615045565b6020820191506150838284615045565b6020820191508190509392505050565b60006080820190506150a86000830187613dab565b6150b56020830186613e4f565b6150c26040830185613dab565b6150cf6060830184613dab565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061513d601883613858565b915061514882615107565b602082019050919050565b6000602082019050818103600083015261516c81615130565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006151a9601f83613858565b91506151b482615173565b602082019050919050565b600060208201905081810360008301526151d88161519c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061523b602283613858565b9150615246826151df565b604082019050919050565b6000602082019050818103600083015261526a8161522e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006152cd602283613858565b91506152d882615271565b604082019050919050565b600060208201905081810360008301526152fc816152c0565b905091905056fea2646970667358221220b591e4cfe53ac55975758fae0e69d3a7db1035c59b920d8c89266aef1407fdae64736f6c63430008090033000000000000000000000000e6b517b90ec8a0d1ac9b302d1505d3f30515420a
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106102745760003560e01c806362b199c511610151578063a217fddf116100c3578063be76ebe511610087578063be76ebe5146107eb578063d505accf1461081b578063d539139314610837578063d547741f14610855578063dd62ed3e14610871578063e63ab1e9146108a157610274565b8063a217fddf1461070d578063a2ded1151461072b578063a457c2d71461075b578063a9059cbb1461078b578063aa271e1a146107bb57610274565b80637ecebe00116101155780637ecebe00146106375780638456cb59146106675780638a6db9c31461067157806391a64e5f146106a157806391d14854146106bf57806395d89b41146106ef57610274565b806362b199c5146105915780636e1d616e146105af57806370a08231146105cd57806375b238fc146105fd57806379cc67901461061b57610274565b80633644e515116101ea57806340c10f19116101ae57806340c10f19146104bb57806342966c68146104d75780634e44d956146104f357806350a7e37414610523578063572b6c05146105435780635c975abb1461057357610274565b80633644e5151461042b57806336568abe146104495780633877e7021461046557806339509351146104815780633f4ba83a146104b157610274565b806318160ddd1161023c57806318160ddd1461034357806323b872dd14610361578063248a9ca3146103915780632f2ff15d146103c15780633092afd5146103dd578063313ce5671461040d57610274565b806301ffc9a71461027957806306fdde03146102a9578063095ea7b3146102c7578063153a1f3e146102f7578063153b0d1e14610327575b600080fd5b610293600480360381019061028e91906137ea565b6108bf565b6040516102a09190613832565b60405180910390f35b6102b1610939565b6040516102be91906138e6565b60405180910390f35b6102e160048036038101906102dc919061399c565b6109cb565b6040516102ee9190613832565b60405180910390f35b610311600480360381019061030c9190613be7565b6109ee565b60405161031e9190613832565b60405180910390f35b610341600480360381019061033c9190613c8b565b610b12565b005b61034b610c7c565b6040516103589190613cda565b60405180910390f35b61037b60048036038101906103769190613cf5565b610c86565b6040516103889190613832565b60405180910390f35b6103ab60048036038101906103a69190613d7e565b610cb5565b6040516103b89190613dba565b60405180910390f35b6103db60048036038101906103d69190613dd5565b610cd5565b005b6103f760048036038101906103f29190613e15565b610cfe565b6040516104049190613832565b60405180910390f35b610415610ea8565b6040516104229190613e5e565b60405180910390f35b610433610eb1565b6040516104409190613dba565b60405180910390f35b610463600480360381019061045e9190613dd5565b610ec0565b005b61047f600480360381019061047a9190613e79565b610f43565b005b61049b6004803603810190610496919061399c565b610f8f565b6040516104a89190613832565b60405180910390f35b6104b9611039565b005b6104d560048036038101906104d0919061399c565b611076565b005b6104f160048036038101906104ec9190613eb9565b6112e3565b005b61050d6004803603810190610508919061399c565b611486565b60405161051a9190613832565b60405180910390f35b61052b6115f7565b60405161053a93929190613ee6565b60405180910390f35b61055d60048036038101906105589190613e15565b611610565b60405161056a9190613832565b60405180910390f35b61057b611668565b6040516105889190613832565b60405180910390f35b61059961167f565b6040516105a69190613dba565b60405180910390f35b6105b76116a3565b6040516105c49190613dba565b60405180910390f35b6105e760048036038101906105e29190613e15565b6116c7565b6040516105f49190613cda565b60405180910390f35b61060561170f565b6040516106129190613dba565b60405180910390f35b6106356004803603810190610630919061399c565b611733565b005b610651600480360381019061064c9190613e15565b6118c6565b60405161065e9190613cda565b60405180910390f35b61066f611916565b005b61068b60048036038101906106869190613e15565b611953565b6040516106989190613cda565b60405180910390f35b6106a961199c565b6040516106b69190613dba565b60405180910390f35b6106d960048036038101906106d49190613dd5565b6119c0565b6040516106e69190613832565b60405180910390f35b6106f7611a2b565b60405161070491906138e6565b60405180910390f35b610715611abd565b6040516107229190613dba565b60405180910390f35b6107456004803603810190610740919061399c565b611ac4565b6040516107529190613832565b60405180910390f35b6107756004803603810190610770919061399c565b611d3c565b6040516107829190613832565b60405180910390f35b6107a560048036038101906107a0919061399c565b611e26565b6040516107b29190613832565b60405180910390f35b6107d560048036038101906107d09190613e15565b611e49565b6040516107e29190613832565b60405180910390f35b6108056004803603810190610800919061399c565b611e7c565b6040516108129190613832565b60405180910390f35b61083560048036038101906108309190613f49565b612072565b005b61083f6121b4565b60405161084c9190613dba565b60405180910390f35b61086f600480360381019061086a9190613dd5565b6121d8565b005b61088b60048036038101906108869190613feb565b612201565b6040516108989190613cda565b60405180910390f35b6108a9612288565b6040516108b69190613dba565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109325750610931826122e6565b5b9050919050565b6060600380546109489061405a565b80601f01602080910402602001604051908101604052809291908181526020018280546109749061405a565b80156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b5050505050905090565b6000806109d6612350565b90506109e381858561235f565b600191505092915050565b6000806109f9612350565b90508251845114610a0957600080fd5b600080600090505b8451811015610a5557848181518110610a2d57610a2c61408c565b5b602002602001015182610a4091906140ea565b91508080610a4d90614140565b915050610a11565b506000610a61836116c7565b905081811015610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d906141fb565b60405180910390fd5b60005b8651811015610b0457610af184888381518110610ac957610ac861408c565b5b6020026020010151888481518110610ae457610ae361408c565b5b602002602001015161252a565b8080610afc90614140565b915050610aa9565b506001935050505092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610b4481610b3f612350565b6127ab565b8115610be357610b747f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed846119c0565b15610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bab90614267565b60405180910390fd5b610bde7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed84612848565b610c77565b610c0d7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed846119c0565b610c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c43906142d3565b60405180910390fd5b610c767f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed84612929565b5b505050565b6000600254905090565b600080610c91612350565b9050610c9e858285612a0b565b610ca985858561252a565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b610cde82610cb5565b610cef81610cea612350565b6127ab565b610cf98383612848565b505050565b60007f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9610d3281610d2d612350565b6127ab565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db59061433f565b60405180910390fd5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a26001915050919050565b60006012905090565b6000610ebb612a97565b905090565b610ec8612350565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c906143d1565b60405180910390fd5b610f3f8282612929565b5050565b7f59a1c48e5837ad7a7f3dcedcbe129bf3249ec4fbf651fd4f5e2600ead39fe2f5610f7581610f70612350565b6127ab565b426008819055508260098190555081600a81905550505050565b600080610f9a612350565b905061102e818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461102991906140ea565b61235f565b600191505092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61106b81611066612350565b6127ab565b611073612bb1565b50565b6110a77f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed6110a2612350565b6119c0565b1580156110db57506110d97f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836119c0565b155b61111a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111119061443d565b60405180910390fd5b600b6000611126612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a49061433f565b60405180910390fd5b600081116111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e7906144a9565b60405180910390fd5b6000600c60006111fe612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508082111561127e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112759061453b565b60405180910390fd5b818161128a919061455b565b600c6000611296612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112de8383612c53565b505050565b6112eb611668565b1561132b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611322906145db565b60405180910390fd5b61135c7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed611357612350565b6119c0565b1561139c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113939061443d565b60405180910390fd5b600b60006113a8612350565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661142f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114269061433f565b60405180910390fd5b60008111611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146990614647565b60405180910390fd5b61148361147d612350565b82612db3565b50565b6000611490611668565b156114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c7906145db565b60405180910390fd5b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9611502816114fd612350565b6127ab565b6001600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff167f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20846040516115e49190613cda565b60405180910390a2600191505092915050565b6000806000600854600954600a54925092509250909192565b60007f000000000000000000000000e6b517b90ec8a0d1ac9b302d1505d3f30515420a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600560009054906101000a900460ff16905090565b7f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed81565b7f59a1c48e5837ad7a7f3dcedcbe129bf3249ec4fbf651fd4f5e2600ead39fe2f581565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6117647f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed61175f612350565b6119c0565b15801561179857506117967f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836119c0565b155b6117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce9061443d565b60405180910390fd5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a9061433f565b60405180910390fd5b600081116118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614647565b60405180910390fd5b6118b8826118b2612350565b83612a0b565b6118c28282612db3565b5050565b600061190f600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f8a565b9050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61194881611943612350565b6127ab565b611950612f98565b50565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c981565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054611a3a9061405a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a669061405a565b8015611ab35780601f10611a8857610100808354040283529160200191611ab3565b820191906000526020600020905b815481529060010190602001808311611a9657829003601f168201915b5050505050905090565b6000801b81565b6000611ace611668565b15611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b05906145db565b60405180910390fd5b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9611b4081611b3b612350565b6127ab565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc39061433f565b60405180910390fd5b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c45906146d9565b60405180910390fd5b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9d919061455b565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051611d299190613cda565b60405180910390a2600191505092915050565b600080611d47612350565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e049061476b565b60405180910390fd5b611e1a828686840361235f565b60019250505092915050565b600080611e31612350565b9050611e3e81858561252a565b600191505092915050565b6000611e757f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836119c0565b9050919050565b6000611e86611668565b15611ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebd906145db565b60405180910390fd5b7f4d722a319ebda03eb1179096607e87f360b089b3919a0d764a65ea950521a6c9611ef881611ef3612350565b6127ab565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b9061433f565b60405180910390fd5b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd391906140ea565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d20600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460405161205f9190613cda565b60405180910390a2600191505092915050565b834211156120b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ac906147d7565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886120e48c61303b565b896040516020016120fa96959493929190614806565b604051602081830303815290604052805190602001209050600061211d82613099565b9050600061212d828787876130b3565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906148b3565b60405180910390fd5b6121a88a8a8a61235f565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6121e182610cb5565b6121f2816121ed612350565b6127ab565b6121fc8383612929565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006122b733611610565b156122cb57601436033560601c90506122da565b6122d36122de565b90506122db565b5b90565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061235a6122ac565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c690614945565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561243f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612436906149d7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161251d9190613cda565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561259a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259190614a69565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561260a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260190614afb565b60405180910390fd5b6126158383836130de565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561269b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612692906141fb565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272e91906140ea565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127929190613cda565b60405180910390a36127a58484846131d3565b50505050565b6127b582826119c0565b612844576127da8173ffffffffffffffffffffffffffffffffffffffff1660146131d8565b6127e88360001c60206131d8565b6040516020016127f9929190614bef565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283b91906138e6565b60405180910390fd5b5050565b61285282826119c0565b6129255760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506128ca612350565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61293382826119c0565b15612a075760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129ac612350565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612a178484612201565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612a915781811015612a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7a90614c75565b60405180910390fd5b612a90848484840361235f565b5b50505050565b60007f00000000000000000000000096b562b07e5967762e5cfefc71fa01a478e5aa9873ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015612b1357507f000000000000000000000000000000000000000000000000000000000000aef346145b15612b40577f5743e7850c390a28a952f319c8af3e6983b3186113e643146c127915caefa5699050612bae565b612bab7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f18e052c86eee717b76e8592d1b88a4c97d369e21b60ba9179842a5c30734318f7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613414565b90505b90565b612bb9611668565b612bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bef90614ce1565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612c3c612350565b604051612c499190614d01565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cba90614d68565b60405180910390fd5b612ccf600083836130de565b8060026000828254612ce191906140ea565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d3691906140ea565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612d9b9190613cda565b60405180910390a3612daf600083836131d3565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614dfa565b60405180910390fd5b612e2f826000836130de565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eac90614e8c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612f0c919061455b565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f719190613cda565b60405180910390a3612f85836000846131d3565b505050565b600081600001549050919050565b612fa0611668565b15612fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd7906145db565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613024612350565b6040516130319190614d01565b60405180910390a1565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061308881612f8a565b91506130938161344e565b50919050565b60006130ac6130a6612a97565b83613464565b9050919050565b60008060006130c487878787613497565b915091506130d1816135a4565b8192505050949350505050565b6130e6611668565b15613126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311d906145db565b60405180910390fd5b6131507f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed846119c0565b15801561318457506131827f548c7f0307ab2a7ea894e5c7e8c5353cc750bb9385ee2e945f189a9a83daa8ed836119c0565b155b6131c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ba9061443d565b60405180910390fd5b6131ce838383613779565b505050565b505050565b6060600060028360026131eb9190614eac565b6131f591906140ea565b67ffffffffffffffff81111561320e5761320d6139e1565b5b6040519080825280601f01601f1916602001820160405280156132405781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132785761327761408c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106132dc576132db61408c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261331c9190614eac565b61332691906140ea565b90505b60018111156133c6577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133685761336761408c565b5b1a60f81b82828151811061337f5761337e61408c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806133bf90614f06565b9050613329565b506000841461340a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340190614f7c565b60405180910390fd5b8091505092915050565b6000838383463060405160200161342f959493929190614f9c565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b6000828260405160200161347992919061505c565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156134d257600060039150915061359b565b601b8560ff16141580156134ea5750601c8560ff1614155b156134fc57600060049150915061359b565b6000600187878787604051600081526020016040526040516135219493929190615093565b6020604051602081039080840390855afa158015613543573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135925760006001925092505061359b565b80600092509250505b94509492505050565b600060048111156135b8576135b76150d8565b5b8160048111156135cb576135ca6150d8565b5b14156135d657613776565b600160048111156135ea576135e96150d8565b5b8160048111156135fd576135fc6150d8565b5b141561363e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363590615153565b60405180910390fd5b60026004811115613652576136516150d8565b5b816004811115613665576136646150d8565b5b14156136a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369d906151bf565b60405180910390fd5b600360048111156136ba576136b96150d8565b5b8160048111156136cd576136cc6150d8565b5b141561370e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370590615251565b60405180910390fd5b600480811115613721576137206150d8565b5b816004811115613734576137336150d8565b5b1415613775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376c906152e3565b60405180910390fd5b5b50565b505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137c781613792565b81146137d257600080fd5b50565b6000813590506137e4816137be565b92915050565b600060208284031215613800576137ff613788565b5b600061380e848285016137d5565b91505092915050565b60008115159050919050565b61382c81613817565b82525050565b60006020820190506138476000830184613823565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561388757808201518184015260208101905061386c565b83811115613896576000848401525b50505050565b6000601f19601f8301169050919050565b60006138b88261384d565b6138c28185613858565b93506138d2818560208601613869565b6138db8161389c565b840191505092915050565b6000602082019050818103600083015261390081846138ad565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061393382613908565b9050919050565b61394381613928565b811461394e57600080fd5b50565b6000813590506139608161393a565b92915050565b6000819050919050565b61397981613966565b811461398457600080fd5b50565b60008135905061399681613970565b92915050565b600080604083850312156139b3576139b2613788565b5b60006139c185828601613951565b92505060206139d285828601613987565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a198261389c565b810181811067ffffffffffffffff82111715613a3857613a376139e1565b5b80604052505050565b6000613a4b61377e565b9050613a578282613a10565b919050565b600067ffffffffffffffff821115613a7757613a766139e1565b5b602082029050602081019050919050565b600080fd5b6000613aa0613a9b84613a5c565b613a41565b90508083825260208201905060208402830185811115613ac357613ac2613a88565b5b835b81811015613aec5780613ad88882613951565b845260208401935050602081019050613ac5565b5050509392505050565b600082601f830112613b0b57613b0a6139dc565b5b8135613b1b848260208601613a8d565b91505092915050565b600067ffffffffffffffff821115613b3f57613b3e6139e1565b5b602082029050602081019050919050565b6000613b63613b5e84613b24565b613a41565b90508083825260208201905060208402830185811115613b8657613b85613a88565b5b835b81811015613baf5780613b9b8882613987565b845260208401935050602081019050613b88565b5050509392505050565b600082601f830112613bce57613bcd6139dc565b5b8135613bde848260208601613b50565b91505092915050565b60008060408385031215613bfe57613bfd613788565b5b600083013567ffffffffffffffff811115613c1c57613c1b61378d565b5b613c2885828601613af6565b925050602083013567ffffffffffffffff811115613c4957613c4861378d565b5b613c5585828601613bb9565b9150509250929050565b613c6881613817565b8114613c7357600080fd5b50565b600081359050613c8581613c5f565b92915050565b60008060408385031215613ca257613ca1613788565b5b6000613cb085828601613951565b9250506020613cc185828601613c76565b9150509250929050565b613cd481613966565b82525050565b6000602082019050613cef6000830184613ccb565b92915050565b600080600060608486031215613d0e57613d0d613788565b5b6000613d1c86828701613951565b9350506020613d2d86828701613951565b9250506040613d3e86828701613987565b9150509250925092565b6000819050919050565b613d5b81613d48565b8114613d6657600080fd5b50565b600081359050613d7881613d52565b92915050565b600060208284031215613d9457613d93613788565b5b6000613da284828501613d69565b91505092915050565b613db481613d48565b82525050565b6000602082019050613dcf6000830184613dab565b92915050565b60008060408385031215613dec57613deb613788565b5b6000613dfa85828601613d69565b9250506020613e0b85828601613951565b9150509250929050565b600060208284031215613e2b57613e2a613788565b5b6000613e3984828501613951565b91505092915050565b600060ff82169050919050565b613e5881613e42565b82525050565b6000602082019050613e736000830184613e4f565b92915050565b60008060408385031215613e9057613e8f613788565b5b6000613e9e85828601613987565b9250506020613eaf85828601613987565b9150509250929050565b600060208284031215613ecf57613ece613788565b5b6000613edd84828501613987565b91505092915050565b6000606082019050613efb6000830186613ccb565b613f086020830185613ccb565b613f156040830184613ccb565b949350505050565b613f2681613e42565b8114613f3157600080fd5b50565b600081359050613f4381613f1d565b92915050565b600080600080600080600060e0888a031215613f6857613f67613788565b5b6000613f768a828b01613951565b9750506020613f878a828b01613951565b9650506040613f988a828b01613987565b9550506060613fa98a828b01613987565b9450506080613fba8a828b01613f34565b93505060a0613fcb8a828b01613d69565b92505060c0613fdc8a828b01613d69565b91505092959891949750929550565b6000806040838503121561400257614001613788565b5b600061401085828601613951565b925050602061402185828601613951565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061407257607f821691505b602082108114156140865761408561402b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140f582613966565b915061410083613966565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614135576141346140bb565b5b828201905092915050565b600061414b82613966565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561417e5761417d6140bb565b5b600182019050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006141e5602683613858565b91506141f082614189565b604082019050919050565b60006020820190508181036000830152614214816141d8565b9050919050565b7f416c726561647920626c61636b6c697374656400000000000000000000000000600082015250565b6000614251601383613858565b915061425c8261421b565b602082019050919050565b6000602082019050818103600083015261428081614244565b9050919050565b7f4e6f7420626c61636b6c69737465640000000000000000000000000000000000600082015250565b60006142bd600f83613858565b91506142c882614287565b602082019050919050565b600060208201905081810360008301526142ec816142b0565b9050919050565b7f4d696e746572206e6f7420636f6e666967757265640000000000000000000000600082015250565b6000614329601583613858565b9150614334826142f3565b602082019050919050565b600060208201905081810360008301526143588161431c565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006143bb602f83613858565b91506143c68261435f565b604082019050919050565b600060208201905081810360008301526143ea816143ae565b9050919050565b7f426c61636b6c6973746564000000000000000000000000000000000000000000600082015250565b6000614427600b83613858565b9150614432826143f1565b602082019050919050565b600060208201905081810360008301526144568161441a565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b6000614493601d83613858565b915061449e8261445d565b602082019050919050565b600060208201905081810360008301526144c281614486565b9050919050565b7f4d696e7420616d6f756e742065786365656473206d696e746572416c6c6f776160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b6000614525602383613858565b9150614530826144c9565b604082019050919050565b6000602082019050818103600083015261455481614518565b9050919050565b600061456682613966565b915061457183613966565b925082821015614584576145836140bb565b5b828203905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006145c5601083613858565b91506145d08261458f565b602082019050919050565b600060208201905081810360008301526145f4816145b8565b9050919050565b7f4275726e20616d6f756e74206e6f742067726561746572207468616e20300000600082015250565b6000614631601e83613858565b915061463c826145fb565b602082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b7f4d696e74657220616c6c6f77616e63652063616e6e6f7420626520646563726560008201527f617365642062656c6f7720300000000000000000000000000000000000000000602082015250565b60006146c3602c83613858565b91506146ce82614667565b604082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614755602583613858565b9150614760826146f9565b604082019050919050565b6000602082019050818103600083015261478481614748565b9050919050565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b60006147c1601d83613858565b91506147cc8261478b565b602082019050919050565b600060208201905081810360008301526147f0816147b4565b9050919050565b61480081613928565b82525050565b600060c08201905061481b6000830189613dab565b61482860208301886147f7565b61483560408301876147f7565b6148426060830186613ccb565b61484f6080830185613ccb565b61485c60a0830184613ccb565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b600061489d601e83613858565b91506148a882614867565b602082019050919050565b600060208201905081810360008301526148cc81614890565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061492f602483613858565b915061493a826148d3565b604082019050919050565b6000602082019050818103600083015261495e81614922565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006149c1602283613858565b91506149cc82614965565b604082019050919050565b600060208201905081810360008301526149f0816149b4565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614a53602583613858565b9150614a5e826149f7565b604082019050919050565b60006020820190508181036000830152614a8281614a46565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614ae5602383613858565b9150614af082614a89565b604082019050919050565b60006020820190508181036000830152614b1481614ad8565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614b5c601783614b1b565b9150614b6782614b26565b601782019050919050565b6000614b7d8261384d565b614b878185614b1b565b9350614b97818560208601613869565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614bd9601183614b1b565b9150614be482614ba3565b601182019050919050565b6000614bfa82614b4f565b9150614c068285614b72565b9150614c1182614bcc565b9150614c1d8284614b72565b91508190509392505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614c5f601d83613858565b9150614c6a82614c29565b602082019050919050565b60006020820190508181036000830152614c8e81614c52565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614ccb601483613858565b9150614cd682614c95565b602082019050919050565b60006020820190508181036000830152614cfa81614cbe565b9050919050565b6000602082019050614d1660008301846147f7565b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614d52601f83613858565b9150614d5d82614d1c565b602082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614de4602183613858565b9150614def82614d88565b604082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e76602283613858565b9150614e8182614e1a565b604082019050919050565b60006020820190508181036000830152614ea581614e69565b9050919050565b6000614eb782613966565b9150614ec283613966565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614efb57614efa6140bb565b5b828202905092915050565b6000614f1182613966565b91506000821415614f2557614f246140bb565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614f66602083613858565b9150614f7182614f30565b602082019050919050565b60006020820190508181036000830152614f9581614f59565b9050919050565b600060a082019050614fb16000830188613dab565b614fbe6020830187613dab565b614fcb6040830186613dab565b614fd86060830185613ccb565b614fe560808301846147f7565b9695505050505050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615025600283614b1b565b915061503082614fef565b600282019050919050565b6000819050919050565b61505661505182613d48565b61503b565b82525050565b600061506782615018565b91506150738285615045565b6020820191506150838284615045565b6020820191508190509392505050565b60006080820190506150a86000830187613dab565b6150b56020830186613e4f565b6150c26040830185613dab565b6150cf6060830184613dab565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061513d601883613858565b915061514882615107565b602082019050919050565b6000602082019050818103600083015261516c81615130565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006151a9601f83613858565b91506151b482615173565b602082019050919050565b600060208201905081810360008301526151d88161519c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061523b602283613858565b9150615246826151df565b604082019050919050565b6000602082019050818103600083015261526a8161522e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006152cd602283613858565b91506152d882615271565b604082019050919050565b600060208201905081810360008301526152fc816152c0565b905091905056fea2646970667358221220b591e4cfe53ac55975758fae0e69d3a7db1035c59b920d8c89266aef1407fdae64736f6c63430008090033