Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,233 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 21410371 | 3 hrs ago | IN | 0 ETH | 0.00073546 | ||||
Transfer | 21410309 | 3 hrs ago | IN | 0 ETH | 0.00073463 | ||||
Transfer | 21410291 | 3 hrs ago | IN | 0 ETH | 0.00056389 | ||||
Transfer | 21391981 | 2 days ago | IN | 0 ETH | 0.000665 | ||||
Transfer | 21378649 | 4 days ago | IN | 0 ETH | 0.00089991 | ||||
Transfer | 21378618 | 4 days ago | IN | 0 ETH | 0.00093127 | ||||
Transfer | 21343566 | 9 days ago | IN | 0 ETH | 0.00091356 | ||||
Transfer | 21316237 | 13 days ago | IN | 0 ETH | 0.00189976 | ||||
Transfer | 21287530 | 17 days ago | IN | 0 ETH | 0.00089518 | ||||
Transfer | 21284820 | 17 days ago | IN | 0 ETH | 0.00062653 | ||||
Approve | 21261897 | 20 days ago | IN | 0 ETH | 0.00035249 | ||||
Approve | 21261874 | 20 days ago | IN | 0 ETH | 0.00038394 | ||||
Approve | 21245119 | 23 days ago | IN | 0 ETH | 0.00090727 | ||||
Transfer | 21237507 | 24 days ago | IN | 0 ETH | 0.0013217 | ||||
Transfer | 21221382 | 26 days ago | IN | 0 ETH | 0.00096192 | ||||
Transfer | 21216024 | 27 days ago | IN | 0 ETH | 0.00139526 | ||||
Transfer | 21180434 | 32 days ago | IN | 0 ETH | 0.00410859 | ||||
Transfer | 21180370 | 32 days ago | IN | 0 ETH | 0.00623741 | ||||
Transfer | 21176424 | 32 days ago | IN | 0 ETH | 0.00148879 | ||||
Transfer | 21176402 | 32 days ago | IN | 0 ETH | 0.00157428 | ||||
Approve | 21168728 | 33 days ago | IN | 0 ETH | 0.00066293 | ||||
Approve | 21123917 | 40 days ago | IN | 0 ETH | 0.00034706 | ||||
Transfer | 21101922 | 43 days ago | IN | 0 ETH | 0.00040218 | ||||
Transfer | 21101918 | 43 days ago | IN | 0 ETH | 0.00050433 | ||||
Transfer | 21099313 | 43 days ago | IN | 0 ETH | 0.00032714 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
WAVX
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/access/Ownable2Step.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; interface IUniswapV2Pair { function token0() external view returns (address); function token1() external view returns (address); } 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); } 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; } contract WAVX is ERC20, Ownable2Step { uint256 public constant MAX_SUPPLY = 522504675 * 1e18; // 522,504,675 Max supply uint256 public constant FEE_SELL = 5; uint256 public constant MAX_SLIPPAGE = 550; // 5.5% as decimal is 2 uint256 public constant MAX_AMOUNT_PER_TRANSACTION_LIMIT = (MAX_SUPPLY * 50) / 100; uint256 public constant MAX_DELAY_COOLDOWN_BLOCKS = 25; // 5 minutes uint256 public maxAmountPerTransaction = (MAX_SUPPLY * 40) / 100; // set initially as 40% of max supply uint256 public cumulatedFeeLimit = 10000 * 1e18; uint256 public delayCooldownBlocks = 2; // delay in 2 blocks for next transaction uint256 public slippageOnFeeCollection = 100; // slippage tolerance to 1% when fee collection process (decimal is 2) IUniswapV2Router02 public uniswapV2Router; address public treasury; bool isRunningCollection; mapping(address => uint256) public lastTransactionBlock; mapping(address => bool) public uniswapPoolAddresses; mapping(address => bool) public excludedFeeAddresses; event WithdrawFeeToTreasury(uint256 contractTokenBalance); event AddUniswapPoolAddresses(address _address); event RemoveUniswapPoolAddress(address _address); event AddExcludedFeeAddress(address _address); event RemoveExcludedFeeAddress(address _address); event CollectFeeToTreasury( uint256 contractTokenBalance, address pairAddress ); event SwapTokensForTokensAndSendToTreasury( uint256 amountIn, address tokenOut, address to ); event SetTreasuryAddress(address _address); event SetSlippage(uint256 _slippage); event SetDelayCooldownBlocks(uint256 _blocks); event SetMaxAmountPerTransaction(uint256 _amount); event SetRouterAddress(address _routerAddress); event SetCumulatedFeeLimit(uint256 _amount); modifier lockCollection() { isRunningCollection = true; _; isRunningCollection = false; } constructor( address _routerAddress, address _treasury, address[] memory _supplyAddresses, uint8[] memory _supplyPercents ) ERC20("WAVX", "WAVX") Ownable(msg.sender) { require( _supplyAddresses.length == _supplyPercents.length, "Deploy: Invailid supply param's length" ); require(_treasury != address(0), "Deploy: Zero treasury address"); excludedFeeAddresses[address(this)] = true; excludedFeeAddresses[_treasury] = true; uint8 sumPercentage = 0; for (uint i = 0; i < _supplyAddresses.length; i++) { sumPercentage += _supplyPercents[i]; _mint(_supplyAddresses[i], (MAX_SUPPLY * _supplyPercents[i]) / 100); excludedFeeAddresses[_supplyAddresses[i]] = true; } require(sumPercentage == 100, "Invailid value of supply percentages"); uniswapV2Router = IUniswapV2Router02(_routerAddress); treasury = _treasury; } /** * Contract holds WAVX tokens from gathering fees and enforce a cumulative limit on the amount of WAVX tokens held. */ function _update( address from, address to, uint256 amount ) internal override { uint256 contractTokenBalance = balanceOf(address(this)); // Once the cumulative limit is reached or exceeded, collect fees to treasury wallet // restriction: // - revert when already runing collection // - execute when a sell transaction occurs if ( contractTokenBalance >= cumulatedFeeLimit && !isRunningCollection && uniswapPoolAddresses[to] ) { collectFeeToTreasury(contractTokenBalance, to); } uint256 feePercent = 0; // If it is not a mint process or a collection process if ( from != address(0) && !excludedFeeAddresses[from] && !excludedFeeAddresses[to] ) { if (uniswapPoolAddresses[to]) { // When selling, apply fee 5% feePercent = FEE_SELL; } // Anti Bot require( amount < maxAmountPerTransaction, "Transaction amount exceeds maximum limit" ); require( block.number > lastTransactionBlock[tx.origin] + delayCooldownBlocks, "Terminated due to presumed bot" ); lastTransactionBlock[tx.origin] = block.number; } uint256 feeAmount = (amount * feePercent) / 100; // Deduct fee from transaction amount to this contract if (feeAmount > 0) { super._update(from, address(this), feeAmount); } super._update(from, to, amount - feeAmount); } function collectFeeToTreasury( uint256 contractTokenBalance, address pairAddress ) private lockCollection { // get the opposite token address address token0 = IUniswapV2Pair(pairAddress).token0(); address token1 = IUniswapV2Pair(pairAddress).token1(); address oppositeTokenAddress = token0 == address(this) ? token1 : token0; // split the contract balance into halves uint256 half = contractTokenBalance / 2; swapTokensForTokensAndSendToTreasury(half, oppositeTokenAddress); super._transfer(address(this), treasury, half); emit CollectFeeToTreasury(contractTokenBalance, pairAddress); } function swapTokensForTokensAndSendToTreasury( uint256 amountIn, address tokenOut ) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = tokenOut; _approve(address(this), address(uniswapV2Router), amountIn); // Calculate the minimum amount out with slippage uint256[] memory amounts = uniswapV2Router.getAmountsOut( amountIn, path ); uint256 amountOutMin = amounts[1] - ((amounts[1] * slippageOnFeeCollection) / 10000); uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( amountIn, amountOutMin, path, treasury, block.timestamp ); emit SwapTokensForTokensAndSendToTreasury(amountIn, tokenOut, treasury); } /** * Withdraw all amount of fee is collected on the contract by only Owner. */ function withdrawFeeToTreasury() external onlyOwner { uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance > 0) super._transfer(address(this), treasury, contractTokenBalance); emit WithdrawFeeToTreasury(contractTokenBalance); } function addUniswapPoolAddress(address _a) external onlyOwner { uniswapPoolAddresses[_a] = true; emit AddUniswapPoolAddresses(_a); } function removeUniswapPoolAddress(address _a) external onlyOwner { uniswapPoolAddresses[_a] = false; emit RemoveUniswapPoolAddress(_a); } function addExcludedFeeAddress(address _a) external onlyOwner { excludedFeeAddresses[_a] = true; emit AddExcludedFeeAddress(_a); } function removeExcludedFeeAddress(address _a) external onlyOwner { excludedFeeAddresses[_a] = false; emit RemoveExcludedFeeAddress(_a); } function setCumulatedFeeLimit(uint256 _amount) external onlyOwner { cumulatedFeeLimit = _amount; emit SetCumulatedFeeLimit(_amount); } function updateMaxAmountPerTransaction(uint256 _amount) external onlyOwner { require( _amount < MAX_AMOUNT_PER_TRANSACTION_LIMIT && _amount > 0, "updateMaxAmountPerTransaction: You exceed the predefined limit" ); maxAmountPerTransaction = _amount; emit SetMaxAmountPerTransaction(_amount); } function updateDelayCooldownBlocks(uint256 _blocks) external onlyOwner { require( _blocks < MAX_DELAY_COOLDOWN_BLOCKS, "updateDelayCooldownBlocks: You exceed the predefined limit" ); delayCooldownBlocks = _blocks; emit SetDelayCooldownBlocks(_blocks); } function updateTreasuryAddress(address _treasury) external onlyOwner { require(_treasury != address(0), "updateTreasuryAddress: zero address"); treasury = _treasury; emit SetTreasuryAddress(_treasury); } function updateSlippage(uint256 _slippage) external onlyOwner { require( _slippage < MAX_SLIPPAGE, "updateSlippage: You exceed the predefined limit" ); slippageOnFeeCollection = _slippage; emit SetSlippage(_slippage); } function updateRouterAddress(address _routerAddress) external onlyOwner { require(_routerAddress != address(0), "updateRouterAddress: zero address"); uniswapV2Router = IUniswapV2Router02(_routerAddress); emit SetRouterAddress(_routerAddress); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol) pragma solidity ^0.8.20; import {Ownable} from "./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. * * The initial owner is specified at deployment time in the constructor for `Ownable`. 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(); if (pendingOwner() != sender) { revert OwnableUnauthorizedAccount(sender); } _transferOwnership(sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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 v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address[]","name":"_supplyAddresses","type":"address[]"},{"internalType":"uint8[]","name":"_supplyPercents","type":"uint8[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"AddExcludedFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"AddUniswapPoolAddresses","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":false,"internalType":"uint256","name":"contractTokenBalance","type":"uint256"},{"indexed":false,"internalType":"address","name":"pairAddress","type":"address"}],"name":"CollectFeeToTreasury","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":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"RemoveExcludedFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"RemoveUniswapPoolAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SetCumulatedFeeLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_blocks","type":"uint256"}],"name":"SetDelayCooldownBlocks","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SetMaxAmountPerTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_routerAddress","type":"address"}],"name":"SetRouterAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"SetSlippage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"SetTreasuryAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenOut","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"SwapTokensForTokensAndSendToTreasury","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":"uint256","name":"contractTokenBalance","type":"uint256"}],"name":"WithdrawFeeToTreasury","type":"event"},{"inputs":[],"name":"FEE_SELL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_AMOUNT_PER_TRANSACTION_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DELAY_COOLDOWN_BLOCKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SLIPPAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"}],"name":"addExcludedFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"}],"name":"addUniswapPoolAddress","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cumulatedFeeLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delayCooldownBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFeeAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTransactionBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_a","type":"address"}],"name":"removeExcludedFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"}],"name":"removeUniswapPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setCumulatedFeeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slippageOnFeeCollection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"value","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":"value","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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"uniswapPoolAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blocks","type":"uint256"}],"name":"updateDelayCooldownBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateMaxAmountPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"}],"name":"updateRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"updateSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"updateTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFeeToTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260646200001f6b01b034ab303db5caf1ac0000602862000cdb565b6200002b919062000cfb565b60075569021e19e0c9bab240000060085560026009556064600a553480156200005357600080fd5b5060405162002c5638038062002c56833981016040819052620000769162000e2e565b6040805180820182526004808252630ae82acb60e31b602080840182905284518086019095529184529083015233916003620000b3838262000faa565b506004620000c2828262000faa565b5050506001600160a01b038116620000f557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001008162000394565b508051825114620001635760405162461bcd60e51b815260206004820152602660248201527f4465706c6f793a20496e7661696c696420737570706c7920706172616d2773206044820152650d8cadccee8d60d31b6064820152608401620000ec565b6001600160a01b038316620001bb5760405162461bcd60e51b815260206004820152601d60248201527f4465706c6f793a205a65726f20747265617375727920616464726573730000006044820152606401620000ec565b306000908152600f60205260408082208054600160ff1991821681179092556001600160a01b03871684529183208054909216179055805b8351811015620002f95782818151811062000212576200021262001076565b6020026020010151826200022791906200108c565b91506200029784828151811062000242576200024262001076565b6020026020010151606485848151811062000261576200026162001076565b602002602001015160ff166b01b034ab303db5caf1ac000062000285919062000cdb565b62000291919062000cfb565b620003b2565b6001600f6000868481518110620002b257620002b262001076565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580620002f081620010a8565b915050620001f3565b508060ff166064146200035b5760405162461bcd60e51b8152602060048201526024808201527f496e7661696c69642076616c7565206f6620737570706c792070657263656e746044820152636167657360e01b6064820152608401620000ec565b5050600b80546001600160a01b039485166001600160a01b031991821617909155600c8054939094169216919091179091555062001255565b600680546001600160a01b0319169055620003af81620003f0565b50565b6001600160a01b038216620003de5760405163ec442f0560e01b815260006004820152602401620000ec565b620003ec6000838362000442565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3060009081526020819052604090205460085481108015906200046f5750600c54600160a01b900460ff16155b80156200049457506001600160a01b0383166000908152600e602052604090205460ff165b15620004a657620004a6818462000664565b60006001600160a01b03851615801590620004da57506001600160a01b0385166000908152600f602052604090205460ff16155b80156200050057506001600160a01b0384166000908152600f602052604090205460ff16155b1562000612576001600160a01b0384166000908152600e602052604090205460ff16156200052c575060055b6007548310620005905760405162461bcd60e51b815260206004820152602860248201527f5472616e73616374696f6e20616d6f756e742065786365656473206d6178696d6044820152671d5b481b1a5b5a5d60c21b6064820152608401620000ec565b600954326000908152600d6020526040902054620005af9190620010c4565b4311620005ff5760405162461bcd60e51b815260206004820152601e60248201527f5465726d696e617465642064756520746f2070726573756d656420626f7400006044820152606401620000ec565b326000908152600d602052604090204390555b6000606462000622838662000cdb565b6200062e919062000cfb565b90508015620006445762000644863083620007fd565b6200065c8686620006568488620010da565b620007fd565b505050505050565b600c805460ff60a01b1916600160a01b17905560408051630dfe168160e01b815290516000916001600160a01b03841691630dfe1681916004808201926020929091908290030181865afa158015620006c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006e79190620010f0565b90506000826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200072a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007509190620010f0565b905060006001600160a01b03831630146200076c57826200076e565b815b905060006200077f60028762000cfb565b90506200078d818362000930565b600c54620007a79030906001600160a01b03168362000b76565b604080518781526001600160a01b03871660208201527fe01bb8de6275b0e1a239fc80760cebba76e760b768b1e1a6174578951566f1c6910160405180910390a15050600c805460ff60a01b1916905550505050565b6001600160a01b0383166200082c578060026000828254620008209190620010c4565b90915550620008a09050565b6001600160a01b03831660009081526020819052604090205481811015620008815760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000ec565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620008be57600280548290039055620008dd565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200092391815260200190565b60405180910390a3505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811062000968576200096862001076565b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106200099f576200099f62001076565b6001600160a01b039283166020918202929092010152600b54620009c7913091168562000be0565b600b5460405163d06ca61f60e01b81526000916001600160a01b03169063d06ca61f90620009fc90879086906004016200115b565b600060405180830381865afa15801562000a1a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000a4491908101906200117e565b90506000612710600a548360018151811062000a645762000a6462001076565b602002602001015162000a78919062000cdb565b62000a84919062000cfb565b8260018151811062000a9a5762000a9a62001076565b602002602001015162000aae9190620010da565b600b54600c54604051635c11d79560e01b81529293506001600160a01b0391821692635c11d7959262000aee928a9287928a921690429060040162001217565b600060405180830381600087803b15801562000b0957600080fd5b505af115801562000b1e573d6000803e3d6000fd5b5050600c54604080518981526001600160a01b03898116602083015290921682820152517fcfbfd5efce5ea48feed414c80a1e7fe82ea300722f823a33e36d759c7b8a5e279350908190036060019150a15050505050565b6001600160a01b03831662000ba257604051634b637e8f60e11b815260006004820152602401620000ec565b6001600160a01b03821662000bce5760405163ec442f0560e01b815260006004820152602401620000ec565b62000bdb83838362000442565b505050565b62000bdb83838360016001600160a01b03841662000c155760405163e602df0560e01b815260006004820152602401620000ec565b6001600160a01b03831662000c4157604051634a1406b160e11b815260006004820152602401620000ec565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801562000cbf57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405162000cb691815260200190565b60405180910390a35b50505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000cf55762000cf562000cc5565b92915050565b60008262000d1957634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160a01b038116811462000d3657600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000d7c5762000d7c62000d3b565b604052919050565b60006001600160401b0382111562000da05762000da062000d3b565b5060051b60200190565b600082601f83011262000dbc57600080fd5b8151602062000dd562000dcf8362000d84565b62000d51565b82815260059290921b8401810191818101908684111562000df557600080fd5b8286015b8481101562000e2357805160ff8116811462000e155760008081fd5b835291830191830162000df9565b509695505050505050565b6000806000806080858703121562000e4557600080fd5b62000e508562000d1e565b9350602062000e6181870162000d1e565b60408701519094506001600160401b038082111562000e7f57600080fd5b818801915088601f83011262000e9457600080fd5b815162000ea562000dcf8262000d84565b81815260059190911b8301840190848101908b83111562000ec557600080fd5b938501935b8285101562000eee5762000ede8562000d1e565b8252938501939085019062000eca565b60608b0151909750945050508083111562000f0857600080fd5b505062000f188782880162000daa565b91505092959194509250565b600181811c9082168062000f3957607f821691505b60208210810362000f5a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000bdb57600081815260208120601f850160051c8101602086101562000f895750805b601f850160051c820191505b818110156200065c5782815560010162000f95565b81516001600160401b0381111562000fc65762000fc662000d3b565b62000fde8162000fd7845462000f24565b8462000f60565b602080601f83116001811462001016576000841562000ffd5750858301515b600019600386901b1c1916600185901b1785556200065c565b600085815260208120601f198616915b82811015620010475788860151825594840194600190910190840162001026565b5085821015620010665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60ff818116838216019081111562000cf55762000cf562000cc5565b600060018201620010bd57620010bd62000cc5565b5060010190565b8082018082111562000cf55762000cf562000cc5565b8181038181111562000cf55762000cf562000cc5565b6000602082840312156200110357600080fd5b6200110e8262000d1e565b9392505050565b600081518084526020808501945080840160005b83811015620011505781516001600160a01b03168752958201959082019060010162001129565b509495945050505050565b82815260406020820152600062001176604083018462001115565b949350505050565b600060208083850312156200119257600080fd5b82516001600160401b03811115620011a957600080fd5b8301601f81018513620011bb57600080fd5b8051620011cc62000dcf8262000d84565b81815260059190911b82018301908381019087831115620011ec57600080fd5b928401925b828410156200120c57835182529284019290840190620011f1565b979650505050505050565b85815284602082015260a0604082015260006200123860a083018662001115565b6001600160a01b0394909416606083015250608001529392505050565b6119f180620012656000396000f3fe608060405234801561001057600080fd5b506004361061023c5760003560e01c8063715018a61161013b578063a9059cbb116100b8578063dd62ed3e1161007c578063dd62ed3e146104c7578063e30c397814610500578063e53d062414610511578063f2fde38b14610524578063f97595181461053757600080fd5b8063a9059cbb1461046d578063ae8ddf9714610480578063bf0745d2146104a3578063d2ee46e6146104ab578063d4d56421146104b457600080fd5b80638da5cb5b116100ff5780638da5cb5b1461042357806395d89b4114610434578063a090ee501461043c578063a4c4356214610444578063a70760381461044d57600080fd5b8063715018a6146103da578063739458fd146103e257806379ba5097146103f55780637d260683146103fd578063841e45611461041057600080fd5b80632369aef3116101c95780636137c8941161018d5780636137c8941461036057806361d027b3146103835780636bf37de3146103965780636d1315581461039e57806370a08231146103b157600080fd5b80632369aef31461031a57806323b872dd14610322578063313ce5671461033557806332cb6b0c146103445780635d51de081461035757600080fd5b8063095ea7b311610210578063095ea7b31461029a57806314f17992146102bd57806315b0d496146102d45780631694505e146102e757806318160ddd1461031257600080fd5b8062e6be7b146102415780630550d4dd1461025657806306fdde03146102695780630873b4cb14610287575b600080fd5b61025461024f366004611633565b610540565b005b610254610264366004611633565b610602565b61027161065b565b60405161027e9190611657565b60405180910390f35b6102546102953660046116a5565b6106ed565b6102ad6102a83660046116be565b6107cd565b604051901515815260200161027e565b6102c660095481565b60405190815260200161027e565b6102546102e23660046116a5565b6107e7565b600b546102fa906001600160a01b031681565b6040516001600160a01b03909116815260200161027e565b6002546102c6565b6102c6601981565b6102ad6103303660046116ea565b61088d565b6040516012815260200161027e565b6102c66b01b034ab303db5caf1ac000081565b6102c660075481565b6102ad61036e366004611633565b600e6020526000908152604090205460ff1681565b600c546102fa906001600160a01b031681565b6102c66108b1565b6102546103ac366004611633565b6108d7565b6102c66103bf366004611633565b6001600160a01b031660009081526020819052604090205490565b610254610933565b6102546103f0366004611633565b610947565b6102546109a3565b61025461040b3660046116a5565b6109e7565b61025461041e366004611633565b610a24565b6005546001600160a01b03166102fa565b610271610adc565b610254610aeb565b6102c6600a5481565b6102c661045b366004611633565b600d6020526000908152604090205481565b6102ad61047b3660046116be565b610b51565b6102ad61048e366004611633565b600f6020526000908152604090205460ff1681565b6102c6600581565b6102c660085481565b6102546104c2366004611633565b610b5f565b6102c66104d536600461172b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6006546001600160a01b03166102fa565b61025461051f3660046116a5565b610bb8565b610254610532366004611633565b610c6b565b6102c661022681565b610548610cdc565b6001600160a01b0381166105ad5760405162461bcd60e51b815260206004820152602160248201527f757064617465526f75746572416464726573733a207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b600b80546001600160a01b0319166001600160a01b0383169081179091556040519081527feb81878967dea025ef4859fd7b8b4555ee3c73cae8a039057296d25a53eaa9b6906020015b60405180910390a150565b61060a610cdc565b6001600160a01b0381166000818152600e6020908152604091829020805460ff1916905590519182527f34e3dfc909ad6102bfad175a5ff6ee24ae71c908bceb48fab67c7d25efc2de9691016105f7565b60606003805461066a90611764565b80601f016020809104026020016040519081016040528092919081815260200182805461069690611764565b80156106e35780601f106106b8576101008083540402835291602001916106e3565b820191906000526020600020905b8154815290600101906020018083116106c657829003601f168201915b5050505050905090565b6106f5610cdc565b606461070e6b01b034ab303db5caf1ac000060326117b4565b61071891906117cb565b811080156107265750600081115b6107985760405162461bcd60e51b815260206004820152603e60248201527f7570646174654d6178416d6f756e745065725472616e73616374696f6e3a205960448201527f6f75206578636565642074686520707265646566696e6564206c696d6974000060648201526084016105a4565b60078190556040518181527fe8b5411bcac605140af26dc1aff90b3e4abda96989881e42565a36588b417499906020016105f7565b6000336107db818585610d09565b60019150505b92915050565b6107ef610cdc565b61022681106108585760405162461bcd60e51b815260206004820152602f60248201527f757064617465536c6970706167653a20596f752065786365656420746865207060448201526e1c995919599a5b9959081b1a5b5a5d608a1b60648201526084016105a4565b600a8190556040518181527f3facf1379d243c7dca4557da77e575797c040ac0b1bc8ea70d997b452fcf8af3906020016105f7565b60003361089b858285610d1b565b6108a6858585610d99565b506001949350505050565b60646108ca6b01b034ab303db5caf1ac000060326117b4565b6108d491906117cb565b81565b6108df610cdc565b6001600160a01b0381166000818152600e6020908152604091829020805460ff1916600117905590519182527fe1869d6d490db0809e2f5b6c1eece65c16fc8e34955384cf4fe23ac26e40caec91016105f7565b61093b610cdc565b6109456000610df8565b565b61094f610cdc565b6001600160a01b0381166000818152600f6020908152604091829020805460ff1916600117905590519182527f5794d0ecf389597b208915801e1be9231ea1494cdb19fa4ea9c69f161f90dc7491016105f7565b60065433906001600160a01b031681146109db5760405163118cdaa760e01b81526001600160a01b03821660048201526024016105a4565b6109e481610df8565b50565b6109ef610cdc565b60088190556040518181527f6f489ccc7f38fce9e9e7830200a7822311d6ce04476ca9554a7caed4df1c8c4d906020016105f7565b610a2c610cdc565b6001600160a01b038116610a8e5760405162461bcd60e51b815260206004820152602360248201527f7570646174655472656173757279416464726573733a207a65726f206164647260448201526265737360e81b60648201526084016105a4565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527feee016301a2725a577c64816adf35ccf644d07439731069a31748ec3b9102c60906020016105f7565b60606004805461066a90611764565b610af3610cdc565b306000908152602081905260409020548015610b2157600c54610b219030906001600160a01b031683610d99565b6040518181527f56d88fb4dea881aaf5090b6d051b83df1933cbed91cbbc6994de723b1cccb1e5906020016105f7565b6000336107db818585610d99565b610b67610cdc565b6001600160a01b0381166000818152600f6020908152604091829020805460ff1916905590519182527fb139367a9f275b8a4bf5041f94454812483b2e0b7c2a64c5e341830bce2d686691016105f7565b610bc0610cdc565b60198110610c365760405162461bcd60e51b815260206004820152603a60248201527f75706461746544656c6179436f6f6c646f776e426c6f636b733a20596f75206560448201527f78636565642074686520707265646566696e6564206c696d697400000000000060648201526084016105a4565b60098190556040518181527f5ea0c4fc871247e8e90351ef3c9c203b5296a136990770f484d7507847fac20a906020016105f7565b610c73610cdc565b600680546001600160a01b0383166001600160a01b03199091168117909155610ca46005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6005546001600160a01b031633146109455760405163118cdaa760e01b81523360048201526024016105a4565b610d168383836001610e11565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d935781811015610d8457604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016105a4565b610d9384848484036000610e11565b50505050565b6001600160a01b038316610dc357604051634b637e8f60e11b8152600060048201526024016105a4565b6001600160a01b038216610ded5760405163ec442f0560e01b8152600060048201526024016105a4565b610d16838383610ee6565b600680546001600160a01b03191690556109e4816110ee565b6001600160a01b038416610e3b5760405163e602df0560e01b8152600060048201526024016105a4565b6001600160a01b038316610e6557604051634a1406b160e11b8152600060048201526024016105a4565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610d9357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ed891815260200190565b60405180910390a350505050565b306000908152602081905260409020546008548110801590610f125750600c54600160a01b900460ff16155b8015610f3657506001600160a01b0383166000908152600e602052604090205460ff165b15610f4557610f458184611140565b60006001600160a01b03851615801590610f7857506001600160a01b0385166000908152600f602052604090205460ff16155b8015610f9d57506001600160a01b0384166000908152600f602052604090205460ff16155b156110a7576001600160a01b0384166000908152600e602052604090205460ff1615610fc7575060055b60075483106110295760405162461bcd60e51b815260206004820152602860248201527f5472616e73616374696f6e20616d6f756e742065786365656473206d6178696d6044820152671d5b481b1a5b5a5d60c21b60648201526084016105a4565b600954326000908152600d602052604090205461104691906117ed565b43116110945760405162461bcd60e51b815260206004820152601e60248201527f5465726d696e617465642064756520746f2070726573756d656420626f74000060448201526064016105a4565b326000908152600d602052604090204390555b600060646110b583866117b4565b6110bf91906117cb565b905080156110d2576110d28630836112cb565b6110e686866110e18488611800565b6112cb565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c805460ff60a01b1916600160a01b17905560408051630dfe168160e01b815290516000916001600160a01b03841691630dfe1681916004808201926020929091908290030181865afa15801561119c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c09190611813565b90506000826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190611813565b905060006001600160a01b03831630146112405782611242565b815b905060006112516002876117cb565b905061125d81836113f5565b600c546112759030906001600160a01b031683610d99565b604080518781526001600160a01b03871660208201527fe01bb8de6275b0e1a239fc80760cebba76e760b768b1e1a6174578951566f1c6910160405180910390a15050600c805460ff60a01b1916905550505050565b6001600160a01b0383166112f65780600260008282546112eb91906117ed565b909155506113689050565b6001600160a01b038316600090815260208190526040902054818110156113495760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016105a4565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611384576002805482900390556113a3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516113e891815260200190565b60405180910390a3505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061142a5761142a611846565b60200260200101906001600160a01b031690816001600160a01b031681525050818160018151811061145e5761145e611846565b6001600160a01b039283166020918202929092010152600b546114849130911685610d09565b600b5460405163d06ca61f60e01b81526000916001600160a01b03169063d06ca61f906114b790879086906004016118a0565b600060405180830381865afa1580156114d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114fc91908101906118c1565b90506000612710600a548360018151811061151957611519611846565b602002602001015161152b91906117b4565b61153591906117cb565b8260018151811061154857611548611846565b602002602001015161155a9190611800565b600b54600c54604051635c11d79560e01b81529293506001600160a01b0391821692635c11d79592611598928a9287928a921690429060040161197f565b600060405180830381600087803b1580156115b257600080fd5b505af11580156115c6573d6000803e3d6000fd5b5050600c54604080518981526001600160a01b03898116602083015290921682820152517fcfbfd5efce5ea48feed414c80a1e7fe82ea300722f823a33e36d759c7b8a5e279350908190036060019150a15050505050565b6001600160a01b03811681146109e457600080fd5b60006020828403121561164557600080fd5b81356116508161161e565b9392505050565b600060208083528351808285015260005b8181101561168457858101830151858201604001528201611668565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156116b757600080fd5b5035919050565b600080604083850312156116d157600080fd5b82356116dc8161161e565b946020939093013593505050565b6000806000606084860312156116ff57600080fd5b833561170a8161161e565b9250602084013561171a8161161e565b929592945050506040919091013590565b6000806040838503121561173e57600080fd5b82356117498161161e565b915060208301356117598161161e565b809150509250929050565b600181811c9082168061177857607f821691505b60208210810361179857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107e1576107e161179e565b6000826117e857634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156107e1576107e161179e565b818103818111156107e1576107e161179e565b60006020828403121561182557600080fd5b81516116508161161e565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156118955781516001600160a01b031687529582019590820190600101611870565b509495945050505050565b8281526040602082015260006118b9604083018461185c565b949350505050565b600060208083850312156118d457600080fd5b825167ffffffffffffffff808211156118ec57600080fd5b818501915085601f83011261190057600080fd5b81518181111561191257611912611830565b8060051b604051601f19603f8301168101818110858211171561193757611937611830565b60405291825284820192508381018501918883111561195557600080fd5b938501935b828510156119735784518452938501939285019261195a565b98975050505050505050565b85815284602082015260a06040820152600061199e60a083018661185c565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122086aaade4d9be709de5c1405f33be947bf65b858a6e2042832c5229af147cd55c64736f6c634300081400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002efc10269a846f2826f0d1f1251049495c2e1726000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000003194c02037dd1cac5a5669ba275fdc8ca777196c00000000000000000000000042db7d00d709211b856bd2acf793cb9f9ce0786f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000028
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023c5760003560e01c8063715018a61161013b578063a9059cbb116100b8578063dd62ed3e1161007c578063dd62ed3e146104c7578063e30c397814610500578063e53d062414610511578063f2fde38b14610524578063f97595181461053757600080fd5b8063a9059cbb1461046d578063ae8ddf9714610480578063bf0745d2146104a3578063d2ee46e6146104ab578063d4d56421146104b457600080fd5b80638da5cb5b116100ff5780638da5cb5b1461042357806395d89b4114610434578063a090ee501461043c578063a4c4356214610444578063a70760381461044d57600080fd5b8063715018a6146103da578063739458fd146103e257806379ba5097146103f55780637d260683146103fd578063841e45611461041057600080fd5b80632369aef3116101c95780636137c8941161018d5780636137c8941461036057806361d027b3146103835780636bf37de3146103965780636d1315581461039e57806370a08231146103b157600080fd5b80632369aef31461031a57806323b872dd14610322578063313ce5671461033557806332cb6b0c146103445780635d51de081461035757600080fd5b8063095ea7b311610210578063095ea7b31461029a57806314f17992146102bd57806315b0d496146102d45780631694505e146102e757806318160ddd1461031257600080fd5b8062e6be7b146102415780630550d4dd1461025657806306fdde03146102695780630873b4cb14610287575b600080fd5b61025461024f366004611633565b610540565b005b610254610264366004611633565b610602565b61027161065b565b60405161027e9190611657565b60405180910390f35b6102546102953660046116a5565b6106ed565b6102ad6102a83660046116be565b6107cd565b604051901515815260200161027e565b6102c660095481565b60405190815260200161027e565b6102546102e23660046116a5565b6107e7565b600b546102fa906001600160a01b031681565b6040516001600160a01b03909116815260200161027e565b6002546102c6565b6102c6601981565b6102ad6103303660046116ea565b61088d565b6040516012815260200161027e565b6102c66b01b034ab303db5caf1ac000081565b6102c660075481565b6102ad61036e366004611633565b600e6020526000908152604090205460ff1681565b600c546102fa906001600160a01b031681565b6102c66108b1565b6102546103ac366004611633565b6108d7565b6102c66103bf366004611633565b6001600160a01b031660009081526020819052604090205490565b610254610933565b6102546103f0366004611633565b610947565b6102546109a3565b61025461040b3660046116a5565b6109e7565b61025461041e366004611633565b610a24565b6005546001600160a01b03166102fa565b610271610adc565b610254610aeb565b6102c6600a5481565b6102c661045b366004611633565b600d6020526000908152604090205481565b6102ad61047b3660046116be565b610b51565b6102ad61048e366004611633565b600f6020526000908152604090205460ff1681565b6102c6600581565b6102c660085481565b6102546104c2366004611633565b610b5f565b6102c66104d536600461172b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6006546001600160a01b03166102fa565b61025461051f3660046116a5565b610bb8565b610254610532366004611633565b610c6b565b6102c661022681565b610548610cdc565b6001600160a01b0381166105ad5760405162461bcd60e51b815260206004820152602160248201527f757064617465526f75746572416464726573733a207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b600b80546001600160a01b0319166001600160a01b0383169081179091556040519081527feb81878967dea025ef4859fd7b8b4555ee3c73cae8a039057296d25a53eaa9b6906020015b60405180910390a150565b61060a610cdc565b6001600160a01b0381166000818152600e6020908152604091829020805460ff1916905590519182527f34e3dfc909ad6102bfad175a5ff6ee24ae71c908bceb48fab67c7d25efc2de9691016105f7565b60606003805461066a90611764565b80601f016020809104026020016040519081016040528092919081815260200182805461069690611764565b80156106e35780601f106106b8576101008083540402835291602001916106e3565b820191906000526020600020905b8154815290600101906020018083116106c657829003601f168201915b5050505050905090565b6106f5610cdc565b606461070e6b01b034ab303db5caf1ac000060326117b4565b61071891906117cb565b811080156107265750600081115b6107985760405162461bcd60e51b815260206004820152603e60248201527f7570646174654d6178416d6f756e745065725472616e73616374696f6e3a205960448201527f6f75206578636565642074686520707265646566696e6564206c696d6974000060648201526084016105a4565b60078190556040518181527fe8b5411bcac605140af26dc1aff90b3e4abda96989881e42565a36588b417499906020016105f7565b6000336107db818585610d09565b60019150505b92915050565b6107ef610cdc565b61022681106108585760405162461bcd60e51b815260206004820152602f60248201527f757064617465536c6970706167653a20596f752065786365656420746865207060448201526e1c995919599a5b9959081b1a5b5a5d608a1b60648201526084016105a4565b600a8190556040518181527f3facf1379d243c7dca4557da77e575797c040ac0b1bc8ea70d997b452fcf8af3906020016105f7565b60003361089b858285610d1b565b6108a6858585610d99565b506001949350505050565b60646108ca6b01b034ab303db5caf1ac000060326117b4565b6108d491906117cb565b81565b6108df610cdc565b6001600160a01b0381166000818152600e6020908152604091829020805460ff1916600117905590519182527fe1869d6d490db0809e2f5b6c1eece65c16fc8e34955384cf4fe23ac26e40caec91016105f7565b61093b610cdc565b6109456000610df8565b565b61094f610cdc565b6001600160a01b0381166000818152600f6020908152604091829020805460ff1916600117905590519182527f5794d0ecf389597b208915801e1be9231ea1494cdb19fa4ea9c69f161f90dc7491016105f7565b60065433906001600160a01b031681146109db5760405163118cdaa760e01b81526001600160a01b03821660048201526024016105a4565b6109e481610df8565b50565b6109ef610cdc565b60088190556040518181527f6f489ccc7f38fce9e9e7830200a7822311d6ce04476ca9554a7caed4df1c8c4d906020016105f7565b610a2c610cdc565b6001600160a01b038116610a8e5760405162461bcd60e51b815260206004820152602360248201527f7570646174655472656173757279416464726573733a207a65726f206164647260448201526265737360e81b60648201526084016105a4565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527feee016301a2725a577c64816adf35ccf644d07439731069a31748ec3b9102c60906020016105f7565b60606004805461066a90611764565b610af3610cdc565b306000908152602081905260409020548015610b2157600c54610b219030906001600160a01b031683610d99565b6040518181527f56d88fb4dea881aaf5090b6d051b83df1933cbed91cbbc6994de723b1cccb1e5906020016105f7565b6000336107db818585610d99565b610b67610cdc565b6001600160a01b0381166000818152600f6020908152604091829020805460ff1916905590519182527fb139367a9f275b8a4bf5041f94454812483b2e0b7c2a64c5e341830bce2d686691016105f7565b610bc0610cdc565b60198110610c365760405162461bcd60e51b815260206004820152603a60248201527f75706461746544656c6179436f6f6c646f776e426c6f636b733a20596f75206560448201527f78636565642074686520707265646566696e6564206c696d697400000000000060648201526084016105a4565b60098190556040518181527f5ea0c4fc871247e8e90351ef3c9c203b5296a136990770f484d7507847fac20a906020016105f7565b610c73610cdc565b600680546001600160a01b0383166001600160a01b03199091168117909155610ca46005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6005546001600160a01b031633146109455760405163118cdaa760e01b81523360048201526024016105a4565b610d168383836001610e11565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d935781811015610d8457604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016105a4565b610d9384848484036000610e11565b50505050565b6001600160a01b038316610dc357604051634b637e8f60e11b8152600060048201526024016105a4565b6001600160a01b038216610ded5760405163ec442f0560e01b8152600060048201526024016105a4565b610d16838383610ee6565b600680546001600160a01b03191690556109e4816110ee565b6001600160a01b038416610e3b5760405163e602df0560e01b8152600060048201526024016105a4565b6001600160a01b038316610e6557604051634a1406b160e11b8152600060048201526024016105a4565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610d9357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ed891815260200190565b60405180910390a350505050565b306000908152602081905260409020546008548110801590610f125750600c54600160a01b900460ff16155b8015610f3657506001600160a01b0383166000908152600e602052604090205460ff165b15610f4557610f458184611140565b60006001600160a01b03851615801590610f7857506001600160a01b0385166000908152600f602052604090205460ff16155b8015610f9d57506001600160a01b0384166000908152600f602052604090205460ff16155b156110a7576001600160a01b0384166000908152600e602052604090205460ff1615610fc7575060055b60075483106110295760405162461bcd60e51b815260206004820152602860248201527f5472616e73616374696f6e20616d6f756e742065786365656473206d6178696d6044820152671d5b481b1a5b5a5d60c21b60648201526084016105a4565b600954326000908152600d602052604090205461104691906117ed565b43116110945760405162461bcd60e51b815260206004820152601e60248201527f5465726d696e617465642064756520746f2070726573756d656420626f74000060448201526064016105a4565b326000908152600d602052604090204390555b600060646110b583866117b4565b6110bf91906117cb565b905080156110d2576110d28630836112cb565b6110e686866110e18488611800565b6112cb565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c805460ff60a01b1916600160a01b17905560408051630dfe168160e01b815290516000916001600160a01b03841691630dfe1681916004808201926020929091908290030181865afa15801561119c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c09190611813565b90506000826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190611813565b905060006001600160a01b03831630146112405782611242565b815b905060006112516002876117cb565b905061125d81836113f5565b600c546112759030906001600160a01b031683610d99565b604080518781526001600160a01b03871660208201527fe01bb8de6275b0e1a239fc80760cebba76e760b768b1e1a6174578951566f1c6910160405180910390a15050600c805460ff60a01b1916905550505050565b6001600160a01b0383166112f65780600260008282546112eb91906117ed565b909155506113689050565b6001600160a01b038316600090815260208190526040902054818110156113495760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016105a4565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611384576002805482900390556113a3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516113e891815260200190565b60405180910390a3505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061142a5761142a611846565b60200260200101906001600160a01b031690816001600160a01b031681525050818160018151811061145e5761145e611846565b6001600160a01b039283166020918202929092010152600b546114849130911685610d09565b600b5460405163d06ca61f60e01b81526000916001600160a01b03169063d06ca61f906114b790879086906004016118a0565b600060405180830381865afa1580156114d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114fc91908101906118c1565b90506000612710600a548360018151811061151957611519611846565b602002602001015161152b91906117b4565b61153591906117cb565b8260018151811061154857611548611846565b602002602001015161155a9190611800565b600b54600c54604051635c11d79560e01b81529293506001600160a01b0391821692635c11d79592611598928a9287928a921690429060040161197f565b600060405180830381600087803b1580156115b257600080fd5b505af11580156115c6573d6000803e3d6000fd5b5050600c54604080518981526001600160a01b03898116602083015290921682820152517fcfbfd5efce5ea48feed414c80a1e7fe82ea300722f823a33e36d759c7b8a5e279350908190036060019150a15050505050565b6001600160a01b03811681146109e457600080fd5b60006020828403121561164557600080fd5b81356116508161161e565b9392505050565b600060208083528351808285015260005b8181101561168457858101830151858201604001528201611668565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156116b757600080fd5b5035919050565b600080604083850312156116d157600080fd5b82356116dc8161161e565b946020939093013593505050565b6000806000606084860312156116ff57600080fd5b833561170a8161161e565b9250602084013561171a8161161e565b929592945050506040919091013590565b6000806040838503121561173e57600080fd5b82356117498161161e565b915060208301356117598161161e565b809150509250929050565b600181811c9082168061177857607f821691505b60208210810361179857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107e1576107e161179e565b6000826117e857634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156107e1576107e161179e565b818103818111156107e1576107e161179e565b60006020828403121561182557600080fd5b81516116508161161e565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156118955781516001600160a01b031687529582019590820190600101611870565b509495945050505050565b8281526040602082015260006118b9604083018461185c565b949350505050565b600060208083850312156118d457600080fd5b825167ffffffffffffffff808211156118ec57600080fd5b818501915085601f83011261190057600080fd5b81518181111561191257611912611830565b8060051b604051601f19603f8301168101818110858211171561193757611937611830565b60405291825284820192508381018501918883111561195557600080fd5b938501935b828510156119735784518452938501939285019261195a565b98975050505050505050565b85815284602082015260a06040820152600061199e60a083018661185c565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122086aaade4d9be709de5c1405f33be947bf65b858a6e2042832c5229af147cd55c64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002efc10269a846f2826f0d1f1251049495c2e1726000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000003194c02037dd1cac5a5669ba275fdc8ca777196c00000000000000000000000042db7d00d709211b856bd2acf793cb9f9ce0786f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000028
-----Decoded View---------------
Arg [0] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _treasury (address): 0x2eFC10269A846F2826f0d1f1251049495C2e1726
Arg [2] : _supplyAddresses (address[]): 0x3194c02037dD1CaC5A5669Ba275fdC8Ca777196C,0x42dB7d00d709211b856bD2Acf793cB9f9ce0786F
Arg [3] : _supplyPercents (uint8[]): 60,40
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000002efc10269a846f2826f0d1f1251049495c2e1726
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000003194c02037dd1cac5a5669ba275fdc8ca777196c
Arg [6] : 00000000000000000000000042db7d00d709211b856bd2acf793cb9f9ce0786f
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 000000000000000000000000000000000000000000000000000000000000003c
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000028
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.