More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,940 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19856308 | 229 days ago | IN | 0 ETH | 0.00027999 | ||||
Approve | 19630130 | 261 days ago | IN | 0 ETH | 0.00075993 | ||||
Permit | 19619215 | 263 days ago | IN | 0 ETH | 0.00243157 | ||||
Approve | 19405585 | 293 days ago | IN | 0 ETH | 0.00276147 | ||||
Approve | 18986618 | 351 days ago | IN | 0 ETH | 0.00065918 | ||||
Approve | 18986616 | 351 days ago | IN | 0 ETH | 0.00070125 | ||||
Approve | 18820409 | 375 days ago | IN | 0 ETH | 0.00247551 | ||||
Approve | 18784152 | 380 days ago | IN | 0 ETH | 0.00187048 | ||||
Approve | 18765996 | 382 days ago | IN | 0 ETH | 0.00178127 | ||||
Approve | 18741397 | 386 days ago | IN | 0 ETH | 0.00179859 | ||||
Approve | 18728439 | 388 days ago | IN | 0 ETH | 0.00319758 | ||||
Approve | 18720826 | 389 days ago | IN | 0 ETH | 0.00373531 | ||||
Approve | 18715816 | 389 days ago | IN | 0 ETH | 0.00210481 | ||||
Approve | 18706340 | 391 days ago | IN | 0 ETH | 0.00084431 | ||||
Approve | 18706089 | 391 days ago | IN | 0 ETH | 0.00072829 | ||||
Approve | 18705761 | 391 days ago | IN | 0 ETH | 0.00130356 | ||||
Approve | 18705119 | 391 days ago | IN | 0 ETH | 0.00061751 | ||||
Approve | 18705117 | 391 days ago | IN | 0 ETH | 0.00066307 | ||||
Approve | 18701711 | 391 days ago | IN | 0 ETH | 0.00180964 | ||||
Approve | 18698409 | 392 days ago | IN | 0 ETH | 0.00070366 | ||||
Approve | 18698402 | 392 days ago | IN | 0 ETH | 0.00061533 | ||||
Approve | 18698129 | 392 days ago | IN | 0 ETH | 0.00074555 | ||||
Approve | 18694495 | 392 days ago | IN | 0 ETH | 0.00205208 | ||||
Approve | 18693042 | 393 days ago | IN | 0 ETH | 0.0020636 | ||||
Approve | 18692987 | 393 days ago | IN | 0 ETH | 0.00314258 |
Latest 3 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18613459 | 404 days ago | 45.0180614 ETH | ||||
18613459 | 404 days ago | 29.98193859 ETH | ||||
18591936 | 407 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
PepaInu
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {ERC20Permit} from "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; import {ERC20UniswapV2InternalSwaps} from "./erc20/ERC20UniswapV2InternalSwaps.sol"; contract PepaInu is ERC20, ERC20Permit, Ownable, ERC20UniswapV2InternalSwaps { /** @notice The presale states. */ enum PresaleState { NONE, OPEN_FOR_WHITELIST, OPEN_FOR_PUBLIC, CLOSED, COMPLETED } /** @notice Percentage of supply to burn (50%). */ uint256 public constant SHARE_BURN = 50_00; /** @notice Percentage of supply allocated for presale participants (33.22%). */ uint256 public constant SHARE_PRESALE = 33_22; /** @notice Percentage of supply allocated for initial liquidity (13.28%).*/ uint256 public constant SHARE_LIQUIDITY = 13_28; /** @notice Percentage of supply allocated for team, marketing, cex listings, etc. (3.5%). */ uint256 public constant SHARE_OTHER = 3_50; /** @notice Hardcap in ETH for presale (75 ETH). */ uint256 public constant PRESALE_HARDCAP = 75 ether; /** @notice Per account limit in ETH for presale (0.15 ETH). */ uint256 public constant PRESALE_ACCOUNT_LIMIT = 0.15 ether; /** @notice Minimum threshold in ETH to trigger #_swapTokens. */ uint256 public constant SWAP_THRESHOLD_ETH_MIN = 0.005 ether; /** @notice Maximum threshold in ETH to trigger #_swapTokens. */ uint256 public constant SWAP_THRESHOLD_ETH_MAX = 50 ether; /** @notice Transfer tax in BPS (2%), not changeable. */ uint256 public constant TAX_BPS = 2_00; uint8 private constant _DECIMALS = 9; uint256 private constant _MAX_SUPPLY = 420_000_000_000_000_000 * (10 ** _DECIMALS); uint256 private constant _SUPPLY_PRESALE = (_MAX_SUPPLY * SHARE_PRESALE) / 100_00; uint256 private constant _SUPPLY_LIQUIDITY = (_MAX_SUPPLY * SHARE_LIQUIDITY) / 100_00; uint256 private constant _SUPPLY_BURN = (_MAX_SUPPLY * SHARE_BURN) / 100_00; uint256 private constant _SUPPLY_OTHER = _MAX_SUPPLY - _SUPPLY_PRESALE - _SUPPLY_LIQUIDITY - _SUPPLY_BURN; /** @notice Tax recipient wallet. */ address public taxRecipient; /** @notice Whether address is extempt from transfer tax. */ mapping(address => bool) public taxFreeAccount; /** @notice Whether address is an exchange pool. */ mapping(address => bool) public isExchangePool; /** @notice Threshold in ETH of tokens to collect before triggering #_swapTokens. */ uint256 public swapThresholdEth = 0.1 ether; /** @notice Tax manager. */ address public taxManager; /** @notice Presale commitment in ETH per address. */ mapping(address => uint256) public commitment; /** @notice Presale amount of claimed tokens per address. */ mapping(address => uint256) public claimedTokens; /** @notice Whether address is whitelisted for early presale access. */ mapping(address => bool) public presaleWhitelist; /** @notice Presale total commitment in ETH. */ uint256 public totalCommitments; /** @notice Presale total amount of claimed tokens. */ uint256 public totalClaimed; /** @notice Current presale state. */ PresaleState public presaleState; uint256 private _launchTaxEndsAt = type(uint256).max; event CommitedToPresale(address indexed account, uint256 amount); event PresaleOpened(); event PublicPresaleOpened(); event PresaleClosed(uint256 totalCommitments); event PresaleCompleted(uint256 totalCommitments); event PresaleClaimed(address indexed account, uint256 amount); event TaxRecipientChanged(address indexed taxRecipient); event SwapThresholdChanged(uint256 swapThresholdEth); event TaxFreeStateChanged(address indexed account, bool indexed taxFree); event ExchangePoolStateChanged( address indexed account, bool indexed isExchangePool ); event TaxManagerChanged(address indexed taxManager); event TaxesWithdrawn(uint256 amount); error MaxAccountLimitExceeded(); error HardcapExceeded(); error PresaleIsClosed(); error PresaleNotCompleted(); error AlreadyClaimed(); error NoCommittments(); error NothingCommitted(); error Unauthorized(); error InvalidParameters(); error InvalidSwapThreshold(); error InvalidTax(); error NoContract(); error InvalidState(); error NotWhitelistedForPresale(); modifier onlyTaxManager() { if (msg.sender != taxManager) { revert Unauthorized(); } _; } constructor( address _owner, address _taxRecipient, address _taxManager, address _router ) ERC20("Pepa Inu", "PEPA") ERC20Permit("Pepa Inu") ERC20UniswapV2InternalSwaps(_router) { _transferOwnership(_owner); taxManager = _taxManager; emit TaxManagerChanged(_taxManager); taxRecipient = _taxRecipient; emit TaxRecipientChanged(_taxRecipient); taxFreeAccount[address(0)] = true; emit TaxFreeStateChanged(address(0), true); taxFreeAccount[_taxRecipient] = true; emit TaxFreeStateChanged(_taxRecipient, true); taxFreeAccount[address(this)] = true; emit TaxFreeStateChanged(address(this), true); isExchangePool[pair] = true; emit ExchangePoolStateChanged(pair, true); _mint(address(this), _SUPPLY_PRESALE + _SUPPLY_LIQUIDITY); _mint(address(0xdead), _SUPPLY_BURN); _mint(_taxRecipient, _SUPPLY_OTHER); } /** @dev Users can send ETH directly to **this** contract to participate */ receive() external payable { commitToPresale(); } // *** User Interface *** /** * @notice Commit ETH to presale. * Presale supply is claimable proportionally for all presale participants. * Presale has no hardcap and 1 ETH per wallet limit. * Users can also send ETH directly to **this** contract to participate. * @dev Callable once presaleOpen. */ function commitToPresale() public payable { address account = msg.sender; if (_isContract(account)) { revert NoContract(); } if ( presaleState == PresaleState.OPEN_FOR_WHITELIST && !presaleWhitelist[account] ) { revert NotWhitelistedForPresale(); } if ( presaleState != PresaleState.OPEN_FOR_WHITELIST && presaleState != PresaleState.OPEN_FOR_PUBLIC ) { revert PresaleIsClosed(); } commitment[account] += msg.value; totalCommitments += msg.value; if (totalCommitments > PRESALE_HARDCAP) { revert HardcapExceeded(); } if (commitment[account] > PRESALE_ACCOUNT_LIMIT) { revert MaxAccountLimitExceeded(); } emit CommitedToPresale(account, msg.value); } /** * @notice Claim callers presale tokens. * @dev Callable once presaleCompleted. */ function claimPresale() external { address account = msg.sender; if (_isContract(account)) { revert NoContract(); } if (presaleState != PresaleState.COMPLETED) { revert PresaleNotCompleted(); } if (commitment[account] == 0) { revert NothingCommitted(); } if (claimedTokens[account] != 0) { revert AlreadyClaimed(); } uint256 amountTokens = (_SUPPLY_PRESALE * commitment[account]) / totalCommitments; claimedTokens[account] = amountTokens; totalClaimed += amountTokens; _transferFromContractBalance(account, amountTokens); emit PresaleClaimed(account, amountTokens); } /** @notice Returns amount of tokens to be claimed by presale participants. */ function unclaimedSupply() external view returns (uint256) { return _SUPPLY_PRESALE - totalClaimed; } // *** Owner Interface *** /** * @notice Whitelist wallet addresses for ealry presale access. * @param accounts accounts to whitelist */ function whitelistForPresale( address[] calldata accounts ) external onlyOwner { for (uint256 i = 0; i < accounts.length; ++i) { presaleWhitelist[accounts[i]] = true; } } /** * @notice Open presale for all users. */ function openPresale() external onlyOwner { if (presaleState != PresaleState.NONE) { revert InvalidState(); } presaleState = PresaleState.OPEN_FOR_WHITELIST; emit PresaleOpened(); } /** * @notice Open presale for all users. * Called after #openPresale. */ function openPublicPresale() external onlyOwner { if (presaleState != PresaleState.OPEN_FOR_WHITELIST) { revert InvalidState(); } presaleState = PresaleState.OPEN_FOR_PUBLIC; emit PublicPresaleOpened(); } /** * @notice Close the presale. * Called after #openPublicPresale. */ function closePresale() external onlyOwner { if (presaleState != PresaleState.OPEN_FOR_PUBLIC) { revert InvalidState(); } if (totalCommitments == 0) { revert NoCommittments(); } presaleState = PresaleState.CLOSED; emit PresaleClosed(totalCommitments); } /** * @notice Complete the presale. * @dev Adds 47.5% of collected ETH with 28.5% of totalSupply to Liquidity. * Sends the remaining 52.5% of collected ETH to current owner. * Renounces ownership. * Called after #closePresale. */ function completePresale() external onlyOwner { if (presaleState != PresaleState.CLOSED) { revert InvalidState(); } uint256 amountEthForLiquidity = (totalCommitments * _SUPPLY_LIQUIDITY) / _SUPPLY_PRESALE; _addInitialLiquidityEth( _SUPPLY_LIQUIDITY, amountEthForLiquidity, taxRecipient ); _sweepEth(taxRecipient); renounceOwnership(); presaleState = PresaleState.COMPLETED; emit PresaleCompleted(totalCommitments); } // *** Tax Manager Interface *** /** * @notice Set `taxFree` state of `account`. * @param account account * @param taxFree true if `account` should be extempt from transfer taxes. * @dev Only callable by taxManager. */ function setTaxFreeAccount( address account, bool taxFree ) external onlyTaxManager { if (taxFreeAccount[account] == taxFree) { revert InvalidParameters(); } taxFreeAccount[account] = taxFree; emit TaxFreeStateChanged(account, taxFree); } /** * @notice Set `exchangePool` state of `account` * @param account account * @param exchangePool whether `account` is an exchangePool * @dev ExchangePool state is used to decide if transfer is a swap * and should trigger #_swapTokens. */ function setExchangePool( address account, bool exchangePool ) external onlyTaxManager { if (isExchangePool[account] == exchangePool) { revert InvalidParameters(); } isExchangePool[account] = exchangePool; emit ExchangePoolStateChanged(account, exchangePool); } /** * @notice Transfer taxManager role to `newTaxManager`. * @param newTaxManager new taxManager * @dev Only callable by taxManager. */ function transferTaxManager(address newTaxManager) external onlyTaxManager { if (newTaxManager == taxManager) { revert InvalidParameters(); } taxManager = newTaxManager; emit TaxManagerChanged(newTaxManager); } /** * @notice Set taxRecipient address to `newTaxRecipient`. * @param newTaxRecipient new taxRecipient * @dev Only callable by taxManager. */ function setTaxRecipient(address newTaxRecipient) external onlyTaxManager { if (newTaxRecipient == taxRecipient) { revert InvalidParameters(); } taxRecipient = newTaxRecipient; emit TaxRecipientChanged(newTaxRecipient); } /** * @notice Withdraw tax collected (which would usually be automatically swapped to weth) to taxRecipient * @dev Only callable by taxManager. */ function withdrawTaxes() external onlyTaxManager { uint256 balance = balanceOf(address(this)); if (balance > 0) { super._transfer(address(this), taxRecipient, balance); emit TaxesWithdrawn(balance); } } /** * @notice Change the amount of tokens collected via tax before a swap is triggered. * @param newSwapThresholdEth new threshold received in ETH * @dev Only callable by taxManager */ function setSwapThresholdEth( uint256 newSwapThresholdEth ) external onlyTaxManager { if ( newSwapThresholdEth < SWAP_THRESHOLD_ETH_MIN || newSwapThresholdEth > SWAP_THRESHOLD_ETH_MAX || newSwapThresholdEth == swapThresholdEth ) { revert InvalidSwapThreshold(); } swapThresholdEth = newSwapThresholdEth; emit SwapThresholdChanged(newSwapThresholdEth); } /** * @notice Threshold of how many tokens to collect from tax before calling #swapTokens. * @dev Depends on swapThresholdEth which can be configured by taxManager. * Restricted to 5% of liquidity. */ function swapThresholdToken() public view returns (uint256) { (uint reserveToken, uint reserveWeth) = _getReserve(); uint256 maxSwapEth = (reserveWeth * 5) / 100; return _getAmountToken( swapThresholdEth > maxSwapEth ? maxSwapEth : swapThresholdEth, reserveToken, reserveWeth ); } // *** Internal Interface *** /** @notice IERC20#_transfer */ function _transfer( address from, address to, uint256 amount ) internal virtual override { if ( !taxFreeAccount[from] && !taxFreeAccount[to] && !taxFreeAccount[msg.sender] ) { uint256 fee = (amount * TAX_BPS) / 100_00; super._transfer(from, address(this), fee); unchecked { amount -= fee; } if (isExchangePool[to]) /* selling */ { _swapTokens(swapThresholdToken()); } } super._transfer(from, to, amount); } /** @dev Transfer `amount` tokens from contract balance to `to`. */ function _transferFromContractBalance( address to, uint256 amount ) internal override { super._transfer(address(this), to, amount); } /** * @notice Swap `amountToken` collected from tax to WETH to add to send to taxRecipient. */ function _swapTokens(uint256 amountToken) internal { if ( balanceOf(address(this)) + totalClaimed < amountToken + _SUPPLY_PRESALE ) { return; } _swapForWETH(amountToken, taxRecipient); } function decimals() public view virtual override returns (uint8) { return _DECIMALS; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.19; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IUniswapV2Pair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1); function swap( uint amount0Out, uint amount1Out, address to, bytes calldata data ) external; function mint(address to) external; } interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IUniswapRouter { function WETH() external view returns (address); function factory() external view returns (address); } interface IWETH { function deposit() external payable; } /** * @notice UniswapV2Pair does not allow to receive to token0 or token1. * As a workaround, this contract can receive tokens and has max approval * for the creator. */ contract ERC20HolderWithApproval { constructor(address token) { IERC20(token).approve(msg.sender, type(uint256).max); } } /** * @notice Gas optimized ERC20 token based on openzeppelins's ERC20 contract. * @dev Optimizations assume a UniswapV2 WETH pair as main liquidity. */ abstract contract ERC20UniswapV2InternalSwaps { address private immutable WETH; address private immutable wethReceiver; address public immutable pair; bool private immutable tokenIsToken0; constructor(address _router) { WETH = IUniswapRouter(_router).WETH(); tokenIsToken0 = address(this) < WETH; pair = IUniswapV2Factory( IUniswapRouter(_router).factory() ).createPair(address(this), WETH); wethReceiver = address(new ERC20HolderWithApproval(WETH)); } /** * @dev Swap tokens to WETH directly on pair, to save gas. * No check for minimal return, susceptible to price manipulation! */ function _swapForWETH(uint amountToken, address to) internal { uint amountWeth = _getAmountWeth(amountToken); _transferFromContractBalance(pair, amountToken); // Pair prevents receiving tokens to one of the pairs addresses IUniswapV2Pair(pair).swap(tokenIsToken0 ? 0 : amountWeth, tokenIsToken0 ? amountWeth : 0, wethReceiver, new bytes(0)); IERC20(WETH).transferFrom(wethReceiver, to, amountWeth); } /** * @dev Add tokens and WETH to liquidity, directly on pair, to save gas. * No check for minimal return, susceptible to price manipulation! * Sufficient WETH in contract balancee assumed! */ function _addLiquidity( uint amountToken, address to ) internal returns (uint amountWeth) { amountWeth = _quoteToken(amountToken); _transferFromContractBalance(pair, amountToken); IERC20(WETH).transferFrom(address(this), pair, amountWeth); IUniswapV2Pair(pair).mint(to); } /** * @dev Add tokens and WETH as initial liquidity, directly on pair, to save gas. * No checks performed. Caller has to make sure to have access to the token before public! * Sufficient WETH in contract balancee assumed! */ function _addInitialLiquidity( uint amountToken, uint amountWeth, address to ) internal { _transferFromContractBalance(pair, amountToken); IERC20(WETH).transferFrom(address(this), pair, amountWeth); IUniswapV2Pair(pair).mint(to); } /** * @dev Add tokens and ETH as initial liquidity, directly on pair, to save gas. * No checks performed. Caller has to make sure to have access to the token before public! * Sufficient ETH in contract balancee assumed! */ function _addInitialLiquidityEth( uint amountToken, uint amountEth, address to ) internal { IWETH(WETH).deposit{value: amountEth}(); _addInitialLiquidity(amountToken, amountEth, to); } /** @dev Transfer all WETH from contract balance to `to`. */ function _sweepWeth(address to) internal returns (uint amountWeth) { amountWeth = IERC20(WETH).balanceOf(address(this)); IERC20(WETH).transferFrom(address(this), to, amountWeth); } /** @dev Transfer all ETH from contract balance to `to`. */ function _sweepEth(address to) internal { _safeTransferETH(to, address(this).balance); } /** @dev Quote `amountToken` in ETH, assuming no fees (used for liquidity). */ function _quoteToken( uint amountToken ) internal view returns (uint amountEth) { (uint reserveToken, uint reserveEth) = _getReserve(); amountEth = (amountToken * reserveEth) / reserveToken; } /** @dev Quote `amountToken` in WETH, assuming 0.3% uniswap fees (used for swap). */ function _getAmountWeth( uint amounToken ) internal view returns (uint amountWeth) { (uint reserveToken, uint reserveWeth) = _getReserve(); uint amountTokenWithFee = amounToken * 997; uint numerator = amountTokenWithFee * reserveWeth; uint denominator = (reserveToken * 1000) + amountTokenWithFee; amountWeth = numerator / denominator; } /** @dev Quote `amountWeth` in tokens, assuming 0.3% uniswap fees (used for swap). */ function _getAmountToken( uint amounWeth, uint reserveToken, uint reserveWeth ) internal pure returns (uint amountToken) { uint numerator = reserveToken * amounWeth * 1000; uint denominator = (reserveWeth - amounWeth) * 997; amountToken = (numerator / denominator) + 1; } /** @dev Get reserves of pair. */ function _getReserve() internal view returns (uint reserveToken, uint reserveWeth) { (uint112 reserveToken0, uint112 reserveToken1) = IUniswapV2Pair(pair).getReserves(); (reserveToken, reserveWeth) = tokenIsToken0 ? (reserveToken0, reserveToken1) : (reserveToken1, reserveToken0); } /** @dev Transfer `amount` ETH to `to` gas efficiently. */ function _safeTransferETH(address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // solhint-disable-line no-inline-assembly // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /** @dev Returns true if `_address` is a contract. */ function _isContract(address _address) internal view returns (bool) { uint32 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(_address) } return (size > 0); } /** @dev Transfeer `amount` tokens from contract balance to `to`. */ function _transferFromContractBalance( address to, uint256 amount ) internal virtual; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; import "./draft-IERC20Permit.sol"; import "../ERC20.sol"; import "../../../utils/cryptography/ECDSA.sol"; import "../../../utils/cryptography/EIP712.sol"; import "../../../utils/Counters.sol"; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private constant _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`. * However, to ensure consistency with the upgradeable transpiler, we will continue * to reserve a slot. * @custom:oz-renamed-from _PERMIT_TYPEHASH */ // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT; /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
{ "optimizer": { "enabled": true, "runs": 20000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_taxRecipient","type":"address"},{"internalType":"address","name":"_taxManager","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"HardcapExceeded","type":"error"},{"inputs":[],"name":"InvalidParameters","type":"error"},{"inputs":[],"name":"InvalidState","type":"error"},{"inputs":[],"name":"InvalidSwapThreshold","type":"error"},{"inputs":[],"name":"InvalidTax","type":"error"},{"inputs":[],"name":"MaxAccountLimitExceeded","type":"error"},{"inputs":[],"name":"NoCommittments","type":"error"},{"inputs":[],"name":"NoContract","type":"error"},{"inputs":[],"name":"NotWhitelistedForPresale","type":"error"},{"inputs":[],"name":"NothingCommitted","type":"error"},{"inputs":[],"name":"PresaleIsClosed","type":"error"},{"inputs":[],"name":"PresaleNotCompleted","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CommitedToPresale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"isExchangePool","type":"bool"}],"name":"ExchangePoolStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PresaleClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalCommitments","type":"uint256"}],"name":"PresaleClosed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalCommitments","type":"uint256"}],"name":"PresaleCompleted","type":"event"},{"anonymous":false,"inputs":[],"name":"PresaleOpened","type":"event"},{"anonymous":false,"inputs":[],"name":"PublicPresaleOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapThresholdEth","type":"uint256"}],"name":"SwapThresholdChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"taxFree","type":"bool"}],"name":"TaxFreeStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"taxManager","type":"address"}],"name":"TaxManagerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"taxRecipient","type":"address"}],"name":"TaxRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxesWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_ACCOUNT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_HARDCAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHARE_BURN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHARE_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHARE_OTHER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHARE_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_THRESHOLD_ETH_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_THRESHOLD_ETH_MIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TAX_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"commitToPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"commitment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"completePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExchangePool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openPublicPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleState","outputs":[{"internalType":"enum PepaInu.PresaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exchangePool","type":"bool"}],"name":"setExchangePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapThresholdEth","type":"uint256"}],"name":"setSwapThresholdEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"taxFree","type":"bool"}],"name":"setTaxFreeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTaxRecipient","type":"address"}],"name":"setTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThresholdEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThresholdToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxFreeAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCommitments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTaxManager","type":"address"}],"name":"transferTaxManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unclaimedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"whitelistForPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101c060405267016345785d8a0000600b556000196013553480156200002457600080fd5b506040516200468e3803806200468e833981016040819052620000479162000823565b80604051806040016040528060088152602001675065706120496e7560c01b81525080604051806040016040528060018152602001603160f81b815250604051806040016040528060088152602001675065706120496e7560c01b815250604051806040016040528060048152602001635045504160e01b8152508160039081620000d3919062000924565b506004620000e2828262000924565b5050825160209384012082519284019290922060e08390526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818901819052818301979097526060810194909452608080850193909352308483018190528151808603909301835260c094850190915281519190960120905292909252610120525062000181905033620006db565b806001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e69190620009f0565b6001600160a01b0390811661014081905230106101a0526040805163c45a015560e01b815290519183169163c45a0155916004808201926020929091908290030181865afa1580156200023d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002639190620009f0565b610140516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015620002b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002dc9190620009f0565b6001600160a01b03166101805261014051604051620002fb90620007f8565b6001600160a01b039091168152602001604051809103906000f08015801562000328573d6000803e3d6000fd5b506001600160a01b031661016052506200034284620006db565b600c80546001600160a01b0319166001600160a01b0384169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a2600880546001600160a01b0319166001600160a01b0385169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a2600080805260096020527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b805460ff191660019081179091556040519091906000805160206200466e833981519152908290a36001600160a01b038316600081815260096020526040808220805460ff1916600190811790915590519092916000805160206200466e83398151915291a330600081815260096020526040808220805460ff1916600190811790915590519092916000805160206200466e83398151915291a3610180516001600160a01b03166000818152600a6020526040808220805460ff1916600190811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a36200057f30612710610530620005016009600a62000b2a565b62000515906705d423c655aa000062000b3b565b62000521919062000b3b565b6200052d919062000b55565b612710610cfa620005416009600a62000b2a565b62000555906705d423c655aa000062000b3b565b62000561919062000b3b565b6200056d919062000b55565b62000579919062000b78565b6200072d565b620005c661dead6127106113886200059a6009600a62000b2a565b620005ae906705d423c655aa000062000b3b565b620005ba919062000b3b565b62000579919062000b55565b620006d183612710611388620005df6009600a62000b2a565b620005f3906705d423c655aa000062000b3b565b620005ff919062000b3b565b6200060b919062000b55565b6127106105306200061f6009600a62000b2a565b62000633906705d423c655aa000062000b3b565b6200063f919062000b3b565b6200064b919062000b55565b612710610cfa6200065f6009600a62000b2a565b62000673906705d423c655aa000062000b3b565b6200067f919062000b3b565b6200068b919062000b55565b620006996009600a62000b2a565b620006ad906705d423c655aa000062000b3b565b620006b9919062000b8e565b620006c5919062000b8e565b62000579919062000b8e565b5050505062000ba4565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620007885760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200079c919062000b78565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b610147806200452783390190565b80516001600160a01b03811681146200081e57600080fd5b919050565b600080600080608085870312156200083a57600080fd5b620008458562000806565b9350620008556020860162000806565b9250620008656040860162000806565b9150620008756060860162000806565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620008ab57607f821691505b602082108103620008cc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007f357600081815260208120601f850160051c81016020861015620008fb5750805b601f850160051c820191505b818110156200091c5782815560010162000907565b505050505050565b81516001600160401b0381111562000940576200094062000880565b620009588162000951845462000896565b84620008d2565b602080601f831160018114620009905760008415620009775750858301515b600019600386901b1c1916600185901b1785556200091c565b600085815260208120601f198616915b82811015620009c157888601518255948401946001909101908401620009a0565b5085821015620009e05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000a0357600080fd5b62000a0e8262000806565b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000a6c57816000190482111562000a505762000a5062000a15565b8085161562000a5e57918102915b93841c939080029062000a30565b509250929050565b60008262000a855750600162000b24565b8162000a945750600062000b24565b816001811462000aad576002811462000ab85762000ad8565b600191505062000b24565b60ff84111562000acc5762000acc62000a15565b50506001821b62000b24565b5060208310610133831016604e8410600b841016171562000afd575081810a62000b24565b62000b09838362000a2b565b806000190482111562000b205762000b2062000a15565b0290505b92915050565b600062000a0e60ff84168362000a74565b808202811582820484141762000b245762000b2462000a15565b60008262000b7357634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000b245762000b2462000a15565b8181038181111562000b245762000b2462000a15565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516138ba62000c6d600039600081816129ab01528181613011015261303f0152600081816108110152818161291901528181612ada01528181612b4201528181612c2401528181612fae0152612fd50152600081816130ad015261314301526000818161274001528181612b71015261317a015260006123b101526000612400015260006123db015260006123340152600061235e0152600061238801526138ba6000f3fe60806040526004361061034e5760003560e01c806378e3079e116101bb578063a9059cbb116100f7578063dd62ed3e11610095578063e09d6bc61161006f578063e09d6bc614610990578063eb8835ab146109b0578063f2fde38b146109e0578063f5a4fa1e14610a0057600080fd5b8063dd62ed3e1461090b578063ddf4d5191461095e578063dfc56b111461097357600080fd5b8063bda347be116100d1578063bda347be146108ad578063d505accf146108b5578063d54ad2a1146108d5578063dc5cd7ae146108eb57600080fd5b8063a9059cbb14610833578063a960c65f14610853578063b18f0de21461088057600080fd5b80638dd9831211610164578063a2aa18ad1161013e578063a2aa18ad146107aa578063a457c2d7146107ca578063a4bd440b146107ea578063a8aa1b31146107ff57600080fd5b80638dd983121461076a57806395d89b411461077f57806399fbde7d1461079457600080fd5b806381e172ca1161019557806381e172ca146107075780638897b1a7146107225780638da5cb5b1461073f57600080fd5b806378e3079e146106b15780637ecebe00146106d157806380a94354146106f157600080fd5b80634201ed1b1161028a57806367cf6f101161023357806370e7c5751161020d57806370e7c5751461063d578063715018a614610659578063737ea06e1461066e57806378bb86d31461069b57600080fd5b806367cf6f10146105d057806368f4a786146105e557806370a08231146105fa57600080fd5b806352fd28a61161026457806352fd28a6146105865780635afefc09146105a657806363cea450146105bb57600080fd5b80634201ed1b14610509578063468298311461051f5780634d2377301461053457600080fd5b806318f60b69116102f75780632cb686fe116102d15780632cb686fe146104a2578063313ce567146104b85780633644e515146104d457806339509351146104e957600080fd5b806318f60b691461043257806323b872dd14610462578063263b82371461048257600080fd5b80630d0c31b7116103285780630d0c31b7146103d25780631465000e146103f957806318160ddd1461041d57600080fd5b8063046ef9a51461036257806306fdde0314610377578063095ea7b3146103a257600080fd5b3661035d5761035b610a30565b005b600080fd5b34801561036e57600080fd5b5061035b610cba565b34801561038357600080fd5b5061038c610f20565b60405161039991906132ad565b60405180910390f35b3480156103ae57600080fd5b506103c26103bd3660046132f0565b610fb2565b6040519015158152602001610399565b3480156103de57600080fd5b506012546103ec9060ff1681565b6040516103999190613349565b34801561040557600080fd5b5061040f600b5481565b604051908152602001610399565b34801561042957600080fd5b5060025461040f565b34801561043e57600080fd5b506103c261044d36600461338a565b600a6020526000908152604090205460ff1681565b34801561046e57600080fd5b506103c261047d3660046133a5565b610fcc565b34801561048e57600080fd5b5061035b61049d3660046133ef565b610ff0565b3480156104ae57600080fd5b5061040f610cfa81565b3480156104c457600080fd5b5060405160098152602001610399565b3480156104e057600080fd5b5061040f611127565b3480156104f557600080fd5b506103c26105043660046132f0565b611136565b34801561051557600080fd5b5061040f61015e81565b34801561052b57600080fd5b5061035b611182565b34801561054057600080fd5b50600c546105619073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610399565b34801561059257600080fd5b5061035b6105a13660046133ef565b611246565b3480156105b257600080fd5b5061040f61137d565b3480156105c757600080fd5b5061035b6113c5565b3480156105dc57600080fd5b5061035b6114bc565b3480156105f157600080fd5b5061040f60c881565b34801561060657600080fd5b5061040f61061536600461338a565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561064957600080fd5b5061040f670214e8348c4f000081565b34801561066557600080fd5b5061035b611682565b34801561067a57600080fd5b506008546105619073ffffffffffffffffffffffffffffffffffffffff1681565b3480156106a757600080fd5b5061040f60105481565b3480156106bd57600080fd5b5061035b6106cc36600461338a565b611696565b3480156106dd57600080fd5b5061040f6106ec36600461338a565b6117ab565b3480156106fd57600080fd5b5061040f61138881565b34801561071357600080fd5b5061040f6611c37937e0800081565b34801561072e57600080fd5b5061040f680410d586a20a4c000081565b34801561074b57600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff16610561565b34801561077657600080fd5b5061035b6117d6565b34801561078b57600080fd5b5061038c611884565b3480156107a057600080fd5b5061040f61053081565b3480156107b657600080fd5b5061035b6107c536600461338a565b611893565b3480156107d657600080fd5b506103c26107e53660046132f0565b6119a8565b3480156107f657600080fd5b5061035b611a7e565b34801561080b57600080fd5b506105617f000000000000000000000000000000000000000000000000000000000000000081565b34801561083f57600080fd5b506103c261084e3660046132f0565b611b2c565b34801561085f57600080fd5b5061040f61086e36600461338a565b600e6020526000908152604090205481565b34801561088c57600080fd5b5061040f61089b36600461338a565b600d6020526000908152604090205481565b61035b610a30565b3480156108c157600080fd5b5061035b6108d0366004613426565b611b3a565b3480156108e157600080fd5b5061040f60115481565b3480156108f757600080fd5b5061035b610906366004613499565b611cf9565b34801561091757600080fd5b5061040f61092636600461350e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561096a57600080fd5b5061040f611da1565b34801561097f57600080fd5b5061040f6802b5e3af16b188000081565b34801561099c57600080fd5b5061035b6109ab366004613541565b611df3565b3480156109bc57600080fd5b506103c26109cb36600461338a565b600f6020526000908152604090205460ff1681565b3480156109ec57600080fd5b5061035b6109fb36600461338a565b611ed9565b348015610a0c57600080fd5b506103c2610a1b36600461338a565b60096020526000908152604090205460ff1681565b33803b63ffffffff1615610a70576040517f0c3b563c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160125460ff166004811115610a8957610a8961331a565b148015610abc575073ffffffffffffffffffffffffffffffffffffffff81166000908152600f602052604090205460ff16155b15610af3576040517fc7acae6d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160125460ff166004811115610b0c57610b0c61331a565b14158015610b315750600260125460ff166004811115610b2e57610b2e61331a565b14155b15610b68576040517f7f9a7e5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600d602052604081208054349290610b9d908490613589565b925050819055503460106000828254610bb69190613589565b9091555050601054680410d586a20a4c00001015610c00576040517faf4a113f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600d6020526040902054670214e8348c4f00001015610c67576040517f1ba602ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff167f5b32366e01f1031d9eea11f55e693d225ce96b46c3761591c85f4ee8c34baa0834604051610caf91815260200190565b60405180910390a250565b33803b63ffffffff1615610cfa576040517f0c3b563c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460125460ff166004811115610d1357610d1361331a565b14610d4a576040517fcebeeca300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600d60205260408120549003610da8576040517f835a24b100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600e602052604090205415610e05576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105473ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020526040812054909190612710610cfa610e436009600a6136bc565b610e55906705d423c655aa00006136cb565b610e5f91906136cb565b610e6991906136e2565b610e7391906136cb565b610e7d91906136e2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e60205260408120829055601180549293508392909190610ebc908490613589565b90915550610ecc90508282611f8d565b8173ffffffffffffffffffffffffffffffffffffffff167f0352332f702f094a528e3002d331329d6bdab7dfd9b1f45864ca583ea0636ee882604051610f1491815260200190565b60405180910390a25050565b606060038054610f2f9061371d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5b9061371d565b8015610fa85780601f10610f7d57610100808354040283529160200191610fa8565b820191906000526020600020905b815481529060010190602001808311610f8b57829003601f168201915b5050505050905090565b600033610fc0818585611f9c565b60019150505b92915050565b600033610fda85828561214f565b610fe5858585612226565b506001949350505050565b600c5473ffffffffffffffffffffffffffffffffffffffff163314611041576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a602052604090205481151560ff9091161515036110a8576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000818152600a602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a35050565b600061113161231a565b905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610fc0908290869061117d908790613589565b611f9c565b600c5473ffffffffffffffffffffffffffffffffffffffff1633146111d3576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3060009081526020819052604090205480156112435760085461120e90309073ffffffffffffffffffffffffffffffffffffffff168361244e565b6040518181527f37cc5ea62b518495d042cabfa45c5e43aeae690552efa3b7341854331e05662f906020015b60405180910390a15b50565b600c5473ffffffffffffffffffffffffffffffffffffffff163314611297576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205481151560ff9091161515036112fe576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526009602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f02ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce92291a35050565b601154600090612710610cfa6113956009600a6136bc565b6113a7906705d423c655aa00006136cb565b6113b191906136cb565b6113bb91906136e2565b611131919061376a565b6113cd6126bd565b600260125460ff1660048111156113e6576113e661331a565b1461141d576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054600003611459576040517f725699da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660031790556010546040519081527f227b593cbecd51a8479fc7c8362590fcba561971b9ecb0d25c4a27178df253e79060200160405180910390a1565b6114c46126bd565b600360125460ff1660048111156114dd576114dd61331a565b14611514576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612710610cfa6115286009600a6136bc565b61153a906705d423c655aa00006136cb565b61154491906136cb565b61154e91906136e2565b6127106105306115606009600a6136bc565b611572906705d423c655aa00006136cb565b61157c91906136cb565b61158691906136e2565b60105461159391906136cb565b61159d91906136e2565b90506115fa6127106105306115b46009600a6136bc565b6115c6906705d423c655aa00006136cb565b6115d091906136cb565b6115da91906136e2565b600854839073ffffffffffffffffffffffffffffffffffffffff1661273e565b60085461161c9073ffffffffffffffffffffffffffffffffffffffff166127ca565b611624611682565b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660041790556010546040519081527f6882b4e9381959c371492b71e5cc926ee0b176e95804510eeac6c20044b5b5a29060200161123a565b61168a6126bd565b61169460006127d4565b565b600c5473ffffffffffffffffffffffffffffffffffffffff1633146116e7576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60085473ffffffffffffffffffffffffffffffffffffffff9081169082160361173c576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a250565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260056020526040812054610fc6565b6117de6126bd565b600060125460ff1660048111156117f7576117f761331a565b1461182e576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517fbac8edc4f6a45ce4a46327dbea4b1181366b50f7356984a5e1c92ebe3cb21c1290600090a1565b606060048054610f2f9061371d565b600c5473ffffffffffffffffffffffffffffffffffffffff1633146118e4576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5473ffffffffffffffffffffffffffffffffffffffff90811690821603611939576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a250565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611a71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610fe58286868403611f9c565b611a866126bd565b600160125460ff166004811115611a9f57611a9f61331a565b14611ad6576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660021790556040517f825d3b5d27bcd5858c26a77c2fb6a6569a9ca1c51c9d64f4f7b921571fb5a6aa90600090a1565b600033610fc0818585612226565b83421115611ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401611a68565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611bd38c61284b565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611c3b82612880565b90506000611c4b828787876128e9565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ce2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401611a68565b611ced8a8a8a611f9c565b50505050505050505050565b611d016126bd565b60005b81811015611d9c576001600f6000858585818110611d2457611d2461377d565b9050602002016020810190611d39919061338a565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055611d95816137ac565b9050611d04565b505050565b6000806000611dae612911565b909250905060006064611dc28360056136cb565b611dcc91906136e2565b9050611deb81600b5411611de257600b54611de4565b815b84846129f5565b935050505090565b600c5473ffffffffffffffffffffffffffffffffffffffff163314611e44576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6611c37937e08000811080611e6157506802b5e3af16b188000081115b80611e6d5750600b5481145b15611ea4576040517fcb9e92ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8190556040518181527f9ff241d1f1e0c30788ac08c45391c423cc5ef3e67f66a46b95a9a8f394759f369060200161123a565b611ee16126bd565b73ffffffffffffffffffffffffffffffffffffffff8116611f84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611a68565b611243816127d4565b611f9830838361244e565b5050565b73ffffffffffffffffffffffffffffffffffffffff831661203e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff82166120e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146122205781811015612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401611a68565b6122208484848403611f9c565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205460ff16158015612282575073ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205460ff16155b801561229e57503360009081526009602052604090205460ff16155b1561230f5760006127106122b360c8846136cb565b6122bd91906136e2565b90506122ca84308361244e565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054918190039160ff161561230d5761230d612308611da1565b612a49565b505b611d9c83838361244e565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561238057507f000000000000000000000000000000000000000000000000000000000000000046145b156123aa57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b73ffffffffffffffffffffffffffffffffffffffff83166124f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff8216612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561264a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3612220565b60075473ffffffffffffffffffffffffffffffffffffffff163314611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611a68565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156127a657600080fd5b505af11580156127ba573d6000803e3d6000fd5b5050505050611d9c838383612ad5565b6112438147612c85565b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090208054600181018255905b50919050565b6000610fc661288d61231a565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006128fa87878787612cfa565b9150915061290781612de9565b5095945050505050565b6000806000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa158015612981573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a59190613802565b915091507f00000000000000000000000000000000000000000000000000000000000000006129d55780826129d8565b81815b6dffffffffffffffffffffffffffff918216969116945092505050565b600080612a0285856136cb565b612a0e906103e86136cb565b90506000612a1c868561376a565b612a28906103e56136cb565b9050612a3481836136e2565b612a3f906001613589565b9695505050505050565b612710610cfa612a5b6009600a6136bc565b612a6d906705d423c655aa00006136cb565b612a7791906136cb565b612a8191906136e2565b612a8b9082613589565b60115430600090815260208190526040902054612aa89190613589565b1015612ab15750565b60085461124390829073ffffffffffffffffffffffffffffffffffffffff16612f9c565b612aff7f000000000000000000000000000000000000000000000000000000000000000084611f8d565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018490527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064016020604051808303816000875af1158015612bba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bde919061382c565b506040517f6a62784200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f00000000000000000000000000000000000000000000000000000000000000001690636a62784290602401600060405180830381600087803b158015612c6857600080fd5b505af1158015612c7c573d6000803e3d6000fd5b50505050505050565b600080600080600085875af1905080611d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4554485f5452414e534645525f4641494c4544000000000000000000000000006044820152606401611a68565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612d315750600090506003612de0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612d85573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116612dd957600060019250925050612de0565b9150600090505b94509492505050565b6000816004811115612dfd57612dfd61331a565b03612e055750565b6001816004811115612e1957612e1961331a565b03612e80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611a68565b6002816004811115612e9457612e9461331a565b03612efb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611a68565b6003816004811115612f0f57612f0f61331a565b03611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611a68565b6000612fa7836131e9565b9050612fd37f000000000000000000000000000000000000000000000000000000000000000084611f8d565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663022c0d9f7f000000000000000000000000000000000000000000000000000000000000000061303a578261303d565b60005b7f000000000000000000000000000000000000000000000000000000000000000061306957600061306b565b835b604080516000815260208101918290527fffffffff0000000000000000000000000000000000000000000000000000000060e086901b169091526130d69291907f00000000000000000000000000000000000000000000000000000000000000009060248101613849565b600060405180830381600087803b1580156130f057600080fd5b505af1158015613104573d6000803e3d6000fd5b50506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660048301528581166024830152604482018590527f00000000000000000000000000000000000000000000000000000000000000001692506323b872dd91506064016020604051808303816000875af11580156131c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612220919061382c565b60008060006131f6612911565b90925090506000613209856103e56136cb565b9050600061321783836136cb565b9050600082613228866103e86136cb565b6132329190613589565b905061323e81836136e2565b979650505050505050565b6000815180845260005b8181101561326f57602081850181015186830182015201613253565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006132c06020830184613249565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146132eb57600080fd5b919050565b6000806040838503121561330357600080fd5b61330c836132c7565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160058310613384577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60006020828403121561339c57600080fd5b6132c0826132c7565b6000806000606084860312156133ba57600080fd5b6133c3846132c7565b92506133d1602085016132c7565b9150604084013590509250925092565b801515811461124357600080fd5b6000806040838503121561340257600080fd5b61340b836132c7565b9150602083013561341b816133e1565b809150509250929050565b600080600080600080600060e0888a03121561344157600080fd5b61344a886132c7565b9650613458602089016132c7565b95506040880135945060608801359350608088013560ff8116811461347c57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080602083850312156134ac57600080fd5b823567ffffffffffffffff808211156134c457600080fd5b818501915085601f8301126134d857600080fd5b8135818111156134e757600080fd5b8660208260051b85010111156134fc57600080fd5b60209290920196919550909350505050565b6000806040838503121561352157600080fd5b61352a836132c7565b9150613538602084016132c7565b90509250929050565b60006020828403121561355357600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610fc657610fc661355a565b600181815b808511156135f557817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156135db576135db61355a565b808516156135e857918102915b93841c93908002906135a1565b509250929050565b60008261360c57506001610fc6565b8161361957506000610fc6565b816001811461362f576002811461363957613655565b6001915050610fc6565b60ff84111561364a5761364a61355a565b50506001821b610fc6565b5060208310610133831016604e8410600b8410161715613678575081810a610fc6565b613682838361359c565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156136b4576136b461355a565b029392505050565b60006132c060ff8416836135fd565b8082028115828204841417610fc657610fc661355a565b600082613718577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600181811c9082168061373157607f821691505b60208210810361287a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b81810381811115610fc657610fc661355a565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137dd576137dd61355a565b5060010190565b80516dffffffffffffffffffffffffffff811681146132eb57600080fd5b6000806040838503121561381557600080fd5b61381e836137e4565b9150613538602084016137e4565b60006020828403121561383e57600080fd5b81516132c0816133e1565b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000612a3f608083018461324956fea2646970667358221220d8e285321d6b5e5adce0fc09b68bccf62b980afe47cb0f01fb0fdf8035d9c7a564736f6c63430008130033608060405234801561001057600080fd5b5060405161014738038061014783398101604081905261002f916100a8565b60405163095ea7b360e01b815233600482015260001960248201526001600160a01b0382169063095ea7b3906044016020604051808303816000875af115801561007d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a191906100d8565b50506100fa565b6000602082840312156100ba57600080fd5b81516001600160a01b03811681146100d157600080fd5b9392505050565b6000602082840312156100ea57600080fd5b815180151581146100d157600080fd5b603f806101086000396000f3fe6080604052600080fdfea2646970667358221220bc2b3532b599556a42b57ce2dd15fd2519e784e6fd2f591c8dce855d49ce0b8064736f6c6343000813003302ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce9220000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba70000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba70000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba70000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x60806040526004361061034e5760003560e01c806378e3079e116101bb578063a9059cbb116100f7578063dd62ed3e11610095578063e09d6bc61161006f578063e09d6bc614610990578063eb8835ab146109b0578063f2fde38b146109e0578063f5a4fa1e14610a0057600080fd5b8063dd62ed3e1461090b578063ddf4d5191461095e578063dfc56b111461097357600080fd5b8063bda347be116100d1578063bda347be146108ad578063d505accf146108b5578063d54ad2a1146108d5578063dc5cd7ae146108eb57600080fd5b8063a9059cbb14610833578063a960c65f14610853578063b18f0de21461088057600080fd5b80638dd9831211610164578063a2aa18ad1161013e578063a2aa18ad146107aa578063a457c2d7146107ca578063a4bd440b146107ea578063a8aa1b31146107ff57600080fd5b80638dd983121461076a57806395d89b411461077f57806399fbde7d1461079457600080fd5b806381e172ca1161019557806381e172ca146107075780638897b1a7146107225780638da5cb5b1461073f57600080fd5b806378e3079e146106b15780637ecebe00146106d157806380a94354146106f157600080fd5b80634201ed1b1161028a57806367cf6f101161023357806370e7c5751161020d57806370e7c5751461063d578063715018a614610659578063737ea06e1461066e57806378bb86d31461069b57600080fd5b806367cf6f10146105d057806368f4a786146105e557806370a08231146105fa57600080fd5b806352fd28a61161026457806352fd28a6146105865780635afefc09146105a657806363cea450146105bb57600080fd5b80634201ed1b14610509578063468298311461051f5780634d2377301461053457600080fd5b806318f60b69116102f75780632cb686fe116102d15780632cb686fe146104a2578063313ce567146104b85780633644e515146104d457806339509351146104e957600080fd5b806318f60b691461043257806323b872dd14610462578063263b82371461048257600080fd5b80630d0c31b7116103285780630d0c31b7146103d25780631465000e146103f957806318160ddd1461041d57600080fd5b8063046ef9a51461036257806306fdde0314610377578063095ea7b3146103a257600080fd5b3661035d5761035b610a30565b005b600080fd5b34801561036e57600080fd5b5061035b610cba565b34801561038357600080fd5b5061038c610f20565b60405161039991906132ad565b60405180910390f35b3480156103ae57600080fd5b506103c26103bd3660046132f0565b610fb2565b6040519015158152602001610399565b3480156103de57600080fd5b506012546103ec9060ff1681565b6040516103999190613349565b34801561040557600080fd5b5061040f600b5481565b604051908152602001610399565b34801561042957600080fd5b5060025461040f565b34801561043e57600080fd5b506103c261044d36600461338a565b600a6020526000908152604090205460ff1681565b34801561046e57600080fd5b506103c261047d3660046133a5565b610fcc565b34801561048e57600080fd5b5061035b61049d3660046133ef565b610ff0565b3480156104ae57600080fd5b5061040f610cfa81565b3480156104c457600080fd5b5060405160098152602001610399565b3480156104e057600080fd5b5061040f611127565b3480156104f557600080fd5b506103c26105043660046132f0565b611136565b34801561051557600080fd5b5061040f61015e81565b34801561052b57600080fd5b5061035b611182565b34801561054057600080fd5b50600c546105619073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610399565b34801561059257600080fd5b5061035b6105a13660046133ef565b611246565b3480156105b257600080fd5b5061040f61137d565b3480156105c757600080fd5b5061035b6113c5565b3480156105dc57600080fd5b5061035b6114bc565b3480156105f157600080fd5b5061040f60c881565b34801561060657600080fd5b5061040f61061536600461338a565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561064957600080fd5b5061040f670214e8348c4f000081565b34801561066557600080fd5b5061035b611682565b34801561067a57600080fd5b506008546105619073ffffffffffffffffffffffffffffffffffffffff1681565b3480156106a757600080fd5b5061040f60105481565b3480156106bd57600080fd5b5061035b6106cc36600461338a565b611696565b3480156106dd57600080fd5b5061040f6106ec36600461338a565b6117ab565b3480156106fd57600080fd5b5061040f61138881565b34801561071357600080fd5b5061040f6611c37937e0800081565b34801561072e57600080fd5b5061040f680410d586a20a4c000081565b34801561074b57600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff16610561565b34801561077657600080fd5b5061035b6117d6565b34801561078b57600080fd5b5061038c611884565b3480156107a057600080fd5b5061040f61053081565b3480156107b657600080fd5b5061035b6107c536600461338a565b611893565b3480156107d657600080fd5b506103c26107e53660046132f0565b6119a8565b3480156107f657600080fd5b5061035b611a7e565b34801561080b57600080fd5b506105617f0000000000000000000000009192f112f9f448bb255a9f0e65d0e331580bd8e781565b34801561083f57600080fd5b506103c261084e3660046132f0565b611b2c565b34801561085f57600080fd5b5061040f61086e36600461338a565b600e6020526000908152604090205481565b34801561088c57600080fd5b5061040f61089b36600461338a565b600d6020526000908152604090205481565b61035b610a30565b3480156108c157600080fd5b5061035b6108d0366004613426565b611b3a565b3480156108e157600080fd5b5061040f60115481565b3480156108f757600080fd5b5061035b610906366004613499565b611cf9565b34801561091757600080fd5b5061040f61092636600461350e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561096a57600080fd5b5061040f611da1565b34801561097f57600080fd5b5061040f6802b5e3af16b188000081565b34801561099c57600080fd5b5061035b6109ab366004613541565b611df3565b3480156109bc57600080fd5b506103c26109cb36600461338a565b600f6020526000908152604090205460ff1681565b3480156109ec57600080fd5b5061035b6109fb36600461338a565b611ed9565b348015610a0c57600080fd5b506103c2610a1b36600461338a565b60096020526000908152604090205460ff1681565b33803b63ffffffff1615610a70576040517f0c3b563c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160125460ff166004811115610a8957610a8961331a565b148015610abc575073ffffffffffffffffffffffffffffffffffffffff81166000908152600f602052604090205460ff16155b15610af3576040517fc7acae6d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160125460ff166004811115610b0c57610b0c61331a565b14158015610b315750600260125460ff166004811115610b2e57610b2e61331a565b14155b15610b68576040517f7f9a7e5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600d602052604081208054349290610b9d908490613589565b925050819055503460106000828254610bb69190613589565b9091555050601054680410d586a20a4c00001015610c00576040517faf4a113f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600d6020526040902054670214e8348c4f00001015610c67576040517f1ba602ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff167f5b32366e01f1031d9eea11f55e693d225ce96b46c3761591c85f4ee8c34baa0834604051610caf91815260200190565b60405180910390a250565b33803b63ffffffff1615610cfa576040517f0c3b563c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460125460ff166004811115610d1357610d1361331a565b14610d4a576040517fcebeeca300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600d60205260408120549003610da8576040517f835a24b100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600e602052604090205415610e05576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105473ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020526040812054909190612710610cfa610e436009600a6136bc565b610e55906705d423c655aa00006136cb565b610e5f91906136cb565b610e6991906136e2565b610e7391906136cb565b610e7d91906136e2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e60205260408120829055601180549293508392909190610ebc908490613589565b90915550610ecc90508282611f8d565b8173ffffffffffffffffffffffffffffffffffffffff167f0352332f702f094a528e3002d331329d6bdab7dfd9b1f45864ca583ea0636ee882604051610f1491815260200190565b60405180910390a25050565b606060038054610f2f9061371d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5b9061371d565b8015610fa85780601f10610f7d57610100808354040283529160200191610fa8565b820191906000526020600020905b815481529060010190602001808311610f8b57829003601f168201915b5050505050905090565b600033610fc0818585611f9c565b60019150505b92915050565b600033610fda85828561214f565b610fe5858585612226565b506001949350505050565b600c5473ffffffffffffffffffffffffffffffffffffffff163314611041576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a602052604090205481151560ff9091161515036110a8576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000818152600a602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a35050565b600061113161231a565b905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610fc0908290869061117d908790613589565b611f9c565b600c5473ffffffffffffffffffffffffffffffffffffffff1633146111d3576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3060009081526020819052604090205480156112435760085461120e90309073ffffffffffffffffffffffffffffffffffffffff168361244e565b6040518181527f37cc5ea62b518495d042cabfa45c5e43aeae690552efa3b7341854331e05662f906020015b60405180910390a15b50565b600c5473ffffffffffffffffffffffffffffffffffffffff163314611297576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205481151560ff9091161515036112fe576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526009602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f02ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce92291a35050565b601154600090612710610cfa6113956009600a6136bc565b6113a7906705d423c655aa00006136cb565b6113b191906136cb565b6113bb91906136e2565b611131919061376a565b6113cd6126bd565b600260125460ff1660048111156113e6576113e661331a565b1461141d576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054600003611459576040517f725699da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660031790556010546040519081527f227b593cbecd51a8479fc7c8362590fcba561971b9ecb0d25c4a27178df253e79060200160405180910390a1565b6114c46126bd565b600360125460ff1660048111156114dd576114dd61331a565b14611514576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612710610cfa6115286009600a6136bc565b61153a906705d423c655aa00006136cb565b61154491906136cb565b61154e91906136e2565b6127106105306115606009600a6136bc565b611572906705d423c655aa00006136cb565b61157c91906136cb565b61158691906136e2565b60105461159391906136cb565b61159d91906136e2565b90506115fa6127106105306115b46009600a6136bc565b6115c6906705d423c655aa00006136cb565b6115d091906136cb565b6115da91906136e2565b600854839073ffffffffffffffffffffffffffffffffffffffff1661273e565b60085461161c9073ffffffffffffffffffffffffffffffffffffffff166127ca565b611624611682565b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660041790556010546040519081527f6882b4e9381959c371492b71e5cc926ee0b176e95804510eeac6c20044b5b5a29060200161123a565b61168a6126bd565b61169460006127d4565b565b600c5473ffffffffffffffffffffffffffffffffffffffff1633146116e7576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60085473ffffffffffffffffffffffffffffffffffffffff9081169082160361173c576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a250565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260056020526040812054610fc6565b6117de6126bd565b600060125460ff1660048111156117f7576117f761331a565b1461182e576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517fbac8edc4f6a45ce4a46327dbea4b1181366b50f7356984a5e1c92ebe3cb21c1290600090a1565b606060048054610f2f9061371d565b600c5473ffffffffffffffffffffffffffffffffffffffff1633146118e4576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5473ffffffffffffffffffffffffffffffffffffffff90811690821603611939576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a250565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611a71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610fe58286868403611f9c565b611a866126bd565b600160125460ff166004811115611a9f57611a9f61331a565b14611ad6576040517fbaf3f0f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660021790556040517f825d3b5d27bcd5858c26a77c2fb6a6569a9ca1c51c9d64f4f7b921571fb5a6aa90600090a1565b600033610fc0818585612226565b83421115611ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401611a68565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611bd38c61284b565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611c3b82612880565b90506000611c4b828787876128e9565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ce2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401611a68565b611ced8a8a8a611f9c565b50505050505050505050565b611d016126bd565b60005b81811015611d9c576001600f6000858585818110611d2457611d2461377d565b9050602002016020810190611d39919061338a565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055611d95816137ac565b9050611d04565b505050565b6000806000611dae612911565b909250905060006064611dc28360056136cb565b611dcc91906136e2565b9050611deb81600b5411611de257600b54611de4565b815b84846129f5565b935050505090565b600c5473ffffffffffffffffffffffffffffffffffffffff163314611e44576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6611c37937e08000811080611e6157506802b5e3af16b188000081115b80611e6d5750600b5481145b15611ea4576040517fcb9e92ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8190556040518181527f9ff241d1f1e0c30788ac08c45391c423cc5ef3e67f66a46b95a9a8f394759f369060200161123a565b611ee16126bd565b73ffffffffffffffffffffffffffffffffffffffff8116611f84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611a68565b611243816127d4565b611f9830838361244e565b5050565b73ffffffffffffffffffffffffffffffffffffffff831661203e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff82166120e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146122205781811015612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401611a68565b6122208484848403611f9c565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205460ff16158015612282575073ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205460ff16155b801561229e57503360009081526009602052604090205460ff16155b1561230f5760006127106122b360c8846136cb565b6122bd91906136e2565b90506122ca84308361244e565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054918190039160ff161561230d5761230d612308611da1565b612a49565b505b611d9c83838361244e565b60003073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001e99077bdcc6c425c9143b78c496520a327162de1614801561238057507f000000000000000000000000000000000000000000000000000000000000000146145b156123aa57507fc0a9a4efa8b4c334bb4cee11a798f22766f64da994cb308dc0525cf79b5f661390565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f7555504c4477f548aec5f9db100129dfcff536fbb5109366d4e4fb54b92e3821828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b73ffffffffffffffffffffffffffffffffffffffff83166124f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff8216612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561264a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401611a68565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3612220565b60075473ffffffffffffffffffffffffffffffffffffffff163314611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611a68565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156127a657600080fd5b505af11580156127ba573d6000803e3d6000fd5b5050505050611d9c838383612ad5565b6112438147612c85565b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090208054600181018255905b50919050565b6000610fc661288d61231a565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006128fa87878787612cfa565b9150915061290781612de9565b5095945050505050565b6000806000807f0000000000000000000000009192f112f9f448bb255a9f0e65d0e331580bd8e773ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa158015612981573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a59190613802565b915091507f00000000000000000000000000000000000000000000000000000000000000016129d55780826129d8565b81815b6dffffffffffffffffffffffffffff918216969116945092505050565b600080612a0285856136cb565b612a0e906103e86136cb565b90506000612a1c868561376a565b612a28906103e56136cb565b9050612a3481836136e2565b612a3f906001613589565b9695505050505050565b612710610cfa612a5b6009600a6136bc565b612a6d906705d423c655aa00006136cb565b612a7791906136cb565b612a8191906136e2565b612a8b9082613589565b60115430600090815260208190526040902054612aa89190613589565b1015612ab15750565b60085461124390829073ffffffffffffffffffffffffffffffffffffffff16612f9c565b612aff7f0000000000000000000000009192f112f9f448bb255a9f0e65d0e331580bd8e784611f8d565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000009192f112f9f448bb255a9f0e65d0e331580bd8e781166024830152604482018490527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216906323b872dd906064016020604051808303816000875af1158015612bba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bde919061382c565b506040517f6a62784200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000009192f112f9f448bb255a9f0e65d0e331580bd8e71690636a62784290602401600060405180830381600087803b158015612c6857600080fd5b505af1158015612c7c573d6000803e3d6000fd5b50505050505050565b600080600080600085875af1905080611d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4554485f5452414e534645525f4641494c4544000000000000000000000000006044820152606401611a68565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612d315750600090506003612de0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612d85573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116612dd957600060019250925050612de0565b9150600090505b94509492505050565b6000816004811115612dfd57612dfd61331a565b03612e055750565b6001816004811115612e1957612e1961331a565b03612e80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611a68565b6002816004811115612e9457612e9461331a565b03612efb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611a68565b6003816004811115612f0f57612f0f61331a565b03611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611a68565b6000612fa7836131e9565b9050612fd37f0000000000000000000000009192f112f9f448bb255a9f0e65d0e331580bd8e784611f8d565b7f0000000000000000000000009192f112f9f448bb255a9f0e65d0e331580bd8e773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f7f000000000000000000000000000000000000000000000000000000000000000161303a578261303d565b60005b7f000000000000000000000000000000000000000000000000000000000000000161306957600061306b565b835b604080516000815260208101918290527fffffffff0000000000000000000000000000000000000000000000000000000060e086901b169091526130d69291907f0000000000000000000000001d99d467cb749a1083e48bb0c4e3fcf2d04ea2089060248101613849565b600060405180830381600087803b1580156130f057600080fd5b505af1158015613104573d6000803e3d6000fd5b50506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001d99d467cb749a1083e48bb0c4e3fcf2d04ea208811660048301528581166024830152604482018590527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21692506323b872dd91506064016020604051808303816000875af11580156131c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612220919061382c565b60008060006131f6612911565b90925090506000613209856103e56136cb565b9050600061321783836136cb565b9050600082613228866103e86136cb565b6132329190613589565b905061323e81836136e2565b979650505050505050565b6000815180845260005b8181101561326f57602081850181015186830182015201613253565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006132c06020830184613249565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146132eb57600080fd5b919050565b6000806040838503121561330357600080fd5b61330c836132c7565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160058310613384577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60006020828403121561339c57600080fd5b6132c0826132c7565b6000806000606084860312156133ba57600080fd5b6133c3846132c7565b92506133d1602085016132c7565b9150604084013590509250925092565b801515811461124357600080fd5b6000806040838503121561340257600080fd5b61340b836132c7565b9150602083013561341b816133e1565b809150509250929050565b600080600080600080600060e0888a03121561344157600080fd5b61344a886132c7565b9650613458602089016132c7565b95506040880135945060608801359350608088013560ff8116811461347c57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080602083850312156134ac57600080fd5b823567ffffffffffffffff808211156134c457600080fd5b818501915085601f8301126134d857600080fd5b8135818111156134e757600080fd5b8660208260051b85010111156134fc57600080fd5b60209290920196919550909350505050565b6000806040838503121561352157600080fd5b61352a836132c7565b9150613538602084016132c7565b90509250929050565b60006020828403121561355357600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610fc657610fc661355a565b600181815b808511156135f557817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156135db576135db61355a565b808516156135e857918102915b93841c93908002906135a1565b509250929050565b60008261360c57506001610fc6565b8161361957506000610fc6565b816001811461362f576002811461363957613655565b6001915050610fc6565b60ff84111561364a5761364a61355a565b50506001821b610fc6565b5060208310610133831016604e8410600b8410161715613678575081810a610fc6565b613682838361359c565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156136b4576136b461355a565b029392505050565b60006132c060ff8416836135fd565b8082028115828204841417610fc657610fc661355a565b600082613718577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600181811c9082168061373157607f821691505b60208210810361287a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b81810381811115610fc657610fc661355a565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137dd576137dd61355a565b5060010190565b80516dffffffffffffffffffffffffffff811681146132eb57600080fd5b6000806040838503121561381557600080fd5b61381e836137e4565b9150613538602084016137e4565b60006020828403121561383e57600080fd5b81516132c0816133e1565b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000612a3f608083018461324956fea2646970667358221220d8e285321d6b5e5adce0fc09b68bccf62b980afe47cb0f01fb0fdf8035d9c7a564736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba70000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba70000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba70000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _owner (address): 0x4dcc41E99b56570BC96D4a449E75f5b664245Ba7
Arg [1] : _taxRecipient (address): 0x4dcc41E99b56570BC96D4a449E75f5b664245Ba7
Arg [2] : _taxManager (address): 0x4dcc41E99b56570BC96D4a449E75f5b664245Ba7
Arg [3] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba7
Arg [1] : 0000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba7
Arg [2] : 0000000000000000000000004dcc41e99b56570bc96d4a449e75f5b664245ba7
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode Sourcemap
379:15246:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5865:17;:15;:17::i;:::-;379:15246;;;;;7237:747;;;;;;;;;;;;;:::i;2154:98:1:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4431:197;;;;;;;;;;-1:-1:-1;4431:197:1;;;;;:::i;:::-;;:::i;:::-;;;1351:14:14;;1344:22;1326:41;;1314:2;1299:18;4431:197:1;1186:187:14;3383:32:12;;;;;;;;;;-1:-1:-1;3383:32:12;;;;;;;;;;;;;;;:::i;2690:43::-;;;;;;;;;;;;;;;;;;;2120:25:14;;;2108:2;2093:18;2690:43:12;1974:177:14;3242:106:1;;;;;;;;;;-1:-1:-1;3329:12:1;;3242:106;;2549:46:12;;;;;;;;;;-1:-1:-1;2549:46:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;5190:286:1;;;;;;;;;;-1:-1:-1;5190:286:1;;;;;:::i;:::-;;:::i;11311:329:12:-;;;;;;;;;;-1:-1:-1;11311:329:12;;;;;:::i;:::-;;:::i;821:45::-;;;;;;;;;;;;861:5;821:45;;15525:98;;;;;;;;;;-1:-1:-1;15525:98:12;;1804:1;3265:36:14;;3253:2;3238:18;15525:98:12;3123:184:14;2879:113:4;;;;;;;;;;;;;:::i;5871:234:1:-;;;;;;;;;;-1:-1:-1;5871:234:1;;;;;:::i;:::-;;:::i;1104:42:12:-;;;;;;;;;;;;1142:4;1104:42;;12677:254;;;;;;;;;;;;;:::i;2771:25::-;;;;;;;;;;-1:-1:-1;2771:25:12;;;;;;;;;;;3670:42:14;3658:55;;;3640:74;;3628:2;3613:18;2771:25:12;3494:226:14;10725:306:12;;;;;;;;;;-1:-1:-1;10725:306:12;;;;;:::i;:::-;;:::i;8073:113::-;;;;;;;;;;;;;:::i;9308:331::-;;;;;;;;;;;;;:::i;9909:557::-;;;;;;;;;;;;;:::i;1724:38::-;;;;;;;;;;;;1758:4;1724:38;;3406:125:1;;;;;;;;;;-1:-1:-1;3406:125:1;;;;;:::i;:::-;3506:18;;3480:7;3506:18;;;;;;;;;;;;3406:125;1332:58:12;;;;;;;;;;;;1380:10;1332:58;;1831:101:0;;;;;;;;;;;;;:::i;2343:27:12:-;;;;;;;;;;-1:-1:-1;2343:27:12;;;;;;;;3212:31;;;;;;;;;;;;;;;;12236:269;;;;;;;;;;-1:-1:-1;12236:269:12;;;;;:::i;:::-;;:::i;2629:126:4:-;;;;;;;;;;-1:-1:-1;2629:126:4;;;;;:::i;:::-;;:::i;688:42:12:-;;;;;;;;;;;;725:5;688:42;;1465:60;;;;;;;;;;;;1514:11;1465:60;;1208:50;;;;;;;;;;;;1250:8;1208:50;;1201:85:0;;;;;;;;;;-1:-1:-1;1273:6:0;;;;1201:85;;8632:229:12;;;;;;;;;;;;;:::i;2365:102:1:-;;;;;;;;;;;;;:::i;953:47:12:-;;;;;;;;;;;;995:5;953:47;;11806:258;;;;;;;;;;-1:-1:-1;11806:258:12;;;;;:::i;:::-;;:::i;6592:427:1:-;;;;;;;;;;-1:-1:-1;6592:427:1;;;;;:::i;:::-;;:::i;8960:252:12:-;;;;;;;;;;;;;:::i;1391:29:13:-;;;;;;;;;;;;;;;3727:189:1;;;;;;;;;;-1:-1:-1;3727:189:1;;;;;:::i;:::-;;:::i;2976:48:12:-;;;;;;;;;;-1:-1:-1;2976:48:12;;;;;:::i;:::-;;;;;;;;;;;;;;2860:45;;;;;;;;;;-1:-1:-1;2860:45:12;;;;;:::i;:::-;;;;;;;;;;;;;;6234:892;;;:::i;1942:626:4:-;;;;;;;;;;-1:-1:-1;1942:626:4;;;;;:::i;:::-;;:::i;3308:27:12:-;;;;;;;;;;;;;;;;8353:214;;;;;;;;;;-1:-1:-1;8353:214:12;;;;;:::i;:::-;;:::i;3974:149:1:-;;;;;;;;;;-1:-1:-1;3974:149:1;;;;;:::i;:::-;4089:18;;;;4063:7;4089:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3974:149;13834:380:12;;;;;;;;;;;;;:::i;1600:57::-;;;;;;;;;;;;1649:8;1600:57;;13146:457;;;;;;;;;;-1:-1:-1;13146:457:12;;;;;:::i;:::-;;:::i;3106:48::-;;;;;;;;;;-1:-1:-1;3106:48:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;2081:198:0;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;2441:46:12:-;;;;;;;;;;-1:-1:-1;2441:46:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;6234:892;6304:10;6708:21:13;;6756:8;;;6324:70:12;;6371:12;;;;;;;;;;;;;;6324:70;6436:31;6420:12;;;;:47;;;;;;;;:::i;:::-;;:89;;;;-1:-1:-1;6484:25:12;;;;;;;:16;:25;;;;;;;;6483:26;6420:89;6403:175;;;6541:26;;;;;;;;;;;;;;6403:175;6620:31;6604:12;;;;:47;;;;;;;;:::i;:::-;;;:107;;;;-1:-1:-1;6683:28:12;6667:12;;;;:44;;;;;;;;:::i;:::-;;;6604:107;6587:184;;;6743:17;;;;;;;;;;;;;;6587:184;6781:19;;;;;;;:10;:19;;;;;:32;;6804:9;;6781:19;:32;;6804:9;;6781:32;:::i;:::-;;;;;;;;6843:9;6823:16;;:29;;;;;;;:::i;:::-;;;;-1:-1:-1;;6867:16:12;;1250:8;-1:-1:-1;6863:89:12;;;6924:17;;;;;;;;;;;;;;6863:89;6965:19;;;;;;;:10;:19;;;;;;1380:10;-1:-1:-1;6961:106:12;;;7031:25;;;;;;;;;;;;;;6961:106;7100:7;7082:37;;;7109:9;7082:37;;;;2120:25:14;;2108:2;2093:18;;1974:177;7082:37:12;;;;;;;;6276:850;6234:892::o;7237:747::-;7298:10;6708:21:13;;6756:8;;;7319:70:12;;7366:12;;;;;;;;;;;;;;7319:70;7418:22;7402:12;;;;:38;;;;;;;;:::i;:::-;;7398:97;;7463:21;;;;;;;;;;;;;;7398:97;7508:19;;;;;;;:10;:19;;;;;;:24;;7504:80;;7555:18;;;;;;;;;;;;;;7504:80;7597:22;;;;;;;:13;:22;;;;;;:27;7593:81;;7647:16;;;;;;;;;;;;;;7593:81;7761:16;;7726:19;;;7684:20;7726:19;;;:10;:19;;;;;;7684:20;;7761:16;1990:6;861:5;1885:15;1804:1;1885:2;:15;:::i;:::-;1858:43;;:23;:43;:::i;:::-;1959:27;;;;:::i;:::-;1958:38;;;;:::i;:::-;7708:37;;;;:::i;:::-;7707:70;;;;:::i;:::-;7787:22;;;;;;;:13;:22;;;;;:37;;;7834:12;:28;;7684:93;;-1:-1:-1;7684:93:12;;7834:12;;7787:22;7834:28;;7684:93;;7834:28;:::i;:::-;;;;-1:-1:-1;7873:51:12;;-1:-1:-1;7902:7:12;7911:12;7873:28;:51::i;:::-;7955:7;7940:37;;;7964:12;7940:37;;;;2120:25:14;;2108:2;2093:18;;1974:177;7940:37:12;;;;;;;;7270:714;;7237:747::o;2154:98:1:-;2208:13;2240:5;2233:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:98;:::o;4431:197::-;4514:4;719:10:6;4568:32:1;719:10:6;4584:7:1;4593:6;4568:8;:32::i;:::-;4617:4;4610:11;;;4431:197;;;;;:::o;5190:286::-;5317:4;719:10:6;5373:38:1;5389:4;719:10:6;5404:6:1;5373:15;:38::i;:::-;5421:27;5431:4;5437:2;5441:6;5421:9;:27::i;:::-;-1:-1:-1;5465:4:1;;5190:286;-1:-1:-1;;;;5190:286:1:o;11311:329:12:-;4664:10;;;;4650;:24;4646:76;;4697:14;;;;;;;;;;;;;;4646:76;11432:23:::1;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:39;::::1;;:23;::::0;;::::1;:39;;::::0;11428:96:::1;;11494:19;;;;;;;;;;;;;;11428:96;11533:23;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:38;;;::::1;::::0;::::1;;::::0;;::::1;::::0;;;11586:47;;11533:38;;:23;11586:47:::1;::::0;::::1;11311:329:::0;;:::o;2879:113:4:-;2939:7;2965:20;:18;:20::i;:::-;2958:27;;2879:113;:::o;5871:234:1:-;719:10:6;5959:4:1;4089:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;5959:4;;719:10:6;6013:64:1;;719:10:6;;4089:27:1;;6038:38;;6066:10;;6038:38;:::i;:::-;6013:8;:64::i;12677:254:12:-;4664:10;;;;4650;:24;4646:76;;4697:14;;;;;;;;;;;;;;4646:76;12772:4:::1;12736:15;3506:18:1::0;;;;;;;;;;;12792:11:12;;12788:137:::1;;12850:12;::::0;12819:53:::1;::::0;12843:4:::1;::::0;12850:12:::1;;12864:7:::0;12819:15:::1;:53::i;:::-;12891:23;::::0;2120:25:14;;;12891:23:12::1;::::0;2108:2:14;2093:18;12891:23:12::1;;;;;;;;12788:137;12726:205;12677:254::o:0;10725:306::-;4664:10;;;;4650;:24;4646:76;;4697:14;;;;;;;;;;;;;;4646:76;10843:23:::1;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:34;::::1;;:23;::::0;;::::1;:34;;::::0;10839:91:::1;;10900:19;;;;;;;;;;;;;;10839:91;10939:23;::::0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:33;;;::::1;::::0;::::1;;::::0;;::::1;::::0;;;10987:37;;10939:33;;:23;10987:37:::1;::::0;::::1;10725:306:::0;;:::o;8073:113::-;8167:12;;8123:7;;1990:6;861:5;1885:15;1804:1;1885:2;:15;:::i;:::-;1858:43;;:23;:43;:::i;:::-;1959:27;;;;:::i;:::-;1958:38;;;;:::i;:::-;8149:30;;;;:::i;9308:331::-;1094:13:0;:11;:13::i;:::-;9381:28:12::1;9365:12;::::0;::::1;;:44;::::0;::::1;;;;;;:::i;:::-;;9361:96;;9432:14;;;;;;;;;;;;;;9361:96;9470:16;;9490:1;9470:21:::0;9466:75:::1;;9514:16;;;;;;;;;;;;;;9466:75;9551:12;:34:::0;;;::::1;9566:19;9551:34;::::0;;9615:16:::1;::::0;9601:31:::1;::::0;2120:25:14;;;9601:31:12::1;::::0;2108:2:14;2093:18;9601:31:12::1;;;;;;;9308:331::o:0;9909:557::-;1094:13:0;:11;:13::i;:::-;9985:19:12::1;9969:12;::::0;::::1;;:35;::::0;::::1;;;;;;:::i;:::-;;9965:87;;10027:14;;;;;;;;;;;;;;9965:87;10062:29;1990:6;861:5;1885:15;1804:1;1885:2;:15;:::i;:::-;1858:43;::::0;:23:::1;:43;:::i;:::-;1959:27;;;;:::i;:::-;1958:38;;;;:::i;:::-;2089:6;995:5;1885:15;1804:1;1885:2;:15;:::i;:::-;1858:43;::::0;:23:::1;:43;:::i;:::-;2056:29;;;;:::i;:::-;2055:40;;;;:::i;:::-;10095:16;;:36;;;;:::i;:::-;10094:68;;;;:::i;:::-;10062:100:::0;-1:-1:-1;10172:125:12::1;2089:6;995:5;1885:15;1804:1;1885:2;:15;:::i;:::-;1858:43;::::0;:23:::1;:43;:::i;:::-;2056:29;;;;:::i;:::-;2055:40;;;;:::i;:::-;10275:12;::::0;10240:21;;10275:12:::1;;10172:23;:125::i;:::-;10318:12;::::0;10308:23:::1;::::0;10318:12:::1;;10308:9;:23::i;:::-;10342:19;:17;:19::i;:::-;10372:12;:37:::0;;;::::1;10387:22;10372:37;::::0;;10442:16:::1;::::0;10425:34:::1;::::0;2120:25:14;;;10425:34:12::1;::::0;2108:2:14;2093:18;10425:34:12::1;1974:177:14::0;1831:101:0;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;12236:269:12:-;4664:10;;;;4650;:24;4646:76;;4697:14;;;;;;;;;;;;;;4646:76;12343:12:::1;::::0;::::1;::::0;;::::1;12324:31:::0;;::::1;::::0;12320:88:::1;;12378:19;;;;;;;;;;;;;;12320:88;12417:12;:30:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;12462:36:::1;::::0;::::1;::::0;-1:-1:-1;;12462:36:12::1;12236:269:::0;:::o;2629:126:4:-;2724:14;;;2698:7;2724:14;;;:7;:14;;;;;918::7;2724:24:4;827:112:7;8632:229:12;1094:13:0;:11;:13::i;:::-;8704:17:12::1;8688:12;::::0;::::1;;:33;::::0;::::1;;;;;;:::i;:::-;;8684:85;;8744:14;;;;;;;;;;;;;;8684:85;8778:12;:46:::0;;;::::1;8793:31;8778:46;::::0;;8839:15:::1;::::0;::::1;::::0;-1:-1:-1;;8839:15:12::1;8632:229::o:0;2365:102:1:-;2421:13;2453:7;2446:14;;;;;:::i;11806:258:12:-;4664:10;;;;4650;:24;4646:76;;4697:14;;;;;;;;;;;;;;4646:76;11912:10:::1;::::0;::::1;::::0;;::::1;11895:27:::0;;::::1;::::0;11891:84:::1;;11945:19;;;;;;;;;;;;;;11891:84;11984:10;:26:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;12025:32:::1;::::0;::::1;::::0;-1:-1:-1;;12025:32:12::1;11806:258:::0;:::o;6592:427:1:-;719:10:6;6685:4:1;4089:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;6685:4;;719:10:6;6829:15:1;6809:16;:35;;6801:85;;;;;;;8544:2:14;6801:85:1;;;8526:21:14;8583:2;8563:18;;;8556:30;8622:34;8602:18;;;8595:62;8693:7;8673:18;;;8666:35;8718:19;;6801:85:1;;;;;;;;;6920:60;6929:5;6936:7;6964:15;6945:16;:34;6920:8;:60::i;8960:252:12:-;1094:13:0;:11;:13::i;:::-;9038:31:12::1;9022:12;::::0;::::1;;:47;::::0;::::1;;;;;;:::i;:::-;;9018:99;;9092:14;;;;;;;;;;;;;;9018:99;9126:12;:43:::0;;;::::1;9141:28;9126:43;::::0;;9184:21:::1;::::0;::::1;::::0;-1:-1:-1;;9184:21:12::1;8960:252::o:0;3727:189:1:-;3806:4;719:10:6;3860:28:1;719:10:6;3877:2:1;3881:6;3860:9;:28::i;1942:626:4:-;2177:8;2158:15;:27;;2150:69;;;;;;;8950:2:14;2150:69:4;;;8932:21:14;8989:2;8969:18;;;8962:30;9028:31;9008:18;;;9001:59;9077:18;;2150:69:4;8748:353:14;2150:69:4;2230:18;1137:95;2290:5;2297:7;2306:5;2313:16;2323:5;2313:9;:16::i;:::-;2261:79;;;;;;9393:25:14;;;;9437:42;9515:15;;;9495:18;;;9488:43;9567:15;;;;9547:18;;;9540:43;9599:18;;;9592:34;9642:19;;;9635:35;9686:19;;;9679:35;;;9365:19;;2261:79:4;;;;;;;;;;;;2251:90;;;;;;2230:111;;2352:12;2367:28;2384:10;2367:16;:28::i;:::-;2352:43;;2406:14;2423:28;2437:4;2443:1;2446;2449;2423:13;:28::i;:::-;2406:45;;2479:5;2469:15;;:6;:15;;;2461:58;;;;;;;9927:2:14;2461:58:4;;;9909:21:14;9966:2;9946:18;;;9939:30;10005:32;9985:18;;;9978:60;10055:18;;2461:58:4;9725:354:14;2461:58:4;2530:31;2539:5;2546:7;2555:5;2530:8;:31::i;:::-;2140:428;;;1942:626;;;;;;;:::o;8353:214:12:-;1094:13:0;:11;:13::i;:::-;8459:9:12::1;8454:107;8474:19:::0;;::::1;8454:107;;;8546:4;8514:16;:29;8531:8;;8540:1;8531:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;8514:29;;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;8514:29:12;:36;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;8495:3:::1;::::0;::::1;:::i;:::-;;;8454:107;;;;8353:214:::0;;:::o;13834:380::-;13885:7;13905:17;13924:16;13944:13;:11;:13::i;:::-;13904:53;;-1:-1:-1;13904:53:12;-1:-1:-1;13967:18:12;14008:3;13989:15;13904:53;14003:1;13989:15;:::i;:::-;13988:23;;;;:::i;:::-;13967:44;;14040:167;14092:10;14073:16;;:29;:61;;14118:16;;14073:61;;;14105:10;14073:61;14152:12;14182:11;14040:15;:167::i;:::-;14021:186;;;;;13834:380;:::o;13146:457::-;4664:10;;;;4650;:24;4646:76;;4697:14;;;;;;;;;;;;;;4646:76;1514:11:::1;13269:19;:44;:104;;;;1649:8;13329:19;:44;13269:104;:159;;;;13412:16;;13389:19;:39;13269:159;13252:241;;;13460:22;;;;;;;;;;;;;;13252:241;13502:16;:38:::0;;;13555:41:::1;::::0;2120:25:14;;;13555:41:12::1;::::0;2108:2:14;2093:18;13555:41:12::1;1974:177:14::0;2081:198:0;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;::::1;::::0;;10675:2:14;2161:73:0::1;::::0;::::1;10657:21:14::0;10714:2;10694:18;;;10687:30;10753:34;10733:18;;;10726:62;10824:8;10804:18;;;10797:36;10850:19;;2161:73:0::1;10473:402:14::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;14980:165:12:-:0;15096:42;15120:4;15127:2;15131:6;15096:15;:42::i;:::-;14980:165;;:::o;10504:370:1:-;10635:19;;;10627:68;;;;;;;11082:2:14;10627:68:1;;;11064:21:14;11121:2;11101:18;;;11094:30;11160:34;11140:18;;;11133:62;11231:6;11211:18;;;11204:34;11255:19;;10627:68:1;10880:400:14;10627:68:1;10713:21;;;10705:68;;;;;;;11487:2:14;10705:68:1;;;11469:21:14;11526:2;11506:18;;;11499:30;11565:34;11545:18;;;11538:62;11636:4;11616:18;;;11609:32;11658:19;;10705:68:1;11285:398:14;10705:68:1;10784:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10835:32;;2120:25:14;;;10835:32:1;;2093:18:14;10835:32:1;;;;;;;10504:370;;;:::o;11155:441::-;4089:18;;;;11285:24;4089:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;11371:17;11351:37;;11347:243;;11432:6;11412:16;:26;;11404:68;;;;;;;11890:2:14;11404:68:1;;;11872:21:14;11929:2;11909:18;;;11902:30;11968:31;11948:18;;;11941:59;12017:18;;11404:68:1;11688:353:14;11404:68:1;11514:51;11523:5;11530:7;11558:6;11539:16;:25;11514:8;:51::i;:::-;11275:321;11155:441;;;:::o;14291:611:12:-;14436:20;;;;;;;:14;:20;;;;;;;;14435:21;:56;;;;-1:-1:-1;14473:18:12;;;;;;;:14;:18;;;;;;;;14472:19;14435:56;:99;;;;-1:-1:-1;14523:10:12;14508:26;;;;:14;:26;;;;;;;;14507:27;14435:99;14418:435;;;14559:11;14594:6;14574:16;1758:4;14574:6;:16;:::i;:::-;14573:27;;;;:::i;:::-;14559:41;;14614;14630:4;14644;14651:3;14614:15;:41::i;:::-;14743:18;;;;;;;:14;:18;;;;;;14697:13;;;;;14743:18;;14739:104;;;14795:33;14807:20;:18;:20::i;:::-;14795:11;:33::i;:::-;14545:308;14418:435;14862:33;14878:4;14884:2;14888:6;14862:15;:33::i;3152:308:10:-;3205:7;3236:4;3228:29;3245:12;3228:29;;:66;;;;;3278:16;3261:13;:33;3228:66;3224:230;;;-1:-1:-1;3317:24:10;;3152:308::o;3224:230::-;-1:-1:-1;3642:73:10;;;3401:10;3642:73;;;;14374:25:14;;;;3413:12:10;14415:18:14;;;14408:34;3427:15:10;14458:18:14;;;14451:34;3686:13:10;14501:18:14;;;14494:34;3709:4:10;14544:19:14;;;;14537:84;;;;3642:73:10;;;;;;;;;;14346:19:14;;;;3642:73:10;;;3632:84;;;;;;2879:113:4:o;7473:818:1:-;7599:18;;;7591:68;;;;;;;12248:2:14;7591:68:1;;;12230:21:14;12287:2;12267:18;;;12260:30;12326:34;12306:18;;;12299:62;12397:7;12377:18;;;12370:35;12422:19;;7591:68:1;12046:401:14;7591:68:1;7677:16;;;7669:64;;;;;;;12654:2:14;7669:64:1;;;12636:21:14;12693:2;12673:18;;;12666:30;12732:34;12712:18;;;12705:62;12803:5;12783:18;;;12776:33;12826:19;;7669:64:1;12452:399:14;7669:64:1;7815:15;;;7793:19;7815:15;;;;;;;;;;;7848:21;;;;7840:72;;;;;;;13058:2:14;7840:72:1;;;13040:21:14;13097:2;13077:18;;;13070:30;13136:34;13116:18;;;13109:62;13207:8;13187:18;;;13180:36;13233:19;;7840:72:1;12856:402:14;7840:72:1;7946:15;;;;:9;:15;;;;;;;;;;;7964:20;;;7946:38;;8161:13;;;;;;;;;;:23;;;;;;8210:26;;2120:25:14;;;8161:13:1;;8210:26;;2093:18:14;8210:26:1;;;;;;;8247:37;8353:214:12;1359:130:0;1273:6;;1422:23;1273:6;719:10:6;1422:23:0;1414:68;;;;;;;13465:2:14;1414:68:0;;;13447:21:14;;;13484:18;;;13477:30;13543:34;13523:18;;;13516:62;13595:18;;1414:68:0;13263:356:14;3735:232:13;3869:4;3863:19;;;3890:9;3863:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3912:48;3933:11;3946:9;3957:2;3912:20;:48::i;4308:100::-;4358:43;4375:2;4379:21;4358:16;:43::i;2433:187:0:-;2525:6;;;;2541:17;;;;;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;3123:203:4:-;3243:14;;;3183:15;3243:14;;;:7;:14;;;;;918::7;;1050:1;1032:19;;;;918:14;3302:17:4;3200:126;3123:203;;;:::o;4348:165:10:-;4425:7;4451:55;4473:20;:18;:20::i;:::-;4495:10;8470:57:9;;15903:66:14;8470:57:9;;;15891:79:14;15986:11;;;15979:27;;;16022:12;;;16015:28;;;8434:7:9;;16059:12:14;;8470:57:9;;;;;;;;;;;;8460:68;;;;;;8453:75;;8341:194;;;;;6696:270;6819:7;6839:17;6858:18;6880:25;6891:4;6897:1;6900;6903;6880:10;:25::i;:::-;6838:67;;;;6915:18;6927:5;6915:11;:18::i;:::-;-1:-1:-1;6950:9:9;6696:270;-1:-1:-1;;;;;6696:270:9:o;5676:330:13:-;5746:17;5765:16;5798:21;5821;5861:4;5846:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5797:83;;;;5920:13;:79;;5970:13;5985;5920:79;;;5937:13;5952;5920:79;5890:109;;;;;;;;-1:-1:-1;5676:330:13;-1:-1:-1;;;5676:330:13:o;5305:327::-;5436:16;;5481:24;5496:9;5481:12;:24;:::i;:::-;:31;;5508:4;5481:31;:::i;:::-;5464:48;-1:-1:-1;5522:16:13;5542:23;5556:9;5542:11;:23;:::i;:::-;5541:31;;5569:3;5541:31;:::i;:::-;5522:50;-1:-1:-1;5597:23:13;5522:50;5597:9;:23;:::i;:::-;5596:29;;5624:1;5596:29;:::i;:::-;5582:43;5305:327;-1:-1:-1;;;;;;5305:327:13:o;15260:259:12:-;1990:6;861:5;1885:15;1804:1;1885:2;:15;:::i;:::-;1858:43;;:23;:43;:::i;:::-;1959:27;;;;:::i;:::-;1958:38;;;;:::i;:::-;15392:29;;:11;:29;:::i;:::-;15365:12;;15356:4;3480:7:1;3506:18;;;;;;;;;;;15338:39:12;;;;:::i;:::-;:83;15321:142;;;15260:259;:::o;15321:142::-;15499:12;;15473:39;;15486:11;;15499:12;;15473;:39::i;3195:287:13:-;3321:47;3350:4;3356:11;3321:28;:47::i;:::-;3378:58;;;;;3412:4;3378:58;;;14895:34:14;3378:25:13;3419:4;14965:15:14;;14945:18;;;14938:43;14997:18;;;14990:34;;;3385:4:13;3378:25;;;;14807:18:14;;3378:58:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3446:29:13;;;;;:25;3658:55:14;;;3446:29:13;;;3640:74:14;3461:4:13;3446:25;;;;3613:18:14;;3446:29:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3195:287;;;:::o;6075:383::-;6148:12;6390:1;6387;6384;6381;6373:6;6369:2;6362:5;6357:35;6346:46;;6420:7;6412:39;;;;;;;15487:2:14;6412:39:13;;;15469:21:14;15526:2;15506:18;;;15499:30;15565:21;15545:18;;;15538:49;15604:18;;6412:39:13;15285:343:14;5069:1494:9;5195:7;;6119:66;6106:79;;6102:161;;;-1:-1:-1;6217:1:9;;-1:-1:-1;6221:30:9;6201:51;;6102:161;6374:24;;;6357:14;6374:24;;;;;;;;;16309:25:14;;;16382:4;16370:17;;16350:18;;;16343:45;;;;16404:18;;;16397:34;;;16447:18;;;16440:34;;;6374:24:9;;16281:19:14;;6374:24:9;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6374:24:9;;;;;;-1:-1:-1;;6412:20:9;;;6408:101;;6464:1;6468:29;6448:50;;;;;;;6408:101;6527:6;-1:-1:-1;6535:20:9;;-1:-1:-1;5069:1494:9;;;;;;;;:::o;570:511::-;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:441;;570:511;:::o;634:441::-;743:29;734:5;:38;;;;;;;;:::i;:::-;;730:345;;788:34;;;;;16687:2:14;788:34:9;;;16669:21:14;16726:2;16706:18;;;16699:30;16765:26;16745:18;;;16738:54;16809:18;;788:34:9;16485:348:14;730:345:9;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;;;;17040:2:14;903:41:9;;;17022:21:14;17079:2;17059:18;;;17052:30;17118:33;17098:18;;;17091:61;17169:18;;903:41:9;16838:355:14;839:236:9;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;;;;17400:2:14;1020:44:9;;;17382:21:14;17439:2;17419:18;;;17412:30;17478:34;17458:18;;;17451:62;17549:4;17529:18;;;17522:32;17571:19;;1020:44:9;17198:398:14;1945:444:13;2016:15;2034:27;2049:11;2034:14;:27::i;:::-;2016:45;;2071:47;2100:4;2106:11;2071:28;:47::i;:::-;2215:4;2200:25;;;2226:13;:30;;2246:10;2226:30;;;2242:1;2226:30;2258:13;:30;;2287:1;2258:30;;;2274:10;2258:30;2304:12;;;2314:1;2304:12;;;;;;;;;2200:117;;;;;;;;;;;;;2290:12;;2200:117;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2327:55:13;;;;;:25;2353:12;14913:15:14;;2327:55:13;;;14895:34:14;14965:15;;;14945:18;;;14938:43;14997:18;;;14990:34;;;2334:4:13;2327:25;;-1:-1:-1;2327:25:13;;-1:-1:-1;14807:18:14;;2327:55:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4816:393::-;4894:15;4922:17;4941:16;4961:13;:11;:13::i;:::-;4921:53;;-1:-1:-1;4921:53:13;-1:-1:-1;4984:23:13;5010:16;:10;5023:3;5010:16;:::i;:::-;4984:42;-1:-1:-1;5036:14:13;5053:32;5074:11;4984:42;5053:32;:::i;:::-;5036:49;-1:-1:-1;5095:16:13;5138:18;5115:19;:12;5130:4;5115:19;:::i;:::-;5114:42;;;;:::i;:::-;5095:61;-1:-1:-1;5179:23:13;5095:61;5179:9;:23;:::i;:::-;5166:36;4816:393;-1:-1:-1;;;;;;;4816:393:13:o;14:482:14:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;160:3;363:1;356:4;347:6;342:3;338:16;334:27;327:38;485:4;415:66;410:2;402:6;398:15;394:88;389:3;385:98;381:109;374:116;;;14:482;;;;:::o;501:220::-;650:2;639:9;632:21;613:4;670:45;711:2;700:9;696:18;688:6;670:45;:::i;:::-;662:53;501:220;-1:-1:-1;;;501:220:14:o;726:196::-;794:20;;854:42;843:54;;833:65;;823:93;;912:1;909;902:12;823:93;726:196;;;:::o;927:254::-;995:6;1003;1056:2;1044:9;1035:7;1031:23;1027:32;1024:52;;;1072:1;1069;1062:12;1024:52;1095:29;1114:9;1095:29;:::i;:::-;1085:39;1171:2;1156:18;;;;1143:32;;-1:-1:-1;;;927:254:14:o;1378:184::-;1430:77;1427:1;1420:88;1527:4;1524:1;1517:15;1551:4;1548:1;1541:15;1567:402;1716:2;1701:18;;1749:1;1738:13;;1728:201;;1785:77;1782:1;1775:88;1886:4;1883:1;1876:15;1914:4;1911:1;1904:15;1728:201;1938:25;;;1567:402;:::o;2156:186::-;2215:6;2268:2;2256:9;2247:7;2243:23;2239:32;2236:52;;;2284:1;2281;2274:12;2236:52;2307:29;2326:9;2307:29;:::i;2347:328::-;2424:6;2432;2440;2493:2;2481:9;2472:7;2468:23;2464:32;2461:52;;;2509:1;2506;2499:12;2461:52;2532:29;2551:9;2532:29;:::i;:::-;2522:39;;2580:38;2614:2;2603:9;2599:18;2580:38;:::i;:::-;2570:48;;2665:2;2654:9;2650:18;2637:32;2627:42;;2347:328;;;;;:::o;2680:118::-;2766:5;2759:13;2752:21;2745:5;2742:32;2732:60;;2788:1;2785;2778:12;2803:315;2868:6;2876;2929:2;2917:9;2908:7;2904:23;2900:32;2897:52;;;2945:1;2942;2935:12;2897:52;2968:29;2987:9;2968:29;:::i;:::-;2958:39;;3047:2;3036:9;3032:18;3019:32;3060:28;3082:5;3060:28;:::i;:::-;3107:5;3097:15;;;2803:315;;;;;:::o;3725:693::-;3836:6;3844;3852;3860;3868;3876;3884;3937:3;3925:9;3916:7;3912:23;3908:33;3905:53;;;3954:1;3951;3944:12;3905:53;3977:29;3996:9;3977:29;:::i;:::-;3967:39;;4025:38;4059:2;4048:9;4044:18;4025:38;:::i;:::-;4015:48;;4110:2;4099:9;4095:18;4082:32;4072:42;;4161:2;4150:9;4146:18;4133:32;4123:42;;4215:3;4204:9;4200:19;4187:33;4260:4;4253:5;4249:16;4242:5;4239:27;4229:55;;4280:1;4277;4270:12;4229:55;3725:693;;;;-1:-1:-1;3725:693:14;;;;4303:5;4355:3;4340:19;;4327:33;;-1:-1:-1;4407:3:14;4392:19;;;4379:33;;3725:693;-1:-1:-1;;3725:693:14:o;4423:615::-;4509:6;4517;4570:2;4558:9;4549:7;4545:23;4541:32;4538:52;;;4586:1;4583;4576:12;4538:52;4626:9;4613:23;4655:18;4696:2;4688:6;4685:14;4682:34;;;4712:1;4709;4702:12;4682:34;4750:6;4739:9;4735:22;4725:32;;4795:7;4788:4;4784:2;4780:13;4776:27;4766:55;;4817:1;4814;4807:12;4766:55;4857:2;4844:16;4883:2;4875:6;4872:14;4869:34;;;4899:1;4896;4889:12;4869:34;4952:7;4947:2;4937:6;4934:1;4930:14;4926:2;4922:23;4918:32;4915:45;4912:65;;;4973:1;4970;4963:12;4912:65;5004:2;4996:11;;;;;5026:6;;-1:-1:-1;4423:615:14;;-1:-1:-1;;;;4423:615:14:o;5043:260::-;5111:6;5119;5172:2;5160:9;5151:7;5147:23;5143:32;5140:52;;;5188:1;5185;5178:12;5140:52;5211:29;5230:9;5211:29;:::i;:::-;5201:39;;5259:38;5293:2;5282:9;5278:18;5259:38;:::i;:::-;5249:48;;5043:260;;;;;:::o;5308:180::-;5367:6;5420:2;5408:9;5399:7;5395:23;5391:32;5388:52;;;5436:1;5433;5426:12;5388:52;-1:-1:-1;5459:23:14;;5308:180;-1:-1:-1;5308:180:14:o;5493:184::-;5545:77;5542:1;5535:88;5642:4;5639:1;5632:15;5666:4;5663:1;5656:15;5682:125;5747:9;;;5768:10;;;5765:36;;;5781:18;;:::i;5812:482::-;5901:1;5944:5;5901:1;5958:330;5979:7;5969:8;5966:21;5958:330;;;6098:4;6030:66;6026:77;6020:4;6017:87;6014:113;;;6107:18;;:::i;:::-;6157:7;6147:8;6143:22;6140:55;;;6177:16;;;;6140:55;6256:22;;;;6216:15;;;;5958:330;;;5962:3;5812:482;;;;;:::o;6299:866::-;6348:5;6378:8;6368:80;;-1:-1:-1;6419:1:14;6433:5;;6368:80;6467:4;6457:76;;-1:-1:-1;6504:1:14;6518:5;;6457:76;6549:4;6567:1;6562:59;;;;6635:1;6630:130;;;;6542:218;;6562:59;6592:1;6583:10;;6606:5;;;6630:130;6667:3;6657:8;6654:17;6651:43;;;6674:18;;:::i;:::-;-1:-1:-1;;6730:1:14;6716:16;;6745:5;;6542:218;;6844:2;6834:8;6831:16;6825:3;6819:4;6816:13;6812:36;6806:2;6796:8;6793:16;6788:2;6782:4;6779:12;6775:35;6772:77;6769:159;;;-1:-1:-1;6881:19:14;;;6913:5;;6769:159;6960:34;6985:8;6979:4;6960:34;:::i;:::-;7090:6;7022:66;7018:79;7009:7;7006:92;7003:118;;;7101:18;;:::i;:::-;7139:20;;6299:866;-1:-1:-1;;;6299:866:14:o;7170:140::-;7228:5;7257:47;7298:4;7288:8;7284:19;7278:4;7257:47;:::i;7315:168::-;7388:9;;;7419;;7436:15;;;7430:22;;7416:37;7406:71;;7457:18;;:::i;7488:274::-;7528:1;7554;7544:189;;7589:77;7586:1;7579:88;7690:4;7687:1;7680:15;7718:4;7715:1;7708:15;7544:189;-1:-1:-1;7747:9:14;;7488:274::o;7767:437::-;7846:1;7842:12;;;;7889;;;7910:61;;7964:4;7956:6;7952:17;7942:27;;7910:61;8017:2;8009:6;8006:14;7986:18;7983:38;7980:218;;8054:77;8051:1;8044:88;8155:4;8152:1;8145:15;8183:4;8180:1;8173:15;8209:128;8276:9;;;8297:11;;;8294:37;;;8311:18;;:::i;10084:184::-;10136:77;10133:1;10126:88;10233:4;10230:1;10223:15;10257:4;10254:1;10247:15;10273:195;10312:3;10343:66;10336:5;10333:77;10330:103;;10413:18;;:::i;:::-;-1:-1:-1;10460:1:14;10449:13;;10273:195::o;13624:188::-;13703:13;;13756:30;13745:42;;13735:53;;13725:81;;13802:1;13799;13792:12;13817:293;13896:6;13904;13957:2;13945:9;13936:7;13932:23;13928:32;13925:52;;;13973:1;13970;13963:12;13925:52;13996:40;14026:9;13996:40;:::i;:::-;13986:50;;14055:49;14100:2;14089:9;14085:18;14055:49;:::i;15035:245::-;15102:6;15155:2;15143:9;15134:7;15130:23;15126:32;15123:52;;;15171:1;15168;15161:12;15123:52;15203:9;15197:16;15222:28;15244:5;15222:28;:::i;17790:482::-;18021:6;18010:9;18003:25;18064:6;18059:2;18048:9;18044:18;18037:34;18119:42;18111:6;18107:55;18102:2;18091:9;18087:18;18080:83;18199:3;18194:2;18183:9;18179:18;18172:31;17984:4;18220:46;18261:3;18250:9;18246:19;18238:6;18220:46;:::i
Swarm Source
ipfs://bc2b3532b599556a42b57ce2dd15fd2519e784e6fd2f591c8dce855d49ce0b80
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.