Token South Park Token
Overview ERC-20
Price
$0.00 @ 0.000000 MATIC
Fully Diluted Market Cap
Total Supply:
709,940,628.712845 KENNY
Holders:
421 addresses
Transfers:
-
Contract:
Decimals:
18
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SouthParkToken
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-06-30 */ // SPDX-License-Identifier: MIT // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @uniswap/v2-periphery/contracts/interfaces/[email protected] 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); } // File @uniswap/v2-periphery/contracts/interfaces/[email protected] pragma solidity >=0.6.2; 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; } // File @openzeppelin/contracts/token/ERC20/[email protected] pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File @openzeppelin/contracts/utils/[email protected] 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File @openzeppelin/contracts/token/ERC20/[email protected] pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All three 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 value {ERC20} uses, unless this function is * overloaded; * * 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 override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @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"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to 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 { } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.8.0; /** * @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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File contracts/OwnableToken.sol pragma solidity >=0.8.0; contract OwnableToken is ERC20, Ownable { constructor(string memory name, string memory symbol) ERC20(name, symbol) { } function mint(address account, uint amount) public onlyOwner { _mint(account, amount); } function burn(address account, uint amount) public onlyOwner { _burn(account, amount); } } // File contracts/SouthParkToken.sol pragma solidity ^0.8.0; interface IHaveReinvestPool { function addReinvestReward(uint amount) external; } contract SouthParkToken is OwnableToken { // max 10% uint16 public constant MAX_TRANSFER_TAX_RATE = 1000; // transfer tax 5% uint16 public transferTaxRate = 500; // 40% of transfer tax sends into Reinvest Pool uint16 public constant taxRewardPartRate = 40; bool public autoLiqEnabled = false; uint public autoLiqMinAmount = 500 ether; IUniswapV2Router02 router; address kennyEthPair; // The operator can only update transfer tax and autoLiq params address public operator; event TaxRateChanged(uint16 newTax); event AutoLiq(uint tokenAmount, uint ethAmount); modifier onlyOperator() { require(operator == msg.sender, "operator: caller is not the operator"); _; } constructor( address _operator, IUniswapV2Router02 _router ) OwnableToken("South Park Token", "KENNY") { operator = _operator; router = _router; } function setKennyEthPair(address pair) external onlyOwner { kennyEthPair = pair; } function setTransferTaxRate(uint16 newRate) external onlyOperator { require(newRate <= MAX_TRANSFER_TAX_RATE, "KENNY: max transfer tax rate exceed"); transferTaxRate = newRate; emit TaxRateChanged(newRate); } function setAutoLiqMinAmount(uint minAmount) external onlyOperator { require(minAmount >= 10 ether, "minimum is 10 ether"); autoLiqMinAmount = minAmount; } function setAutoLiqEnabled(bool enabled) external onlyOperator { autoLiqEnabled = enabled; } function _transfer(address sender, address recipient, uint256 amount) internal virtual override { if (autoLiqEnabled && sender != owner() && sender != kennyEthPair && sender != address(router)) { autoLiq(); } if (transferTaxRate > 0 && kennyEthPair != address(0)) { uint taxAmount = amount * transferTaxRate / 10000; uint rewardAmount = taxAmount * taxRewardPartRate / 100; uint autoLiqAmount = taxAmount - rewardAmount; // transfer for auto liq super._transfer(sender, address(this), autoLiqAmount); // transfer reward to masterchef _approve(address(this), owner(), rewardAmount); super._transfer(sender, owner(), rewardAmount); IHaveReinvestPool(owner()).addReinvestReward(rewardAmount); amount -= taxAmount; } super._transfer(sender, recipient, amount); } function autoLiq() private { uint thisBalance = balanceOf(address(this)); if (thisBalance >= autoLiqMinAmount) { autoLiqEnabled = false; uint liqAmount = autoLiqMinAmount; // split amount uint swapAmount = liqAmount / 2; uint tokenAmount = liqAmount - swapAmount; // save current eth balance uint ethBalance = address(this).balance; // make swap swapTokensForEth(swapAmount); uint ethAmount = address(this).balance - ethBalance; addLiquidity(tokenAmount, ethAmount); emit AutoLiq(tokenAmount, ethAmount); autoLiqEnabled = true; } } function swapTokensForEth(uint amount) private { address[] memory route = new address[](2); route[0] = address(this); route[1] = router.WETH(); _approve(address(this), address(router), amount); // accept any amount of ETH router.swapExactTokensForETHSupportingFeeOnTransferTokens( amount, 0, route, address(this), block.timestamp ); } function addLiquidity(uint tokenAmount, uint ethAmount) private { _approve(address(this), address(router), tokenAmount); // slippage is unavoidable router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, operator, block.timestamp ); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"contract IUniswapV2Router02","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"AutoLiq","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":"uint16","name":"newTax","type":"uint16"}],"name":"TaxRateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TRANSFER_TAX_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoLiqEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"autoLiqMinAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setAutoLiqEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"setAutoLiqMinAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"setKennyEthPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newRate","type":"uint16"}],"name":"setTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRewardPartRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526005805461ffff60a01b1916607d60a21b1760ff60b01b19169055681b1ae4d6e2ef5000006006553480156200003957600080fd5b5060405162001d6838038062001d688339810160408190526200005c9162000210565b604080518082018252601081526f29b7baba34102830b935902a37b5b2b760811b6020808301918252835180850190945260058452644b454e4e5960d81b90840152815191929183918391620000b5916003916200016a565b508051620000cb9060049060208401906200016a565b5050506000620000e06200016660201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050600980546001600160a01b039485166001600160a01b031991821617909155600780549390941692169190911790915550620002a4565b3390565b82805462000178906200024e565b90600052602060002090601f0160209004810192826200019c5760008555620001e7565b82601f10620001b757805160ff1916838001178555620001e7565b82800160010185558215620001e7579182015b82811115620001e7578251825591602001919060010190620001ca565b50620001f5929150620001f9565b5090565b5b80821115620001f55760008155600101620001fa565b6000806040838503121562000223578182fd5b825162000230816200028b565b602084015190925062000243816200028b565b809150509250929050565b6002810460018216806200026357607f821691505b602082108114156200028557634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0381168114620002a157600080fd5b50565b611ab480620002b46000396000f3fe6080604052600436106101855760003560e01c80638da5cb5b116100d1578063a4c9bc531161008a578063b65d08b011610064578063b65d08b014610431578063d876be7614610446578063dd62ed3e14610466578063f2fde38b146104865761018c565b8063a4c9bc53146103dc578063a9059cbb146103fc578063b5168e2a1461041c5761018c565b80638da5cb5b146103325780638e7f21271461034757806395d89b41146103675780639dc29fac1461037c578063a38314751461039c578063a457c2d7146103bc5761018c565b8063395093511161013e578063570ca73511610118578063570ca735146102c65780636301f9d9146102e857806370a08231146102fd578063715018a61461031d5761018c565b8063395093511461026f5780633b5ac3581461028f57806340c10f19146102a45761018c565b806306fdde0314610191578063095ea7b3146101bc57806318160ddd146101e95780631b284f891461020b57806323b872dd1461022d578063313ce5671461024d5761018c565b3661018c57005b600080fd5b34801561019d57600080fd5b506101a66104a6565b6040516101b391906114e9565b60405180910390f35b3480156101c857600080fd5b506101dc6101d73660046113dd565b610538565b6040516101b391906114de565b3480156101f557600080fd5b506101fe610555565b6040516101b39190611915565b34801561021757600080fd5b5061022061055b565b6040516101b39190611906565b34801561023957600080fd5b506101dc61024836600461139d565b610561565b34801561025957600080fd5b50610262610601565b6040516101b3919061199c565b34801561027b57600080fd5b506101dc61028a3660046113dd565b610606565b34801561029b57600080fd5b506101dc610655565b3480156102b057600080fd5b506102c46102bf3660046113dd565b610665565b005b3480156102d257600080fd5b506102db6106b2565b6040516101b3919061148f565b3480156102f457600080fd5b506102206106c1565b34801561030957600080fd5b506101fe610318366004611326565b6106c6565b34801561032957600080fd5b506102c46106e1565b34801561033e57600080fd5b506102db61076a565b34801561035357600080fd5b506102c4610362366004611408565b610779565b34801561037357600080fd5b506101a66107c1565b34801561038857600080fd5b506102c46103973660046113dd565b6107d0565b3480156103a857600080fd5b506102c46103b7366004611428565b610819565b3480156103c857600080fd5b506101dc6103d73660046113dd565b6108be565b3480156103e857600080fd5b506102c46103f7366004611326565b610939565b34801561040857600080fd5b506101dc6104173660046113dd565b61099a565b34801561042857600080fd5b506101fe6109ae565b34801561043d57600080fd5b506102206109b4565b34801561045257600080fd5b506102c461046136600461144a565b6109c5565b34801561047257600080fd5b506101fe610481366004611365565b610a1c565b34801561049257600080fd5b506102c46104a1366004611326565b610a47565b6060600380546104b590611a18565b80601f01602080910402602001604051908101604052809291908181526020018280546104e190611a18565b801561052e5780601f106105035761010080835404028352916020019161052e565b820191906000526020600020905b81548152906001019060200180831161051157829003601f168201915b5050505050905090565b600061054c610545610b08565b8484610b0c565b50600192915050565b60025490565b6103e881565b600061056e848484610bc0565b6001600160a01b03841660009081526001602052604081208161058f610b08565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105db5760405162461bcd60e51b81526004016105d2906116d2565b60405180910390fd5b6105f6856105e7610b08565b6105f18685611a01565b610b0c565b506001949350505050565b601290565b600061054c610613610b08565b848460016000610621610b08565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546105f191906119aa565b600554600160b01b900460ff1681565b61066d610b08565b6001600160a01b031661067e61076a565b6001600160a01b0316146106a45760405162461bcd60e51b81526004016105d29061171a565b6106ae8282610d68565b5050565b6009546001600160a01b031681565b602881565b6001600160a01b031660009081526020819052604090205490565b6106e9610b08565b6001600160a01b03166106fa61076a565b6001600160a01b0316146107205760405162461bcd60e51b81526004016105d29061171a565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031690565b6009546001600160a01b031633146107a35760405162461bcd60e51b81526004016105d29061174f565b60058054911515600160b01b0260ff60b01b19909216919091179055565b6060600480546104b590611a18565b6107d8610b08565b6001600160a01b03166107e961076a565b6001600160a01b03161461080f5760405162461bcd60e51b81526004016105d29061171a565b6106ae8282610e28565b6009546001600160a01b031633146108435760405162461bcd60e51b81526004016105d29061174f565b6103e861ffff821611156108695760405162461bcd60e51b81526004016105d29061168f565b6005805461ffff60a01b1916600160a01b61ffff8416021790556040517f57d3e6913ad6766e973b88910670854102e08f6bf2dc473badd4285cdf4909f1906108b3908390611906565b60405180910390a150565b600080600160006108cd610b08565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156109195760405162461bcd60e51b81526004016105d29061188a565b61092f610924610b08565b856105f18685611a01565b5060019392505050565b610941610b08565b6001600160a01b031661095261076a565b6001600160a01b0316146109785760405162461bcd60e51b81526004016105d29061171a565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600061054c6109a7610b08565b8484610bc0565b60065481565b600554600160a01b900461ffff1681565b6009546001600160a01b031633146109ef5760405162461bcd60e51b81526004016105d29061174f565b678ac7230489e80000811015610a175760405162461bcd60e51b81526004016105d290611819565b600655565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a4f610b08565b6001600160a01b0316610a6061076a565b6001600160a01b031614610a865760405162461bcd60e51b81526004016105d29061171a565b6001600160a01b038116610aac5760405162461bcd60e51b81526004016105d2906115c1565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610b325760405162461bcd60e51b81526004016105d290611846565b6001600160a01b038216610b585760405162461bcd60e51b81526004016105d290611607565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610bb3908590611915565b60405180910390a3505050565b600554600160b01b900460ff168015610bf25750610bdc61076a565b6001600160a01b0316836001600160a01b031614155b8015610c0c57506008546001600160a01b03848116911614155b8015610c2657506007546001600160a01b03848116911614155b15610c3357610c33610f0e565b600554600160a01b900461ffff1615801590610c5957506008546001600160a01b031615155b15610d585760055460009061271090610c7d90600160a01b900461ffff16846119e2565b610c8791906119c2565b905060006064610c986028846119e2565b610ca291906119c2565b90506000610cb08284611a01565b9050610cbd863083610fc8565b610ccf30610cc961076a565b84610b0c565b610ce186610cdb61076a565b84610fc8565b610ce961076a565b6001600160a01b0316631ebec417836040518263ffffffff1660e01b8152600401610d149190611915565b600060405180830381600087803b158015610d2e57600080fd5b505af1158015610d42573d6000803e3d6000fd5b505050508284610d529190611a01565b93505050505b610d63838383610fc8565b505050565b6001600160a01b038216610d8e5760405162461bcd60e51b81526004016105d2906118cf565b610d9a60008383610d63565b8060026000828254610dac91906119aa565b90915550506001600160a01b03821660009081526020819052604081208054839290610dd99084906119aa565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610e1c908590611915565b60405180910390a35050565b6001600160a01b038216610e4e5760405162461bcd60e51b81526004016105d290611793565b610e5a82600083610d63565b6001600160a01b03821660009081526020819052604090205481811015610e935760405162461bcd60e51b81526004016105d29061157f565b610e9d8282611a01565b6001600160a01b03841660009081526020819052604081209190915560028054849290610ecb908490611a01565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bb3908690611915565b6000610f19306106c6565b90506006548110610fc5576005805460ff60b01b191690556006546000610f416002836119c2565b90506000610f4f8284611a01565b905047610f5b836110f0565b6000610f678247611a01565b9050610f738382611275565b7f1ef4f1bbb5cb2d055e010b018577abf6b822e4833a96f5e1fe8ac980420f15268382604051610fa492919061198e565b60405180910390a150506005805460ff60b01b1916600160b01b1790555050505b50565b6001600160a01b038316610fee5760405162461bcd60e51b81526004016105d2906117d4565b6001600160a01b0382166110145760405162461bcd60e51b81526004016105d29061153c565b61101f838383610d63565b6001600160a01b038316600090815260208190526040902054818110156110585760405162461bcd60e51b81526004016105d290611649565b6110628282611a01565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906110989084906119aa565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110e29190611915565b60405180910390a350505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061113357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561118757600080fd5b505afa15801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190611349565b816001815181106111e057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526007546112069130911684610b0c565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac9479061123f90859060009086903090429060040161191e565b600060405180830381600087803b15801561125957600080fd5b505af115801561126d573d6000803e3d6000fd5b505050505050565b60075461128d9030906001600160a01b031684610b0c565b60075460095460405163f305d71960e01b81526001600160a01b039283169263f305d7199285926112cd92309289926000928392169042906004016114a3565b6060604051808303818588803b1580156112e657600080fd5b505af11580156112fa573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061131f9190611462565b5050505050565b600060208284031215611337578081fd5b813561134281611a69565b9392505050565b60006020828403121561135a578081fd5b815161134281611a69565b60008060408385031215611377578081fd5b823561138281611a69565b9150602083013561139281611a69565b809150509250929050565b6000806000606084860312156113b1578081fd5b83356113bc81611a69565b925060208401356113cc81611a69565b929592945050506040919091013590565b600080604083850312156113ef578182fd5b82356113fa81611a69565b946020939093013593505050565b600060208284031215611419578081fd5b81358015158114611342578182fd5b600060208284031215611439578081fd5b813561ffff81168114611342578182fd5b60006020828403121561145b578081fd5b5035919050565b600080600060608486031215611476578283fd5b8351925060208401519150604084015190509250925092565b6001600160a01b0391909116815260200190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b901515815260200190565b6000602080835283518082850152825b81811015611515578581018301518582016040015282016114f9565b818111156115265783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526023908201527f4b454e4e593a206d6178207472616e736665722074617820726174652065786360408201526219595960ea1b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260408201526330ba37b960e11b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526013908201527236b4b734b6bab69034b99018981032ba3432b960691b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b61ffff91909116815260200190565b90815260200190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101561196d5784516001600160a01b031683529383019391830191600101611948565b50506001600160a01b03969096166060850152505050608001529392505050565b918252602082015260400190565b60ff91909116815260200190565b600082198211156119bd576119bd611a53565b500190565b6000826119dd57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156119fc576119fc611a53565b500290565b600082821015611a1357611a13611a53565b500390565b600281046001821680611a2c57607f821691505b60208210811415611a4d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610fc557600080fdfea2646970667358221220b5c897a8681d1be5a29ab1e8e63d2d888583d7f3861929a2bc01b3d7da05e8fa64736f6c63430008000033000000000000000000000000c1e7c6ead1243df12e9d8b51b0706690b44d83c6000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c1e7c6ead1243df12e9d8b51b0706690b44d83c6000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff
-----Decoded View---------------
Arg [0] : _operator (address): 0xc1e7c6ead1243df12e9d8b51b0706690b44d83c6
Arg [1] : _router (address): 0xa5e0829caced8ffdd4de3c43696c57f7d7a678ff
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c1e7c6ead1243df12e9d8b51b0706690b44d83c6
Arg [1] : 000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff