Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Gaming
Overview
Max Total Supply
9,972,902,505.783005684516883053 FP
Holders
3,013 (0.00%)
Market
Price
$0.00 @ 0.000001 ETH (-0.40%)
Onchain Market Cap
$21,446,926.30
Circulating Supply Market Cap
$6,269,882.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
88,110.321289080639029325 FPValue
$189.48 ( ~0.0543983968493467 Eth) [0.0009%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ForgottenPlaylandToken
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.22; import "@openzeppelin/contracts/access/Ownable2Step.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; interface IUniswapV3Router { function factory() external pure returns (address); } contract ForgottenPlaylandToken is ERC20, Ownable2Step { using SafeERC20 for IERC20; IUniswapV2Router02 public immutable uniswapV2Router; IUniswapV3Router public immutable uniswapV3Router; address public constant ZERO_ADDRESS = address(0); address public constant DEAD_ADDRESS = address(0xdead); bool private _v2LPProtectionEnabled; bool private _v3LPProtectionEnabled; bool public limitsEnabled; bool public taxesEnabled; bool public launched; bool public migrated; uint256 public constant MAX_BUY_FEE = 500; uint256 public constant MAX_SELL_FEE = 500; uint256 public constant FEES_PERCENT_DENOMINATOR = 10000; uint256 public constant MAX_TRANSACTION_PERCENT_DENOMINATOR = 1000000; uint256 public constant MAX_WALLET_PERCENT_DENOMINATOR = 100000; uint256 public launchBlock; uint256 public launchTime; uint256 public maxTransaction; uint256 public maxWallet; uint256 public buyFees; uint256 public sellFees; mapping(address => bool) public isExcludedFromFees; mapping(address => bool) public isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairsV2; mapping(address => bool) public automatedMarketMakerPairsV3; mapping(address => bool) public isBot; event Airdrop(address account, uint256 amount); event Launch(); event PrepareForMigration(); event SetLimitsEnabled(bool status); event SetTaxesEnabled(bool status); event SetMaxTransaction( uint256 oldValueMaxTransaction, uint256 newValueMaxTransaction ); event SetMaxWallet(uint256 oldValueMaxWallet, uint256 newValueMaxWallet); event SetBuyFees(uint256 oldValue, uint256 newValue); event SetSellFees(uint256 oldValue, uint256 newValue); event WithdrawStuckTokens(address token, uint256 amount); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeFromMaxTransaction(address indexed account, bool isExcluded); event SetBots(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPairV2( address indexed pair, bool indexed value ); event SetAutomatedMarketMakerPairV3( address indexed pair, bool indexed value ); constructor() ERC20("Forgotten Playland", "FP") { uint256 tSupply = 10_000_000_000 ether; uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV3Router = IUniswapV3Router( 0xE592427A0AEce92De3Edee1F18E0157C05861564 ); maxTransaction = tSupply; maxWallet = tSupply; buyFees = 500; sellFees = 500; _excludeFromFees(_msgSender(), true); _excludeFromFees(address(this), true); _excludeFromFees(DEAD_ADDRESS, true); _excludeFromMaxTransaction(_msgSender(), true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(DEAD_ADDRESS, true); _excludeFromMaxTransaction(address(uniswapV2Router), true); _mint(_msgSender(), tSupply); } receive() external payable {} function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev The new owner accepts the ownership transfer. * Revoke exclusions from previous owner. * Grand exclusions to new owner. */ function acceptOwnership() public virtual override { address sender = _msgSender(); require( pendingOwner() == sender, "ForgottenPlaylandToken: caller is not the new owner" ); address ownr = owner(); _excludeFromFees(ownr, false); _excludeFromMaxTransaction(ownr, false); _excludeFromFees(sender, true); _excludeFromMaxTransaction(sender, true); super.acceptOwnership(); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * Revoke exclusions from owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual override onlyOwner { _excludeFromFees(_msgSender(), false); _excludeFromMaxTransaction(_msgSender(), false); super.renounceOwnership(); } /** * @dev Transfer corresponding amounts of tokens owned by this owner to accounts * * Requirements: * * - `accounts` array length should be equal to `amounts` array length */ function airdrop( address[] memory accounts, uint256[] memory amounts ) public onlyOwner { uint256 accountsLength = accounts.length; require( accountsLength == amounts.length, "ForgottenPlaylandToken: Arrays must be the same length" ); for (uint256 i = 0; i < accountsLength; i++) { address account = accounts[i]; uint256 amount = amounts[i]; _transfer(_msgSender(), account, amount); emit Airdrop(account, amount); } } /** * @dev Trigger the launch of the token */ function launch() public onlyOwner { require(!launched, "ForgottenPlaylandToken: Already launched."); IUniswapV2Factory uniswapV2Factory = IUniswapV2Factory( uniswapV2Router.factory() ); IUniswapV3Factory uniswapV3Factory = IUniswapV3Factory( uniswapV3Router.factory() ); address wethAddress = uniswapV2Router.WETH(); address uniswapV2Pair = uniswapV2Factory.getPair( address(this), wethAddress ); address uniswapV3Migrator = 0xA5644E29708357803b5A882D272c41cC0dF92B34; if (uniswapV2Pair == ZERO_ADDRESS) { uniswapV2Pair = uniswapV2Factory.createPair( address(this), wethAddress ); } address uniswapV3Pool10000 = IUniswapV3Factory( uniswapV3Router.factory() ).getPool(address(this), wethAddress, 10000); address uniswapV3Pool3000 = uniswapV3Factory.getPool( address(this), wethAddress, 3000 ); address uniswapV3Pool500 = uniswapV3Factory.getPool( address(this), wethAddress, 500 ); address uniswapV3Pool100 = uniswapV3Factory.getPool( address(this), wethAddress, 100 ); if (uniswapV3Pool10000 == ZERO_ADDRESS) { uniswapV3Pool10000 = uniswapV3Factory.createPool( address(this), wethAddress, 10000 ); } if (uniswapV3Pool3000 == ZERO_ADDRESS) { uniswapV3Pool3000 = uniswapV3Factory.createPool( address(this), wethAddress, 3000 ); } if (uniswapV3Pool500 == ZERO_ADDRESS) { uniswapV3Pool500 = uniswapV3Factory.createPool( address(this), wethAddress, 500 ); } if (uniswapV3Pool100 == ZERO_ADDRESS) { uniswapV3Pool100 = uniswapV3Factory.createPool( address(this), wethAddress, 100 ); } _setAutomatedMarketMakerPairV2(address(uniswapV2Pair), true); _setAutomatedMarketMakerPairV3(address(uniswapV3Pool10000), true); _setAutomatedMarketMakerPairV3(address(uniswapV3Pool3000), true); _setAutomatedMarketMakerPairV3(address(uniswapV3Pool500), true); _setAutomatedMarketMakerPairV3(address(uniswapV3Pool100), true); _excludeFromMaxTransaction(address(uniswapV2Pair), true); _excludeFromMaxTransaction(address(uniswapV3Pool10000), true); _excludeFromMaxTransaction(address(uniswapV3Pool3000), true); _excludeFromMaxTransaction(address(uniswapV3Pool500), true); _excludeFromMaxTransaction(address(uniswapV3Pool100), true); _excludeFromMaxTransaction(uniswapV3Migrator, true); _excludeFromFees(uniswapV3Migrator, true); uint256 ethAmount = address(this).balance; require(ethAmount > 0, "ForgottenPlaylandToken: Invalid ETH amount."); uint256 tokenAmount = balanceOf(address(this)); require( tokenAmount > 0, "ForgottenPlaylandToken: Invalid token amount." ); uint256 amountTokenMin = (tokenAmount * 99) / 100; uint256 amountETHMin = (ethAmount * 99) / 100; _approve(address(this), address(uniswapV2Router), tokenAmount); (uint amountToken, uint amountETH, ) = uniswapV2Router.addLiquidityETH{ value: ethAmount }( address(this), tokenAmount, amountTokenMin, amountETHMin, _msgSender(), block.timestamp + (30 minutes) ); require( (amountToken >= amountTokenMin) && (amountToken <= tokenAmount), "ForgottenPlaylandToken: Undesired amount of tokens added to liquidity." ); require( (amountETH >= amountETHMin) && (amountETH <= ethAmount), "ForgottenPlaylandToken: Undesired amount of ETH added to liquidity." ); maxTransaction = tokenAmount / 100; maxWallet = tokenAmount / 100; _v2LPProtectionEnabled = false; _v3LPProtectionEnabled = true; limitsEnabled = true; taxesEnabled = true; launched = true; launchBlock = block.number; launchTime = block.timestamp; emit Launch(); } /** * @dev Trigger the preparation for migration of the token to UniswapV3 */ function prepareForMigration() public onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); require(launched, "ForgottenPlaylandToken: Not launched."); _v2LPProtectionEnabled = true; _v3LPProtectionEnabled = false; limitsEnabled = false; taxesEnabled = false; buyFees = 0; sellFees = 0; maxTransaction = totalSupply(); maxWallet = totalSupply(); if (balanceOf(address(this)) > 0) { super._transfer( address(this), _msgSender(), balanceOf(address(this)) ); } migrated = true; emit PrepareForMigration(); } /** * @dev Activate or deactivate the enforcement of limits during transfers */ function setLimitsEnabled(bool value) public onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); limitsEnabled = value; emit SetLimitsEnabled(value); } /** * @dev Activate or deactivate the enforcement of fees during transfers */ function setTaxesEnabled(bool value) public onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); taxesEnabled = value; emit SetTaxesEnabled(value); } /** * @dev Update the max transaction enforced during transfers */ function setMaxTransaction(uint256 _maxTransaction) external onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); require( _maxTransaction >= (totalSupply() / MAX_TRANSACTION_PERCENT_DENOMINATOR), "ForgottenPlaylandToken: Cannot set maxTransaction lower than 0.0001%" ); uint256 oldValueMaxTransaction = maxTransaction; maxTransaction = _maxTransaction; emit SetMaxTransaction(oldValueMaxTransaction, _maxTransaction); } /** * @dev Update the max wallet enforced during transfers */ function setMaxWallet(uint256 _maxWallet) external onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); require( _maxWallet >= (totalSupply() / MAX_WALLET_PERCENT_DENOMINATOR), "ForgottenPlaylandToken: Cannot set maxWallet lower than 0.001%" ); uint256 oldValueMaxWallet = maxWallet; maxWallet = _maxWallet; emit SetMaxWallet(oldValueMaxWallet, _maxWallet); } /** * @dev Update the fee enforced during transfers when tokens are bought */ function setBuyFees(uint256 _buyFees) public onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); require( _buyFees <= MAX_BUY_FEE, "ForgottenPlaylandToken: Must keep fees at 5% or less" ); uint256 oldValue = buyFees; buyFees = _buyFees; emit SetBuyFees(oldValue, _buyFees); } /** * @dev Update the fee enforced during transfers when tokens are sold */ function setSellFees(uint256 _sellFees) public onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); require( _sellFees <= MAX_SELL_FEE, "ForgottenPlaylandToken: Must keep fees at 5% or less" ); uint256 oldValue = sellFees; sellFees = _sellFees; emit SetSellFees(oldValue, _sellFees); } /** * @dev Withdraw any amount of native or ERC20 tokens from the contract * excluding self token */ function withdrawStuckTokens(address tkn) public onlyOwner { require( tkn != address(this), "ForgottenPlaylandToken: Cannot withdraw self" ); uint256 amount; if (tkn == ZERO_ADDRESS) { bool success; amount = address(this).balance; require(amount > 0, "ForgottenPlaylandToken: No native tokens"); (success, ) = address(_msgSender()).call{value: amount}(""); require( success, "ForgottenPlaylandToken: Failed to withdraw native tokens" ); } else { amount = IERC20(tkn).balanceOf(address(this)); require(amount > 0, "ForgottenPlaylandToken: No tokens"); IERC20(tkn).safeTransfer(_msgSender(), amount); } emit WithdrawStuckTokens(tkn, amount); } /** * @dev Exclude (or not) accounts from fees */ function excludeFromFees( address[] calldata accounts, bool value ) public onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); for (uint256 i = 0; i < accounts.length; i++) { _excludeFromFees(accounts[i], value); } } /** * @dev Exclude (or not) accounts from transaction and wallets limits */ function excludeFromMaxTransaction( address[] calldata accounts, bool value ) public onlyOwner { require(!migrated, "ForgottenPlaylandToken: Already migrated."); for (uint256 i = 0; i < accounts.length; i++) { _excludeFromMaxTransaction(accounts[i], value); } } /** * @dev Set account as an AMM for Uniswap V2 * * NOTE The effect of this function cannot be reverted */ function setAutomatedMarketMakerPairV2( address account, bool value ) public onlyOwner { require( !automatedMarketMakerPairsV2[account], "ForgottenPlaylandToken: AMM Pair v2 already set." ); _setAutomatedMarketMakerPairV2(account, value); } /** * @dev Set account as an AMM for Uniswap V3 * * NOTE The effect of this function cannot be reverted */ function setAutomatedMarketMakerPairV3( address account, bool value ) public onlyOwner { require( !automatedMarketMakerPairsV3[account], "ForgottenPlaylandToken: AMM Pair v3 already set." ); _setAutomatedMarketMakerPairV3(account, value); } /** * @dev Set accounts (or not) as bots */ function setBots(address[] calldata accounts, bool value) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { if ( (!automatedMarketMakerPairsV2[accounts[i]]) && (!automatedMarketMakerPairsV3[accounts[i]]) && (accounts[i] != address(uniswapV2Router)) && (accounts[i] != address(uniswapV3Router)) && (accounts[i] != address(this)) && (!isExcludedFromFees[accounts[i]] && !isExcludedMaxTransactionAmount[accounts[i]]) ) _setBots(accounts[i], value); } } function _transfer( address from, address to, uint256 amount ) internal virtual override { require( from != ZERO_ADDRESS, "ForgottenPlaylandToken: transfer from the zero address" ); require( to != ZERO_ADDRESS, "ForgottenPlaylandToken: transfer to the zero address" ); if ( (isExcludedFromFees[from] || isExcludedFromFees[to]) && (isExcludedMaxTransactionAmount[from] || isExcludedMaxTransactionAmount[to]) ) { super._transfer(from, to, amount); return; } require(!isBot[from], "ForgottenPlaylandToken: bot detected"); require( _msgSender() == from || !isBot[_msgSender()], "ForgottenPlaylandToken: bot detected" ); require( tx.origin == from || tx.origin == _msgSender() || !isBot[tx.origin], "ForgottenPlaylandToken: bot detected" ); if (amount == 0) { super._transfer(from, to, 0); return; } address ownr = owner(); require( launched || from == ownr || to == ownr || to == DEAD_ADDRESS, "ForgottenPlaylandToken: Not launched." ); require( !_v2LPProtectionEnabled || (!automatedMarketMakerPairsV2[from] && !automatedMarketMakerPairsV2[to]), "ForgottenPlaylandToken: Not authorized to trade through Uniswap V2 Pool" ); require( !_v3LPProtectionEnabled || (!automatedMarketMakerPairsV3[from] && !automatedMarketMakerPairsV3[to]), "ForgottenPlaylandToken: Not authorized to trade through Uniswap V3 Pool" ); if (limitsEnabled) { if ( automatedMarketMakerPairsV2[from] && !isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransaction, "ForgottenPlaylandToken: Buy transfer amount exceeds the maxTransaction." ); require( (amount + balanceOf(to)) <= maxWallet, "ForgottenPlaylandToken: Max wallet exceeded" ); } else if ( automatedMarketMakerPairsV2[to] && !isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransaction, "ForgottenPlaylandToken: Sell transfer amount exceeds the maxTransaction." ); } else if (!isExcludedMaxTransactionAmount[to]) { require( (amount + balanceOf(to)) <= maxWallet, "ForgottenPlaylandToken: Max wallet exceeded" ); } } if (taxesEnabled) { uint256 fees = 0; uint256 totalFees = 0; if (automatedMarketMakerPairsV2[to] && sellFees > 0) { if (block.number > launchBlock) { totalFees = sellFees; } else { totalFees = 3000; } fees = (amount * totalFees) / FEES_PERCENT_DENOMINATOR; } else if (automatedMarketMakerPairsV2[from] && buyFees > 0) { if (block.number > launchBlock) { totalFees = buyFees; } else { totalFees = 3000; } fees = (amount * totalFees) / FEES_PERCENT_DENOMINATOR; } if (fees > 0) { super._burn(from, fees); } amount -= fees; } super._transfer(from, to, amount); } function _excludeFromMaxTransaction( address account, bool value ) internal virtual { isExcludedMaxTransactionAmount[account] = value; emit ExcludeFromMaxTransaction(account, value); } function _excludeFromFees(address account, bool value) internal virtual { isExcludedFromFees[account] = value; emit ExcludeFromFees(account, value); } function _setBots(address account, bool value) internal virtual { isBot[account] = value; emit SetBots(account, value); } function _setAutomatedMarketMakerPairV2( address account, bool value ) internal virtual { automatedMarketMakerPairsV2[account] = value; emit SetAutomatedMarketMakerPairV2(account, value); } function _setAutomatedMarketMakerPairV3( address account, bool value ) internal virtual { automatedMarketMakerPairsV3[account] = value; emit SetAutomatedMarketMakerPairV3(account, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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.9.0) (access/Ownable2Step.sol) pragma solidity ^0.8.0; import "./Ownable.sol"; /** * @dev Contract module which provides 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} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner"); _transferOwnership(sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// 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 (last updated v4.9.0) (token/ERC20/extensions/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.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// 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; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title The interface for the Uniswap V3 Factory /// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees interface IUniswapV3Factory { /// @notice Emitted when the owner of the factory is changed /// @param oldOwner The owner before the owner was changed /// @param newOwner The owner after the owner was changed event OwnerChanged(address indexed oldOwner, address indexed newOwner); /// @notice Emitted when a pool is created /// @param token0 The first token of the pool by address sort order /// @param token1 The second token of the pool by address sort order /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks /// @param pool The address of the created pool event PoolCreated( address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool ); /// @notice Emitted when a new fee amount is enabled for pool creation via the factory /// @param fee The enabled fee, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing); /// @notice Returns the current owner of the factory /// @dev Can be changed by the current owner via setOwner /// @return The address of the factory owner function owner() external view returns (address); /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee /// @return The tick spacing function feeAmountTickSpacing(uint24 fee) external view returns (int24); /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order /// @param tokenA The contract address of either token0 or token1 /// @param tokenB The contract address of the other token /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @return pool The pool address function getPool( address tokenA, address tokenB, uint24 fee ) external view returns (address pool); /// @notice Creates a pool for the given two tokens and fee /// @param tokenA One of the two tokens in the desired pool /// @param tokenB The other of the two tokens in the desired pool /// @param fee The desired fee for the pool /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments /// are invalid. /// @return pool The address of the newly created pool function createPool( address tokenA, address tokenB, uint24 fee ) external returns (address pool); /// @notice Updates the owner of the factory /// @dev Must be called by the current owner /// @param _owner The new owner of the factory function setOwner(address _owner) external; /// @notice Enables a fee amount with the given tickSpacing /// @dev Fee amounts may never be removed once enabled /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6) /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount function enableFeeAmount(uint24 fee, int24 tickSpacing) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Airdrop","type":"event"},{"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":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxTransaction","type":"event"},{"anonymous":false,"inputs":[],"name":"Launch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":[],"name":"PrepareForMigration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPairV2","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPairV3","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"SetBots","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetBuyFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetLimitsEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValueMaxTransaction","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValueMaxTransaction","type":"uint256"}],"name":"SetMaxTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValueMaxWallet","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValueMaxWallet","type":"uint256"}],"name":"SetMaxWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetSellFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetTaxesEnabled","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawStuckTokens","type":"event"},{"inputs":[],"name":"DEAD_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEES_PERCENT_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BUY_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SELL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TRANSACTION_PERCENT_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET_PERCENT_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZERO_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"automatedMarketMakerPairsV2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairsV3","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"accounts","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"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":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepareForMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPairV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPairV3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFees","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setLimitsEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransaction","type":"uint256"}],"name":"setMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellFees","type":"uint256"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setTaxesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Router","outputs":[{"internalType":"contract IUniswapV3Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tkn","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040523480156200001157600080fd5b5060405180604001604052806012815260200171119bdc99dbdd1d195b88141b185e5b185b9960721b81525060405180604001604052806002815260200161046560f41b8152508160039081620000699190620003fa565b506004620000788282620003fa565b505050620000956200008f6200015c60201b60201c565b62000160565b737a250d5630b4cf539739df2c5dacb4c659f2488d60805273e592427a0aece92de3edee1f18e0157c0586156460a0526b204fce5e3e250261100000006009819055600a8190556101f4600b819055600c55620000f43360016200017e565b620001013060016200017e565b6200011061dead60016200017e565b6200011d336001620001de565b6200012a306001620001de565b6200013961dead6001620001de565b60805162000149906001620001de565b62000155338262000237565b50620004ee565b3390565b600680546001600160a01b03191690556200017b81620002fd565b50565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089101620001d2565b6001600160a01b038216620002925760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620002a69190620004c6565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200037f57607f821691505b602082108103620003a057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200034f576000816000526020600020601f850160051c81016020861015620003d15750805b601f850160051c820191505b81811015620003f257828155600101620003dd565b505050505050565b81516001600160401b0381111562000416576200041662000354565b6200042e816200042784546200036a565b84620003a6565b602080601f8311600181146200046657600084156200044d5750858301515b600019600386901b1c1916600185901b178555620003f2565b600085815260208120601f198616915b82811015620004975788860151825594840194600190910190840162000476565b5085821015620004b65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004e857634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a0516140206200054c600039600081816104c201528181610b6e01528181610d880152611efe0152600081816103ff01528181610ae801528181610bf40152818161138c015281816113be0152611e9a01526140206000f3fe60806040526004361061036f5760003560e01c806373d01ead116101c6578063ad29ffde116100f7578063df29271211610095578063e30c39781161006f578063e30c397814610a01578063e4748b9e14610a1f578063f2fde38b14610a35578063f8b45b0514610a5557600080fd5b8063df292712146109b5578063e071d20c146109cb578063e0f3ccf5146109eb57600080fd5b8063cb963728116100d1578063cb9637281461093f578063d00efb2f1461095f578063dcf7aef314610975578063dd62ed3e1461099557600080fd5b8063ad29ffde146108e8578063bff51ef814610908578063c3f70b521461092957600080fd5b806395927c25116101645780639f9f8c5b1161013e5780639f9f8c5b14610871578063a457c2d714610888578063a9059cbb146108a8578063ab5a1887146108c857600080fd5b806395927c251461081c57806395d89b411461083c5780639c0db5f31461085157600080fd5b80637b0a3c7c116101a05780637b0a3c7c146107ad5780638091f3bf146107dd578063867508ad146106ec5780638da5cb5b146107fe57600080fd5b806373d01ead1461076d578063790ca4131461078257806379ba50971461079857600080fd5b806342966c68116102a057806359512ab01161023e5780636e628f3b116102185780636e628f3b146106ec5780636f4fd18e1461070257806370a0823114610722578063715018a61461075857600080fd5b806359512ab01461068c5780635d0044ca146106ac57806367243482146106cc57600080fd5b80634e6fd6c41161027a5780634e6fd6c4146106115780634fbee19314610627578063538ba4f914610657578063591da4d11461066c57600080fd5b806342966c6814610591578063483a7add146105b15780634bb2c785146105e157600080fd5b80632c678c641161030d5780633582ad23116102e75780633582ad231461050057806339509351146105215780633bbac5791461054157806341aea9de1461057157600080fd5b80632c678c641461048f5780632c76d7a6146104b0578063313ce567146104e457600080fd5b80631694505e116103495780631694505e146103ed57806318160ddd1461043957806323b872dd146104585780632818cae51461047857600080fd5b806301339c211461037b57806306fdde0314610392578063095ea7b3146103bd57600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a6b565b005b34801561039e57600080fd5b506103a7611623565b6040516103b49190613949565b60405180910390f35b3480156103c957600080fd5b506103dd6103d8366004613991565b6116b5565b60405190151581526020016103b4565b3480156103f957600080fd5b506104217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103b4565b34801561044557600080fd5b506002545b6040519081526020016103b4565b34801561046457600080fd5b506103dd6104733660046139bd565b6116cf565b34801561048457600080fd5b5061044a620186a081565b34801561049b57600080fd5b506006546103dd90600160c81b900460ff1681565b3480156104bc57600080fd5b506104217f000000000000000000000000000000000000000000000000000000000000000081565b3480156104f057600080fd5b50604051601281526020016103b4565b34801561050c57600080fd5b506006546103dd90600160b01b900460ff1681565b34801561052d57600080fd5b506103dd61053c366004613991565b6116f3565b34801561054d57600080fd5b506103dd61055c3660046139fe565b60116020526000908152604090205460ff1681565b34801561057d57600080fd5b5061039061058c366004613a30565b611715565b34801561059d57600080fd5b506103906105ac366004613a4d565b61179f565b3480156105bd57600080fd5b506103dd6105cc3660046139fe565b600f6020526000908152604090205460ff1681565b3480156105ed57600080fd5b506103dd6105fc3660046139fe565b600e6020526000908152604090205460ff1681565b34801561061d57600080fd5b5061042161dead81565b34801561063357600080fd5b506103dd6106423660046139fe565b600d6020526000908152604090205460ff1681565b34801561066357600080fd5b50610421600081565b34801561067857600080fd5b50610390610687366004613a66565b6117ac565b34801561069857600080fd5b506103906106a7366004613a30565b611844565b3480156106b857600080fd5b506103906106c7366004613a4d565b6118c3565b3480156106d857600080fd5b506103906106e7366004613b79565b6119c7565b3480156106f857600080fd5b5061044a6101f481565b34801561070e57600080fd5b5061039061071d366004613c3b565b611aea565b34801561072e57600080fd5b5061044a61073d3660046139fe565b6001600160a01b031660009081526020819052604090205490565b34801561076457600080fd5b50610390611b5f565b34801561077957600080fd5b50610390611b87565b34801561078e57600080fd5b5061044a60085481565b3480156107a457600080fd5b50610390611c81565b3480156107b957600080fd5b506103dd6107c83660046139fe565b60106020526000908152604090205460ff1681565b3480156107e957600080fd5b506006546103dd90600160c01b900460ff1681565b34801561080a57600080fd5b506005546001600160a01b0316610421565b34801561082857600080fd5b50610390610837366004613a4d565b611d43565b34801561084857600080fd5b506103a7611dd5565b34801561085d57600080fd5b5061039061086c366004613c3b565b611de4565b34801561087d57600080fd5b5061044a620f424081565b34801561089457600080fd5b506103dd6108a3366004613991565b612072565b3480156108b457600080fd5b506103dd6108c3366004613991565b6120ed565b3480156108d457600080fd5b506103906108e3366004613a4d565b6120fb565b3480156108f457600080fd5b50610390610903366004613c3b565b612205565b34801561091457600080fd5b506006546103dd90600160b81b900460ff1681565b34801561093557600080fd5b5061044a60095481565b34801561094b57600080fd5b5061039061095a3660046139fe565b61227a565b34801561096b57600080fd5b5061044a60075481565b34801561098157600080fd5b50610390610990366004613a4d565b61253c565b3480156109a157600080fd5b5061044a6109b0366004613cc1565b6125ce565b3480156109c157600080fd5b5061044a61271081565b3480156109d757600080fd5b506103906109e6366004613a66565b6125f9565b3480156109f757600080fd5b5061044a600c5481565b348015610a0d57600080fd5b506006546001600160a01b0316610421565b348015610a2b57600080fd5b5061044a600b5481565b348015610a4157600080fd5b50610390610a503660046139fe565b61268d565b348015610a6157600080fd5b5061044a600a5481565b610a736126fe565b600654600160c01b900460ff1615610ae45760405162461bcd60e51b815260206004820152602960248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20416c7265616479206044820152683630bab731b432b21760b91b60648201526084015b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b689190613cef565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee9190613cef565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c749190613cef565b60405163e6a4390560e01b81523060048201526001600160a01b03808316602483015291925060009185169063e6a4390590604401602060405180830381865afa158015610cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cea9190613cef565b905073a5644e29708357803b5a882d272c41cc0df92b346001600160a01b038216610d84576040516364e329cb60e11b81523060048201526001600160a01b03848116602483015286169063c9c65396906044016020604051808303816000875af1158015610d5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d819190613cef565b91505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e089190613cef565b6001600160a01b0316631698ee8230866127106040518463ffffffff1660e01b8152600401610e3993929190613d0c565b602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190613cef565b90506000856001600160a01b0316631698ee823087610bb86040518463ffffffff1660e01b8152600401610eb093929190613d0c565b602060405180830381865afa158015610ecd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef19190613cef565b90506000866001600160a01b0316631698ee8230886101f46040518463ffffffff1660e01b8152600401610f2793929190613d0c565b602060405180830381865afa158015610f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f689190613cef565b90506000876001600160a01b0316631698ee82308960646040518463ffffffff1660e01b8152600401610f9d93929190613d0c565b602060405180830381865afa158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde9190613cef565b90506001600160a01b0384166110665760405163a167129560e01b81526001600160a01b0389169063a1671295906110209030908b9061271090600401613d0c565b6020604051808303816000875af115801561103f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110639190613cef565b93505b6001600160a01b0383166110ec5760405163a167129560e01b81526001600160a01b0389169063a1671295906110a69030908b90610bb890600401613d0c565b6020604051808303816000875af11580156110c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e99190613cef565b92505b6001600160a01b0382166111725760405163a167129560e01b81526001600160a01b0389169063a16712959061112c9030908b906101f490600401613d0c565b6020604051808303816000875af115801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f9190613cef565b91505b6001600160a01b0381166111f75760405163a167129560e01b81526001600160a01b0389169063a1671295906111b19030908b90606490600401613d0c565b6020604051808303816000875af11580156111d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f49190613cef565b90505b611202866001612758565b61120d8460016127ac565b6112188360016127ac565b6112238260016127ac565b61122e8160016127ac565b611239866001612800565b611244846001612800565b61124f836001612800565b61125a826001612800565b611265816001612800565b611270856001612800565b61127b856001612860565b47806112dd5760405162461bcd60e51b815260206004820152602b60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20496e76616c69642060448201526a22aa241030b6b7bab73a1760a91b6064820152608401610adb565b30600090815260208190526040902054806113505760405162461bcd60e51b815260206004820152602d60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20496e76616c69642060448201526c3a37b5b2b71030b6b7bab73a1760991b6064820152608401610adb565b6000606461135f836063613d4a565b6113699190613d61565b90506000606461137a856063613d4a565b6113849190613d61565b90506113b1307f0000000000000000000000000000000000000000000000000000000000000000856128b8565b6000806001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663f305d7198730888888336113f542610708613d83565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015611462573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906114879190613d96565b509150915083821015801561149c5750848211155b61151d5760405162461bcd60e51b815260206004820152604660248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20556e64657369726560448201527f6420616d6f756e74206f6620746f6b656e7320616464656420746f206c69717560648201526534b234ba3c9760d11b608482015260a401610adb565b82811015801561152d5750858111155b6115ab5760405162461bcd60e51b815260206004820152604360248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20556e64657369726560448201527f6420616d6f756e74206f662045544820616464656420746f206c6971756964696064820152623a3c9760e91b608482015260a401610adb565b6115b6606486613d61565b6009556115c4606486613d61565b600a556006805464ffffffffff60a01b1916630101010160a81b17905543600755426008556040517f02ac8168caf2f254b394bd39e19417c5c28124ab89c9bc2d44921b19808e266990600090a1505050505050505050505050505050565b60606003805461163290613dc4565b80601f016020809104026020016040519081016040528092919081815260200182805461165e90613dc4565b80156116ab5780601f10611680576101008083540402835291602001916116ab565b820191906000526020600020905b81548152906001019060200180831161168e57829003601f168201915b5050505050905090565b6000336116c38185856128b8565b60019150505b92915050565b6000336116dd8582856129dc565b6116e8858585612a50565b506001949350505050565b6000336116c381858561170683836125ce565b6117109190613d83565b6128b8565b61171d6126fe565b600654600160c81b900460ff16156117475760405162461bcd60e51b8152600401610adb90613dfe565b60068054821515600160b01b0260ff60b01b199091161790556040517ff771b1e218dc92494b39e21852f9c24c3b448d6697c2b485cc1f0cff3c9ec7819061179490831515815260200190565b60405180910390a150565b6117a9338261324c565b50565b6117b46126fe565b6001600160a01b0382166000908152600f602052604090205460ff16156118365760405162461bcd60e51b815260206004820152603060248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20414d4d205061697260448201526f103b191030b63932b0b23c9039b2ba1760811b6064820152608401610adb565b6118408282612758565b5050565b61184c6126fe565b600654600160c81b900460ff16156118765760405162461bcd60e51b8152600401610adb90613dfe565b60068054821515600160b81b0260ff60b81b199091161790556040517f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b9061179490831515815260200190565b6118cb6126fe565b600654600160c81b900460ff16156118f55760405162461bcd60e51b8152600401610adb90613dfe565b620186a061190260025490565b61190c9190613d61565b8110156119815760405162461bcd60e51b815260206004820152603e60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2043616e6e6f74207360448201527f6574206d617857616c6c6574206c6f776572207468616e20302e3030312500006064820152608401610adb565b600a80549082905560408051828152602081018490527fceba48249b9d547af461cb58ff47a80584b3eb92ca0641f9bf766e30106585c691015b60405180910390a15050565b6119cf6126fe565b815181518114611a405760405162461bcd60e51b815260206004820152603660248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20417272617973206d6044820152750eae6e840c4ca40e8d0ca40e6c2daca40d8cadccee8d60531b6064820152608401610adb565b60005b81811015611ae4576000848281518110611a5f57611a5f613e47565b602002602001015190506000848381518110611a7d57611a7d613e47565b60200260200101519050611a98611a913390565b8383612a50565b604080516001600160a01b0384168152602081018390527f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a910160405180910390a15050600101611a43565b50505050565b611af26126fe565b600654600160c81b900460ff1615611b1c5760405162461bcd60e51b8152600401610adb90613dfe565b60005b82811015611ae457611b57848483818110611b3c57611b3c613e47565b9050602002016020810190611b5191906139fe565b83612800565b600101611b1f565b611b676126fe565b611b72336000612860565b611b7d336000612800565b611b8561337e565b565b611b8f6126fe565b600654600160c81b900460ff1615611bb95760405162461bcd60e51b8152600401610adb90613dfe565b600654600160c01b900460ff16611be25760405162461bcd60e51b8152600401610adb90613e5d565b6006805463ffffffff60a01b1916600160a01b1790556000600b819055600c55611c0b60025490565b600955600254600a553060009081526020819052604090205415611c4357611c43303330600090815260208190526040902054613390565b6006805460ff60c81b1916600160c81b1790556040517fd5d3506316afbaf28f04655368befe7d2e11ba1832d32a77ecc3d31139d2d27c90600090a1565b60065433906001600160a01b03168114611cf95760405162461bcd60e51b815260206004820152603360248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2063616c6c6572206960448201527239903737ba103a3432903732bb9037bbb732b960691b6064820152608401610adb565b6000611d0d6005546001600160a01b031690565b9050611d1a816000612860565b611d25816000612800565b611d30826001612860565b611d3b826001612800565b611840613534565b611d4b6126fe565b600654600160c81b900460ff1615611d755760405162461bcd60e51b8152600401610adb90613dfe565b6101f4811115611d975760405162461bcd60e51b8152600401610adb90613ea2565b600c80549082905560408051828152602081018490527f125b37650f21d088600cef1223439f6a8bd70800debfd486c503a8a2d19d4b0191016119bb565b60606004805461163290613dc4565b611dec6126fe565b60005b82811015611ae457600f6000858584818110611e0d57611e0d613e47565b9050602002016020810190611e2291906139fe565b6001600160a01b0316815260208101919091526040016000205460ff16158015611e91575060106000858584818110611e5d57611e5d613e47565b9050602002016020810190611e7291906139fe565b6001600160a01b0316815260208101919091526040016000205460ff16155b8015611ef557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316848483818110611ed457611ed4613e47565b9050602002016020810190611ee991906139fe565b6001600160a01b031614155b8015611f5957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316848483818110611f3857611f38613e47565b9050602002016020810190611f4d91906139fe565b6001600160a01b031614155b8015611f94575030848483818110611f7357611f73613e47565b9050602002016020810190611f8891906139fe565b6001600160a01b031614155b80156120355750600d6000858584818110611fb157611fb1613e47565b9050602002016020810190611fc691906139fe565b6001600160a01b0316815260208101919091526040016000205460ff161580156120355750600e600085858481811061200157612001613e47565b905060200201602081019061201691906139fe565b6001600160a01b0316815260208101919091526040016000205460ff16155b1561206a5761206a84848381811061204f5761204f613e47565b905060200201602081019061206491906139fe565b836135ab565b600101611def565b6000338161208082866125ce565b9050838110156120e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610adb565b6116e882868684036128b8565b6000336116c3818585612a50565b6121036126fe565b600654600160c81b900460ff161561212d5760405162461bcd60e51b8152600401610adb90613dfe565b620f424061213a60025490565b6121449190613d61565b8110156121c75760405162461bcd60e51b8152602060048201526044602482018190527f466f72676f7474656e506c61796c616e64546f6b656e3a2043616e6e6f742073908201527f6574206d61785472616e73616374696f6e206c6f776572207468616e20302e306064820152633030312560e01b608482015260a401610adb565b600980549082905560408051828152602081018490527fb407ea2a875a7546cf5b71ceb27e4efa7a01fb65ce5bdda59cc504c2dd8aa3e491016119bb565b61220d6126fe565b600654600160c81b900460ff16156122375760405162461bcd60e51b8152600401610adb90613dfe565b60005b82811015611ae45761227284848381811061225757612257613e47565b905060200201602081019061226c91906139fe565b83612860565b60010161223a565b6122826126fe565b306001600160a01b038216036122ef5760405162461bcd60e51b815260206004820152602c60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2043616e6e6f74207760448201526b34ba34323930bb9039b2b63360a11b6064820152608401610adb565b60006001600160a01b0382166124255750476000816123615760405162461bcd60e51b815260206004820152602860248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f206e617469766044820152676520746f6b656e7360c01b6064820152608401610adb565b60405133908390600081818185875af1925050503d80600081146123a1576040519150601f19603f3d011682016040523d82523d6000602084013e6123a6565b606091505b5050809150508061241f5760405162461bcd60e51b815260206004820152603860248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204661696c6564207460448201527f6f207769746864726177206e617469766520746f6b656e7300000000000000006064820152608401610adb565b506124fd565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015612469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248d9190613ef6565b9050600081116124e95760405162461bcd60e51b815260206004820152602160248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f20746f6b656e6044820152607360f81b6064820152608401610adb565b6124fd6001600160a01b0383163383613603565b604080516001600160a01b0384168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b91016119bb565b6125446126fe565b600654600160c81b900460ff161561256e5760405162461bcd60e51b8152600401610adb90613dfe565b6101f48111156125905760405162461bcd60e51b8152600401610adb90613ea2565b600b80549082905560408051828152602081018490527f5fcc0eea159d45a3b8d481be746c9beed251431a542a5fed4484be37ab783e8d91016119bb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6126016126fe565b6001600160a01b03821660009081526010602052604090205460ff16156126835760405162461bcd60e51b815260206004820152603060248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20414d4d205061697260448201526f103b199030b63932b0b23c9039b2ba1760811b6064820152608401610adb565b61184082826127ac565b6126956126fe565b600680546001600160a01b0383166001600160a01b031990911681179091556126c66005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6005546001600160a01b03163314611b855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610adb565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917f86868b8ec444c609d51f67f74b773c02b3b8232371668107c44bd0a5408711ca91a35050565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917f457dc51939d38230ec4b2842447f10937ebe5614c5c006c815514529bbbc115891a35050565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101612854565b6001600160a01b03831661291a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610adb565b6001600160a01b03821661297b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610adb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006129e884846125ce565b90506000198114611ae45781811015612a435760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610adb565b611ae484848484036128b8565b6001600160a01b038316612ac55760405162461bcd60e51b815260206004820152603660248201527f466f72676f7474656e506c61796c616e64546f6b656e3a207472616e736665726044820152752066726f6d20746865207a65726f206164647265737360501b6064820152608401610adb565b6001600160a01b038216612b385760405162461bcd60e51b815260206004820152603460248201527f466f72676f7474656e506c61796c616e64546f6b656e3a207472616e7366657260448201527320746f20746865207a65726f206164647265737360601b6064820152608401610adb565b6001600160a01b0383166000908152600d602052604090205460ff1680612b7757506001600160a01b0382166000908152600d602052604090205460ff165b8015612bbd57506001600160a01b0383166000908152600e602052604090205460ff1680612bbd57506001600160a01b0382166000908152600e602052604090205460ff165b15612bd257612bcd838383613390565b505050565b6001600160a01b03831660009081526011602052604090205460ff1615612c0b5760405162461bcd60e51b8152600401610adb90613f0f565b336001600160a01b0384161480612c3257503360009081526011602052604090205460ff16155b612c4e5760405162461bcd60e51b8152600401610adb90613f0f565b326001600160a01b0384161480612c6457503233145b80612c7f57503260009081526011602052604090205460ff16155b612c9b5760405162461bcd60e51b8152600401610adb90613f0f565b80600003612caf57612bcd83836000613390565b6000612cc36005546001600160a01b031690565b600654909150600160c01b900460ff1680612cef5750806001600160a01b0316846001600160a01b0316145b80612d0b5750806001600160a01b0316836001600160a01b0316145b80612d2057506001600160a01b03831661dead145b612d3c5760405162461bcd60e51b8152600401610adb90613e5d565b600654600160a01b900460ff161580612d9257506001600160a01b0384166000908152600f602052604090205460ff16158015612d9257506001600160a01b0383166000908152600f602052604090205460ff16155b612e145760405162461bcd60e51b815260206004820152604760248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f74206175746860448201527f6f72697a656420746f207472616465207468726f75676820556e697377617020606482015266158c88141bdbdb60ca1b608482015260a401610adb565b600654600160a81b900460ff161580612e6a57506001600160a01b03841660009081526010602052604090205460ff16158015612e6a57506001600160a01b03831660009081526010602052604090205460ff16155b612eec5760405162461bcd60e51b815260206004820152604760248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f74206175746860448201527f6f72697a656420746f207472616465207468726f75676820556e697377617020606482015266158cc8141bdbdb60ca1b608482015260a401610adb565b600654600160b01b900460ff1615613148576001600160a01b0384166000908152600f602052604090205460ff168015612f3f57506001600160a01b0383166000908152600e602052604090205460ff16155b1561301557600954821115612fcc5760405162461bcd60e51b815260206004820152604760248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20427579207472616e60448201527f7366657220616d6f756e74206578636565647320746865206d61785472616e7360648201526630b1ba34b7b71760c91b608482015260a401610adb565b600a546001600160a01b038416600090815260208190526040902054612ff29084613d83565b11156130105760405162461bcd60e51b8152600401610adb90613f53565b613148565b6001600160a01b0383166000908152600f602052604090205460ff16801561305657506001600160a01b0384166000908152600e602052604090205460ff16155b156130e4576009548211156130105760405162461bcd60e51b815260206004820152604860248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2053656c6c2074726160448201527f6e7366657220616d6f756e74206578636565647320746865206d61785472616e60648201526739b0b1ba34b7b71760c11b608482015260a401610adb565b6001600160a01b0383166000908152600e602052604090205460ff1661314857600a546001600160a01b03841660009081526020819052604090205461312a9084613d83565b11156131485760405162461bcd60e51b8152600401610adb90613f53565b600654600160b81b900460ff1615613241576001600160a01b0383166000908152600f6020526040812054819060ff16801561318657506000600c54115b156131c15760075443111561319e5750600c546131a3565b50610bb85b6127106131b08286613d4a565b6131ba9190613d61565b9150613222565b6001600160a01b0386166000908152600f602052604090205460ff1680156131eb57506000600b54115b15613222576007544311156132035750600b54613208565b50610bb85b6127106132158286613d4a565b61321f9190613d61565b91505b811561323257613232868361324c565b61323c8285613f9e565b935050505b611ae4848484613390565b6001600160a01b0382166132ac5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610adb565b6001600160a01b038216600090815260208190526040902054818110156133205760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610adb565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6133866126fe565b611b856000613655565b6001600160a01b0383166133f45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610adb565b6001600160a01b0382166134565760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610adb565b6001600160a01b038316600090815260208190526040902054818110156134ce5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610adb565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611ae4565b60065433906001600160a01b031681146135a25760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610adb565b6117a981613655565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc89101612854565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612bcd90849061366e565b600680546001600160a01b03191690556117a981613743565b60006136c3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166137959092919063ffffffff16565b90508051600014806136e45750808060200190518101906136e49190613fb1565b612bcd5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610adb565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606137a484846000856137ac565b949350505050565b60608247101561380d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610adb565b600080866001600160a01b031685876040516138299190613fce565b60006040518083038185875af1925050503d8060008114613866576040519150601f19603f3d011682016040523d82523d6000602084013e61386b565b606091505b509150915061387c87838387613887565b979650505050505050565b606083156138f65782516000036138ef576001600160a01b0385163b6138ef5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610adb565b50816137a4565b6137a4838381511561390b5781518083602001fd5b8060405162461bcd60e51b8152600401610adb9190613949565b60005b83811015613940578181015183820152602001613928565b50506000910152565b6020815260008251806020840152613968816040850160208701613925565b601f01601f19169190910160400192915050565b6001600160a01b03811681146117a957600080fd5b600080604083850312156139a457600080fd5b82356139af8161397c565b946020939093013593505050565b6000806000606084860312156139d257600080fd5b83356139dd8161397c565b925060208401356139ed8161397c565b929592945050506040919091013590565b600060208284031215613a1057600080fd5b8135613a1b8161397c565b9392505050565b80151581146117a957600080fd5b600060208284031215613a4257600080fd5b8135613a1b81613a22565b600060208284031215613a5f57600080fd5b5035919050565b60008060408385031215613a7957600080fd5b8235613a848161397c565b91506020830135613a9481613a22565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613ade57613ade613a9f565b604052919050565b600067ffffffffffffffff821115613b0057613b00613a9f565b5060051b60200190565b600082601f830112613b1b57600080fd5b81356020613b30613b2b83613ae6565b613ab5565b8083825260208201915060208460051b870101935086841115613b5257600080fd5b602086015b84811015613b6e5780358352918301918301613b57565b509695505050505050565b60008060408385031215613b8c57600080fd5b823567ffffffffffffffff80821115613ba457600080fd5b818501915085601f830112613bb857600080fd5b81356020613bc8613b2b83613ae6565b82815260059290921b84018101918181019089841115613be757600080fd5b948201945b83861015613c0e578535613bff8161397c565b82529482019490820190613bec565b96505086013592505080821115613c2457600080fd5b50613c3185828601613b0a565b9150509250929050565b600080600060408486031215613c5057600080fd5b833567ffffffffffffffff80821115613c6857600080fd5b818601915086601f830112613c7c57600080fd5b813581811115613c8b57600080fd5b8760208260051b8501011115613ca057600080fd5b60209283019550935050840135613cb681613a22565b809150509250925092565b60008060408385031215613cd457600080fd5b8235613cdf8161397c565b91506020830135613a948161397c565b600060208284031215613d0157600080fd5b8151613a1b8161397c565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176116c9576116c9613d34565b600082613d7e57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156116c9576116c9613d34565b600080600060608486031215613dab57600080fd5b8351925060208401519150604084015190509250925092565b600181811c90821680613dd857607f821691505b602082108103613df857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526029908201527f466f72676f7474656e506c61796c616e64546f6b656e3a20416c72656164792060408201526836b4b3b930ba32b21760b91b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526025908201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f74206c61756e60408201526431b432b21760d91b606082015260800190565b60208082526034908201527f466f72676f7474656e506c61796c616e64546f6b656e3a204d757374206b6565604082015273702066656573206174203525206f72206c65737360601b606082015260800190565b600060208284031215613f0857600080fd5b5051919050565b60208082526024908201527f466f72676f7474656e506c61796c616e64546f6b656e3a20626f74206465746560408201526318dd195960e21b606082015260800190565b6020808252602b908201527f466f72676f7474656e506c61796c616e64546f6b656e3a204d61782077616c6c60408201526a195d08195e18d95959195960aa1b606082015260800190565b818103818111156116c9576116c9613d34565b600060208284031215613fc357600080fd5b8151613a1b81613a22565b60008251613fe0818460208701613925565b919091019291505056fea2646970667358221220e5190f982b99e2ac8dadd83d9e8323d1168b0b9fd29a10783ec944749e2afbd764736f6c63430008160033
Deployed Bytecode
0x60806040526004361061036f5760003560e01c806373d01ead116101c6578063ad29ffde116100f7578063df29271211610095578063e30c39781161006f578063e30c397814610a01578063e4748b9e14610a1f578063f2fde38b14610a35578063f8b45b0514610a5557600080fd5b8063df292712146109b5578063e071d20c146109cb578063e0f3ccf5146109eb57600080fd5b8063cb963728116100d1578063cb9637281461093f578063d00efb2f1461095f578063dcf7aef314610975578063dd62ed3e1461099557600080fd5b8063ad29ffde146108e8578063bff51ef814610908578063c3f70b521461092957600080fd5b806395927c25116101645780639f9f8c5b1161013e5780639f9f8c5b14610871578063a457c2d714610888578063a9059cbb146108a8578063ab5a1887146108c857600080fd5b806395927c251461081c57806395d89b411461083c5780639c0db5f31461085157600080fd5b80637b0a3c7c116101a05780637b0a3c7c146107ad5780638091f3bf146107dd578063867508ad146106ec5780638da5cb5b146107fe57600080fd5b806373d01ead1461076d578063790ca4131461078257806379ba50971461079857600080fd5b806342966c68116102a057806359512ab01161023e5780636e628f3b116102185780636e628f3b146106ec5780636f4fd18e1461070257806370a0823114610722578063715018a61461075857600080fd5b806359512ab01461068c5780635d0044ca146106ac57806367243482146106cc57600080fd5b80634e6fd6c41161027a5780634e6fd6c4146106115780634fbee19314610627578063538ba4f914610657578063591da4d11461066c57600080fd5b806342966c6814610591578063483a7add146105b15780634bb2c785146105e157600080fd5b80632c678c641161030d5780633582ad23116102e75780633582ad231461050057806339509351146105215780633bbac5791461054157806341aea9de1461057157600080fd5b80632c678c641461048f5780632c76d7a6146104b0578063313ce567146104e457600080fd5b80631694505e116103495780631694505e146103ed57806318160ddd1461043957806323b872dd146104585780632818cae51461047857600080fd5b806301339c211461037b57806306fdde0314610392578063095ea7b3146103bd57600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a6b565b005b34801561039e57600080fd5b506103a7611623565b6040516103b49190613949565b60405180910390f35b3480156103c957600080fd5b506103dd6103d8366004613991565b6116b5565b60405190151581526020016103b4565b3480156103f957600080fd5b506104217f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103b4565b34801561044557600080fd5b506002545b6040519081526020016103b4565b34801561046457600080fd5b506103dd6104733660046139bd565b6116cf565b34801561048457600080fd5b5061044a620186a081565b34801561049b57600080fd5b506006546103dd90600160c81b900460ff1681565b3480156104bc57600080fd5b506104217f000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156481565b3480156104f057600080fd5b50604051601281526020016103b4565b34801561050c57600080fd5b506006546103dd90600160b01b900460ff1681565b34801561052d57600080fd5b506103dd61053c366004613991565b6116f3565b34801561054d57600080fd5b506103dd61055c3660046139fe565b60116020526000908152604090205460ff1681565b34801561057d57600080fd5b5061039061058c366004613a30565b611715565b34801561059d57600080fd5b506103906105ac366004613a4d565b61179f565b3480156105bd57600080fd5b506103dd6105cc3660046139fe565b600f6020526000908152604090205460ff1681565b3480156105ed57600080fd5b506103dd6105fc3660046139fe565b600e6020526000908152604090205460ff1681565b34801561061d57600080fd5b5061042161dead81565b34801561063357600080fd5b506103dd6106423660046139fe565b600d6020526000908152604090205460ff1681565b34801561066357600080fd5b50610421600081565b34801561067857600080fd5b50610390610687366004613a66565b6117ac565b34801561069857600080fd5b506103906106a7366004613a30565b611844565b3480156106b857600080fd5b506103906106c7366004613a4d565b6118c3565b3480156106d857600080fd5b506103906106e7366004613b79565b6119c7565b3480156106f857600080fd5b5061044a6101f481565b34801561070e57600080fd5b5061039061071d366004613c3b565b611aea565b34801561072e57600080fd5b5061044a61073d3660046139fe565b6001600160a01b031660009081526020819052604090205490565b34801561076457600080fd5b50610390611b5f565b34801561077957600080fd5b50610390611b87565b34801561078e57600080fd5b5061044a60085481565b3480156107a457600080fd5b50610390611c81565b3480156107b957600080fd5b506103dd6107c83660046139fe565b60106020526000908152604090205460ff1681565b3480156107e957600080fd5b506006546103dd90600160c01b900460ff1681565b34801561080a57600080fd5b506005546001600160a01b0316610421565b34801561082857600080fd5b50610390610837366004613a4d565b611d43565b34801561084857600080fd5b506103a7611dd5565b34801561085d57600080fd5b5061039061086c366004613c3b565b611de4565b34801561087d57600080fd5b5061044a620f424081565b34801561089457600080fd5b506103dd6108a3366004613991565b612072565b3480156108b457600080fd5b506103dd6108c3366004613991565b6120ed565b3480156108d457600080fd5b506103906108e3366004613a4d565b6120fb565b3480156108f457600080fd5b50610390610903366004613c3b565b612205565b34801561091457600080fd5b506006546103dd90600160b81b900460ff1681565b34801561093557600080fd5b5061044a60095481565b34801561094b57600080fd5b5061039061095a3660046139fe565b61227a565b34801561096b57600080fd5b5061044a60075481565b34801561098157600080fd5b50610390610990366004613a4d565b61253c565b3480156109a157600080fd5b5061044a6109b0366004613cc1565b6125ce565b3480156109c157600080fd5b5061044a61271081565b3480156109d757600080fd5b506103906109e6366004613a66565b6125f9565b3480156109f757600080fd5b5061044a600c5481565b348015610a0d57600080fd5b506006546001600160a01b0316610421565b348015610a2b57600080fd5b5061044a600b5481565b348015610a4157600080fd5b50610390610a503660046139fe565b61268d565b348015610a6157600080fd5b5061044a600a5481565b610a736126fe565b600654600160c01b900460ff1615610ae45760405162461bcd60e51b815260206004820152602960248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20416c7265616479206044820152683630bab731b432b21760b91b60648201526084015b60405180910390fd5b60007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b689190613cef565b905060007f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee9190613cef565b905060007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c749190613cef565b60405163e6a4390560e01b81523060048201526001600160a01b03808316602483015291925060009185169063e6a4390590604401602060405180830381865afa158015610cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cea9190613cef565b905073a5644e29708357803b5a882d272c41cc0df92b346001600160a01b038216610d84576040516364e329cb60e11b81523060048201526001600160a01b03848116602483015286169063c9c65396906044016020604051808303816000875af1158015610d5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d819190613cef565b91505b60007f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e089190613cef565b6001600160a01b0316631698ee8230866127106040518463ffffffff1660e01b8152600401610e3993929190613d0c565b602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190613cef565b90506000856001600160a01b0316631698ee823087610bb86040518463ffffffff1660e01b8152600401610eb093929190613d0c565b602060405180830381865afa158015610ecd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef19190613cef565b90506000866001600160a01b0316631698ee8230886101f46040518463ffffffff1660e01b8152600401610f2793929190613d0c565b602060405180830381865afa158015610f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f689190613cef565b90506000876001600160a01b0316631698ee82308960646040518463ffffffff1660e01b8152600401610f9d93929190613d0c565b602060405180830381865afa158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde9190613cef565b90506001600160a01b0384166110665760405163a167129560e01b81526001600160a01b0389169063a1671295906110209030908b9061271090600401613d0c565b6020604051808303816000875af115801561103f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110639190613cef565b93505b6001600160a01b0383166110ec5760405163a167129560e01b81526001600160a01b0389169063a1671295906110a69030908b90610bb890600401613d0c565b6020604051808303816000875af11580156110c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e99190613cef565b92505b6001600160a01b0382166111725760405163a167129560e01b81526001600160a01b0389169063a16712959061112c9030908b906101f490600401613d0c565b6020604051808303816000875af115801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f9190613cef565b91505b6001600160a01b0381166111f75760405163a167129560e01b81526001600160a01b0389169063a1671295906111b19030908b90606490600401613d0c565b6020604051808303816000875af11580156111d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f49190613cef565b90505b611202866001612758565b61120d8460016127ac565b6112188360016127ac565b6112238260016127ac565b61122e8160016127ac565b611239866001612800565b611244846001612800565b61124f836001612800565b61125a826001612800565b611265816001612800565b611270856001612800565b61127b856001612860565b47806112dd5760405162461bcd60e51b815260206004820152602b60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20496e76616c69642060448201526a22aa241030b6b7bab73a1760a91b6064820152608401610adb565b30600090815260208190526040902054806113505760405162461bcd60e51b815260206004820152602d60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20496e76616c69642060448201526c3a37b5b2b71030b6b7bab73a1760991b6064820152608401610adb565b6000606461135f836063613d4a565b6113699190613d61565b90506000606461137a856063613d4a565b6113849190613d61565b90506113b1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d856128b8565b6000806001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663f305d7198730888888336113f542610708613d83565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015611462573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906114879190613d96565b509150915083821015801561149c5750848211155b61151d5760405162461bcd60e51b815260206004820152604660248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20556e64657369726560448201527f6420616d6f756e74206f6620746f6b656e7320616464656420746f206c69717560648201526534b234ba3c9760d11b608482015260a401610adb565b82811015801561152d5750858111155b6115ab5760405162461bcd60e51b815260206004820152604360248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20556e64657369726560448201527f6420616d6f756e74206f662045544820616464656420746f206c6971756964696064820152623a3c9760e91b608482015260a401610adb565b6115b6606486613d61565b6009556115c4606486613d61565b600a556006805464ffffffffff60a01b1916630101010160a81b17905543600755426008556040517f02ac8168caf2f254b394bd39e19417c5c28124ab89c9bc2d44921b19808e266990600090a1505050505050505050505050505050565b60606003805461163290613dc4565b80601f016020809104026020016040519081016040528092919081815260200182805461165e90613dc4565b80156116ab5780601f10611680576101008083540402835291602001916116ab565b820191906000526020600020905b81548152906001019060200180831161168e57829003601f168201915b5050505050905090565b6000336116c38185856128b8565b60019150505b92915050565b6000336116dd8582856129dc565b6116e8858585612a50565b506001949350505050565b6000336116c381858561170683836125ce565b6117109190613d83565b6128b8565b61171d6126fe565b600654600160c81b900460ff16156117475760405162461bcd60e51b8152600401610adb90613dfe565b60068054821515600160b01b0260ff60b01b199091161790556040517ff771b1e218dc92494b39e21852f9c24c3b448d6697c2b485cc1f0cff3c9ec7819061179490831515815260200190565b60405180910390a150565b6117a9338261324c565b50565b6117b46126fe565b6001600160a01b0382166000908152600f602052604090205460ff16156118365760405162461bcd60e51b815260206004820152603060248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20414d4d205061697260448201526f103b191030b63932b0b23c9039b2ba1760811b6064820152608401610adb565b6118408282612758565b5050565b61184c6126fe565b600654600160c81b900460ff16156118765760405162461bcd60e51b8152600401610adb90613dfe565b60068054821515600160b81b0260ff60b81b199091161790556040517f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b9061179490831515815260200190565b6118cb6126fe565b600654600160c81b900460ff16156118f55760405162461bcd60e51b8152600401610adb90613dfe565b620186a061190260025490565b61190c9190613d61565b8110156119815760405162461bcd60e51b815260206004820152603e60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2043616e6e6f74207360448201527f6574206d617857616c6c6574206c6f776572207468616e20302e3030312500006064820152608401610adb565b600a80549082905560408051828152602081018490527fceba48249b9d547af461cb58ff47a80584b3eb92ca0641f9bf766e30106585c691015b60405180910390a15050565b6119cf6126fe565b815181518114611a405760405162461bcd60e51b815260206004820152603660248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20417272617973206d6044820152750eae6e840c4ca40e8d0ca40e6c2daca40d8cadccee8d60531b6064820152608401610adb565b60005b81811015611ae4576000848281518110611a5f57611a5f613e47565b602002602001015190506000848381518110611a7d57611a7d613e47565b60200260200101519050611a98611a913390565b8383612a50565b604080516001600160a01b0384168152602081018390527f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a910160405180910390a15050600101611a43565b50505050565b611af26126fe565b600654600160c81b900460ff1615611b1c5760405162461bcd60e51b8152600401610adb90613dfe565b60005b82811015611ae457611b57848483818110611b3c57611b3c613e47565b9050602002016020810190611b5191906139fe565b83612800565b600101611b1f565b611b676126fe565b611b72336000612860565b611b7d336000612800565b611b8561337e565b565b611b8f6126fe565b600654600160c81b900460ff1615611bb95760405162461bcd60e51b8152600401610adb90613dfe565b600654600160c01b900460ff16611be25760405162461bcd60e51b8152600401610adb90613e5d565b6006805463ffffffff60a01b1916600160a01b1790556000600b819055600c55611c0b60025490565b600955600254600a553060009081526020819052604090205415611c4357611c43303330600090815260208190526040902054613390565b6006805460ff60c81b1916600160c81b1790556040517fd5d3506316afbaf28f04655368befe7d2e11ba1832d32a77ecc3d31139d2d27c90600090a1565b60065433906001600160a01b03168114611cf95760405162461bcd60e51b815260206004820152603360248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2063616c6c6572206960448201527239903737ba103a3432903732bb9037bbb732b960691b6064820152608401610adb565b6000611d0d6005546001600160a01b031690565b9050611d1a816000612860565b611d25816000612800565b611d30826001612860565b611d3b826001612800565b611840613534565b611d4b6126fe565b600654600160c81b900460ff1615611d755760405162461bcd60e51b8152600401610adb90613dfe565b6101f4811115611d975760405162461bcd60e51b8152600401610adb90613ea2565b600c80549082905560408051828152602081018490527f125b37650f21d088600cef1223439f6a8bd70800debfd486c503a8a2d19d4b0191016119bb565b60606004805461163290613dc4565b611dec6126fe565b60005b82811015611ae457600f6000858584818110611e0d57611e0d613e47565b9050602002016020810190611e2291906139fe565b6001600160a01b0316815260208101919091526040016000205460ff16158015611e91575060106000858584818110611e5d57611e5d613e47565b9050602002016020810190611e7291906139fe565b6001600160a01b0316815260208101919091526040016000205460ff16155b8015611ef557507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316848483818110611ed457611ed4613e47565b9050602002016020810190611ee991906139fe565b6001600160a01b031614155b8015611f5957507f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b0316848483818110611f3857611f38613e47565b9050602002016020810190611f4d91906139fe565b6001600160a01b031614155b8015611f94575030848483818110611f7357611f73613e47565b9050602002016020810190611f8891906139fe565b6001600160a01b031614155b80156120355750600d6000858584818110611fb157611fb1613e47565b9050602002016020810190611fc691906139fe565b6001600160a01b0316815260208101919091526040016000205460ff161580156120355750600e600085858481811061200157612001613e47565b905060200201602081019061201691906139fe565b6001600160a01b0316815260208101919091526040016000205460ff16155b1561206a5761206a84848381811061204f5761204f613e47565b905060200201602081019061206491906139fe565b836135ab565b600101611def565b6000338161208082866125ce565b9050838110156120e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610adb565b6116e882868684036128b8565b6000336116c3818585612a50565b6121036126fe565b600654600160c81b900460ff161561212d5760405162461bcd60e51b8152600401610adb90613dfe565b620f424061213a60025490565b6121449190613d61565b8110156121c75760405162461bcd60e51b8152602060048201526044602482018190527f466f72676f7474656e506c61796c616e64546f6b656e3a2043616e6e6f742073908201527f6574206d61785472616e73616374696f6e206c6f776572207468616e20302e306064820152633030312560e01b608482015260a401610adb565b600980549082905560408051828152602081018490527fb407ea2a875a7546cf5b71ceb27e4efa7a01fb65ce5bdda59cc504c2dd8aa3e491016119bb565b61220d6126fe565b600654600160c81b900460ff16156122375760405162461bcd60e51b8152600401610adb90613dfe565b60005b82811015611ae45761227284848381811061225757612257613e47565b905060200201602081019061226c91906139fe565b83612860565b60010161223a565b6122826126fe565b306001600160a01b038216036122ef5760405162461bcd60e51b815260206004820152602c60248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2043616e6e6f74207760448201526b34ba34323930bb9039b2b63360a11b6064820152608401610adb565b60006001600160a01b0382166124255750476000816123615760405162461bcd60e51b815260206004820152602860248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f206e617469766044820152676520746f6b656e7360c01b6064820152608401610adb565b60405133908390600081818185875af1925050503d80600081146123a1576040519150601f19603f3d011682016040523d82523d6000602084013e6123a6565b606091505b5050809150508061241f5760405162461bcd60e51b815260206004820152603860248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204661696c6564207460448201527f6f207769746864726177206e617469766520746f6b656e7300000000000000006064820152608401610adb565b506124fd565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015612469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248d9190613ef6565b9050600081116124e95760405162461bcd60e51b815260206004820152602160248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f20746f6b656e6044820152607360f81b6064820152608401610adb565b6124fd6001600160a01b0383163383613603565b604080516001600160a01b0384168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b91016119bb565b6125446126fe565b600654600160c81b900460ff161561256e5760405162461bcd60e51b8152600401610adb90613dfe565b6101f48111156125905760405162461bcd60e51b8152600401610adb90613ea2565b600b80549082905560408051828152602081018490527f5fcc0eea159d45a3b8d481be746c9beed251431a542a5fed4484be37ab783e8d91016119bb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6126016126fe565b6001600160a01b03821660009081526010602052604090205460ff16156126835760405162461bcd60e51b815260206004820152603060248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20414d4d205061697260448201526f103b199030b63932b0b23c9039b2ba1760811b6064820152608401610adb565b61184082826127ac565b6126956126fe565b600680546001600160a01b0383166001600160a01b031990911681179091556126c66005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6005546001600160a01b03163314611b855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610adb565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917f86868b8ec444c609d51f67f74b773c02b3b8232371668107c44bd0a5408711ca91a35050565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917f457dc51939d38230ec4b2842447f10937ebe5614c5c006c815514529bbbc115891a35050565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101612854565b6001600160a01b03831661291a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610adb565b6001600160a01b03821661297b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610adb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006129e884846125ce565b90506000198114611ae45781811015612a435760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610adb565b611ae484848484036128b8565b6001600160a01b038316612ac55760405162461bcd60e51b815260206004820152603660248201527f466f72676f7474656e506c61796c616e64546f6b656e3a207472616e736665726044820152752066726f6d20746865207a65726f206164647265737360501b6064820152608401610adb565b6001600160a01b038216612b385760405162461bcd60e51b815260206004820152603460248201527f466f72676f7474656e506c61796c616e64546f6b656e3a207472616e7366657260448201527320746f20746865207a65726f206164647265737360601b6064820152608401610adb565b6001600160a01b0383166000908152600d602052604090205460ff1680612b7757506001600160a01b0382166000908152600d602052604090205460ff165b8015612bbd57506001600160a01b0383166000908152600e602052604090205460ff1680612bbd57506001600160a01b0382166000908152600e602052604090205460ff165b15612bd257612bcd838383613390565b505050565b6001600160a01b03831660009081526011602052604090205460ff1615612c0b5760405162461bcd60e51b8152600401610adb90613f0f565b336001600160a01b0384161480612c3257503360009081526011602052604090205460ff16155b612c4e5760405162461bcd60e51b8152600401610adb90613f0f565b326001600160a01b0384161480612c6457503233145b80612c7f57503260009081526011602052604090205460ff16155b612c9b5760405162461bcd60e51b8152600401610adb90613f0f565b80600003612caf57612bcd83836000613390565b6000612cc36005546001600160a01b031690565b600654909150600160c01b900460ff1680612cef5750806001600160a01b0316846001600160a01b0316145b80612d0b5750806001600160a01b0316836001600160a01b0316145b80612d2057506001600160a01b03831661dead145b612d3c5760405162461bcd60e51b8152600401610adb90613e5d565b600654600160a01b900460ff161580612d9257506001600160a01b0384166000908152600f602052604090205460ff16158015612d9257506001600160a01b0383166000908152600f602052604090205460ff16155b612e145760405162461bcd60e51b815260206004820152604760248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f74206175746860448201527f6f72697a656420746f207472616465207468726f75676820556e697377617020606482015266158c88141bdbdb60ca1b608482015260a401610adb565b600654600160a81b900460ff161580612e6a57506001600160a01b03841660009081526010602052604090205460ff16158015612e6a57506001600160a01b03831660009081526010602052604090205460ff16155b612eec5760405162461bcd60e51b815260206004820152604760248201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f74206175746860448201527f6f72697a656420746f207472616465207468726f75676820556e697377617020606482015266158cc8141bdbdb60ca1b608482015260a401610adb565b600654600160b01b900460ff1615613148576001600160a01b0384166000908152600f602052604090205460ff168015612f3f57506001600160a01b0383166000908152600e602052604090205460ff16155b1561301557600954821115612fcc5760405162461bcd60e51b815260206004820152604760248201527f466f72676f7474656e506c61796c616e64546f6b656e3a20427579207472616e60448201527f7366657220616d6f756e74206578636565647320746865206d61785472616e7360648201526630b1ba34b7b71760c91b608482015260a401610adb565b600a546001600160a01b038416600090815260208190526040902054612ff29084613d83565b11156130105760405162461bcd60e51b8152600401610adb90613f53565b613148565b6001600160a01b0383166000908152600f602052604090205460ff16801561305657506001600160a01b0384166000908152600e602052604090205460ff16155b156130e4576009548211156130105760405162461bcd60e51b815260206004820152604860248201527f466f72676f7474656e506c61796c616e64546f6b656e3a2053656c6c2074726160448201527f6e7366657220616d6f756e74206578636565647320746865206d61785472616e60648201526739b0b1ba34b7b71760c11b608482015260a401610adb565b6001600160a01b0383166000908152600e602052604090205460ff1661314857600a546001600160a01b03841660009081526020819052604090205461312a9084613d83565b11156131485760405162461bcd60e51b8152600401610adb90613f53565b600654600160b81b900460ff1615613241576001600160a01b0383166000908152600f6020526040812054819060ff16801561318657506000600c54115b156131c15760075443111561319e5750600c546131a3565b50610bb85b6127106131b08286613d4a565b6131ba9190613d61565b9150613222565b6001600160a01b0386166000908152600f602052604090205460ff1680156131eb57506000600b54115b15613222576007544311156132035750600b54613208565b50610bb85b6127106132158286613d4a565b61321f9190613d61565b91505b811561323257613232868361324c565b61323c8285613f9e565b935050505b611ae4848484613390565b6001600160a01b0382166132ac5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610adb565b6001600160a01b038216600090815260208190526040902054818110156133205760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610adb565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6133866126fe565b611b856000613655565b6001600160a01b0383166133f45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610adb565b6001600160a01b0382166134565760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610adb565b6001600160a01b038316600090815260208190526040902054818110156134ce5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610adb565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611ae4565b60065433906001600160a01b031681146135a25760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610adb565b6117a981613655565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc89101612854565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612bcd90849061366e565b600680546001600160a01b03191690556117a981613743565b60006136c3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166137959092919063ffffffff16565b90508051600014806136e45750808060200190518101906136e49190613fb1565b612bcd5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610adb565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606137a484846000856137ac565b949350505050565b60608247101561380d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610adb565b600080866001600160a01b031685876040516138299190613fce565b60006040518083038185875af1925050503d8060008114613866576040519150601f19603f3d011682016040523d82523d6000602084013e61386b565b606091505b509150915061387c87838387613887565b979650505050505050565b606083156138f65782516000036138ef576001600160a01b0385163b6138ef5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610adb565b50816137a4565b6137a4838381511561390b5781518083602001fd5b8060405162461bcd60e51b8152600401610adb9190613949565b60005b83811015613940578181015183820152602001613928565b50506000910152565b6020815260008251806020840152613968816040850160208701613925565b601f01601f19169190910160400192915050565b6001600160a01b03811681146117a957600080fd5b600080604083850312156139a457600080fd5b82356139af8161397c565b946020939093013593505050565b6000806000606084860312156139d257600080fd5b83356139dd8161397c565b925060208401356139ed8161397c565b929592945050506040919091013590565b600060208284031215613a1057600080fd5b8135613a1b8161397c565b9392505050565b80151581146117a957600080fd5b600060208284031215613a4257600080fd5b8135613a1b81613a22565b600060208284031215613a5f57600080fd5b5035919050565b60008060408385031215613a7957600080fd5b8235613a848161397c565b91506020830135613a9481613a22565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613ade57613ade613a9f565b604052919050565b600067ffffffffffffffff821115613b0057613b00613a9f565b5060051b60200190565b600082601f830112613b1b57600080fd5b81356020613b30613b2b83613ae6565b613ab5565b8083825260208201915060208460051b870101935086841115613b5257600080fd5b602086015b84811015613b6e5780358352918301918301613b57565b509695505050505050565b60008060408385031215613b8c57600080fd5b823567ffffffffffffffff80821115613ba457600080fd5b818501915085601f830112613bb857600080fd5b81356020613bc8613b2b83613ae6565b82815260059290921b84018101918181019089841115613be757600080fd5b948201945b83861015613c0e578535613bff8161397c565b82529482019490820190613bec565b96505086013592505080821115613c2457600080fd5b50613c3185828601613b0a565b9150509250929050565b600080600060408486031215613c5057600080fd5b833567ffffffffffffffff80821115613c6857600080fd5b818601915086601f830112613c7c57600080fd5b813581811115613c8b57600080fd5b8760208260051b8501011115613ca057600080fd5b60209283019550935050840135613cb681613a22565b809150509250925092565b60008060408385031215613cd457600080fd5b8235613cdf8161397c565b91506020830135613a948161397c565b600060208284031215613d0157600080fd5b8151613a1b8161397c565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176116c9576116c9613d34565b600082613d7e57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156116c9576116c9613d34565b600080600060608486031215613dab57600080fd5b8351925060208401519150604084015190509250925092565b600181811c90821680613dd857607f821691505b602082108103613df857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526029908201527f466f72676f7474656e506c61796c616e64546f6b656e3a20416c72656164792060408201526836b4b3b930ba32b21760b91b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526025908201527f466f72676f7474656e506c61796c616e64546f6b656e3a204e6f74206c61756e60408201526431b432b21760d91b606082015260800190565b60208082526034908201527f466f72676f7474656e506c61796c616e64546f6b656e3a204d757374206b6565604082015273702066656573206174203525206f72206c65737360601b606082015260800190565b600060208284031215613f0857600080fd5b5051919050565b60208082526024908201527f466f72676f7474656e506c61796c616e64546f6b656e3a20626f74206465746560408201526318dd195960e21b606082015260800190565b6020808252602b908201527f466f72676f7474656e506c61796c616e64546f6b656e3a204d61782077616c6c60408201526a195d08195e18d95959195960aa1b606082015260800190565b818103818111156116c9576116c9613d34565b600060208284031215613fc357600080fd5b8151613a1b81613a22565b60008251613fe0818460208701613925565b919091019291505056fea2646970667358221220e5190f982b99e2ac8dadd83d9e8323d1168b0b9fd29a10783ec944749e2afbd764736f6c63430008160033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.