Address Details
contract
0x568EE75009950B15e9e91a9A99DedF749f3AcBBf
- Contract Name
- FactoryERC20NMNF
- Creator
- 0x067b6e–041cd7 at 0xe37274–fdb12f
- Balance
- 1.200000000000000075 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 130 Transactions
- Transfers
- 106 Transfers
- Gas Used
- 117,876,813
- Last Balance Update
- 11124002
Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- FactoryERC20NMNF
- Optimization enabled
- true
- Compiler version
- v0.8.10+commit.fc410830
- Optimization runs
- 25000
- EVM Version
- london
- Verified at
- 2022-04-28T15:04:39.658668Z
project:/contracts/token/FactoryERC20NMNF.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC20NMNF.sol"; contract FactoryERC20NMNF is Ownable, ReentrancyGuard { using SafeERC20 for IERC20; mapping (address => uint256[2]) public price; event NewContract(address contractAddress, uint8 contractType); function setPrice(address _token, uint256[2] calldata _price) external onlyOwner { price[_token] = _price; } function deployERC20PausableToken( address[2] calldata tokenToPayAndOwner, string calldata name, string calldata symbol, uint8 _decimals, address[] calldata owner, uint256[] calldata initSupply ) external nonReentrant { address addressInUse = tokenToPayAndOwner[0]; uint256 _price = price[addressInUse][0]; require(_price > 0, "Wrong payment method"); IERC20(addressInUse).safeTransferFrom(_msgSender(), address(this), _price); require(_decimals < 19, "Wrong decimals"); ERC20PausableToken token = new ERC20PausableToken( name, symbol, _decimals, owner, initSupply ); addressInUse = tokenToPayAndOwner[1]; token.transferOwnership(addressInUse); emit NewContract(address(token), 0); } function deployERC20BurnablePausableToken( address[2] calldata tokenToPayAndOwner, string calldata name, string calldata symbol, uint8 _decimals, address[] calldata owner, uint256[] calldata initSupply ) external nonReentrant { address addressInUse = tokenToPayAndOwner[0]; uint256 _price = price[addressInUse][1]; require(_price > 0, "Wrong payment method"); IERC20(addressInUse).safeTransferFrom(_msgSender(), address(this), _price); require(_decimals < 19, "Wrong decimals"); ERC20BurnablePausableToken token = new ERC20BurnablePausableToken( name, symbol, _decimals, owner, initSupply ); addressInUse = tokenToPayAndOwner[1]; token.transferOwnership(addressInUse); emit NewContract(address(token), 1); } function getToken(address _token) external onlyOwner { IERC20 token = IERC20(_token); token.safeTransfer(_msgSender(), token.balanceOf(address(this))); } }
/_openzeppelin/contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
/_openzeppelin/contracts/security/Pausable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
/_openzeppelin/contracts/security/ReentrancyGuard.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
/_openzeppelin/contracts/token/ERC20/ERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
/_openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
/_openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
/_openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } }
/_openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
/_openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
/_openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
/project_/contracts/token/ERC20NMNF.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract ERC20PausableAbstract is ERC20Pausable, Ownable { function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } } contract ERC20PausableToken is ERC20PausableAbstract { uint8 private decimalsOverride; constructor(string memory name, string memory symbol, uint8 _decimals, address[] memory owner, uint256[] memory initSupply) ERC20(name, symbol) { require(owner.length == initSupply.length, "Non-matching length"); for (uint256 i; i < owner.length; i++) { _mint(owner[i], initSupply[i]); } decimalsOverride = _decimals; } function decimals() public view override returns (uint8) { return decimalsOverride; } } contract ERC20BurnablePausableToken is ERC20Burnable, ERC20PausableAbstract { uint8 private decimalsOverride; constructor(string memory name, string memory symbol, uint8 _decimals, address[] memory owner, uint256[] memory initSupply) ERC20(name, symbol) { require(owner.length == initSupply.length, "Non-matching length"); for (uint256 i; i < owner.length; i++) { _mint(owner[i], initSupply[i]); } decimalsOverride = _decimals; } function decimals() public view override returns (uint8) { return decimalsOverride; } function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Pausable) { ERC20Pausable._beforeTokenTransfer(from, to, amount); } }
Contract ABI
[{"type":"event","name":"NewContract","inputs":[{"type":"address","name":"contractAddress","internalType":"address","indexed":false},{"type":"uint8","name":"contractType","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deployERC20BurnablePausableToken","inputs":[{"type":"address[2]","name":"tokenToPayAndOwner","internalType":"address[2]"},{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"},{"type":"uint8","name":"_decimals","internalType":"uint8"},{"type":"address[]","name":"owner","internalType":"address[]"},{"type":"uint256[]","name":"initSupply","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deployERC20PausableToken","inputs":[{"type":"address[2]","name":"tokenToPayAndOwner","internalType":"address[2]"},{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"},{"type":"uint8","name":"_decimals","internalType":"uint8"},{"type":"address[]","name":"owner","internalType":"address[]"},{"type":"uint256[]","name":"initSupply","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"getToken","inputs":[{"type":"address","name":"_token","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"price","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPrice","inputs":[{"type":"address","name":"_token","internalType":"address"},{"type":"uint256[2]","name":"_price","internalType":"uint256[2]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b5061001a33610023565b60018055610073565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b614aec806100826000396000f3fe60806040523480156200001157600080fd5b5060043610620000935760003560e01c80638da5cb5b11620000625780638da5cb5b14620000e95780639b8c7b4f1462000116578063ad9b8024146200012d578063f2fde38b146200015357600080fd5b806319cfe1e714620000985780635977043814620000b1578063715018a614620000c857806374759c2214620000d2575b600080fd5b620000af620000a93660046200108c565b6200016a565b005b620000af620000c2366004620010c5565b6200022b565b620000af62000368565b620000af620000e336600462001189565b620003f9565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b620000af6200012736600462001189565b620006f2565b620001446200013e36600462001286565b620009b7565b6040519081526020016200010d565b620000af62000164366004620010c5565b620009dd565b60005473ffffffffffffffffffffffffffffffffffffffff163314620001f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602081905260409091206200022691839062000fd4565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314620002ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001e8565b8062000364336040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156200031f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003459190620012b3565b73ffffffffffffffffffffffffffffffffffffffff8416919062000b13565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314620003eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001e8565b620003f7600062000be9565b565b6002600154141562000468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401620001e8565b600260015560006200047e60208c018c620010c5565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600260205260409020600101549091508062000513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57726f6e67207061796d656e74206d6574686f640000000000000000000000006044820152606401620001e8565b62000539335b73ffffffffffffffffffffffffffffffffffffffff841690308462000c5e565b60138760ff1610620005a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f57726f6e6720646563696d616c730000000000000000000000000000000000006044820152606401620001e8565b60008b8b8b8b8b8b8b8b8b604051620005c19062001017565b620005d59998979695949392919062001316565b604051809103906000f080158015620005f2573d6000803e3d6000fd5b5090506200060760408e0160208f01620010c5565b6040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff80831660048301529194509082169063f2fde38b90602401600060405180830381600087803b1580156200067557600080fd5b505af11580156200068a573d6000803e3d6000fd5b50506040805173ffffffffffffffffffffffffffffffffffffffff85168152600160208201527f6a52a393150c061e1a1d151cdb19dda10b47bde43e6dca17727226d75861a2db93500190505b60405180910390a15050600180555050505050505050505050565b6002600154141562000761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401620001e8565b600260015560006200077760208c018c620010c5565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600260205260409020549091508062000809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57726f6e67207061796d656e74206d6574686f640000000000000000000000006044820152606401620001e8565b620008143362000519565b60138760ff161062000883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f57726f6e6720646563696d616c730000000000000000000000000000000000006044820152606401620001e8565b60008b8b8b8b8b8b8b8b8b6040516200089c9062001025565b620008b09998979695949392919062001316565b604051809103906000f080158015620008cd573d6000803e3d6000fd5b509050620008e260408e0160208f01620010c5565b6040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff80831660048301529194509082169063f2fde38b90602401600060405180830381600087803b1580156200095057600080fd5b505af115801562000965573d6000803e3d6000fd5b50506040805173ffffffffffffffffffffffffffffffffffffffff85168152600060208201527f6a52a393150c061e1a1d151cdb19dda10b47bde43e6dca17727226d75861a2db9350019050620006d7565b60026020528160005260406000208160028110620009d457600080fd5b01549150829050565b60005473ffffffffffffffffffffffffffffffffffffffff16331462000a60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001e8565b73ffffffffffffffffffffffffffffffffffffffff811662000b05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401620001e8565b62000b108162000be9565b50565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052620002269084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915262000cc4565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905262000cbe9085907f23b872dd000000000000000000000000000000000000000000000000000000009060840162000b66565b50505050565b600062000d28826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1662000dd79092919063ffffffff16565b80519091501562000226578080602001905181019062000d499190620013f8565b62000226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401620001e8565b606062000de8848460008562000df2565b90505b9392505050565b60608247101562000e86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401620001e8565b843b62000ef0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001e8565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405162000f1b91906200144b565b60006040518083038185875af1925050503d806000811462000f5a576040519150601f19603f3d011682016040523d82523d6000602084013e62000f5f565b606091505b509150915062000f7182828662000f7c565b979650505050505050565b6060831562000f8d57508162000deb565b82511562000f9e5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001e8919062001469565b826002810192821562001005579160200282015b828111156200100557823582559160200191906001019062000fe8565b506200101392915062001033565b5090565b611cb480620014bd83390190565b611946806200317183390190565b5b8082111562001013576000815560010162001034565b803573ffffffffffffffffffffffffffffffffffffffff811681146200106f57600080fd5b919050565b80604081018310156200108657600080fd5b92915050565b60008060608385031215620010a057600080fd5b620010ab836200104a565b9150620010bc846020850162001074565b90509250929050565b600060208284031215620010d857600080fd5b62000deb826200104a565b60008083601f840112620010f657600080fd5b50813567ffffffffffffffff8111156200110f57600080fd5b6020830191508360208285010111156200112857600080fd5b9250929050565b803560ff811681146200106f57600080fd5b60008083601f8401126200115457600080fd5b50813567ffffffffffffffff8111156200116d57600080fd5b6020830191508360208260051b85010111156200112857600080fd5b60008060008060008060008060008060e08b8d031215620011a957600080fd5b620011b58c8c62001074565b995060408b013567ffffffffffffffff80821115620011d357600080fd5b620011e18e838f01620010e3565b909b50995060608d0135915080821115620011fb57600080fd5b620012098e838f01620010e3565b90995097508791506200121f60808e016200112f565b965060a08d01359150808211156200123657600080fd5b620012448e838f0162001141565b909650945060c08d01359150808211156200125e57600080fd5b506200126d8d828e0162001141565b915080935050809150509295989b9194979a5092959850565b600080604083850312156200129a57600080fd5b620012a5836200104a565b946020939093013593505050565b600060208284031215620012c657600080fd5b5051919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60a0815260006200132c60a083018b8d620012cd565b60208382038185015262001342828b8d620012cd565b60ff8a1660408601528481036060860152878152889250810160005b888110156200139b5773ffffffffffffffffffffffffffffffffffffffff62001387856200104a565b16825292820192908201906001016200135e565b5084810360808601528581527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff861115620013d557600080fd5b8560051b925082878383013760009201019081529b9a5050505050505050505050565b6000602082840312156200140b57600080fd5b8151801515811462000deb57600080fd5b60005b83811015620014395781810151838201526020016200141f565b8381111562000cbe5750506000910152565b600082516200145f8184602087016200141c565b9190910192915050565b60208152600082518060208401526200148a8160408501602087016200141c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe60806040523480156200001157600080fd5b5060405162001cb438038062001cb48339810160408190526200003491620005e9565b8451859085906200004d90600390602085019062000353565b5080516200006390600490602084019062000353565b50506005805460ff19169055506200007b3362000169565b8051825114620000d25760405162461bcd60e51b815260206004820152601360248201527f4e6f6e2d6d61746368696e67206c656e6774680000000000000000000000000060448201526064015b60405180910390fd5b60005b82518110156200013e5762000129838281518110620000f857620000f8620006bd565b6020026020010151838381518110620001155762000115620006bd565b6020026020010151620001c360201b60201c565b806200013581620006e9565b915050620000d5565b50506005805460ff909316600160a81b0260ff60a81b1990931692909217909155506200075f915050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200021b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000c9565b6200022960008383620002b6565b80600260008282546200023d919062000707565b90915550506001600160a01b038216600090815260208190526040812080548392906200026c90849062000707565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b620002ce838383620002d360201b620009c51760201c565b505050565b620002eb838383620002ce60201b6200070a1760201c565b60055460ff1615620002ce5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401620000c9565b828054620003619062000722565b90600052602060002090601f016020900481019282620003855760008555620003d0565b82601f10620003a057805160ff1916838001178555620003d0565b82800160010185558215620003d0579182015b82811115620003d0578251825591602001919060010190620003b3565b50620003de929150620003e2565b5090565b5b80821115620003de5760008155600101620003e3565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200043a576200043a620003f9565b604052919050565b600082601f8301126200045457600080fd5b81516001600160401b03811115620004705762000470620003f9565b602062000486601f8301601f191682016200040f565b82815285828487010111156200049b57600080fd5b60005b83811015620004bb5785810183015182820184015282016200049e565b83811115620004cd5760008385840101525b5095945050505050565b60006001600160401b03821115620004f357620004f3620003f9565b5060051b60200190565b600082601f8301126200050f57600080fd5b81516020620005286200052283620004d7565b6200040f565b82815260059290921b840181019181810190868411156200054857600080fd5b8286015b848110156200057c5780516001600160a01b03811681146200056e5760008081fd5b83529183019183016200054c565b509695505050505050565b600082601f8301126200059957600080fd5b81516020620005ac6200052283620004d7565b82815260059290921b84018101918181019086841115620005cc57600080fd5b8286015b848110156200057c5780518352918301918301620005d0565b600080600080600060a086880312156200060257600080fd5b85516001600160401b03808211156200061a57600080fd5b6200062889838a0162000442565b965060208801519150808211156200063f57600080fd5b6200064d89838a0162000442565b95506040880151915060ff821682146200066657600080fd5b6060880151919450808211156200067c57600080fd5b6200068a89838a01620004fd565b93506080880151915080821115620006a157600080fd5b50620006b08882890162000587565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007005762000700620006d3565b5060010190565b600082198211156200071d576200071d620006d3565b500190565b600181811c908216806200073757607f821691505b602082108114156200075957634e487b7160e01b600052602260045260246000fd5b50919050565b611545806200076f6000396000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c806370a08231116100cd57806395d89b4111610081578063a9059cbb11610066578063a9059cbb146102df578063dd62ed3e146102f2578063f2fde38b1461033857600080fd5b806395d89b41146102c4578063a457c2d7146102cc57600080fd5b806379cc6790116100b257806379cc6790146102665780638456cb59146102795780638da5cb5b1461028157600080fd5b806370a0823114610228578063715018a61461025e57600080fd5b8063313ce567116101245780633f4ba83a116101095780633f4ba83a1461020057806342966c681461020a5780635c975abb1461021d57600080fd5b8063313ce567146101bc57806339509351146101ed57600080fd5b806306fdde0314610156578063095ea7b31461017457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015e61034b565b60405161016b91906112ed565b60405180910390f35b610187610182366004611389565b6103dd565b604051901515815260200161016b565b6002545b60405190815260200161016b565b6101876101b73660046113b3565b6103f3565b6005547501000000000000000000000000000000000000000000900460ff1660405160ff909116815260200161016b565b6101876101fb366004611389565b6104de565b610208610527565b005b6102086102183660046113ef565b6105b8565b60055460ff16610187565b61019b610236366004611408565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6102086105c5565b610208610274366004611389565b610656565b61020861070f565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1660405173ffffffffffffffffffffffffffffffffffffffff909116815260200161016b565b61015e61079e565b6101876102da366004611389565b6107ad565b6101876102ed366004611389565b610885565b61019b61030036600461142a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b610208610346366004611408565b610892565b60606003805461035a9061145d565b80601f01602080910402602001604051908101604052809291908181526020018280546103869061145d565b80156103d35780601f106103a8576101008083540402835291602001916103d3565b820191906000526020600020905b8154815290600101906020018083116103b657829003601f168201915b5050505050905090565b60006103ea338484610a58565b50600192915050565b6000610400848484610c0b565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104d38533858403610a58565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916103ea9185906105229086906114e0565b610a58565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146105ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b6105b6610eca565b565b6105c23382610fab565b50565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b6105b660006111a4565b60006106628333610300565b9050818110156106f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6107008333848403610a58565b61070a8383610fab565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b6105b6611222565b60606004805461035a9061145d565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120548281101561086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104bd565b61087b3385858403610a58565b5060019392505050565b60006103ea338484610c0b565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b73ffffffffffffffffffffffffffffffffffffffff81166109bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104bd565b6105c2816111a4565b60055460ff161561070a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c65207061757365640000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8316610afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8216610b9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610cae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8216610d51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b610d5c8383836112e2565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610e12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e569084906114e0565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ebc91815260200190565b60405180910390a350505050565b60055460ff16610f36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016104bd565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b73ffffffffffffffffffffffffffffffffffffffff821661104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b61105a826000836112e2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061114c9084906114f8565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055460ff161561128f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016104bd565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f813390565b61070a8383836109c5565b600060208083528351808285015260005b8181101561131a578581018301518582016040015282016112fe565b8181111561132c576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461138457600080fd5b919050565b6000806040838503121561139c57600080fd5b6113a583611360565b946020939093013593505050565b6000806000606084860312156113c857600080fd5b6113d184611360565b92506113df60208501611360565b9150604084013590509250925092565b60006020828403121561140157600080fd5b5035919050565b60006020828403121561141a57600080fd5b61142382611360565b9392505050565b6000806040838503121561143d57600080fd5b61144683611360565b915061145460208401611360565b90509250929050565b600181811c9082168061147157607f821691505b602082108114156114ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156114f3576114f36114b1565b500190565b60008282101561150a5761150a6114b1565b50039056fea26469706673582212202091a158ba68bea387ccc369c28aebcd539fb8cb21a1fea498700745ec3aaa3864736f6c634300080a003360806040523480156200001157600080fd5b5060405162001946380380620019468339810160408190526200003491620005d1565b8451859085906200004d9060039060208501906200033b565b508051620000639060049060208401906200033b565b50506005805460ff19169055506200007b3362000169565b8051825114620000d25760405162461bcd60e51b815260206004820152601360248201527f4e6f6e2d6d61746368696e67206c656e6774680000000000000000000000000060448201526064015b60405180910390fd5b60005b82518110156200013e5762000129838281518110620000f857620000f8620006a5565b6020026020010151838381518110620001155762000115620006a5565b6020026020010151620001c360201b60201c565b806200013581620006d1565b915050620000d5565b50506005805460ff909316600160a81b0260ff60a81b19909316929092179091555062000747915050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200021b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000c9565b6200022960008383620002b6565b80600260008282546200023d9190620006ef565b90915550506001600160a01b038216600090815260208190526040812080548392906200026c908490620006ef565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b620002ce8383836200033660201b620008a61760201c565b60055460ff1615620003365760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401620000c9565b505050565b82805462000349906200070a565b90600052602060002090601f0160209004810192826200036d5760008555620003b8565b82601f106200038857805160ff1916838001178555620003b8565b82800160010185558215620003b8579182015b82811115620003b85782518255916020019190600101906200039b565b50620003c6929150620003ca565b5090565b5b80821115620003c65760008155600101620003cb565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004225762000422620003e1565b604052919050565b600082601f8301126200043c57600080fd5b81516001600160401b03811115620004585762000458620003e1565b60206200046e601f8301601f19168201620003f7565b82815285828487010111156200048357600080fd5b60005b83811015620004a357858101830151828201840152820162000486565b83811115620004b55760008385840101525b5095945050505050565b60006001600160401b03821115620004db57620004db620003e1565b5060051b60200190565b600082601f830112620004f757600080fd5b81516020620005106200050a83620004bf565b620003f7565b82815260059290921b840181019181810190868411156200053057600080fd5b8286015b84811015620005645780516001600160a01b0381168114620005565760008081fd5b835291830191830162000534565b509695505050505050565b600082601f8301126200058157600080fd5b81516020620005946200050a83620004bf565b82815260059290921b84018101918181019086841115620005b457600080fd5b8286015b84811015620005645780518352918301918301620005b8565b600080600080600060a08688031215620005ea57600080fd5b85516001600160401b03808211156200060257600080fd5b6200061089838a016200042a565b965060208801519150808211156200062757600080fd5b6200063589838a016200042a565b95506040880151915060ff821682146200064e57600080fd5b6060880151919450808211156200066457600080fd5b6200067289838a01620004e5565b935060808801519150808211156200068957600080fd5b5062000698888289016200056f565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620006e857620006e8620006bb565b5060010190565b60008219821115620007055762000705620006bb565b500190565b600181811c908216806200071f57607f821691505b602082108114156200074157634e487b7160e01b600052602260045260246000fd5b50919050565b6111ef80620007576000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c806370a08231116100b257806395d89b4111610081578063a9059cbb11610066578063a9059cbb14610283578063dd62ed3e14610296578063f2fde38b146102dc57600080fd5b806395d89b4114610268578063a457c2d71461027057600080fd5b806370a08231146101df578063715018a6146102155780638456cb591461021d5780638da5cb5b1461022557600080fd5b8063313ce567116100ee578063313ce5671461018657806339509351146101b75780633f4ba83a146101ca5780635c975abb146101d457600080fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610173575b600080fd5b6101286102ef565b6040516101359190610fcf565b60405180910390f35b61015161014c36600461106b565b610381565b6040519015158152602001610135565b6002545b604051908152602001610135565b610151610181366004611095565b610397565b6005547501000000000000000000000000000000000000000000900460ff1660405160ff9091168152602001610135565b6101516101c536600461106b565b610482565b6101d26104cb565b005b60055460ff16610151565b6101656101ed3660046110d1565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101d261055c565b6101d26105ed565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1660405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610135565b61012861067c565b61015161027e36600461106b565b61068b565b61015161029136600461106b565b610763565b6101656102a43660046110f3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101d26102ea3660046110d1565b610770565b6060600380546102fe90611126565b80601f016020809104026020016040519081016040528092919081815260200182805461032a90611126565b80156103775780601f1061034c57610100808354040283529160200191610377565b820191906000526020600020905b81548152906001019060200180831161035a57829003601f168201915b5050505050905090565b600061038e3384846108ab565b50600192915050565b60006103a4848484610a5e565b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020548281101561046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61047785338584036108ab565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161038e9185906104c690869061117a565b6108ab565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b61055a610d1d565b565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146105e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b61055a6000610dfe565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b61055a610e7c565b6060600480546102fe90611126565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120548281101561074c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610461565b61075933858584036108ab565b5060019392505050565b600061038e338484610a5e565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146107f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b73ffffffffffffffffffffffffffffffffffffffff811661089a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610461565b6108a381610dfe565b50565b505050565b73ffffffffffffffffffffffffffffffffffffffff831661094d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff82166109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610b01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff8216610ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610461565b610baf838383610f3c565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610c65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610ca990849061117a565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0f91815260200190565b60405180910390a350505050565b60055460ff16610d89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610461565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055460ff1615610ee9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610461565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dd43390565b60055460ff16156108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c6520706175736564000000000000000000000000000000000000000000006064820152608401610461565b600060208083528351808285015260005b81811015610ffc57858101830151858201604001528201610fe0565b8181111561100e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461106657600080fd5b919050565b6000806040838503121561107e57600080fd5b61108783611042565b946020939093013593505050565b6000806000606084860312156110aa57600080fd5b6110b384611042565b92506110c160208501611042565b9150604084013590509250925092565b6000602082840312156110e357600080fd5b6110ec82611042565b9392505050565b6000806040838503121561110657600080fd5b61110f83611042565b915061111d60208401611042565b90509250929050565b600181811c9082168061113a57607f821691505b60208210811415611174577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082198211156111b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50019056fea264697066735822122080fb5fc25ad0a54e70bbad8ea140ad0691e7cbf818903817626fc4ec3360621864736f6c634300080a0033a264697066735822122006a87399c7a387c0bbb8484acd96c8ad502ed5525ab66518b74333acba6fb31664736f6c634300080a0033
Deployed ByteCode
0x60806040523480156200001157600080fd5b5060043610620000935760003560e01c80638da5cb5b11620000625780638da5cb5b14620000e95780639b8c7b4f1462000116578063ad9b8024146200012d578063f2fde38b146200015357600080fd5b806319cfe1e714620000985780635977043814620000b1578063715018a614620000c857806374759c2214620000d2575b600080fd5b620000af620000a93660046200108c565b6200016a565b005b620000af620000c2366004620010c5565b6200022b565b620000af62000368565b620000af620000e336600462001189565b620003f9565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b620000af6200012736600462001189565b620006f2565b620001446200013e36600462001286565b620009b7565b6040519081526020016200010d565b620000af62000164366004620010c5565b620009dd565b60005473ffffffffffffffffffffffffffffffffffffffff163314620001f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602081905260409091206200022691839062000fd4565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314620002ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001e8565b8062000364336040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156200031f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003459190620012b3565b73ffffffffffffffffffffffffffffffffffffffff8416919062000b13565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314620003eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001e8565b620003f7600062000be9565b565b6002600154141562000468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401620001e8565b600260015560006200047e60208c018c620010c5565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600260205260409020600101549091508062000513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57726f6e67207061796d656e74206d6574686f640000000000000000000000006044820152606401620001e8565b62000539335b73ffffffffffffffffffffffffffffffffffffffff841690308462000c5e565b60138760ff1610620005a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f57726f6e6720646563696d616c730000000000000000000000000000000000006044820152606401620001e8565b60008b8b8b8b8b8b8b8b8b604051620005c19062001017565b620005d59998979695949392919062001316565b604051809103906000f080158015620005f2573d6000803e3d6000fd5b5090506200060760408e0160208f01620010c5565b6040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff80831660048301529194509082169063f2fde38b90602401600060405180830381600087803b1580156200067557600080fd5b505af11580156200068a573d6000803e3d6000fd5b50506040805173ffffffffffffffffffffffffffffffffffffffff85168152600160208201527f6a52a393150c061e1a1d151cdb19dda10b47bde43e6dca17727226d75861a2db93500190505b60405180910390a15050600180555050505050505050505050565b6002600154141562000761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401620001e8565b600260015560006200077760208c018c620010c5565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600260205260409020549091508062000809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57726f6e67207061796d656e74206d6574686f640000000000000000000000006044820152606401620001e8565b620008143362000519565b60138760ff161062000883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f57726f6e6720646563696d616c730000000000000000000000000000000000006044820152606401620001e8565b60008b8b8b8b8b8b8b8b8b6040516200089c9062001025565b620008b09998979695949392919062001316565b604051809103906000f080158015620008cd573d6000803e3d6000fd5b509050620008e260408e0160208f01620010c5565b6040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff80831660048301529194509082169063f2fde38b90602401600060405180830381600087803b1580156200095057600080fd5b505af115801562000965573d6000803e3d6000fd5b50506040805173ffffffffffffffffffffffffffffffffffffffff85168152600060208201527f6a52a393150c061e1a1d151cdb19dda10b47bde43e6dca17727226d75861a2db9350019050620006d7565b60026020528160005260406000208160028110620009d457600080fd5b01549150829050565b60005473ffffffffffffffffffffffffffffffffffffffff16331462000a60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001e8565b73ffffffffffffffffffffffffffffffffffffffff811662000b05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401620001e8565b62000b108162000be9565b50565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052620002269084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915262000cc4565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905262000cbe9085907f23b872dd000000000000000000000000000000000000000000000000000000009060840162000b66565b50505050565b600062000d28826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1662000dd79092919063ffffffff16565b80519091501562000226578080602001905181019062000d499190620013f8565b62000226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401620001e8565b606062000de8848460008562000df2565b90505b9392505050565b60608247101562000e86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401620001e8565b843b62000ef0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001e8565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405162000f1b91906200144b565b60006040518083038185875af1925050503d806000811462000f5a576040519150601f19603f3d011682016040523d82523d6000602084013e62000f5f565b606091505b509150915062000f7182828662000f7c565b979650505050505050565b6060831562000f8d57508162000deb565b82511562000f9e5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001e8919062001469565b826002810192821562001005579160200282015b828111156200100557823582559160200191906001019062000fe8565b506200101392915062001033565b5090565b611cb480620014bd83390190565b611946806200317183390190565b5b8082111562001013576000815560010162001034565b803573ffffffffffffffffffffffffffffffffffffffff811681146200106f57600080fd5b919050565b80604081018310156200108657600080fd5b92915050565b60008060608385031215620010a057600080fd5b620010ab836200104a565b9150620010bc846020850162001074565b90509250929050565b600060208284031215620010d857600080fd5b62000deb826200104a565b60008083601f840112620010f657600080fd5b50813567ffffffffffffffff8111156200110f57600080fd5b6020830191508360208285010111156200112857600080fd5b9250929050565b803560ff811681146200106f57600080fd5b60008083601f8401126200115457600080fd5b50813567ffffffffffffffff8111156200116d57600080fd5b6020830191508360208260051b85010111156200112857600080fd5b60008060008060008060008060008060e08b8d031215620011a957600080fd5b620011b58c8c62001074565b995060408b013567ffffffffffffffff80821115620011d357600080fd5b620011e18e838f01620010e3565b909b50995060608d0135915080821115620011fb57600080fd5b620012098e838f01620010e3565b90995097508791506200121f60808e016200112f565b965060a08d01359150808211156200123657600080fd5b620012448e838f0162001141565b909650945060c08d01359150808211156200125e57600080fd5b506200126d8d828e0162001141565b915080935050809150509295989b9194979a5092959850565b600080604083850312156200129a57600080fd5b620012a5836200104a565b946020939093013593505050565b600060208284031215620012c657600080fd5b5051919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60a0815260006200132c60a083018b8d620012cd565b60208382038185015262001342828b8d620012cd565b60ff8a1660408601528481036060860152878152889250810160005b888110156200139b5773ffffffffffffffffffffffffffffffffffffffff62001387856200104a565b16825292820192908201906001016200135e565b5084810360808601528581527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff861115620013d557600080fd5b8560051b925082878383013760009201019081529b9a5050505050505050505050565b6000602082840312156200140b57600080fd5b8151801515811462000deb57600080fd5b60005b83811015620014395781810151838201526020016200141f565b8381111562000cbe5750506000910152565b600082516200145f8184602087016200141c565b9190910192915050565b60208152600082518060208401526200148a8160408501602087016200141c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe60806040523480156200001157600080fd5b5060405162001cb438038062001cb48339810160408190526200003491620005e9565b8451859085906200004d90600390602085019062000353565b5080516200006390600490602084019062000353565b50506005805460ff19169055506200007b3362000169565b8051825114620000d25760405162461bcd60e51b815260206004820152601360248201527f4e6f6e2d6d61746368696e67206c656e6774680000000000000000000000000060448201526064015b60405180910390fd5b60005b82518110156200013e5762000129838281518110620000f857620000f8620006bd565b6020026020010151838381518110620001155762000115620006bd565b6020026020010151620001c360201b60201c565b806200013581620006e9565b915050620000d5565b50506005805460ff909316600160a81b0260ff60a81b1990931692909217909155506200075f915050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200021b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000c9565b6200022960008383620002b6565b80600260008282546200023d919062000707565b90915550506001600160a01b038216600090815260208190526040812080548392906200026c90849062000707565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b620002ce838383620002d360201b620009c51760201c565b505050565b620002eb838383620002ce60201b6200070a1760201c565b60055460ff1615620002ce5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401620000c9565b828054620003619062000722565b90600052602060002090601f016020900481019282620003855760008555620003d0565b82601f10620003a057805160ff1916838001178555620003d0565b82800160010185558215620003d0579182015b82811115620003d0578251825591602001919060010190620003b3565b50620003de929150620003e2565b5090565b5b80821115620003de5760008155600101620003e3565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200043a576200043a620003f9565b604052919050565b600082601f8301126200045457600080fd5b81516001600160401b03811115620004705762000470620003f9565b602062000486601f8301601f191682016200040f565b82815285828487010111156200049b57600080fd5b60005b83811015620004bb5785810183015182820184015282016200049e565b83811115620004cd5760008385840101525b5095945050505050565b60006001600160401b03821115620004f357620004f3620003f9565b5060051b60200190565b600082601f8301126200050f57600080fd5b81516020620005286200052283620004d7565b6200040f565b82815260059290921b840181019181810190868411156200054857600080fd5b8286015b848110156200057c5780516001600160a01b03811681146200056e5760008081fd5b83529183019183016200054c565b509695505050505050565b600082601f8301126200059957600080fd5b81516020620005ac6200052283620004d7565b82815260059290921b84018101918181019086841115620005cc57600080fd5b8286015b848110156200057c5780518352918301918301620005d0565b600080600080600060a086880312156200060257600080fd5b85516001600160401b03808211156200061a57600080fd5b6200062889838a0162000442565b965060208801519150808211156200063f57600080fd5b6200064d89838a0162000442565b95506040880151915060ff821682146200066657600080fd5b6060880151919450808211156200067c57600080fd5b6200068a89838a01620004fd565b93506080880151915080821115620006a157600080fd5b50620006b08882890162000587565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007005762000700620006d3565b5060010190565b600082198211156200071d576200071d620006d3565b500190565b600181811c908216806200073757607f821691505b602082108114156200075957634e487b7160e01b600052602260045260246000fd5b50919050565b611545806200076f6000396000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c806370a08231116100cd57806395d89b4111610081578063a9059cbb11610066578063a9059cbb146102df578063dd62ed3e146102f2578063f2fde38b1461033857600080fd5b806395d89b41146102c4578063a457c2d7146102cc57600080fd5b806379cc6790116100b257806379cc6790146102665780638456cb59146102795780638da5cb5b1461028157600080fd5b806370a0823114610228578063715018a61461025e57600080fd5b8063313ce567116101245780633f4ba83a116101095780633f4ba83a1461020057806342966c681461020a5780635c975abb1461021d57600080fd5b8063313ce567146101bc57806339509351146101ed57600080fd5b806306fdde0314610156578063095ea7b31461017457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015e61034b565b60405161016b91906112ed565b60405180910390f35b610187610182366004611389565b6103dd565b604051901515815260200161016b565b6002545b60405190815260200161016b565b6101876101b73660046113b3565b6103f3565b6005547501000000000000000000000000000000000000000000900460ff1660405160ff909116815260200161016b565b6101876101fb366004611389565b6104de565b610208610527565b005b6102086102183660046113ef565b6105b8565b60055460ff16610187565b61019b610236366004611408565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6102086105c5565b610208610274366004611389565b610656565b61020861070f565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1660405173ffffffffffffffffffffffffffffffffffffffff909116815260200161016b565b61015e61079e565b6101876102da366004611389565b6107ad565b6101876102ed366004611389565b610885565b61019b61030036600461142a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b610208610346366004611408565b610892565b60606003805461035a9061145d565b80601f01602080910402602001604051908101604052809291908181526020018280546103869061145d565b80156103d35780601f106103a8576101008083540402835291602001916103d3565b820191906000526020600020905b8154815290600101906020018083116103b657829003601f168201915b5050505050905090565b60006103ea338484610a58565b50600192915050565b6000610400848484610c0b565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104d38533858403610a58565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916103ea9185906105229086906114e0565b610a58565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146105ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b6105b6610eca565b565b6105c23382610fab565b50565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b6105b660006111a4565b60006106628333610300565b9050818110156106f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6107008333848403610a58565b61070a8383610fab565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b6105b6611222565b60606004805461035a9061145d565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120548281101561086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104bd565b61087b3385858403610a58565b5060019392505050565b60006103ea338484610c0b565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b73ffffffffffffffffffffffffffffffffffffffff81166109bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104bd565b6105c2816111a4565b60055460ff161561070a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c65207061757365640000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8316610afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8216610b9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610cae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8216610d51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b610d5c8383836112e2565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610e12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e569084906114e0565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ebc91815260200190565b60405180910390a350505050565b60055460ff16610f36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016104bd565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b73ffffffffffffffffffffffffffffffffffffffff821661104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b61105a826000836112e2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061114c9084906114f8565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055460ff161561128f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016104bd565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f813390565b61070a8383836109c5565b600060208083528351808285015260005b8181101561131a578581018301518582016040015282016112fe565b8181111561132c576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461138457600080fd5b919050565b6000806040838503121561139c57600080fd5b6113a583611360565b946020939093013593505050565b6000806000606084860312156113c857600080fd5b6113d184611360565b92506113df60208501611360565b9150604084013590509250925092565b60006020828403121561140157600080fd5b5035919050565b60006020828403121561141a57600080fd5b61142382611360565b9392505050565b6000806040838503121561143d57600080fd5b61144683611360565b915061145460208401611360565b90509250929050565b600181811c9082168061147157607f821691505b602082108114156114ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156114f3576114f36114b1565b500190565b60008282101561150a5761150a6114b1565b50039056fea26469706673582212202091a158ba68bea387ccc369c28aebcd539fb8cb21a1fea498700745ec3aaa3864736f6c634300080a003360806040523480156200001157600080fd5b5060405162001946380380620019468339810160408190526200003491620005d1565b8451859085906200004d9060039060208501906200033b565b508051620000639060049060208401906200033b565b50506005805460ff19169055506200007b3362000169565b8051825114620000d25760405162461bcd60e51b815260206004820152601360248201527f4e6f6e2d6d61746368696e67206c656e6774680000000000000000000000000060448201526064015b60405180910390fd5b60005b82518110156200013e5762000129838281518110620000f857620000f8620006a5565b6020026020010151838381518110620001155762000115620006a5565b6020026020010151620001c360201b60201c565b806200013581620006d1565b915050620000d5565b50506005805460ff909316600160a81b0260ff60a81b19909316929092179091555062000747915050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200021b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000c9565b6200022960008383620002b6565b80600260008282546200023d9190620006ef565b90915550506001600160a01b038216600090815260208190526040812080548392906200026c908490620006ef565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b620002ce8383836200033660201b620008a61760201c565b60055460ff1615620003365760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401620000c9565b505050565b82805462000349906200070a565b90600052602060002090601f0160209004810192826200036d5760008555620003b8565b82601f106200038857805160ff1916838001178555620003b8565b82800160010185558215620003b8579182015b82811115620003b85782518255916020019190600101906200039b565b50620003c6929150620003ca565b5090565b5b80821115620003c65760008155600101620003cb565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004225762000422620003e1565b604052919050565b600082601f8301126200043c57600080fd5b81516001600160401b03811115620004585762000458620003e1565b60206200046e601f8301601f19168201620003f7565b82815285828487010111156200048357600080fd5b60005b83811015620004a357858101830151828201840152820162000486565b83811115620004b55760008385840101525b5095945050505050565b60006001600160401b03821115620004db57620004db620003e1565b5060051b60200190565b600082601f830112620004f757600080fd5b81516020620005106200050a83620004bf565b620003f7565b82815260059290921b840181019181810190868411156200053057600080fd5b8286015b84811015620005645780516001600160a01b0381168114620005565760008081fd5b835291830191830162000534565b509695505050505050565b600082601f8301126200058157600080fd5b81516020620005946200050a83620004bf565b82815260059290921b84018101918181019086841115620005b457600080fd5b8286015b84811015620005645780518352918301918301620005b8565b600080600080600060a08688031215620005ea57600080fd5b85516001600160401b03808211156200060257600080fd5b6200061089838a016200042a565b965060208801519150808211156200062757600080fd5b6200063589838a016200042a565b95506040880151915060ff821682146200064e57600080fd5b6060880151919450808211156200066457600080fd5b6200067289838a01620004e5565b935060808801519150808211156200068957600080fd5b5062000698888289016200056f565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620006e857620006e8620006bb565b5060010190565b60008219821115620007055762000705620006bb565b500190565b600181811c908216806200071f57607f821691505b602082108114156200074157634e487b7160e01b600052602260045260246000fd5b50919050565b6111ef80620007576000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c806370a08231116100b257806395d89b4111610081578063a9059cbb11610066578063a9059cbb14610283578063dd62ed3e14610296578063f2fde38b146102dc57600080fd5b806395d89b4114610268578063a457c2d71461027057600080fd5b806370a08231146101df578063715018a6146102155780638456cb591461021d5780638da5cb5b1461022557600080fd5b8063313ce567116100ee578063313ce5671461018657806339509351146101b75780633f4ba83a146101ca5780635c975abb146101d457600080fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610173575b600080fd5b6101286102ef565b6040516101359190610fcf565b60405180910390f35b61015161014c36600461106b565b610381565b6040519015158152602001610135565b6002545b604051908152602001610135565b610151610181366004611095565b610397565b6005547501000000000000000000000000000000000000000000900460ff1660405160ff9091168152602001610135565b6101516101c536600461106b565b610482565b6101d26104cb565b005b60055460ff16610151565b6101656101ed3660046110d1565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101d261055c565b6101d26105ed565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1660405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610135565b61012861067c565b61015161027e36600461106b565b61068b565b61015161029136600461106b565b610763565b6101656102a43660046110f3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101d26102ea3660046110d1565b610770565b6060600380546102fe90611126565b80601f016020809104026020016040519081016040528092919081815260200182805461032a90611126565b80156103775780601f1061034c57610100808354040283529160200191610377565b820191906000526020600020905b81548152906001019060200180831161035a57829003601f168201915b5050505050905090565b600061038e3384846108ab565b50600192915050565b60006103a4848484610a5e565b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020548281101561046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61047785338584036108ab565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161038e9185906104c690869061117a565b6108ab565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b61055a610d1d565b565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146105e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b61055a6000610dfe565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314610674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b61055a610e7c565b6060600480546102fe90611126565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120548281101561074c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610461565b61075933858584036108ab565b5060019392505050565b600061038e338484610a5e565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146107f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610461565b73ffffffffffffffffffffffffffffffffffffffff811661089a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610461565b6108a381610dfe565b50565b505050565b73ffffffffffffffffffffffffffffffffffffffff831661094d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff82166109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610b01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff8216610ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610461565b610baf838383610f3c565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610c65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610461565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610ca990849061117a565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0f91815260200190565b60405180910390a350505050565b60055460ff16610d89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610461565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055460ff1615610ee9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610461565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dd43390565b60055460ff16156108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c6520706175736564000000000000000000000000000000000000000000006064820152608401610461565b600060208083528351808285015260005b81811015610ffc57858101830151858201604001528201610fe0565b8181111561100e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461106657600080fd5b919050565b6000806040838503121561107e57600080fd5b61108783611042565b946020939093013593505050565b6000806000606084860312156110aa57600080fd5b6110b384611042565b92506110c160208501611042565b9150604084013590509250925092565b6000602082840312156110e357600080fd5b6110ec82611042565b9392505050565b6000806040838503121561110657600080fd5b61110f83611042565b915061111d60208401611042565b90509250929050565b600181811c9082168061113a57607f821691505b60208210811415611174577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082198211156111b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50019056fea264697066735822122080fb5fc25ad0a54e70bbad8ea140ad0691e7cbf818903817626fc4ec3360621864736f6c634300080a0033a264697066735822122006a87399c7a387c0bbb8484acd96c8ad502ed5525ab66518b74333acba6fb31664736f6c634300080a0033