Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- MintableReflectionToken
- Optimization enabled
- true
- Compiler version
- v0.8.9+commit.e5eed63a
- Optimization runs
- 88888
- EVM Version
- default
- Verified at
- 2023-05-25T15:49:22.873216Z
Constructor Arguments
0x00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc02000000000000000000000000a1077a294dde1b09bb078844df40758a5d0f9a2700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Arg [0] (string) :
Arg [1] (string) :
Arg [2] (address) : 0x0000000000000000000000000000000000000000
Arg [3] (address) : 0x98bf93ebf5c380c0e6ae8e192a7e2ae08edacc02
Arg [4] (address) : 0xa1077a294dde1b09bb078844df40758a5d0f9a27
contracts/MintableReflectionToken.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.9;
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { Initializable } from "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import { Address } from "@openzeppelin/contracts/utils/Address.sol";
import { IMintableToken } from "./IMintableToken.sol";
import { IUniswapV2Router } from "./IUniswapV2Router.sol";
import { IUniswapV2Factory } from "./IUniswapV2Factory.sol";
contract MintableReflectionToken is Initializable, Ownable, ERC20, IMintableToken
{
using Address for address;
using SafeERC20 for IERC20;
struct AccountInfo {
bool exists; // existence flag
bool excludeFromRewards; // whether or not receive rewards
uint256 activeBalance; // 0 or user's balance
uint256 rewardDebt; // base for reward distribution
uint256 unclaimedReward; // reward balance available for claim
}
address constant FURNACE = 0x000000000000000000000000000000000000dEaD;
uint256 constant BUY_FEE = 0.49e16; // 0.49%
uint256 constant SELL_FEE = 0.49e16; // 0.49%
uint256 constant DEFAULT_MINIMUM_FEE_BALANCE_TO_BUYBACK = 50e18; // 50 CHIPS
uint256 constant DEFAULT_MINIMUM_REWARD_BALANCE_TO_CLAIM = 10_000e18; // 10k CASINO
string private name_; // token name
string private symbol_; // token symbol
bool private inswap_; // internal flag to bypass additional token transfer logic
address public router; // PulseX router
address public pair; // CHIPS/WPLS liquidity pool on PulseX
address[] public path; // route from CHIPS to CASINO
uint256 public totalActiveSupply; // sum of active balances for all CHIPS holders
address public rewardToken; // CASINO
uint256 public rewardBalance; // tracked CASINO balance
uint256 public accRewardPerShare; // accumulated CASINO per share (double precision)
uint256 public minimumFeeBalanceToBuyback;
uint256 public minimumRewardBalanceToClaim;
address[] public accountIndex; // list of all accounts that ever received CHIPS
mapping(address => AccountInfo) public accountInfo; // account attributes
mapping(address => bool) public minters;
modifier onlyMinter
{
require(minters[msg.sender], "access denied");
_;
}
function name() public view override returns (string memory _name)
{
return name_;
}
function symbol() public view override returns (string memory _symbol)
{
return symbol_;
}
function accountIndexLength() external view returns (uint256 _length)
{
return accountIndex.length;
}
constructor(string memory _name, string memory _symbol, address _rewardToken, address _router, address _wrappedToken)
ERC20("", "")
{
initialize(msg.sender, _name, _symbol, _rewardToken, _router, _wrappedToken);
}
function initialize(address _owner, string memory _name, string memory _symbol, address _rewardToken, address _router, address _wrappedToken) public initializer
{
_transferOwnership(_owner);
name_ = _name;
symbol_ = _symbol;
inswap_ = false;
router = _router;
address _factory = IUniswapV2Router(_router).factory();
pair = IUniswapV2Factory(_factory).createPair(_wrappedToken, address(this));
path = new address[](3);
path[0] = address(this);
path[1] = _wrappedToken;
path[2] = _rewardToken;
totalActiveSupply = 0;
rewardToken = _rewardToken;
rewardBalance = 0;
accRewardPerShare = 0;
minimumFeeBalanceToBuyback = DEFAULT_MINIMUM_FEE_BALANCE_TO_BUYBACK;
minimumRewardBalanceToClaim = DEFAULT_MINIMUM_REWARD_BALANCE_TO_CLAIM;
_approve(address(this), _router, type(uint256).max);
}
function updateMinimumFeeBalanceToBuyback(uint256 _minimumFeeBalanceToBuyback) external onlyOwner
{
minimumFeeBalanceToBuyback = _minimumFeeBalanceToBuyback;
emit UpdateMinimumFeeBalanceToBuyback(_minimumFeeBalanceToBuyback);
}
function updateMinimumRewardBalanceToClaim(uint256 _minimumRewardBalanceToClaim) external onlyOwner
{
minimumRewardBalanceToClaim = _minimumRewardBalanceToClaim;
emit UpdateMinimumRewardBalanceToClaim(_minimumRewardBalanceToClaim);
}
function updateMinters(address[] memory _accounts, bool _enabled) external onlyOwner
{
for (uint256 _i = 0; _i < _accounts.length; _i++) {
minters[_accounts[_i]] = _enabled;
emit UpdateMinter(_accounts[_i], _enabled);
}
}
function mint(address _to, uint256 _amount) external onlyMinter
{
_mint(_to, _amount);
}
function updateExcludeFromRewards(bool _excludeFromRewards) external
{
_updateAccount(msg.sender);
AccountInfo storage _accountInfo = accountInfo[msg.sender];
_accountInfo.excludeFromRewards = _excludeFromRewards;
_postUpdateAccount(msg.sender);
emit UpdateExcludeFromRewards(msg.sender, _excludeFromRewards);
}
function _updateAccount(address _account) internal
{
AccountInfo storage _accountInfo = accountInfo[_account];
if (!_accountInfo.exists) {
accountIndex.push(_account);
_accountInfo.exists = true;
_accountInfo.excludeFromRewards = _account == FURNACE || _account.isContract();
_accountInfo.activeBalance = 0;
_accountInfo.rewardDebt = 0;
_accountInfo.unclaimedReward = 0;
return;
}
{
uint256 _activeBalance = _accountInfo.activeBalance;
if (_activeBalance > 0) {
uint256 _rewardDebt = _activeBalance * accRewardPerShare / 1e36;
uint256 _rewardAmount = _rewardDebt - _accountInfo.rewardDebt;
_accountInfo.unclaimedReward += _rewardAmount;
_accountInfo.rewardDebt = _rewardDebt;
}
}
{
uint256 _unclaimedReward = _accountInfo.unclaimedReward;
if (_unclaimedReward >= minimumRewardBalanceToClaim) {
_accountInfo.unclaimedReward = 0;
rewardBalance -= _unclaimedReward;
IERC20(rewardToken).safeTransfer(_account, _unclaimedReward);
}
}
}
function _postUpdateAccount(address _account) internal
{
AccountInfo storage _accountInfo = accountInfo[_account];
uint256 _oldActiveBalance = _accountInfo.activeBalance;
uint256 _newActiveBalance = _accountInfo.excludeFromRewards ? 0 : balanceOf(_account);
if (_newActiveBalance != _oldActiveBalance) {
_accountInfo.activeBalance = _newActiveBalance;
_accountInfo.rewardDebt = _newActiveBalance * accRewardPerShare / 1e36;
totalActiveSupply -= _oldActiveBalance;
totalActiveSupply += _newActiveBalance;
}
}
function _transfer(address _from, address _to, uint256 _amount) internal override
{
if (inswap_) {
// sell fee transfer
super._transfer(_from, _to, _amount);
return;
}
if (_from == pair) {
// buying
uint256 _feeAmount = _amount * BUY_FEE / 100e16;
super._transfer(_from, _to, _amount - _feeAmount);
super._transfer(_from, address(this), _feeAmount);
return;
}
if (_to == pair) {
// selling
uint256 _feeAmount = _amount * SELL_FEE / 100e16;
super._transfer(_from, _to, _amount - _feeAmount);
super._transfer(_from, address(this), _feeAmount);
return;
}
// regular transfer
super._transfer(_from, _to, _amount);
{
// piggyback buyback operation
uint256 _balance = balanceOf(address(this));
if (_balance >= minimumFeeBalanceToBuyback) {
inswap_ = true;
IUniswapV2Router(router).swapExactTokensForTokensSupportingFeeOnTransferTokens(_balance, 0, path, address(this), block.timestamp);
inswap_ = false;
if (totalActiveSupply > 0) {
uint256 _rewardBalance = IERC20(rewardToken).balanceOf(address(this));
uint256 _rewardAmount = _rewardBalance - rewardBalance;
if (_rewardAmount > 0) {
rewardBalance = _rewardBalance;
accRewardPerShare += _rewardAmount * 1e36 / totalActiveSupply;
}
}
}
}
}
function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal override
{
if (_from != address(0)) {
_updateAccount(_from);
}
if (_to != address(0)) {
_updateAccount(_to);
}
_amount; // silences warning
}
function _afterTokenTransfer(address _from, address _to, uint256 _amount) internal override
{
if (_from != address(0)) {
_postUpdateAccount(_from);
}
if (_to != address(0)) {
_postUpdateAccount(_to);
}
_amount; // silences warning
}
event UpdateMinimumFeeBalanceToBuyback(uint256 _minimumFeeBalanceToBuyback);
event UpdateMinimumRewardBalanceToClaim(uint256 _minimumRewardBalanceToClaim);
event UpdateMinter(address indexed _account, bool indexed _enabled);
event UpdateExcludeFromRewards(address indexed _account, bool indexed _excludeFromRewards);
}
contracts/IUniswapV2Router.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.9;
interface IUniswapV2Router
{
function factory() external view returns (address _factory);
function addLiquidityETH(address _token, uint256 _amountTokenDesired, uint256 _amountTokenMin, uint256 _amountETHMin, address _to, uint256 _deadline) external payable returns (uint256 _amountToken, uint256 _amountETH, uint256 _liquidity);
function swapExactETHForTokens(uint256 _amountOutMin, address[] calldata _path, address _to, uint256 _deadline) external payable returns (uint256[] memory _amounts);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 _amountIn, uint256 _amountOutMin, address[] calldata _path, address _to, uint256 _deadline) external;
}
@openzeppelin/contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)
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() {
_transferOwnership(_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 {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
@openzeppelin/contracts/proxy/utils/Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol)
pragma solidity ^0.8.0;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
* initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() initializer {}
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Modifier to protect an initializer function from being invoked twice.
*/
modifier initializer() {
require(_initializing || !_initialized, "Initializable: contract is already initialized");
bool isTopLevelCall = !_initializing;
if (isTopLevelCall) {
_initializing = true;
_initialized = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
}
}
}
@openzeppelin/contracts/token/ERC20/ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `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
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `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/IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)
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
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)
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
// OpenZeppelin Contracts v4.4.0 (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;
}
}
contracts/IMintableToken.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.9;
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface IMintableToken is IERC20
{
function mint(address _to, uint256 _amount) external;
}
contracts/IUniswapV2Factory.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.9;
interface IUniswapV2Factory
{
function getPair(address _tokenA, address _tokenB) external view returns (address _pair);
function createPair(address _tokenA, address _tokenB) external returns (address _pair);
}
Compiler Settings
{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers"]}},"optimizer":{"runs":88888,"enabled":true},"libraries":{}}
Contract ABI
[{"type":"constructor","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"address","name":"_rewardToken","internalType":"address"},{"type":"address","name":"_router","internalType":"address"},{"type":"address","name":"_wrappedToken","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"accRewardPerShare","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"accountIndex","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"_length","internalType":"uint256"}],"name":"accountIndexLength","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"exists","internalType":"bool"},{"type":"bool","name":"excludeFromRewards","internalType":"bool"},{"type":"uint256","name":"activeBalance","internalType":"uint256"},{"type":"uint256","name":"rewardDebt","internalType":"uint256"},{"type":"uint256","name":"unclaimedReward","internalType":"uint256"}],"name":"accountInfo","inputs":[{"type":"address","name":"","internalType":"address"}]},{"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":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"address","name":"_owner","internalType":"address"},{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"address","name":"_rewardToken","internalType":"address"},{"type":"address","name":"_router","internalType":"address"},{"type":"address","name":"_wrappedToken","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minimumFeeBalanceToBuyback","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minimumRewardBalanceToClaim","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_to","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"minters","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"_name","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"path","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"rewardBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"rewardToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"router","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"_symbol","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalActiveSupply","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":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateExcludeFromRewards","inputs":[{"type":"bool","name":"_excludeFromRewards","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMinimumFeeBalanceToBuyback","inputs":[{"type":"uint256","name":"_minimumFeeBalanceToBuyback","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMinimumRewardBalanceToClaim","inputs":[{"type":"uint256","name":"_minimumRewardBalanceToClaim","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMinters","inputs":[{"type":"address[]","name":"_accounts","internalType":"address[]"},{"type":"bool","name":"_enabled","internalType":"bool"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","indexed":true},{"type":"address","name":"spender","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","indexed":true},{"type":"address","name":"newOwner","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","indexed":true},{"type":"address","name":"to","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateExcludeFromRewards","inputs":[{"type":"address","name":"_account","indexed":true},{"type":"bool","name":"_excludeFromRewards","indexed":true}],"anonymous":false},{"type":"event","name":"UpdateMinimumFeeBalanceToBuyback","inputs":[{"type":"uint256","name":"_minimumFeeBalanceToBuyback","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateMinimumRewardBalanceToClaim","inputs":[{"type":"uint256","name":"_minimumRewardBalanceToClaim","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateMinter","inputs":[{"type":"address","name":"_account","indexed":true},{"type":"bool","name":"_enabled","indexed":true}],"anonymous":false}]
Contract Creation Code
0x60806040523480156200001157600080fd5b50604051620033dc380380620033dc833981016040819052620000349162000798565b604080516020808201835260008083528351918201909352918252906200005b33620000aa565b815162000070906004906020850190620005b0565b50805162000086906005906020840190620005b0565b5050506200009f3386868686866200010560201b60201c565b5050505050620008b2565b600080546001600160a01b038381166201000081810262010000600160b01b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b600054610100900460ff16806200011f575060005460ff16155b620001885760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b600054610100900460ff16158015620001ab576000805461ffff19166101011790555b620001b687620000aa565b8551620001cb906006906020890190620005b0565b508451620001e1906007906020880190620005b0565b50600880546001600160a81b0319166101006001600160a01b038616908102919091179091556040805163c45a015560e01b815290516000929163c45a0155916004808301926020929190829003018186803b1580156200024157600080fd5b505afa15801562000256573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027c91906200083a565b6040516364e329cb60e11b81526001600160a01b0385811660048301523060248301529192509082169063c9c6539690604401602060405180830381600087803b158015620002ca57600080fd5b505af1158015620002df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030591906200083a565b600980546001600160a01b0319166001600160a01b0392909216919091179055604080516003808252608082019092529060208201606080368337505081516200035792600a9250602001906200063f565b5030600a6000815481106200037057620003706200085f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a600181548110620003b657620003b66200085f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555084600a600281548110620003fc57620003fc6200085f565b6000918252602082200180546001600160a01b03199081166001600160a01b0394851617909155600b829055600c805490911692881692909217909155600d819055600e556802b5e3af16b1880000600f5569021e19e0c9bab24000006010556200046b308560001962000488565b5080156200047f576000805461ff00191690555b50505050505050565b6001600160a01b038316620004ec5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200017f565b6001600160a01b0382166200054f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200017f565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620005be9062000875565b90600052602060002090601f016020900481019282620005e257600085556200062d565b82601f10620005fd57805160ff19168380011785556200062d565b828001600101855582156200062d579182015b828111156200062d57825182559160200191906001019062000610565b506200063b92915062000697565b5090565b8280548282559060005260206000209081019282156200062d579160200282015b828111156200062d57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000660565b5b808211156200063b576000815560010162000698565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620006d657600080fd5b81516001600160401b0380821115620006f357620006f3620006ae565b604051601f8301601f19908116603f011681019082821181831017156200071e576200071e620006ae565b816040528381526020925086838588010111156200073b57600080fd5b600091505b838210156200075f578582018301518183018401529082019062000740565b83821115620007715760008385830101525b9695505050505050565b80516001600160a01b03811681146200079357600080fd5b919050565b600080600080600060a08688031215620007b157600080fd5b85516001600160401b0380821115620007c957600080fd5b620007d789838a01620006c4565b96506020880151915080821115620007ee57600080fd5b50620007fd88828901620006c4565b9450506200080e604087016200077b565b92506200081e606087016200077b565b91506200082e608087016200077b565b90509295509295909350565b6000602082840312156200084d57600080fd5b62000858826200077b565b9392505050565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806200088a57607f821691505b60208210811415620008ac57634e487b7160e01b600052602260045260246000fd5b50919050565b612b1a80620008c26000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c80638da5cb5b1161012a578063af6d1fe4116100bd578063f24c37a51161008c578063f46eccc411610071578063f46eccc4146104ff578063f7c618c114610522578063f887ea401461054257600080fd5b8063f24c37a5146104d9578063f2fde38b146104ec57600080fd5b8063af6d1fe414610464578063db8d8fc614610477578063dd62ed3e1461048a578063e36afe7a146104d057600080fd5b8063a7310b58116100f9578063a7310b58146103be578063a8aa1b3114610428578063a9059cbb14610448578063aa5c3ab41461045b57600080fd5b80638da5cb5b14610376578063939d62371461039a57806395d89b41146103a3578063a457c2d7146103ab57600080fd5b80633d0c1b33116101a257806370a082311161017157806370a082311461031c578063715018a614610352578063720692641461035a5780638b98faec1461036357600080fd5b80633d0c1b33146102e557806340c10f19146102f857806341632d331461030b57806354d3c1421461031357600080fd5b80632662c4c7116101de5780632662c4c714610276578063313ce5671461028b57806336f9825f1461029a57806339509351146102d257600080fd5b806306fdde0314610210578063095ea7b31461022e57806318160ddd1461025157806323b872dd14610263575b600080fd5b610218610567565b604051610225919061244a565b60405180910390f35b61024161023c3660046124bd565b6105f9565b6040519015158152602001610225565b6003545b604051908152602001610225565b6102416102713660046124e9565b61060f565b61028961028436600461252a565b6106fc565b005b60405160128152602001610225565b6102ad6102a836600461252a565b6107c0565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610225565b6102416102e03660046124bd565b6107f7565b6102896102f3366004612561565b610840565b6102896103063660046124bd565b6108c3565b601154610255565b610255600f5481565b61025561032a36600461257e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b61028961094a565b610255600b5481565b61028961037136600461252a565b6109de565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff166102ad565b610255600e5481565b610218610a9b565b6102416103b93660046124bd565b610aaa565b6103fe6103cc36600461257e565b601260205260009081526040902080546001820154600283015460039093015460ff8084169461010090940416929085565b6040805195151586529315156020860152928401919091526060830152608082015260a001610225565b6009546102ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6102416104563660046124bd565b610b82565b610255600d5481565b6102ad61047236600461252a565b610b8f565b6102896104853660046126a7565b610b9f565b610255610498366004612756565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b61025560105481565b6102896104e736600461278f565b611061565b6102896104fa36600461257e565b6111db565b61024161050d36600461257e565b60136020526000908152604090205460ff1681565b600c546102ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6008546102ad90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b60606006805461057690612853565b80601f01602080910402602001604051908101604052809291908181526020018280546105a290612853565b80156105ef5780601f106105c4576101008083540402835291602001916105ef565b820191906000526020600020905b8154815290600101906020018083116105d257829003601f168201915b5050505050905090565b6000610606338484611312565b50600192915050565b600061061c8484846114c5565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054828110156106e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6106ef8533858403611312565b60019150505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff62010000909104163314610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b600f8190556040518181527f8475c50d200e3af42f6bc18cbe68c1ea33f79dcfa922709417dc17145272dfbd906020015b60405180910390a150565b601181815481106107d057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161060691859061083b9086906128d6565b611312565b610849336117a6565b33600081815260126020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010084151502178155906108909061199e565b6040518215159033907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a35050565b3360009081526013602052604090205460ff1661093c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f6163636573732064656e6965640000000000000000000000000000000000000060448201526064016106d9565b6109468282611a7e565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff620100009091041633146109d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b6109dc6000611bb2565b565b60005473ffffffffffffffffffffffffffffffffffffffff62010000909104163314610a66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b60108190556040518181527fb76133b14a226dc12ee8b12a5241cf485550b2e4f271c44131122402ac4073ea906020016107b5565b60606007805461057690612853565b33600090815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015610b6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106d9565b610b783385858403611312565b5060019392505050565b60006106063384846114c5565b600a81815481106107d057600080fd5b600054610100900460ff1680610bb8575060005460ff16155b610c44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016106d9565b600054610100900460ff16158015610c8357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000166101011790555b610c8c87611bb2565b8551610c9f90600690602089019061230b565b508451610cb390600790602088019061230b565b50600880547fffffffffffffffffffffff0000000000000000000000000000000000000000001661010073ffffffffffffffffffffffffffffffffffffffff861690810291909117909155604080517fc45a015500000000000000000000000000000000000000000000000000000000815290516000929163c45a0155916004808301926020929190829003018186803b158015610d5057600080fd5b505afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8891906128ee565b6040517fc9c6539600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301523060248301529192509082169063c9c6539690604401602060405180830381600087803b158015610dfb57600080fd5b505af1158015610e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3391906128ee565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905560408051600380825260808201909252906020820160608036833750508151610ea892600a92506020019061238f565b5030600a600081548110610ebe57610ebe61290b565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a600181548110610f1b57610f1b61290b565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600a600281548110610f7857610f7861290b565b6000918252602082200180547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff94851617909155600b829055600c805490911692881692909217909155600d819055600e556802b5e3af16b1880000600f5569021e19e0c9bab240000060105561102830857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611312565b50801561105857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b50505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff620100009091041633146110e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b60005b82518110156111d657816013600085848151811061110c5761110c61290b565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081151583828151811061117a5761117a61290b565b602002602001015173ffffffffffffffffffffffffffffffffffffffff167fc6a23a0a2412457bc174b0b04538a04d162131389a2e6bafcb3c90d104004e1660405160405180910390a3806111ce8161293a565b9150506110ec565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff62010000909104163314611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b73ffffffffffffffffffffffffffffffffffffffff8116611306576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106d9565b61130f81611bb2565b50565b73ffffffffffffffffffffffffffffffffffffffff83166113b4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff8216611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60085460ff16156114db576111d6838383611c30565b60095473ffffffffffffffffffffffffffffffffffffffff8481169116141561154b576000670de0b6b3a764000061151a661168862766400084612973565b61152491906129b0565b905061153a848461153584866129eb565b611c30565b611545843083611c30565b50505050565b60095473ffffffffffffffffffffffffffffffffffffffff8381169116141561158a576000670de0b6b3a764000061151a661168862766400084612973565b611595838383611c30565b30600090815260016020526040902054600f548110611545576008805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090911617908190556040517f5c11d79500000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690635c11d7959061163e908490600090600a9030904290600401612a02565b600060405180830381600087803b15801561165857600080fd5b505af115801561166c573d6000803e3d6000fd5b5050600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555050600b541561154557600c546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561170a57600080fd5b505afa15801561171e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117429190612a92565b90506000600d548261175491906129eb565b9050801561179e57600d829055600b5461177d826ec097ce7bc90715b34b9f1000000000612973565b61178791906129b0565b600e600082825461179891906128d6565b90915550505b505050505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601260205260409020805460ff166118df5760118054600180820183556000929092527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851690811790915582547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117825561dead1480611896575073ffffffffffffffffffffffffffffffffffffffff82163b15155b8154901515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091161781556000600182018190556002820181905560039091015550565b6001810154801561194a5760006ec097ce7bc90715b34b9f1000000000600e548361190a9190612973565b61191491906129b0565b9050600083600201548261192891906129eb565b90508084600301600082825461193e91906128d6565b90915550505060028301555b50600381015460105481106111d6576000826003018190555080600d600082825461197591906129eb565b9091555050600c546111d69073ffffffffffffffffffffffffffffffffffffffff168483611ef4565b73ffffffffffffffffffffffffffffffffffffffff811660009081526012602052604081206001810154815491929091610100900460ff16611a055773ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054611a08565b60005b90508181146115455760018301819055600e546ec097ce7bc90715b34b9f100000000090611a369083612973565b611a4091906129b0565b836002018190555081600b6000828254611a5a91906129eb565b9250508190555080600b6000828254611a7391906128d6565b909155505050505050565b73ffffffffffffffffffffffffffffffffffffffff8216611afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106d9565b611b0760008383611f81565b8060036000828254611b1991906128d6565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081208054839290611b539084906128d6565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361094660008383611fcb565b6000805473ffffffffffffffffffffffffffffffffffffffff838116620100008181027fffffffffffffffffffff0000000000000000000000000000000000000000ffff851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b73ffffffffffffffffffffffffffffffffffffffff8316611cd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff8216611d76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106d9565b611d81838383611f81565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205481811015611e37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020526040808220858503905591851681529081208054849290611e7b9084906128d6565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ee191815260200190565b60405180910390a3611545848484611fcb565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526111d6908490612015565b73ffffffffffffffffffffffffffffffffffffffff831615611fa657611fa6836117a6565b73ffffffffffffffffffffffffffffffffffffffff8216156111d6576111d6826117a6565b73ffffffffffffffffffffffffffffffffffffffff831615611ff057611ff08361199e565b73ffffffffffffffffffffffffffffffffffffffff8216156111d6576111d68261199e565b6000612077826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121219092919063ffffffff16565b8051909150156111d657808060200190518101906120959190612aab565b6111d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106d9565b60606121308484600085612138565b949350505050565b6060824710156121ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106d9565b843b612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106d9565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161225b9190612ac8565b60006040518083038185875af1925050503d8060008114612298576040519150601f19603f3d011682016040523d82523d6000602084013e61229d565b606091505b50915091506122ad8282866122b8565b979650505050505050565b606083156122c75750816106f5565b8251156122d75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d9919061244a565b82805461231790612853565b90600052602060002090601f016020900481019282612339576000855561237f565b82601f1061235257805160ff191683800117855561237f565b8280016001018555821561237f579182015b8281111561237f578251825591602001919060010190612364565b5061238b929150612409565b5090565b82805482825590600052602060002090810192821561237f579160200282015b8281111561237f57825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9091161782556020909201916001909101906123af565b5b8082111561238b576000815560010161240a565b60005b83811015612439578181015183820152602001612421565b838111156115455750506000910152565b602081526000825180602084015261246981604085016020870161241e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461130f57600080fd5b600080604083850312156124d057600080fd5b82356124db8161249b565b946020939093013593505050565b6000806000606084860312156124fe57600080fd5b83356125098161249b565b925060208401356125198161249b565b929592945050506040919091013590565b60006020828403121561253c57600080fd5b5035919050565b801515811461130f57600080fd5b803561255c81612543565b919050565b60006020828403121561257357600080fd5b81356106f581612543565b60006020828403121561259057600080fd5b81356106f58161249b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156126115761261161259b565b604052919050565b600082601f83011261262a57600080fd5b813567ffffffffffffffff8111156126445761264461259b565b61267560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016125ca565b81815284602083860101111561268a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126c057600080fd5b86356126cb8161249b565b9550602087013567ffffffffffffffff808211156126e857600080fd5b6126f48a838b01612619565b9650604089013591508082111561270a57600080fd5b5061271789828a01612619565b94505060608701356127288161249b565b925060808701356127388161249b565b915060a08701356127488161249b565b809150509295509295509295565b6000806040838503121561276957600080fd5b82356127748161249b565b915060208301356127848161249b565b809150509250929050565b600080604083850312156127a257600080fd5b823567ffffffffffffffff808211156127ba57600080fd5b818501915085601f8301126127ce57600080fd5b81356020828211156127e2576127e261259b565b8160051b92506127f38184016125ca565b828152928401810192818101908985111561280d57600080fd5b948201945b8486101561283757853593506128278461249b565b8382529482019490820190612812565b96506128469050878201612551565b9450505050509250929050565b600181811c9082168061286757607f821691505b602082108114156128a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156128e9576128e96128a7565b500190565b60006020828403121561290057600080fd5b81516106f58161249b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561296c5761296c6128a7565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129ab576129ab6128a7565b500290565b6000826129e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000828210156129fd576129fd6128a7565b500390565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b81811015612a6457845473ffffffffffffffffffffffffffffffffffffffff1683526001948501949284019201612a32565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b600060208284031215612aa457600080fd5b5051919050565b600060208284031215612abd57600080fd5b81516106f581612543565b60008251612ada81846020870161241e565b919091019291505056fea264697066735822122000e2322db2d337295cffbb67e54b8e72d19ecdf983fa5357a3b0c1260e5ee0cf64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc02000000000000000000000000a1077a294dde1b09bb078844df40758a5d0f9a2700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed ByteCode
0x608060405234801561001057600080fd5b506004361061020b5760003560e01c80638da5cb5b1161012a578063af6d1fe4116100bd578063f24c37a51161008c578063f46eccc411610071578063f46eccc4146104ff578063f7c618c114610522578063f887ea401461054257600080fd5b8063f24c37a5146104d9578063f2fde38b146104ec57600080fd5b8063af6d1fe414610464578063db8d8fc614610477578063dd62ed3e1461048a578063e36afe7a146104d057600080fd5b8063a7310b58116100f9578063a7310b58146103be578063a8aa1b3114610428578063a9059cbb14610448578063aa5c3ab41461045b57600080fd5b80638da5cb5b14610376578063939d62371461039a57806395d89b41146103a3578063a457c2d7146103ab57600080fd5b80633d0c1b33116101a257806370a082311161017157806370a082311461031c578063715018a614610352578063720692641461035a5780638b98faec1461036357600080fd5b80633d0c1b33146102e557806340c10f19146102f857806341632d331461030b57806354d3c1421461031357600080fd5b80632662c4c7116101de5780632662c4c714610276578063313ce5671461028b57806336f9825f1461029a57806339509351146102d257600080fd5b806306fdde0314610210578063095ea7b31461022e57806318160ddd1461025157806323b872dd14610263575b600080fd5b610218610567565b604051610225919061244a565b60405180910390f35b61024161023c3660046124bd565b6105f9565b6040519015158152602001610225565b6003545b604051908152602001610225565b6102416102713660046124e9565b61060f565b61028961028436600461252a565b6106fc565b005b60405160128152602001610225565b6102ad6102a836600461252a565b6107c0565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610225565b6102416102e03660046124bd565b6107f7565b6102896102f3366004612561565b610840565b6102896103063660046124bd565b6108c3565b601154610255565b610255600f5481565b61025561032a36600461257e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b61028961094a565b610255600b5481565b61028961037136600461252a565b6109de565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff166102ad565b610255600e5481565b610218610a9b565b6102416103b93660046124bd565b610aaa565b6103fe6103cc36600461257e565b601260205260009081526040902080546001820154600283015460039093015460ff8084169461010090940416929085565b6040805195151586529315156020860152928401919091526060830152608082015260a001610225565b6009546102ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6102416104563660046124bd565b610b82565b610255600d5481565b6102ad61047236600461252a565b610b8f565b6102896104853660046126a7565b610b9f565b610255610498366004612756565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b61025560105481565b6102896104e736600461278f565b611061565b6102896104fa36600461257e565b6111db565b61024161050d36600461257e565b60136020526000908152604090205460ff1681565b600c546102ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6008546102ad90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b60606006805461057690612853565b80601f01602080910402602001604051908101604052809291908181526020018280546105a290612853565b80156105ef5780601f106105c4576101008083540402835291602001916105ef565b820191906000526020600020905b8154815290600101906020018083116105d257829003601f168201915b5050505050905090565b6000610606338484611312565b50600192915050565b600061061c8484846114c5565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054828110156106e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6106ef8533858403611312565b60019150505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff62010000909104163314610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b600f8190556040518181527f8475c50d200e3af42f6bc18cbe68c1ea33f79dcfa922709417dc17145272dfbd906020015b60405180910390a150565b601181815481106107d057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161060691859061083b9086906128d6565b611312565b610849336117a6565b33600081815260126020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010084151502178155906108909061199e565b6040518215159033907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a35050565b3360009081526013602052604090205460ff1661093c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f6163636573732064656e6965640000000000000000000000000000000000000060448201526064016106d9565b6109468282611a7e565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff620100009091041633146109d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b6109dc6000611bb2565b565b60005473ffffffffffffffffffffffffffffffffffffffff62010000909104163314610a66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b60108190556040518181527fb76133b14a226dc12ee8b12a5241cf485550b2e4f271c44131122402ac4073ea906020016107b5565b60606007805461057690612853565b33600090815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015610b6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106d9565b610b783385858403611312565b5060019392505050565b60006106063384846114c5565b600a81815481106107d057600080fd5b600054610100900460ff1680610bb8575060005460ff16155b610c44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016106d9565b600054610100900460ff16158015610c8357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000166101011790555b610c8c87611bb2565b8551610c9f90600690602089019061230b565b508451610cb390600790602088019061230b565b50600880547fffffffffffffffffffffff0000000000000000000000000000000000000000001661010073ffffffffffffffffffffffffffffffffffffffff861690810291909117909155604080517fc45a015500000000000000000000000000000000000000000000000000000000815290516000929163c45a0155916004808301926020929190829003018186803b158015610d5057600080fd5b505afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8891906128ee565b6040517fc9c6539600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301523060248301529192509082169063c9c6539690604401602060405180830381600087803b158015610dfb57600080fd5b505af1158015610e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3391906128ee565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905560408051600380825260808201909252906020820160608036833750508151610ea892600a92506020019061238f565b5030600a600081548110610ebe57610ebe61290b565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a600181548110610f1b57610f1b61290b565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600a600281548110610f7857610f7861290b565b6000918252602082200180547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff94851617909155600b829055600c805490911692881692909217909155600d819055600e556802b5e3af16b1880000600f5569021e19e0c9bab240000060105561102830857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611312565b50801561105857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b50505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff620100009091041633146110e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b60005b82518110156111d657816013600085848151811061110c5761110c61290b565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081151583828151811061117a5761117a61290b565b602002602001015173ffffffffffffffffffffffffffffffffffffffff167fc6a23a0a2412457bc174b0b04538a04d162131389a2e6bafcb3c90d104004e1660405160405180910390a3806111ce8161293a565b9150506110ec565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff62010000909104163314611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d9565b73ffffffffffffffffffffffffffffffffffffffff8116611306576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106d9565b61130f81611bb2565b50565b73ffffffffffffffffffffffffffffffffffffffff83166113b4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff8216611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60085460ff16156114db576111d6838383611c30565b60095473ffffffffffffffffffffffffffffffffffffffff8481169116141561154b576000670de0b6b3a764000061151a661168862766400084612973565b61152491906129b0565b905061153a848461153584866129eb565b611c30565b611545843083611c30565b50505050565b60095473ffffffffffffffffffffffffffffffffffffffff8381169116141561158a576000670de0b6b3a764000061151a661168862766400084612973565b611595838383611c30565b30600090815260016020526040902054600f548110611545576008805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090911617908190556040517f5c11d79500000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690635c11d7959061163e908490600090600a9030904290600401612a02565b600060405180830381600087803b15801561165857600080fd5b505af115801561166c573d6000803e3d6000fd5b5050600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555050600b541561154557600c546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561170a57600080fd5b505afa15801561171e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117429190612a92565b90506000600d548261175491906129eb565b9050801561179e57600d829055600b5461177d826ec097ce7bc90715b34b9f1000000000612973565b61178791906129b0565b600e600082825461179891906128d6565b90915550505b505050505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601260205260409020805460ff166118df5760118054600180820183556000929092527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851690811790915582547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117825561dead1480611896575073ffffffffffffffffffffffffffffffffffffffff82163b15155b8154901515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9091161781556000600182018190556002820181905560039091015550565b6001810154801561194a5760006ec097ce7bc90715b34b9f1000000000600e548361190a9190612973565b61191491906129b0565b9050600083600201548261192891906129eb565b90508084600301600082825461193e91906128d6565b90915550505060028301555b50600381015460105481106111d6576000826003018190555080600d600082825461197591906129eb565b9091555050600c546111d69073ffffffffffffffffffffffffffffffffffffffff168483611ef4565b73ffffffffffffffffffffffffffffffffffffffff811660009081526012602052604081206001810154815491929091610100900460ff16611a055773ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054611a08565b60005b90508181146115455760018301819055600e546ec097ce7bc90715b34b9f100000000090611a369083612973565b611a4091906129b0565b836002018190555081600b6000828254611a5a91906129eb565b9250508190555080600b6000828254611a7391906128d6565b909155505050505050565b73ffffffffffffffffffffffffffffffffffffffff8216611afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106d9565b611b0760008383611f81565b8060036000828254611b1991906128d6565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081208054839290611b539084906128d6565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361094660008383611fcb565b6000805473ffffffffffffffffffffffffffffffffffffffff838116620100008181027fffffffffffffffffffff0000000000000000000000000000000000000000ffff851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b73ffffffffffffffffffffffffffffffffffffffff8316611cd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff8216611d76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106d9565b611d81838383611f81565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205481811015611e37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106d9565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020526040808220858503905591851681529081208054849290611e7b9084906128d6565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ee191815260200190565b60405180910390a3611545848484611fcb565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526111d6908490612015565b73ffffffffffffffffffffffffffffffffffffffff831615611fa657611fa6836117a6565b73ffffffffffffffffffffffffffffffffffffffff8216156111d6576111d6826117a6565b73ffffffffffffffffffffffffffffffffffffffff831615611ff057611ff08361199e565b73ffffffffffffffffffffffffffffffffffffffff8216156111d6576111d68261199e565b6000612077826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121219092919063ffffffff16565b8051909150156111d657808060200190518101906120959190612aab565b6111d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106d9565b60606121308484600085612138565b949350505050565b6060824710156121ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106d9565b843b612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106d9565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161225b9190612ac8565b60006040518083038185875af1925050503d8060008114612298576040519150601f19603f3d011682016040523d82523d6000602084013e61229d565b606091505b50915091506122ad8282866122b8565b979650505050505050565b606083156122c75750816106f5565b8251156122d75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d9919061244a565b82805461231790612853565b90600052602060002090601f016020900481019282612339576000855561237f565b82601f1061235257805160ff191683800117855561237f565b8280016001018555821561237f579182015b8281111561237f578251825591602001919060010190612364565b5061238b929150612409565b5090565b82805482825590600052602060002090810192821561237f579160200282015b8281111561237f57825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9091161782556020909201916001909101906123af565b5b8082111561238b576000815560010161240a565b60005b83811015612439578181015183820152602001612421565b838111156115455750506000910152565b602081526000825180602084015261246981604085016020870161241e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461130f57600080fd5b600080604083850312156124d057600080fd5b82356124db8161249b565b946020939093013593505050565b6000806000606084860312156124fe57600080fd5b83356125098161249b565b925060208401356125198161249b565b929592945050506040919091013590565b60006020828403121561253c57600080fd5b5035919050565b801515811461130f57600080fd5b803561255c81612543565b919050565b60006020828403121561257357600080fd5b81356106f581612543565b60006020828403121561259057600080fd5b81356106f58161249b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156126115761261161259b565b604052919050565b600082601f83011261262a57600080fd5b813567ffffffffffffffff8111156126445761264461259b565b61267560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016125ca565b81815284602083860101111561268a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126c057600080fd5b86356126cb8161249b565b9550602087013567ffffffffffffffff808211156126e857600080fd5b6126f48a838b01612619565b9650604089013591508082111561270a57600080fd5b5061271789828a01612619565b94505060608701356127288161249b565b925060808701356127388161249b565b915060a08701356127488161249b565b809150509295509295509295565b6000806040838503121561276957600080fd5b82356127748161249b565b915060208301356127848161249b565b809150509250929050565b600080604083850312156127a257600080fd5b823567ffffffffffffffff808211156127ba57600080fd5b818501915085601f8301126127ce57600080fd5b81356020828211156127e2576127e261259b565b8160051b92506127f38184016125ca565b828152928401810192818101908985111561280d57600080fd5b948201945b8486101561283757853593506128278461249b565b8382529482019490820190612812565b96506128469050878201612551565b9450505050509250929050565b600181811c9082168061286757607f821691505b602082108114156128a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156128e9576128e96128a7565b500190565b60006020828403121561290057600080fd5b81516106f58161249b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561296c5761296c6128a7565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129ab576129ab6128a7565b500290565b6000826129e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000828210156129fd576129fd6128a7565b500390565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b81811015612a6457845473ffffffffffffffffffffffffffffffffffffffff1683526001948501949284019201612a32565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b600060208284031215612aa457600080fd5b5051919050565b600060208284031215612abd57600080fd5b81516106f581612543565b60008251612ada81846020870161241e565b919091019291505056fea264697066735822122000e2322db2d337295cffbb67e54b8e72d19ecdf983fa5357a3b0c1260e5ee0cf64736f6c63430008090033