- Contract name:
- wVTRU
- Optimization enabled
- false
- Compiler version
- v0.8.17+commit.8df45f5f
- EVM Version
- london
- Verified at
- 2024-01-15T12:51:35.044952Z
Contract source code
// File: @openzeppelin/contracts@v4.9.3/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts@v4.9.3/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/contracts@v4.9.3/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts@v4.9.3/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File: contracts/wVTRU.sol pragma solidity 0.8.17; contract wVTRU is ERC20 { uint256 private wrappedBalance = 0; uint constant private SCALER = 10^6; constructor() ERC20("wVTRU", "wVTRU") { } function deposit() external payable {} function balances() view external returns(uint256, uint256, uint256) { return(totalSupply(), wrappedBalance, address(this).balance - wrappedBalance); } function wrap() external payable returns(uint256) { require(msg.value > 0, "Nothing to wrap"); wrappedBalance += msg.value; _mint(msg.sender, msg.value); return (msg.value); } function unwrap(uint256 amount) public returns(uint256, uint256, uint256) { require(amount > 0, "Nothing to unwrap"); require(balanceOf(msg.sender) >= amount, "Insufficient token balance"); // Burn the wVTRU tokens and reduce wrapped balance _burn(msg.sender, amount); // Calculate rebase balance if any uint256 rebaseBalance = address(this).balance - wrappedBalance; uint256 rebaseAmount = 0; // Calculate prorata share and rebase amount // scaling up to get more decimal digits if (rebaseBalance > 0) { uint256 rebaseShare = (amount * 100 * SCALER) / wrappedBalance; rebaseAmount = (rebaseBalance * rebaseShare) / (100 * SCALER); } // Decrease wrapped balance after calculations wrappedBalance -= amount; // Amount to send is unwrap amount and rebase amount uint256 totalAmount = amount + rebaseAmount; require(totalAmount <= address(this).balance, "Insufficient coin balance"); require(payable(msg.sender).send(totalAmount), "Unwrap failed"); return (totalAmount, amount, rebaseAmount); } function unwrapAll() external returns(uint256, uint256, uint256) { return unwrap(balanceOf(msg.sender)); } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"balances","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"deposit","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"unwrap","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"unwrapAll","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"wrap","inputs":[]}]
Deployed ByteCode
0x6080604052600436106100f35760003560e01c80637bb98a681161008a578063d0e30db011610059578063d0e30db01461036c578063d46eb11914610376578063dd62ed3e14610394578063de0e9a3e146103d1576100f3565b80637bb98a681461029a57806395d89b41146102c7578063a457c2d7146102f2578063a9059cbb1461032f576100f3565b8063313ce567116100c6578063313ce567146101c857806339509351146101f35780634982e3b71461023057806370a082311461025d576100f3565b806306fdde03146100f8578063095ea7b31461012357806318160ddd1461016057806323b872dd1461018b575b600080fd5b34801561010457600080fd5b5061010d610410565b60405161011a919061127f565b60405180910390f35b34801561012f57600080fd5b5061014a6004803603810190610145919061133a565b6104a2565b6040516101579190611395565b60405180910390f35b34801561016c57600080fd5b506101756104c5565b60405161018291906113bf565b60405180910390f35b34801561019757600080fd5b506101b260048036038101906101ad91906113da565b6104cf565b6040516101bf9190611395565b60405180910390f35b3480156101d457600080fd5b506101dd6104fe565b6040516101ea9190611449565b60405180910390f35b3480156101ff57600080fd5b5061021a6004803603810190610215919061133a565b610507565b6040516102279190611395565b60405180910390f35b34801561023c57600080fd5b5061024561053e565b60405161025493929190611464565b60405180910390f35b34801561026957600080fd5b50610284600480360381019061027f919061149b565b61055f565b60405161029191906113bf565b60405180910390f35b3480156102a657600080fd5b506102af6105a7565b6040516102be93929190611464565b60405180910390f35b3480156102d357600080fd5b506102dc6105d0565b6040516102e9919061127f565b60405180910390f35b3480156102fe57600080fd5b506103196004803603810190610314919061133a565b610662565b6040516103269190611395565b60405180910390f35b34801561033b57600080fd5b506103566004803603810190610351919061133a565b6106d9565b6040516103639190611395565b60405180910390f35b6103746106fc565b005b61037e6106fe565b60405161038b91906113bf565b60405180910390f35b3480156103a057600080fd5b506103bb60048036038101906103b691906114c8565b61076b565b6040516103c891906113bf565b60405180910390f35b3480156103dd57600080fd5b506103f860048036038101906103f39190611508565b6107f2565b60405161040793929190611464565b60405180910390f35b60606003805461041f90611564565b80601f016020809104026020016040519081016040528092919081815260200182805461044b90611564565b80156104985780601f1061046d57610100808354040283529160200191610498565b820191906000526020600020905b81548152906001019060200180831161047b57829003601f168201915b5050505050905090565b6000806104ad6109ef565b90506104ba8185856109f7565b600191505092915050565b6000600254905090565b6000806104da6109ef565b90506104e7858285610bc0565b6104f2858585610c4c565b60019150509392505050565b60006012905090565b6000806105126109ef565b9050610533818585610524858961076b565b61052e91906115c4565b6109f7565b600191505092915050565b600080600061055461054f3361055f565b6107f2565b925092509250909192565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060006105b46104c5565b600554600554476105c591906115f8565b925092509250909192565b6060600480546105df90611564565b80601f016020809104026020016040519081016040528092919081815260200182805461060b90611564565b80156106585780601f1061062d57610100808354040283529160200191610658565b820191906000526020600020905b81548152906001019060200180831161063b57829003601f168201915b5050505050905090565b60008061066d6109ef565b9050600061067b828661076b565b9050838110156106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b79061169e565b60405180910390fd5b6106cd82868684036109f7565b60019250505092915050565b6000806106e46109ef565b90506106f1818585610c4c565b600191505092915050565b565b6000803411610742576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107399061170a565b60405180910390fd5b346005600082825461075491906115c4565b925050819055506107653334610ec2565b34905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000808411610839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083090611776565b60405180910390fd5b836108433361055f565b1015610884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087b906117e2565b60405180910390fd5b61088e3385611018565b60006005544761089e91906115f8565b90506000808211156108fc576000600554600c6064896108be9190611802565b6108c89190611802565b6108d29190611873565b9050600c60646108e29190611802565b81846108ee9190611802565b6108f89190611873565b9150505b856005600082825461090e91906115f8565b925050819055506000818761092391906115c4565b905047811115610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095f906118f0565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d39061195c565b60405180910390fd5b8087839550955095505050509193909250565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5d906119ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc90611a80565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610bb391906113bf565b60405180910390a3505050565b6000610bcc848461076b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c465781811015610c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2f90611aec565b60405180910390fd5b610c4584848484036109f7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb290611b7e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2190611c10565b60405180910390fd5b610d358383836111e5565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db290611ca2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ea991906113bf565b60405180910390a3610ebc8484846111ea565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2890611d0e565b60405180910390fd5b610f3d600083836111e5565b8060026000828254610f4f91906115c4565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161100091906113bf565b60405180910390a3611014600083836111ea565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e90611da0565b60405180910390fd5b611093826000836111e5565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611119576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111090611e32565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111cc91906113bf565b60405180910390a36111e0836000846111ea565b505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561122957808201518184015260208101905061120e565b60008484015250505050565b6000601f19601f8301169050919050565b6000611251826111ef565b61125b81856111fa565b935061126b81856020860161120b565b61127481611235565b840191505092915050565b600060208201905081810360008301526112998184611246565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112d1826112a6565b9050919050565b6112e1816112c6565b81146112ec57600080fd5b50565b6000813590506112fe816112d8565b92915050565b6000819050919050565b61131781611304565b811461132257600080fd5b50565b6000813590506113348161130e565b92915050565b60008060408385031215611351576113506112a1565b5b600061135f858286016112ef565b925050602061137085828601611325565b9150509250929050565b60008115159050919050565b61138f8161137a565b82525050565b60006020820190506113aa6000830184611386565b92915050565b6113b981611304565b82525050565b60006020820190506113d460008301846113b0565b92915050565b6000806000606084860312156113f3576113f26112a1565b5b6000611401868287016112ef565b9350506020611412868287016112ef565b925050604061142386828701611325565b9150509250925092565b600060ff82169050919050565b6114438161142d565b82525050565b600060208201905061145e600083018461143a565b92915050565b600060608201905061147960008301866113b0565b61148660208301856113b0565b61149360408301846113b0565b949350505050565b6000602082840312156114b1576114b06112a1565b5b60006114bf848285016112ef565b91505092915050565b600080604083850312156114df576114de6112a1565b5b60006114ed858286016112ef565b92505060206114fe858286016112ef565b9150509250929050565b60006020828403121561151e5761151d6112a1565b5b600061152c84828501611325565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061157c57607f821691505b60208210810361158f5761158e611535565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006115cf82611304565b91506115da83611304565b92508282019050808211156115f2576115f1611595565b5b92915050565b600061160382611304565b915061160e83611304565b925082820390508181111561162657611625611595565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006116886025836111fa565b91506116938261162c565b604082019050919050565b600060208201905081810360008301526116b78161167b565b9050919050565b7f4e6f7468696e6720746f20777261700000000000000000000000000000000000600082015250565b60006116f4600f836111fa565b91506116ff826116be565b602082019050919050565b60006020820190508181036000830152611723816116e7565b9050919050565b7f4e6f7468696e6720746f20756e77726170000000000000000000000000000000600082015250565b60006117606011836111fa565b915061176b8261172a565b602082019050919050565b6000602082019050818103600083015261178f81611753565b9050919050565b7f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000600082015250565b60006117cc601a836111fa565b91506117d782611796565b602082019050919050565b600060208201905081810360008301526117fb816117bf565b9050919050565b600061180d82611304565b915061181883611304565b925082820261182681611304565b9150828204841483151761183d5761183c611595565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061187e82611304565b915061188983611304565b92508261189957611898611844565b5b828204905092915050565b7f496e73756666696369656e7420636f696e2062616c616e636500000000000000600082015250565b60006118da6019836111fa565b91506118e5826118a4565b602082019050919050565b60006020820190508181036000830152611909816118cd565b9050919050565b7f556e77726170206661696c656400000000000000000000000000000000000000600082015250565b6000611946600d836111fa565b915061195182611910565b602082019050919050565b6000602082019050818103600083015261197581611939565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006119d86024836111fa565b91506119e38261197c565b604082019050919050565b60006020820190508181036000830152611a07816119cb565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611a6a6022836111fa565b9150611a7582611a0e565b604082019050919050565b60006020820190508181036000830152611a9981611a5d565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611ad6601d836111fa565b9150611ae182611aa0565b602082019050919050565b60006020820190508181036000830152611b0581611ac9565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611b686025836111fa565b9150611b7382611b0c565b604082019050919050565b60006020820190508181036000830152611b9781611b5b565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611bfa6023836111fa565b9150611c0582611b9e565b604082019050919050565b60006020820190508181036000830152611c2981611bed565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611c8c6026836111fa565b9150611c9782611c30565b604082019050919050565b60006020820190508181036000830152611cbb81611c7f565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000611cf8601f836111fa565b9150611d0382611cc2565b602082019050919050565b60006020820190508181036000830152611d2781611ceb565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d8a6021836111fa565b9150611d9582611d2e565b604082019050919050565b60006020820190508181036000830152611db981611d7d565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000611e1c6022836111fa565b9150611e2782611dc0565b604082019050919050565b60006020820190508181036000830152611e4b81611e0f565b905091905056fea26469706673582212201b49fc2a92ab73a89fab89868eba582a6571538c0569d1329c924c3dad5cd15064736f6c63430008110033