ERC-20
Overview
Max Total Supply
99,966,489.537235645807609727 COBE
Holders
3,999 (0.00%)
Market
Price
$0.06 @ 0.000020 ETH (-5.16%)
Onchain Market Cap
$6,198,038.33
Circulating Supply Market Cap
$463,469.51
Other Info
Token Contract (WITH 18 Decimals)
Balance
39.68 COBEValue
$2.46 ( ~0.000787997788274039 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CastleOfBlackwaterToken
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.22; import "@openzeppelin/[email protected]/access/Ownable2Step.sol"; import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol"; import "@openzeppelin/[email protected]/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 CastleOfBlackwaterToken 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(address _owner) ERC20("Castle of Blackwater", "COBE") { address sender = _msgSender(); uint256 tSupply = 100_000_000 ether; uint256 supplyToLiquidity = (tSupply * 125) / 10000; uint256 supplyLeftover = tSupply - supplyToLiquidity; uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV3Router = IUniswapV3Router( 0xE592427A0AEce92De3Edee1F18E0157C05861564 ); maxTransaction = tSupply; maxWallet = tSupply; buyFees = 500; sellFees = 500; _excludeFromFees(sender, true); _excludeFromFees(_owner, true); _excludeFromFees(address(this), true); _excludeFromFees(DEAD_ADDRESS, true); _excludeFromMaxTransaction(sender, true); _excludeFromMaxTransaction(_owner, true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(DEAD_ADDRESS, true); _excludeFromMaxTransaction(address(uniswapV2Router), true); _mint(address(this), supplyToLiquidity); _mint(_owner, supplyLeftover); } 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, "CastleOfBlackwaterToken: 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 { address sender = _msgSender(); _excludeFromFees(sender, false); _excludeFromMaxTransaction(sender, 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, "CastleOfBlackwaterToken: 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 payable onlyOwner { require(!launched, "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: Invalid ETH amount."); uint256 tokenAmount = balanceOf(address(this)); require( tokenAmount > 0, "CastleOfBlackwaterToken: Invalid token amount." ); uint256 amountTokenMin = (tokenAmount * 99) / 100; uint256 amountETHMin = (ethAmount * 99) / 100; _approve(address(this), address(uniswapV2Router), tokenAmount); (uint256 amountToken, uint256 amountETH, ) = uniswapV2Router .addLiquidityETH{value: ethAmount}( address(this), tokenAmount, amountTokenMin, amountETHMin, tx.origin, block.timestamp + (30 minutes) ); require( (amountToken >= amountTokenMin) && (amountToken <= tokenAmount), "CastleOfBlackwaterToken: Undesired amount of tokens added to liquidity." ); require( (amountETH >= amountETHMin) && (amountETH <= ethAmount), "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: Already migrated."); require(launched, "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: Already migrated."); taxesEnabled = value; emit SetTaxesEnabled(value); } /** * @dev Update the max transaction enforced during transfers */ function setMaxTransaction(uint256 _maxTransaction) external onlyOwner { require(!migrated, "CastleOfBlackwaterToken: Already migrated."); require( _maxTransaction >= (totalSupply() / MAX_TRANSACTION_PERCENT_DENOMINATOR), "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: Already migrated."); require( _maxWallet >= (totalSupply() / MAX_WALLET_PERCENT_DENOMINATOR), "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: Already migrated."); require( _buyFees <= MAX_BUY_FEE, "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: Already migrated."); require( _sellFees <= MAX_SELL_FEE, "CastleOfBlackwaterToken: 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), "CastleOfBlackwaterToken: Cannot withdraw self" ); address sender = _msgSender(); uint256 amount; if (tkn == ZERO_ADDRESS) { bool success; amount = address(this).balance; require(amount > 0, "CastleOfBlackwaterToken: No native tokens"); (success, ) = address(sender).call{value: amount}(""); require( success, "CastleOfBlackwaterToken: Failed to withdraw native tokens" ); } else { amount = IERC20(tkn).balanceOf(address(this)); require(amount > 0, "CastleOfBlackwaterToken: No tokens"); IERC20(tkn).safeTransfer(sender, amount); } emit WithdrawStuckTokens(tkn, amount); } /** * @dev Exclude (or not) accounts from fees */ function excludeFromFees( address[] calldata accounts, bool value ) public onlyOwner { require(!migrated, "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: 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], "CastleOfBlackwaterToken: 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], "CastleOfBlackwaterToken: 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, "CastleOfBlackwaterToken: transfer from the zero address" ); require( to != ZERO_ADDRESS, "CastleOfBlackwaterToken: transfer to the zero address" ); if ( (isExcludedFromFees[from] || isExcludedFromFees[to]) && (isExcludedMaxTransactionAmount[from] || isExcludedMaxTransactionAmount[to]) ) { super._transfer(from, to, amount); return; } address sender = _msgSender(); require(!isBot[from], "CastleOfBlackwaterToken: bot detected"); require( sender == from || !isBot[sender], "CastleOfBlackwaterToken: bot detected" ); require( tx.origin == from || tx.origin == sender || !isBot[tx.origin], "CastleOfBlackwaterToken: bot detected" ); if (amount == 0) { super._transfer(from, to, 0); return; } address ownr = owner(); require( launched || from == ownr || to == ownr || to == DEAD_ADDRESS, "CastleOfBlackwaterToken: Not launched." ); require( !_v2LPProtectionEnabled || (!automatedMarketMakerPairsV2[from] && !automatedMarketMakerPairsV2[to]), "CastleOfBlackwaterToken: Not authorized to trade through Uniswap V2 Pool" ); require( !_v3LPProtectionEnabled || (!automatedMarketMakerPairsV3[from] && !automatedMarketMakerPairsV3[to]), "CastleOfBlackwaterToken: Not authorized to trade through Uniswap V3 Pool" ); if (limitsEnabled) { if ( automatedMarketMakerPairsV2[from] && !isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransaction, "CastleOfBlackwaterToken: Buy transfer amount exceeds the maxTransaction." ); require( (amount + balanceOf(to)) <= maxWallet, "CastleOfBlackwaterToken: Max wallet exceeded" ); } else if ( automatedMarketMakerPairsV2[to] && !isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransaction, "CastleOfBlackwaterToken: Sell transfer amount exceeds the maxTransaction." ); } else if (!isExcludedMaxTransactionAmount[to]) { require( (amount + balanceOf(to)) <= maxWallet, "CastleOfBlackwaterToken: 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); } }
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; }
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; }
// 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; }
// 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) (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 (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); } }
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); }
// 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 (last updated v4.9.4) (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. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ 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]. * * CAUTION: See Security Considerations above. */ 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.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// 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) (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); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"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":"payable","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
60c060405234801562000010575f80fd5b50604051620045a4380380620045a48339810160408190526200003391620003d5565b6040518060400160405280601481526020017f436173746c65206f6620426c61636b776174657200000000000000000000000081525060405180604001604052806004815260200163434f424560e01b8152508160039081620000979190620004a1565b506004620000a68282620004a1565b505050620000c3620000bd620001e260201b60201c565b620001e6565b336a52b7d2dcc80cd2e40000005f612710620000e183607d62000581565b620000ed9190620005a1565b90505f620000fc8284620005c1565b737a250d5630b4cf539739df2c5dacb4c659f2488d60805273e592427a0aece92de3edee1f18e0157c0586156460a0526009849055600a8490556101f4600b819055600c5590506200015084600162000204565b6200015d85600162000204565b6200016a30600162000204565b6200017961dead600162000204565b6200018684600162000263565b6200019385600162000263565b620001a030600162000263565b620001af61dead600162000263565b608051620001bf90600162000263565b620001cb3083620002bb565b620001d78582620002bb565b5050505050620005ed565b3390565b600680546001600160a01b031916905562000201816200037f565b50565b6001600160a01b0382165f818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f08910162000257565b6001600160a01b038216620003165760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620003299190620005d7565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b505050565b5f60208284031215620003e6575f80fd5b81516001600160a01b0381168114620003fd575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200042d57607f821691505b6020821081036200044c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620003d057805f5260205f20601f840160051c81016020851015620004795750805b601f840160051c820191505b818110156200049a575f815560010162000485565b5050505050565b81516001600160401b03811115620004bd57620004bd62000404565b620004d581620004ce845462000418565b8462000452565b602080601f8311600181146200050b575f8415620004f35750858301515b5f19600386901b1c1916600185901b17855562000565565b5f85815260208120601f198616915b828110156200053b578886015182559484019460019091019084016200051a565b50858210156200055957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176200059b576200059b6200056d565b92915050565b5f82620005bc57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156200059b576200059b6200056d565b808201808211156200059b576200059b6200056d565b60805160a051613f5d620006475f395f818161049b01528181610b0f01528181610d1d0152611e6801525f81816103dd01528181610a8c01528181610b9201528181611307015281816113380152611e040152613f5d5ff3fe60806040526004361061035e575f3560e01c806373d01ead116101bd578063ad29ffde116100f2578063df29271211610092578063e30c39781161006d578063e30c3978146109a9578063e4748b9e146109c6578063f2fde38b146109db578063f8b45b05146109fa575f80fd5b8063df29271214610960578063e071d20c14610975578063e0f3ccf514610994575f80fd5b8063cb963728116100cd578063cb963728146108ee578063d00efb2f1461090d578063dcf7aef314610922578063dd62ed3e14610941575f80fd5b8063ad29ffde1461089a578063bff51ef8146108b9578063c3f70b52146108d9575f80fd5b806395927c251161015d5780639f9f8c5b116101385780639f9f8c5b14610827578063a457c2d71461083d578063a9059cbb1461085c578063ab5a18871461087b575f80fd5b806395927c25146107d557806395d89b41146107f45780639c0db5f314610808575f80fd5b80637b0a3c7c116101985780637b0a3c7c1461076a5780638091f3bf14610798578063867508ad146106b15780638da5cb5b146107b8575f80fd5b806373d01ead1461072d578063790ca4131461074157806379ba509714610756575f80fd5b806342966c681161029357806359512ab0116102335780636e628f3b1161020e5780636e628f3b146106b15780636f4fd18e146106c657806370a08231146106e5578063715018a614610719575f80fd5b806359512ab0146106545780635d0044ca146106735780636724348214610692575f80fd5b80634e6fd6c41161026e5780634e6fd6c4146105df5780634fbee193146105f4578063538ba4f914610622578063591da4d114610635575f80fd5b806342966c6814610564578063483a7add146105835780634bb2c785146105b1575f80fd5b80632c678c64116102fe5780633582ad23116102d95780633582ad23146104d857806339509351146104f85780633bbac5791461051757806341aea9de14610545575f80fd5b80632c678c641461046a5780632c76d7a61461048a578063313ce567146104bd575f80fd5b80631694505e116103395780631694505e146103cc57806318160ddd1461041757806323b872dd146104355780632818cae514610454575f80fd5b806301339c211461036957806306fdde0314610373578063095ea7b31461039d575f80fd5b3661036557005b5f80fd5b610371610a0f565b005b34801561037e575f80fd5b5061038761159d565b60405161039491906138b9565b60405180910390f35b3480156103a8575f80fd5b506103bc6103b73660046138ff565b61162d565b6040519015158152602001610394565b3480156103d7575f80fd5b506103ff7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610394565b348015610422575f80fd5b506002545b604051908152602001610394565b348015610440575f80fd5b506103bc61044f366004613929565b611646565b34801561045f575f80fd5b50610427620186a081565b348015610475575f80fd5b506006546103bc90600160c81b900460ff1681565b348015610495575f80fd5b506103ff7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104c8575f80fd5b5060405160128152602001610394565b3480156104e3575f80fd5b506006546103bc90600160b01b900460ff1681565b348015610503575f80fd5b506103bc6105123660046138ff565b611669565b348015610522575f80fd5b506103bc610531366004613967565b60116020525f908152604090205460ff1681565b348015610550575f80fd5b5061037161055f366004613996565b61168a565b34801561056f575f80fd5b5061037161057e3660046139b1565b611714565b34801561058e575f80fd5b506103bc61059d366004613967565b600f6020525f908152604090205460ff1681565b3480156105bc575f80fd5b506103bc6105cb366004613967565b600e6020525f908152604090205460ff1681565b3480156105ea575f80fd5b506103ff61dead81565b3480156105ff575f80fd5b506103bc61060e366004613967565b600d6020525f908152604090205460ff1681565b34801561062d575f80fd5b506103ff5f81565b348015610640575f80fd5b5061037161064f3660046139c8565b611721565b34801561065f575f80fd5b5061037161066e366004613996565b6117b9565b34801561067e575f80fd5b5061037161068d3660046139b1565b611838565b34801561069d575f80fd5b506103716106ac366004613ad3565b61193c565b3480156106bc575f80fd5b506104276101f481565b3480156106d1575f80fd5b506103716106e0366004613b8f565b611a63565b3480156106f0575f80fd5b506104276106ff366004613967565b6001600160a01b03165f9081526020819052604090205490565b348015610724575f80fd5b50610371611ad7565b348015610738575f80fd5b50610371611afc565b34801561074c575f80fd5b5061042760085481565b348015610761575f80fd5b50610371611bf2565b348015610775575f80fd5b506103bc610784366004613967565b60106020525f908152604090205460ff1681565b3480156107a3575f80fd5b506006546103bc90600160c01b900460ff1681565b3480156107c3575f80fd5b506005546001600160a01b03166103ff565b3480156107e0575f80fd5b506103716107ef3660046139b1565b611cb2565b3480156107ff575f80fd5b50610387611d44565b348015610813575f80fd5b50610371610822366004613b8f565b611d53565b348015610832575f80fd5b50610427620f424081565b348015610848575f80fd5b506103bc6108573660046138ff565b611fd8565b348015610867575f80fd5b506103bc6108763660046138ff565b612052565b348015610886575f80fd5b506103716108953660046139b1565b61205f565b3480156108a5575f80fd5b506103716108b4366004613b8f565b612169565b3480156108c4575f80fd5b506006546103bc90600160b81b900460ff1681565b3480156108e4575f80fd5b5061042760095481565b3480156108f9575f80fd5b50610371610908366004613967565b6121dd565b348015610918575f80fd5b5061042760075481565b34801561092d575f80fd5b5061037161093c3660046139b1565b6124ac565b34801561094c575f80fd5b5061042761095b366004613c0e565b61253e565b34801561096b575f80fd5b5061042761271081565b348015610980575f80fd5b5061037161098f3660046139c8565b612568565b34801561099f575f80fd5b50610427600c5481565b3480156109b4575f80fd5b506006546001600160a01b03166103ff565b3480156109d1575f80fd5b50610427600b5481565b3480156109e6575f80fd5b506103716109f5366004613967565b6125fc565b348015610a05575f80fd5b50610427600a5481565b610a1761266d565b600654600160c01b900460ff1615610a895760405162461bcd60e51b815260206004820152602a60248201527f436173746c654f66426c61636b7761746572546f6b656e3a20416c7265616479604482015269103630bab731b432b21760b11b60648201526084015b60405180910390fd5b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0a9190613c3a565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8d9190613c3a565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c109190613c3a565b60405163e6a4390560e01b81523060048201526001600160a01b0380831660248301529192505f9185169063e6a4390590604401602060405180830381865afa158015610c5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c839190613c3a565b905073a5644e29708357803b5a882d272c41cc0df92b346001600160a01b038216610d1a576040516364e329cb60e11b81523060048201526001600160a01b03848116602483015286169063c9c65396906044016020604051808303815f875af1158015610cf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d179190613c3a565b91505b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9b9190613c3a565b6001600160a01b0316631698ee8230866127106040518463ffffffff1660e01b8152600401610dcc93929190613c55565b602060405180830381865afa158015610de7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0b9190613c3a565b90505f856001600160a01b0316631698ee823087610bb86040518463ffffffff1660e01b8152600401610e4093929190613c55565b602060405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7f9190613c3a565b90505f866001600160a01b0316631698ee8230886101f46040518463ffffffff1660e01b8152600401610eb493929190613c55565b602060405180830381865afa158015610ecf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef39190613c3a565b90505f876001600160a01b0316631698ee82308960646040518463ffffffff1660e01b8152600401610f2793929190613c55565b602060405180830381865afa158015610f42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f669190613c3a565b90506001600160a01b038416610feb5760405163a167129560e01b81526001600160a01b0389169063a167129590610fa89030908b9061271090600401613c55565b6020604051808303815f875af1158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe89190613c3a565b93505b6001600160a01b03831661106e5760405163a167129560e01b81526001600160a01b0389169063a16712959061102b9030908b90610bb890600401613c55565b6020604051808303815f875af1158015611047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106b9190613c3a565b92505b6001600160a01b0382166110f15760405163a167129560e01b81526001600160a01b0389169063a1671295906110ae9030908b906101f490600401613c55565b6020604051808303815f875af11580156110ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee9190613c3a565b91505b6001600160a01b0381166111735760405163a167129560e01b81526001600160a01b0389169063a1671295906111309030908b90606490600401613c55565b6020604051808303815f875af115801561114c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111709190613c3a565b90505b61117e8660016126c9565b61118984600161271c565b61119483600161271c565b61119f82600161271c565b6111aa81600161271c565b6111b586600161276f565b6111c084600161276f565b6111cb83600161276f565b6111d682600161276f565b6111e181600161276f565b6111ec85600161276f565b6111f78560016127ce565b478061125a5760405162461bcd60e51b815260206004820152602c60248201527f436173746c654f66426c61636b7761746572546f6b656e3a20496e76616c696460448201526b1022aa241030b6b7bab73a1760a11b6064820152608401610a80565b305f90815260208190526040902054806112cd5760405162461bcd60e51b815260206004820152602e60248201527f436173746c654f66426c61636b7761746572546f6b656e3a20496e76616c696460448201526d103a37b5b2b71030b6b7bab73a1760911b6064820152608401610a80565b5f60646112db836063613c91565b6112e59190613ca8565b90505f60646112f5856063613c91565b6112ff9190613ca8565b905061132c307f000000000000000000000000000000000000000000000000000000000000000085612825565b5f806001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663f305d71987308888883261136f42610708613cc7565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af11580156113da573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906113ff9190613cda565b50915091508382101580156114145750848211155b6114965760405162461bcd60e51b815260206004820152604760248201527f436173746c654f66426c61636b7761746572546f6b656e3a20556e646573697260448201527f656420616d6f756e74206f6620746f6b656e7320616464656420746f206c69716064820152663ab4b234ba3c9760c91b608482015260a401610a80565b8281101580156114a65750858111155b6115265760405162461bcd60e51b8152602060048201526044602482018190527f436173746c654f66426c61636b7761746572546f6b656e3a20556e6465736972908201527f656420616d6f756e74206f662045544820616464656420746f206c697175696460648201526334ba3c9760e11b608482015260a401610a80565b611531606486613ca8565b60095561153f606486613ca8565b600a556006805464ffffffffff60a01b1916630101010160a81b17905543600755426008556040517f02ac8168caf2f254b394bd39e19417c5c28124ab89c9bc2d44921b19808e2669905f90a1505050505050505050505050505050565b6060600380546115ac90613d05565b80601f01602080910402602001604051908101604052809291908181526020018280546115d890613d05565b80156116235780601f106115fa57610100808354040283529160200191611623565b820191905f5260205f20905b81548152906001019060200180831161160657829003601f168201915b5050505050905090565b5f3361163a818585612825565b60019150505b92915050565b5f33611653858285612948565b61165e8585856129ba565b506001949350505050565b5f3361163a81858561167b838361253e565b6116859190613cc7565b612825565b61169261266d565b600654600160c81b900460ff16156116bc5760405162461bcd60e51b8152600401610a8090613d3d565b60068054821515600160b01b0260ff60b01b199091161790556040517ff771b1e218dc92494b39e21852f9c24c3b448d6697c2b485cc1f0cff3c9ec7819061170990831515815260200190565b60405180910390a150565b61171e33826131cd565b50565b61172961266d565b6001600160a01b0382165f908152600f602052604090205460ff16156117ab5760405162461bcd60e51b815260206004820152603160248201527f436173746c654f66426c61636b7761746572546f6b656e3a20414d4d2050616960448201527039103b191030b63932b0b23c9039b2ba1760791b6064820152608401610a80565b6117b582826126c9565b5050565b6117c161266d565b600654600160c81b900460ff16156117eb5760405162461bcd60e51b8152600401610a8090613d3d565b60068054821515600160b81b0260ff60b81b199091161790556040517f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b9061170990831515815260200190565b61184061266d565b600654600160c81b900460ff161561186a5760405162461bcd60e51b8152600401610a8090613d3d565b620186a061187760025490565b6118819190613ca8565b8110156118f65760405162461bcd60e51b815260206004820152603f60248201527f436173746c654f66426c61636b7761746572546f6b656e3a2043616e6e6f742060448201527f736574206d617857616c6c6574206c6f776572207468616e20302e30303125006064820152608401610a80565b600a80549082905560408051828152602081018490527fceba48249b9d547af461cb58ff47a80584b3eb92ca0641f9bf766e30106585c691015b60405180910390a15050565b61194461266d565b8151815181146119bc5760405162461bcd60e51b815260206004820152603760248201527f436173746c654f66426c61636b7761746572546f6b656e3a204172726179732060448201527f6d757374206265207468652073616d65206c656e6774680000000000000000006064820152608401610a80565b5f5b81811015611a5d575f8482815181106119d9576119d9613d87565b602002602001015190505f8483815181106119f6576119f6613d87565b60200260200101519050611a11611a0a3390565b83836129ba565b604080516001600160a01b0384168152602081018390527f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a910160405180910390a150506001016119be565b50505050565b611a6b61266d565b600654600160c81b900460ff1615611a955760405162461bcd60e51b8152600401610a8090613d3d565b5f5b82811015611a5d57611acf848483818110611ab457611ab4613d87565b9050602002016020810190611ac99190613967565b8361276f565b600101611a97565b611adf61266d565b33611aea815f6127ce565b611af4815f61276f565b61171e6132fd565b611b0461266d565b600654600160c81b900460ff1615611b2e5760405162461bcd60e51b8152600401610a8090613d3d565b600654600160c01b900460ff16611b575760405162461bcd60e51b8152600401610a8090613d9b565b6006805463ffffffff60a01b1916600160a01b1790555f600b819055600c55611b7f60025490565b600955600254600a55305f9081526020819052604090205415611bb557611bb53033305f9081526020819052604090205461330e565b6006805460ff60c81b1916600160c81b1790556040517fd5d3506316afbaf28f04655368befe7d2e11ba1832d32a77ecc3d31139d2d27c905f90a1565b60065433906001600160a01b03168114611c6b5760405162461bcd60e51b815260206004820152603460248201527f436173746c654f66426c61636b7761746572546f6b656e3a2063616c6c65722060448201527334b9903737ba103a3432903732bb9037bbb732b960611b6064820152608401610a80565b5f611c7e6005546001600160a01b031690565b9050611c8a815f6127ce565b611c94815f61276f565b611c9f8260016127ce565b611caa82600161276f565b6117b56134b0565b611cba61266d565b600654600160c81b900460ff1615611ce45760405162461bcd60e51b8152600401610a8090613d3d565b6101f4811115611d065760405162461bcd60e51b8152600401610a8090613de1565b600c80549082905560408051828152602081018490527f125b37650f21d088600cef1223439f6a8bd70800debfd486c503a8a2d19d4b019101611930565b6060600480546115ac90613d05565b611d5b61266d565b5f5b82811015611a5d57600f5f858584818110611d7a57611d7a613d87565b9050602002016020810190611d8f9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16158015611dfb575060105f858584818110611dc857611dc8613d87565b9050602002016020810190611ddd9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16155b8015611e5f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316848483818110611e3e57611e3e613d87565b9050602002016020810190611e539190613967565b6001600160a01b031614155b8015611ec357507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316848483818110611ea257611ea2613d87565b9050602002016020810190611eb79190613967565b6001600160a01b031614155b8015611efe575030848483818110611edd57611edd613d87565b9050602002016020810190611ef29190613967565b6001600160a01b031614155b8015611f9b5750600d5f858584818110611f1a57611f1a613d87565b9050602002016020810190611f2f9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16158015611f9b5750600e5f858584818110611f6857611f68613d87565b9050602002016020810190611f7d9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16155b15611fd057611fd0848483818110611fb557611fb5613d87565b9050602002016020810190611fca9190613967565b83613527565b600101611d5d565b5f3381611fe5828661253e565b9050838110156120455760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a80565b61165e8286868403612825565b5f3361163a8185856129ba565b61206761266d565b600654600160c81b900460ff16156120915760405162461bcd60e51b8152600401610a8090613d3d565b620f424061209e60025490565b6120a89190613ca8565b81101561212b5760405162461bcd60e51b815260206004820152604560248201527f436173746c654f66426c61636b7761746572546f6b656e3a2043616e6e6f742060448201527f736574206d61785472616e73616374696f6e206c6f776572207468616e20302e606482015264303030312560d81b608482015260a401610a80565b600980549082905560408051828152602081018490527fb407ea2a875a7546cf5b71ceb27e4efa7a01fb65ce5bdda59cc504c2dd8aa3e49101611930565b61217161266d565b600654600160c81b900460ff161561219b5760405162461bcd60e51b8152600401610a8090613d3d565b5f5b82811015611a5d576121d58484838181106121ba576121ba613d87565b90506020020160208101906121cf9190613967565b836127ce565b60010161219d565b6121e561266d565b306001600160a01b038216036122535760405162461bcd60e51b815260206004820152602d60248201527f436173746c654f66426c61636b7761746572546f6b656e3a2043616e6e6f742060448201526c3bb4ba34323930bb9039b2b63360991b6064820152608401610a80565b335f6001600160a01b03831661238f5750475f816122c55760405162461bcd60e51b815260206004820152602960248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f206e617469604482015268766520746f6b656e7360b81b6064820152608401610a80565b6040516001600160a01b0384169083905f81818185875af1925050503d805f811461230b576040519150601f19603f3d011682016040523d82523d5f602084013e612310565b606091505b505080915050806123895760405162461bcd60e51b815260206004820152603960248201527f436173746c654f66426c61636b7761746572546f6b656e3a204661696c65642060448201527f746f207769746864726177206e617469766520746f6b656e73000000000000006064820152608401610a80565b50612465565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156123d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f59190613e36565b90505f81116124515760405162461bcd60e51b815260206004820152602260248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f20746f6b656044820152616e7360f01b6064820152608401610a80565b6124656001600160a01b038416838361357e565b604080516001600160a01b0385168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b910160405180910390a1505050565b6124b461266d565b600654600160c81b900460ff16156124de5760405162461bcd60e51b8152600401610a8090613d3d565b6101f48111156125005760405162461bcd60e51b8152600401610a8090613de1565b600b80549082905560408051828152602081018490527f5fcc0eea159d45a3b8d481be746c9beed251431a542a5fed4484be37ab783e8d9101611930565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61257061266d565b6001600160a01b0382165f9081526010602052604090205460ff16156125f25760405162461bcd60e51b815260206004820152603160248201527f436173746c654f66426c61636b7761746572546f6b656e3a20414d4d2050616960448201527039103b199030b63932b0b23c9039b2ba1760791b6064820152608401610a80565b6117b5828261271c565b61260461266d565b600680546001600160a01b0383166001600160a01b031990911681179091556126356005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6005546001600160a01b031633146126c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a80565b565b6001600160a01b0382165f818152600f6020526040808220805460ff191685151590811790915590519092917f86868b8ec444c609d51f67f74b773c02b3b8232371668107c44bd0a5408711ca91a35050565b6001600160a01b0382165f81815260106020526040808220805460ff191685151590811790915590519092917f457dc51939d38230ec4b2842447f10937ebe5614c5c006c815514529bbbc115891a35050565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b6001600160a01b0382165f818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791016127c2565b6001600160a01b0383166128875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a80565b6001600160a01b0382166128e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a80565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f612953848461253e565b90505f198114611a5d57818110156129ad5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a80565b611a5d8484848403612825565b6001600160a01b038316612a365760405162461bcd60e51b815260206004820152603760248201527f436173746c654f66426c61636b7761746572546f6b656e3a207472616e73666560448201527f722066726f6d20746865207a65726f20616464726573730000000000000000006064820152608401610a80565b6001600160a01b038216612aaa5760405162461bcd60e51b815260206004820152603560248201527f436173746c654f66426c61636b7761746572546f6b656e3a207472616e7366656044820152747220746f20746865207a65726f206164647265737360581b6064820152608401610a80565b6001600160a01b0383165f908152600d602052604090205460ff1680612ae757506001600160a01b0382165f908152600d602052604090205460ff165b8015612b2b57506001600160a01b0383165f908152600e602052604090205460ff1680612b2b57506001600160a01b0382165f908152600e602052604090205460ff165b15612b4057612b3b83838361330e565b505050565b6001600160a01b0383165f90815260116020526040902054339060ff1615612b7a5760405162461bcd60e51b8152600401610a8090613e4d565b836001600160a01b0316816001600160a01b03161480612bb257506001600160a01b0381165f9081526011602052604090205460ff16155b612bce5760405162461bcd60e51b8152600401610a8090613e4d565b326001600160a01b0385161480612bed5750326001600160a01b038216145b80612c075750325f9081526011602052604090205460ff16155b612c235760405162461bcd60e51b8152600401610a8090613e4d565b815f03612c3557611a5d84845f61330e565b5f612c486005546001600160a01b031690565b600654909150600160c01b900460ff1680612c745750806001600160a01b0316856001600160a01b0316145b80612c905750806001600160a01b0316846001600160a01b0316145b80612ca557506001600160a01b03841661dead145b612cc15760405162461bcd60e51b8152600401610a8090613d9b565b600654600160a01b900460ff161580612d1557506001600160a01b0385165f908152600f602052604090205460ff16158015612d1557506001600160a01b0384165f908152600f602052604090205460ff16155b612d985760405162461bcd60e51b815260206004820152604860248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f742061757460448201527f686f72697a656420746f207472616465207468726f75676820556e697377617060648201526708158c88141bdbdb60c21b608482015260a401610a80565b600654600160a81b900460ff161580612dec57506001600160a01b0385165f9081526010602052604090205460ff16158015612dec57506001600160a01b0384165f9081526010602052604090205460ff16155b612e6f5760405162461bcd60e51b815260206004820152604860248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f742061757460448201527f686f72697a656420746f207472616465207468726f75676820556e697377617060648201526708158cc8141bdbdb60c21b608482015260a401610a80565b600654600160b01b900460ff16156130c6576001600160a01b0385165f908152600f602052604090205460ff168015612ec057506001600160a01b0384165f908152600e602052604090205460ff16155b15612f9657600954831115612f4e5760405162461bcd60e51b815260206004820152604860248201527f436173746c654f66426c61636b7761746572546f6b656e3a204275792074726160448201527f6e7366657220616d6f756e74206578636565647320746865206d61785472616e60648201526739b0b1ba34b7b71760c11b608482015260a401610a80565b600a546001600160a01b0385165f90815260208190526040902054612f739085613cc7565b1115612f915760405162461bcd60e51b8152600401610a8090613e92565b6130c6565b6001600160a01b0384165f908152600f602052604090205460ff168015612fd557506001600160a01b0385165f908152600e602052604090205460ff16155b1561306457600954831115612f915760405162461bcd60e51b815260206004820152604960248201527f436173746c654f66426c61636b7761746572546f6b656e3a2053656c6c20747260448201527f616e7366657220616d6f756e74206578636565647320746865206d61785472616064820152683739b0b1ba34b7b71760b91b608482015260a401610a80565b6001600160a01b0384165f908152600e602052604090205460ff166130c657600a546001600160a01b0385165f908152602081905260409020546130a89085613cc7565b11156130c65760405162461bcd60e51b8152600401610a8090613e92565b600654600160b81b900460ff16156131bb576001600160a01b0384165f908152600f6020526040812054819060ff16801561310257505f600c54115b1561313d5760075443111561311a5750600c5461311f565b50610bb85b61271061312c8287613c91565b6131369190613ca8565b915061319c565b6001600160a01b0387165f908152600f602052604090205460ff16801561316557505f600b54115b1561319c5760075443111561317d5750600b54613182565b50610bb85b61271061318f8287613c91565b6131999190613ca8565b91505b81156131ac576131ac87836131cd565b6131b68286613ede565b945050505b6131c685858561330e565b5050505050565b6001600160a01b03821661322d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a80565b6001600160a01b0382165f90815260208190526040902054818110156132a05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a80565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b61330561266d565b6126c75f6135d0565b6001600160a01b0383166133725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a80565b6001600160a01b0382166133d45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a80565b6001600160a01b0383165f908152602081905260409020548181101561344b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a80565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611a5d565b60065433906001600160a01b0316811461351e5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610a80565b61171e816135d0565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc891016127c2565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612b3b9084906135e9565b600680546001600160a01b031916905561171e816136bc565b5f61363d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661370d9092919063ffffffff16565b905080515f148061365d57508080602001905181019061365d9190613ef1565b612b3b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a80565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606061371b84845f85613723565b949350505050565b6060824710156137845760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a80565b5f80866001600160a01b0316858760405161379f9190613f0c565b5f6040518083038185875af1925050503d805f81146137d9576040519150601f19603f3d011682016040523d82523d5f602084013e6137de565b606091505b50915091506137ef878383876137fa565b979650505050505050565b606083156138685782515f03613861576001600160a01b0385163b6138615760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a80565b508161371b565b61371b838381511561387d5781518083602001fd5b8060405162461bcd60e51b8152600401610a8091906138b9565b5f5b838110156138b1578181015183820152602001613899565b50505f910152565b602081525f82518060208401526138d7816040850160208701613897565b601f01601f19169190910160400192915050565b6001600160a01b038116811461171e575f80fd5b5f8060408385031215613910575f80fd5b823561391b816138eb565b946020939093013593505050565b5f805f6060848603121561393b575f80fd5b8335613946816138eb565b92506020840135613956816138eb565b929592945050506040919091013590565b5f60208284031215613977575f80fd5b8135613982816138eb565b9392505050565b801515811461171e575f80fd5b5f602082840312156139a6575f80fd5b813561398281613989565b5f602082840312156139c1575f80fd5b5035919050565b5f80604083850312156139d9575f80fd5b82356139e4816138eb565b915060208301356139f481613989565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613a3c57613a3c6139ff565b604052919050565b5f67ffffffffffffffff821115613a5d57613a5d6139ff565b5060051b60200190565b5f82601f830112613a76575f80fd5b81356020613a8b613a8683613a44565b613a13565b8083825260208201915060208460051b870101935086841115613aac575f80fd5b602086015b84811015613ac85780358352918301918301613ab1565b509695505050505050565b5f8060408385031215613ae4575f80fd5b823567ffffffffffffffff80821115613afb575f80fd5b818501915085601f830112613b0e575f80fd5b81356020613b1e613a8683613a44565b82815260059290921b84018101918181019089841115613b3c575f80fd5b948201945b83861015613b63578535613b54816138eb565b82529482019490820190613b41565b96505086013592505080821115613b78575f80fd5b50613b8585828601613a67565b9150509250929050565b5f805f60408486031215613ba1575f80fd5b833567ffffffffffffffff80821115613bb8575f80fd5b818601915086601f830112613bcb575f80fd5b813581811115613bd9575f80fd5b8760208260051b8501011115613bed575f80fd5b60209283019550935050840135613c0381613989565b809150509250925092565b5f8060408385031215613c1f575f80fd5b8235613c2a816138eb565b915060208301356139f4816138eb565b5f60208284031215613c4a575f80fd5b8151613982816138eb565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761164057611640613c7d565b5f82613cc257634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561164057611640613c7d565b5f805f60608486031215613cec575f80fd5b8351925060208401519150604084015190509250925092565b600181811c90821680613d1957607f821691505b602082108103613d3757634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602a908201527f436173746c654f66426c61636b7761746572546f6b656e3a20416c72656164796040820152691036b4b3b930ba32b21760b11b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b60208082526026908201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f74206c61756040820152653731b432b21760d11b606082015260800190565b60208082526035908201527f436173746c654f66426c61636b7761746572546f6b656e3a204d757374206b6560408201527465702066656573206174203525206f72206c65737360581b606082015260800190565b5f60208284031215613e46575f80fd5b5051919050565b60208082526025908201527f436173746c654f66426c61636b7761746572546f6b656e3a20626f74206465746040820152641958dd195960da1b606082015260800190565b6020808252602c908201527f436173746c654f66426c61636b7761746572546f6b656e3a204d61782077616c60408201526b1b195d08195e18d95959195960a21b606082015260800190565b8181038181111561164057611640613c7d565b5f60208284031215613f01575f80fd5b815161398281613989565b5f8251613f1d818460208701613897565b919091019291505056fea26469706673582212207225a30886d82173c5d1c24baf189c921741d9519f4fd85c975d288e18d2ad3864736f6c634300081600330000000000000000000000006666499c19d593a6fa044320ce60ac01868c3cc0
Deployed Bytecode
0x60806040526004361061035e575f3560e01c806373d01ead116101bd578063ad29ffde116100f2578063df29271211610092578063e30c39781161006d578063e30c3978146109a9578063e4748b9e146109c6578063f2fde38b146109db578063f8b45b05146109fa575f80fd5b8063df29271214610960578063e071d20c14610975578063e0f3ccf514610994575f80fd5b8063cb963728116100cd578063cb963728146108ee578063d00efb2f1461090d578063dcf7aef314610922578063dd62ed3e14610941575f80fd5b8063ad29ffde1461089a578063bff51ef8146108b9578063c3f70b52146108d9575f80fd5b806395927c251161015d5780639f9f8c5b116101385780639f9f8c5b14610827578063a457c2d71461083d578063a9059cbb1461085c578063ab5a18871461087b575f80fd5b806395927c25146107d557806395d89b41146107f45780639c0db5f314610808575f80fd5b80637b0a3c7c116101985780637b0a3c7c1461076a5780638091f3bf14610798578063867508ad146106b15780638da5cb5b146107b8575f80fd5b806373d01ead1461072d578063790ca4131461074157806379ba509714610756575f80fd5b806342966c681161029357806359512ab0116102335780636e628f3b1161020e5780636e628f3b146106b15780636f4fd18e146106c657806370a08231146106e5578063715018a614610719575f80fd5b806359512ab0146106545780635d0044ca146106735780636724348214610692575f80fd5b80634e6fd6c41161026e5780634e6fd6c4146105df5780634fbee193146105f4578063538ba4f914610622578063591da4d114610635575f80fd5b806342966c6814610564578063483a7add146105835780634bb2c785146105b1575f80fd5b80632c678c64116102fe5780633582ad23116102d95780633582ad23146104d857806339509351146104f85780633bbac5791461051757806341aea9de14610545575f80fd5b80632c678c641461046a5780632c76d7a61461048a578063313ce567146104bd575f80fd5b80631694505e116103395780631694505e146103cc57806318160ddd1461041757806323b872dd146104355780632818cae514610454575f80fd5b806301339c211461036957806306fdde0314610373578063095ea7b31461039d575f80fd5b3661036557005b5f80fd5b610371610a0f565b005b34801561037e575f80fd5b5061038761159d565b60405161039491906138b9565b60405180910390f35b3480156103a8575f80fd5b506103bc6103b73660046138ff565b61162d565b6040519015158152602001610394565b3480156103d7575f80fd5b506103ff7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610394565b348015610422575f80fd5b506002545b604051908152602001610394565b348015610440575f80fd5b506103bc61044f366004613929565b611646565b34801561045f575f80fd5b50610427620186a081565b348015610475575f80fd5b506006546103bc90600160c81b900460ff1681565b348015610495575f80fd5b506103ff7f000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156481565b3480156104c8575f80fd5b5060405160128152602001610394565b3480156104e3575f80fd5b506006546103bc90600160b01b900460ff1681565b348015610503575f80fd5b506103bc6105123660046138ff565b611669565b348015610522575f80fd5b506103bc610531366004613967565b60116020525f908152604090205460ff1681565b348015610550575f80fd5b5061037161055f366004613996565b61168a565b34801561056f575f80fd5b5061037161057e3660046139b1565b611714565b34801561058e575f80fd5b506103bc61059d366004613967565b600f6020525f908152604090205460ff1681565b3480156105bc575f80fd5b506103bc6105cb366004613967565b600e6020525f908152604090205460ff1681565b3480156105ea575f80fd5b506103ff61dead81565b3480156105ff575f80fd5b506103bc61060e366004613967565b600d6020525f908152604090205460ff1681565b34801561062d575f80fd5b506103ff5f81565b348015610640575f80fd5b5061037161064f3660046139c8565b611721565b34801561065f575f80fd5b5061037161066e366004613996565b6117b9565b34801561067e575f80fd5b5061037161068d3660046139b1565b611838565b34801561069d575f80fd5b506103716106ac366004613ad3565b61193c565b3480156106bc575f80fd5b506104276101f481565b3480156106d1575f80fd5b506103716106e0366004613b8f565b611a63565b3480156106f0575f80fd5b506104276106ff366004613967565b6001600160a01b03165f9081526020819052604090205490565b348015610724575f80fd5b50610371611ad7565b348015610738575f80fd5b50610371611afc565b34801561074c575f80fd5b5061042760085481565b348015610761575f80fd5b50610371611bf2565b348015610775575f80fd5b506103bc610784366004613967565b60106020525f908152604090205460ff1681565b3480156107a3575f80fd5b506006546103bc90600160c01b900460ff1681565b3480156107c3575f80fd5b506005546001600160a01b03166103ff565b3480156107e0575f80fd5b506103716107ef3660046139b1565b611cb2565b3480156107ff575f80fd5b50610387611d44565b348015610813575f80fd5b50610371610822366004613b8f565b611d53565b348015610832575f80fd5b50610427620f424081565b348015610848575f80fd5b506103bc6108573660046138ff565b611fd8565b348015610867575f80fd5b506103bc6108763660046138ff565b612052565b348015610886575f80fd5b506103716108953660046139b1565b61205f565b3480156108a5575f80fd5b506103716108b4366004613b8f565b612169565b3480156108c4575f80fd5b506006546103bc90600160b81b900460ff1681565b3480156108e4575f80fd5b5061042760095481565b3480156108f9575f80fd5b50610371610908366004613967565b6121dd565b348015610918575f80fd5b5061042760075481565b34801561092d575f80fd5b5061037161093c3660046139b1565b6124ac565b34801561094c575f80fd5b5061042761095b366004613c0e565b61253e565b34801561096b575f80fd5b5061042761271081565b348015610980575f80fd5b5061037161098f3660046139c8565b612568565b34801561099f575f80fd5b50610427600c5481565b3480156109b4575f80fd5b506006546001600160a01b03166103ff565b3480156109d1575f80fd5b50610427600b5481565b3480156109e6575f80fd5b506103716109f5366004613967565b6125fc565b348015610a05575f80fd5b50610427600a5481565b610a1761266d565b600654600160c01b900460ff1615610a895760405162461bcd60e51b815260206004820152602a60248201527f436173746c654f66426c61636b7761746572546f6b656e3a20416c7265616479604482015269103630bab731b432b21760b11b60648201526084015b60405180910390fd5b5f7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0a9190613c3a565b90505f7f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8d9190613c3a565b90505f7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c109190613c3a565b60405163e6a4390560e01b81523060048201526001600160a01b0380831660248301529192505f9185169063e6a4390590604401602060405180830381865afa158015610c5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c839190613c3a565b905073a5644e29708357803b5a882d272c41cc0df92b346001600160a01b038216610d1a576040516364e329cb60e11b81523060048201526001600160a01b03848116602483015286169063c9c65396906044016020604051808303815f875af1158015610cf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d179190613c3a565b91505b5f7f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9b9190613c3a565b6001600160a01b0316631698ee8230866127106040518463ffffffff1660e01b8152600401610dcc93929190613c55565b602060405180830381865afa158015610de7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0b9190613c3a565b90505f856001600160a01b0316631698ee823087610bb86040518463ffffffff1660e01b8152600401610e4093929190613c55565b602060405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7f9190613c3a565b90505f866001600160a01b0316631698ee8230886101f46040518463ffffffff1660e01b8152600401610eb493929190613c55565b602060405180830381865afa158015610ecf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef39190613c3a565b90505f876001600160a01b0316631698ee82308960646040518463ffffffff1660e01b8152600401610f2793929190613c55565b602060405180830381865afa158015610f42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f669190613c3a565b90506001600160a01b038416610feb5760405163a167129560e01b81526001600160a01b0389169063a167129590610fa89030908b9061271090600401613c55565b6020604051808303815f875af1158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe89190613c3a565b93505b6001600160a01b03831661106e5760405163a167129560e01b81526001600160a01b0389169063a16712959061102b9030908b90610bb890600401613c55565b6020604051808303815f875af1158015611047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106b9190613c3a565b92505b6001600160a01b0382166110f15760405163a167129560e01b81526001600160a01b0389169063a1671295906110ae9030908b906101f490600401613c55565b6020604051808303815f875af11580156110ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee9190613c3a565b91505b6001600160a01b0381166111735760405163a167129560e01b81526001600160a01b0389169063a1671295906111309030908b90606490600401613c55565b6020604051808303815f875af115801561114c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111709190613c3a565b90505b61117e8660016126c9565b61118984600161271c565b61119483600161271c565b61119f82600161271c565b6111aa81600161271c565b6111b586600161276f565b6111c084600161276f565b6111cb83600161276f565b6111d682600161276f565b6111e181600161276f565b6111ec85600161276f565b6111f78560016127ce565b478061125a5760405162461bcd60e51b815260206004820152602c60248201527f436173746c654f66426c61636b7761746572546f6b656e3a20496e76616c696460448201526b1022aa241030b6b7bab73a1760a11b6064820152608401610a80565b305f90815260208190526040902054806112cd5760405162461bcd60e51b815260206004820152602e60248201527f436173746c654f66426c61636b7761746572546f6b656e3a20496e76616c696460448201526d103a37b5b2b71030b6b7bab73a1760911b6064820152608401610a80565b5f60646112db836063613c91565b6112e59190613ca8565b90505f60646112f5856063613c91565b6112ff9190613ca8565b905061132c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d85612825565b5f806001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663f305d71987308888883261136f42610708613cc7565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af11580156113da573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906113ff9190613cda565b50915091508382101580156114145750848211155b6114965760405162461bcd60e51b815260206004820152604760248201527f436173746c654f66426c61636b7761746572546f6b656e3a20556e646573697260448201527f656420616d6f756e74206f6620746f6b656e7320616464656420746f206c69716064820152663ab4b234ba3c9760c91b608482015260a401610a80565b8281101580156114a65750858111155b6115265760405162461bcd60e51b8152602060048201526044602482018190527f436173746c654f66426c61636b7761746572546f6b656e3a20556e6465736972908201527f656420616d6f756e74206f662045544820616464656420746f206c697175696460648201526334ba3c9760e11b608482015260a401610a80565b611531606486613ca8565b60095561153f606486613ca8565b600a556006805464ffffffffff60a01b1916630101010160a81b17905543600755426008556040517f02ac8168caf2f254b394bd39e19417c5c28124ab89c9bc2d44921b19808e2669905f90a1505050505050505050505050505050565b6060600380546115ac90613d05565b80601f01602080910402602001604051908101604052809291908181526020018280546115d890613d05565b80156116235780601f106115fa57610100808354040283529160200191611623565b820191905f5260205f20905b81548152906001019060200180831161160657829003601f168201915b5050505050905090565b5f3361163a818585612825565b60019150505b92915050565b5f33611653858285612948565b61165e8585856129ba565b506001949350505050565b5f3361163a81858561167b838361253e565b6116859190613cc7565b612825565b61169261266d565b600654600160c81b900460ff16156116bc5760405162461bcd60e51b8152600401610a8090613d3d565b60068054821515600160b01b0260ff60b01b199091161790556040517ff771b1e218dc92494b39e21852f9c24c3b448d6697c2b485cc1f0cff3c9ec7819061170990831515815260200190565b60405180910390a150565b61171e33826131cd565b50565b61172961266d565b6001600160a01b0382165f908152600f602052604090205460ff16156117ab5760405162461bcd60e51b815260206004820152603160248201527f436173746c654f66426c61636b7761746572546f6b656e3a20414d4d2050616960448201527039103b191030b63932b0b23c9039b2ba1760791b6064820152608401610a80565b6117b582826126c9565b5050565b6117c161266d565b600654600160c81b900460ff16156117eb5760405162461bcd60e51b8152600401610a8090613d3d565b60068054821515600160b81b0260ff60b81b199091161790556040517f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b9061170990831515815260200190565b61184061266d565b600654600160c81b900460ff161561186a5760405162461bcd60e51b8152600401610a8090613d3d565b620186a061187760025490565b6118819190613ca8565b8110156118f65760405162461bcd60e51b815260206004820152603f60248201527f436173746c654f66426c61636b7761746572546f6b656e3a2043616e6e6f742060448201527f736574206d617857616c6c6574206c6f776572207468616e20302e30303125006064820152608401610a80565b600a80549082905560408051828152602081018490527fceba48249b9d547af461cb58ff47a80584b3eb92ca0641f9bf766e30106585c691015b60405180910390a15050565b61194461266d565b8151815181146119bc5760405162461bcd60e51b815260206004820152603760248201527f436173746c654f66426c61636b7761746572546f6b656e3a204172726179732060448201527f6d757374206265207468652073616d65206c656e6774680000000000000000006064820152608401610a80565b5f5b81811015611a5d575f8482815181106119d9576119d9613d87565b602002602001015190505f8483815181106119f6576119f6613d87565b60200260200101519050611a11611a0a3390565b83836129ba565b604080516001600160a01b0384168152602081018390527f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a910160405180910390a150506001016119be565b50505050565b611a6b61266d565b600654600160c81b900460ff1615611a955760405162461bcd60e51b8152600401610a8090613d3d565b5f5b82811015611a5d57611acf848483818110611ab457611ab4613d87565b9050602002016020810190611ac99190613967565b8361276f565b600101611a97565b611adf61266d565b33611aea815f6127ce565b611af4815f61276f565b61171e6132fd565b611b0461266d565b600654600160c81b900460ff1615611b2e5760405162461bcd60e51b8152600401610a8090613d3d565b600654600160c01b900460ff16611b575760405162461bcd60e51b8152600401610a8090613d9b565b6006805463ffffffff60a01b1916600160a01b1790555f600b819055600c55611b7f60025490565b600955600254600a55305f9081526020819052604090205415611bb557611bb53033305f9081526020819052604090205461330e565b6006805460ff60c81b1916600160c81b1790556040517fd5d3506316afbaf28f04655368befe7d2e11ba1832d32a77ecc3d31139d2d27c905f90a1565b60065433906001600160a01b03168114611c6b5760405162461bcd60e51b815260206004820152603460248201527f436173746c654f66426c61636b7761746572546f6b656e3a2063616c6c65722060448201527334b9903737ba103a3432903732bb9037bbb732b960611b6064820152608401610a80565b5f611c7e6005546001600160a01b031690565b9050611c8a815f6127ce565b611c94815f61276f565b611c9f8260016127ce565b611caa82600161276f565b6117b56134b0565b611cba61266d565b600654600160c81b900460ff1615611ce45760405162461bcd60e51b8152600401610a8090613d3d565b6101f4811115611d065760405162461bcd60e51b8152600401610a8090613de1565b600c80549082905560408051828152602081018490527f125b37650f21d088600cef1223439f6a8bd70800debfd486c503a8a2d19d4b019101611930565b6060600480546115ac90613d05565b611d5b61266d565b5f5b82811015611a5d57600f5f858584818110611d7a57611d7a613d87565b9050602002016020810190611d8f9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16158015611dfb575060105f858584818110611dc857611dc8613d87565b9050602002016020810190611ddd9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16155b8015611e5f57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316848483818110611e3e57611e3e613d87565b9050602002016020810190611e539190613967565b6001600160a01b031614155b8015611ec357507f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b0316848483818110611ea257611ea2613d87565b9050602002016020810190611eb79190613967565b6001600160a01b031614155b8015611efe575030848483818110611edd57611edd613d87565b9050602002016020810190611ef29190613967565b6001600160a01b031614155b8015611f9b5750600d5f858584818110611f1a57611f1a613d87565b9050602002016020810190611f2f9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16158015611f9b5750600e5f858584818110611f6857611f68613d87565b9050602002016020810190611f7d9190613967565b6001600160a01b0316815260208101919091526040015f205460ff16155b15611fd057611fd0848483818110611fb557611fb5613d87565b9050602002016020810190611fca9190613967565b83613527565b600101611d5d565b5f3381611fe5828661253e565b9050838110156120455760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a80565b61165e8286868403612825565b5f3361163a8185856129ba565b61206761266d565b600654600160c81b900460ff16156120915760405162461bcd60e51b8152600401610a8090613d3d565b620f424061209e60025490565b6120a89190613ca8565b81101561212b5760405162461bcd60e51b815260206004820152604560248201527f436173746c654f66426c61636b7761746572546f6b656e3a2043616e6e6f742060448201527f736574206d61785472616e73616374696f6e206c6f776572207468616e20302e606482015264303030312560d81b608482015260a401610a80565b600980549082905560408051828152602081018490527fb407ea2a875a7546cf5b71ceb27e4efa7a01fb65ce5bdda59cc504c2dd8aa3e49101611930565b61217161266d565b600654600160c81b900460ff161561219b5760405162461bcd60e51b8152600401610a8090613d3d565b5f5b82811015611a5d576121d58484838181106121ba576121ba613d87565b90506020020160208101906121cf9190613967565b836127ce565b60010161219d565b6121e561266d565b306001600160a01b038216036122535760405162461bcd60e51b815260206004820152602d60248201527f436173746c654f66426c61636b7761746572546f6b656e3a2043616e6e6f742060448201526c3bb4ba34323930bb9039b2b63360991b6064820152608401610a80565b335f6001600160a01b03831661238f5750475f816122c55760405162461bcd60e51b815260206004820152602960248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f206e617469604482015268766520746f6b656e7360b81b6064820152608401610a80565b6040516001600160a01b0384169083905f81818185875af1925050503d805f811461230b576040519150601f19603f3d011682016040523d82523d5f602084013e612310565b606091505b505080915050806123895760405162461bcd60e51b815260206004820152603960248201527f436173746c654f66426c61636b7761746572546f6b656e3a204661696c65642060448201527f746f207769746864726177206e617469766520746f6b656e73000000000000006064820152608401610a80565b50612465565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156123d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f59190613e36565b90505f81116124515760405162461bcd60e51b815260206004820152602260248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f20746f6b656044820152616e7360f01b6064820152608401610a80565b6124656001600160a01b038416838361357e565b604080516001600160a01b0385168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b910160405180910390a1505050565b6124b461266d565b600654600160c81b900460ff16156124de5760405162461bcd60e51b8152600401610a8090613d3d565b6101f48111156125005760405162461bcd60e51b8152600401610a8090613de1565b600b80549082905560408051828152602081018490527f5fcc0eea159d45a3b8d481be746c9beed251431a542a5fed4484be37ab783e8d9101611930565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61257061266d565b6001600160a01b0382165f9081526010602052604090205460ff16156125f25760405162461bcd60e51b815260206004820152603160248201527f436173746c654f66426c61636b7761746572546f6b656e3a20414d4d2050616960448201527039103b199030b63932b0b23c9039b2ba1760791b6064820152608401610a80565b6117b5828261271c565b61260461266d565b600680546001600160a01b0383166001600160a01b031990911681179091556126356005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6005546001600160a01b031633146126c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a80565b565b6001600160a01b0382165f818152600f6020526040808220805460ff191685151590811790915590519092917f86868b8ec444c609d51f67f74b773c02b3b8232371668107c44bd0a5408711ca91a35050565b6001600160a01b0382165f81815260106020526040808220805460ff191685151590811790915590519092917f457dc51939d38230ec4b2842447f10937ebe5614c5c006c815514529bbbc115891a35050565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b6001600160a01b0382165f818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791016127c2565b6001600160a01b0383166128875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a80565b6001600160a01b0382166128e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a80565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f612953848461253e565b90505f198114611a5d57818110156129ad5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a80565b611a5d8484848403612825565b6001600160a01b038316612a365760405162461bcd60e51b815260206004820152603760248201527f436173746c654f66426c61636b7761746572546f6b656e3a207472616e73666560448201527f722066726f6d20746865207a65726f20616464726573730000000000000000006064820152608401610a80565b6001600160a01b038216612aaa5760405162461bcd60e51b815260206004820152603560248201527f436173746c654f66426c61636b7761746572546f6b656e3a207472616e7366656044820152747220746f20746865207a65726f206164647265737360581b6064820152608401610a80565b6001600160a01b0383165f908152600d602052604090205460ff1680612ae757506001600160a01b0382165f908152600d602052604090205460ff165b8015612b2b57506001600160a01b0383165f908152600e602052604090205460ff1680612b2b57506001600160a01b0382165f908152600e602052604090205460ff165b15612b4057612b3b83838361330e565b505050565b6001600160a01b0383165f90815260116020526040902054339060ff1615612b7a5760405162461bcd60e51b8152600401610a8090613e4d565b836001600160a01b0316816001600160a01b03161480612bb257506001600160a01b0381165f9081526011602052604090205460ff16155b612bce5760405162461bcd60e51b8152600401610a8090613e4d565b326001600160a01b0385161480612bed5750326001600160a01b038216145b80612c075750325f9081526011602052604090205460ff16155b612c235760405162461bcd60e51b8152600401610a8090613e4d565b815f03612c3557611a5d84845f61330e565b5f612c486005546001600160a01b031690565b600654909150600160c01b900460ff1680612c745750806001600160a01b0316856001600160a01b0316145b80612c905750806001600160a01b0316846001600160a01b0316145b80612ca557506001600160a01b03841661dead145b612cc15760405162461bcd60e51b8152600401610a8090613d9b565b600654600160a01b900460ff161580612d1557506001600160a01b0385165f908152600f602052604090205460ff16158015612d1557506001600160a01b0384165f908152600f602052604090205460ff16155b612d985760405162461bcd60e51b815260206004820152604860248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f742061757460448201527f686f72697a656420746f207472616465207468726f75676820556e697377617060648201526708158c88141bdbdb60c21b608482015260a401610a80565b600654600160a81b900460ff161580612dec57506001600160a01b0385165f9081526010602052604090205460ff16158015612dec57506001600160a01b0384165f9081526010602052604090205460ff16155b612e6f5760405162461bcd60e51b815260206004820152604860248201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f742061757460448201527f686f72697a656420746f207472616465207468726f75676820556e697377617060648201526708158cc8141bdbdb60c21b608482015260a401610a80565b600654600160b01b900460ff16156130c6576001600160a01b0385165f908152600f602052604090205460ff168015612ec057506001600160a01b0384165f908152600e602052604090205460ff16155b15612f9657600954831115612f4e5760405162461bcd60e51b815260206004820152604860248201527f436173746c654f66426c61636b7761746572546f6b656e3a204275792074726160448201527f6e7366657220616d6f756e74206578636565647320746865206d61785472616e60648201526739b0b1ba34b7b71760c11b608482015260a401610a80565b600a546001600160a01b0385165f90815260208190526040902054612f739085613cc7565b1115612f915760405162461bcd60e51b8152600401610a8090613e92565b6130c6565b6001600160a01b0384165f908152600f602052604090205460ff168015612fd557506001600160a01b0385165f908152600e602052604090205460ff16155b1561306457600954831115612f915760405162461bcd60e51b815260206004820152604960248201527f436173746c654f66426c61636b7761746572546f6b656e3a2053656c6c20747260448201527f616e7366657220616d6f756e74206578636565647320746865206d61785472616064820152683739b0b1ba34b7b71760b91b608482015260a401610a80565b6001600160a01b0384165f908152600e602052604090205460ff166130c657600a546001600160a01b0385165f908152602081905260409020546130a89085613cc7565b11156130c65760405162461bcd60e51b8152600401610a8090613e92565b600654600160b81b900460ff16156131bb576001600160a01b0384165f908152600f6020526040812054819060ff16801561310257505f600c54115b1561313d5760075443111561311a5750600c5461311f565b50610bb85b61271061312c8287613c91565b6131369190613ca8565b915061319c565b6001600160a01b0387165f908152600f602052604090205460ff16801561316557505f600b54115b1561319c5760075443111561317d5750600b54613182565b50610bb85b61271061318f8287613c91565b6131999190613ca8565b91505b81156131ac576131ac87836131cd565b6131b68286613ede565b945050505b6131c685858561330e565b5050505050565b6001600160a01b03821661322d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a80565b6001600160a01b0382165f90815260208190526040902054818110156132a05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a80565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b61330561266d565b6126c75f6135d0565b6001600160a01b0383166133725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a80565b6001600160a01b0382166133d45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a80565b6001600160a01b0383165f908152602081905260409020548181101561344b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a80565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611a5d565b60065433906001600160a01b0316811461351e5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610a80565b61171e816135d0565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc891016127c2565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612b3b9084906135e9565b600680546001600160a01b031916905561171e816136bc565b5f61363d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661370d9092919063ffffffff16565b905080515f148061365d57508080602001905181019061365d9190613ef1565b612b3b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a80565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606061371b84845f85613723565b949350505050565b6060824710156137845760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a80565b5f80866001600160a01b0316858760405161379f9190613f0c565b5f6040518083038185875af1925050503d805f81146137d9576040519150601f19603f3d011682016040523d82523d5f602084013e6137de565b606091505b50915091506137ef878383876137fa565b979650505050505050565b606083156138685782515f03613861576001600160a01b0385163b6138615760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a80565b508161371b565b61371b838381511561387d5781518083602001fd5b8060405162461bcd60e51b8152600401610a8091906138b9565b5f5b838110156138b1578181015183820152602001613899565b50505f910152565b602081525f82518060208401526138d7816040850160208701613897565b601f01601f19169190910160400192915050565b6001600160a01b038116811461171e575f80fd5b5f8060408385031215613910575f80fd5b823561391b816138eb565b946020939093013593505050565b5f805f6060848603121561393b575f80fd5b8335613946816138eb565b92506020840135613956816138eb565b929592945050506040919091013590565b5f60208284031215613977575f80fd5b8135613982816138eb565b9392505050565b801515811461171e575f80fd5b5f602082840312156139a6575f80fd5b813561398281613989565b5f602082840312156139c1575f80fd5b5035919050565b5f80604083850312156139d9575f80fd5b82356139e4816138eb565b915060208301356139f481613989565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613a3c57613a3c6139ff565b604052919050565b5f67ffffffffffffffff821115613a5d57613a5d6139ff565b5060051b60200190565b5f82601f830112613a76575f80fd5b81356020613a8b613a8683613a44565b613a13565b8083825260208201915060208460051b870101935086841115613aac575f80fd5b602086015b84811015613ac85780358352918301918301613ab1565b509695505050505050565b5f8060408385031215613ae4575f80fd5b823567ffffffffffffffff80821115613afb575f80fd5b818501915085601f830112613b0e575f80fd5b81356020613b1e613a8683613a44565b82815260059290921b84018101918181019089841115613b3c575f80fd5b948201945b83861015613b63578535613b54816138eb565b82529482019490820190613b41565b96505086013592505080821115613b78575f80fd5b50613b8585828601613a67565b9150509250929050565b5f805f60408486031215613ba1575f80fd5b833567ffffffffffffffff80821115613bb8575f80fd5b818601915086601f830112613bcb575f80fd5b813581811115613bd9575f80fd5b8760208260051b8501011115613bed575f80fd5b60209283019550935050840135613c0381613989565b809150509250925092565b5f8060408385031215613c1f575f80fd5b8235613c2a816138eb565b915060208301356139f4816138eb565b5f60208284031215613c4a575f80fd5b8151613982816138eb565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761164057611640613c7d565b5f82613cc257634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561164057611640613c7d565b5f805f60608486031215613cec575f80fd5b8351925060208401519150604084015190509250925092565b600181811c90821680613d1957607f821691505b602082108103613d3757634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602a908201527f436173746c654f66426c61636b7761746572546f6b656e3a20416c72656164796040820152691036b4b3b930ba32b21760b11b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b60208082526026908201527f436173746c654f66426c61636b7761746572546f6b656e3a204e6f74206c61756040820152653731b432b21760d11b606082015260800190565b60208082526035908201527f436173746c654f66426c61636b7761746572546f6b656e3a204d757374206b6560408201527465702066656573206174203525206f72206c65737360581b606082015260800190565b5f60208284031215613e46575f80fd5b5051919050565b60208082526025908201527f436173746c654f66426c61636b7761746572546f6b656e3a20626f74206465746040820152641958dd195960da1b606082015260800190565b6020808252602c908201527f436173746c654f66426c61636b7761746572546f6b656e3a204d61782077616c60408201526b1b195d08195e18d95959195960a21b606082015260800190565b8181038181111561164057611640613c7d565b5f60208284031215613f01575f80fd5b815161398281613989565b5f8251613f1d818460208701613897565b919091019291505056fea26469706673582212207225a30886d82173c5d1c24baf189c921741d9519f4fd85c975d288e18d2ad3864736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006666499c19d593a6fa044320ce60ac01868c3cc0
-----Decoded View---------------
Arg [0] : _owner (address): 0x6666499c19d593a6Fa044320cE60ac01868C3cC0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006666499c19d593a6fa044320ce60ac01868c3cc0
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.