ERC-20
Overview
Max Total Supply
17,000,000 SUPERB
Holders
1,302
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
385.880824197175172857 SUPERBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SuperbidToken
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "ERC20.sol"; import "ERC20Burnable.sol"; import "Ownable.sol"; import "ReentrancyGuard.sol"; import "draft-ERC20Permit.sol"; import "IUniswapV2Router02.sol"; contract SuperbidToken is ERC20, ERC20Burnable, ERC20Permit, Ownable, ReentrancyGuard { // 5% max, by default 2% uint256 MAX_TAX = 500; // address / contract receiving the tax address public feeWallet; mapping (address => bool) public taxExcluded; // tax fee, 2 decimal points, so "253" is "2.53%" uint256 public taxFee; uint256 public swapTokensAtAmount; IUniswapV2Router02 public router; bool private _swapping; event TaxChanged(uint256 taxFee); event FeeWalletChanged(address wallet); address weth; address uniswapV2Pair; constructor(address _feeWallet, uint256 _swapTokensAtAmount) ERC20("SuperBid", "SUPERB") ERC20Permit("SuperBid") { setTaxFee(200); // 2% setSwapTokensAtAmount(_swapTokensAtAmount); excludeFromTax(_msgSender()); excludeFromTax(address(this)); _mint(msg.sender, 17_000_000 * 10 ** decimals()); setFeeWallet(_feeWallet); router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); weth = router.WETH(); uniswapV2Pair = pairFor(address(this), weth); } // returns sorted token addresses, used to handle return values from pairs sorted in this order function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) { require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES'); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS'); } // calculates the CREATE2 address for a pair without making any external calls function pairFor(address tokenA, address tokenB) internal pure returns (address pair) { address factory = address(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); (address token0, address token1) = sortTokens(tokenA, tokenB); pair = address(uint160(uint256(keccak256(abi.encodePacked( hex'ff', factory, keccak256(abi.encodePacked(token0, token1)), hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash ))))); } function setFeeWallet(address _feeWallet) onlyOwner public { require(_feeWallet != address(0), "Tax recipient can't be null address"); require(_feeWallet != address(this), "Tax recipient can't be contract itself"); excludeFromTax(_feeWallet); feeWallet = _feeWallet; emit FeeWalletChanged(_feeWallet); } function setSwapTokensAtAmount(uint256 _amount) onlyOwner public { swapTokensAtAmount = _amount; } function setTaxFee(uint256 _taxFee) public onlyOwner { require(_taxFee <= MAX_TAX, "Requested tax is too high"); taxFee = _taxFee; emit TaxChanged(_taxFee); } // excluding from tax is needed because of some contracts // like contract for converting SB into XPad - these should // not be taxed. function excludeFromTax(address who) public onlyOwner { taxExcluded[who] = true; } function includeInTax(address who) external onlyOwner { taxExcluded[who] = false; } function _transfer(address from, address to, uint256 amount) internal override { bool collectTax = (!(taxExcluded[from] || taxExcluded[to])) && taxFee > 0 && !_swapping; if(!collectTax) { super._transfer(from, to, amount); return; } if (!_swapping && from != uniswapV2Pair) { _swapping = true; swapTax(); _swapping = false; } uint256 taxAmount = (amount * taxFee) / (100 * 100); uint256 restAmount = amount - taxAmount; super._transfer(from, address(this), taxAmount); super._transfer(from, to, restAmount); } function swapTax() internal { uint256 balance = balanceOf(address(this)); if (balance < swapTokensAtAmount) return; _swapTokensForEth(swapTokensAtAmount); } function _swapTokensForEth(uint256 amount) private { _approve(address(this), address(router), amount); address[] memory path = new address[](2); path[0] = address(this); path[1] = weth; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amount, 0, path, feeWallet, block.timestamp ); } function forceSend() external onlyOwner { // send fees to the fee wallet, emergency procedure address me = address(this); uint256 tokenBalance = balanceOf(me); if (tokenBalance > 0) { super._transfer(me, feeWallet, tokenBalance); } } function airdrop(address[] calldata to, uint[] calldata amount) external nonReentrant { assert(to.length == amount.length); // only taxExcluded accounts are allowed to do this, otherwise // it would be tax bypass require(taxExcluded[msg.sender], "only-tax-excluded"); // because it's simplified we only allow doing this from addresses which are tax exempt for (uint i = 0; i < to.length; i++) { super._transfer(msg.sender, to[i], amount[i]); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "IERC20.sol"; import "IERC20Metadata.sol"; import "Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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"); unchecked { _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"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `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"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC20.sol"; import "Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "draft-IERC20Permit.sol"; import "ERC20.sol"; import "draft-EIP712.sol"; import "ECDSA.sol"; import "Counters.sol"; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
pragma solidity >=0.6.2; import "IUniswapV2Router01.sol"; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.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); }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "SuperbidToken.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_feeWallet","type":"address"},{"internalType":"uint256","name":"_swapTokensAtAmount","type":"uint256"}],"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":"address","name":"wallet","type":"address"}],"name":"FeeWalletChanged","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":"uint256","name":"taxFee","type":"uint256"}],"name":"TaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","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":"who","type":"address"}],"name":"excludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"includeInTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxFee","type":"uint256"}],"name":"setTaxFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]
Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120526101f46008553480156200003d57600080fd5b50604051620029bc380380620029bc8339810160408190526200006091620009f0565b6040518060400160405280600881526020016714dd5c195c909a5960c21b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600881526020016714dd5c195c909a5960c21b8152506040518060400160405280600681526020016529aaa822a92160d11b8152508160039080519060200190620000f49291906200092d565b5080516200010a9060049060208401906200092d565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920190925280519401939093209092526101005250620001a3905033620002e9565b6001600755620001b460c86200033b565b620001bf816200041a565b620001ca336200046a565b620001d5306200046a565b620001fe33620001e86012600a62000b34565b620001f890630103664062000b4c565b620004d9565b6200020982620005be565b600d80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa1580156200026e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000294919062000b6e565b600e80546001600160a01b0319166001600160a01b03929092169182179055620002c090309062000731565b600f80546001600160a01b0319166001600160a01b03929092169190911790555062000be49050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b031633146200038a5760405162461bcd60e51b815260206004820181905260248201526000805160206200299c83398151915260448201526064015b60405180910390fd5b600854811115620003de5760405162461bcd60e51b815260206004820152601960248201527f5265717565737465642074617820697320746f6f206869676800000000000000604482015260640162000381565b600b8190556040518181527f06cb183e2abbb8ffc414e0877616e04dfbd8f97c654d491fb0e9b3d91a4065ae906020015b60405180910390a150565b6006546001600160a01b03163314620004655760405162461bcd60e51b815260206004820181905260248201526000805160206200299c833981519152604482015260640162000381565b600c55565b6006546001600160a01b03163314620004b55760405162461bcd60e51b815260206004820181905260248201526000805160206200299c833981519152604482015260640162000381565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6001600160a01b038216620005315760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000381565b806002600082825462000545919062000b8c565b90915550506001600160a01b038216600090815260208190526040812080548392906200057490849062000b8c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6006546001600160a01b03163314620006095760405162461bcd60e51b815260206004820181905260248201526000805160206200299c833981519152604482015260640162000381565b6001600160a01b0381166200066d5760405162461bcd60e51b815260206004820152602360248201527f54617820726563697069656e742063616e2774206265206e756c6c206164647260448201526265737360e81b606482015260840162000381565b6001600160a01b038116301415620006d75760405162461bcd60e51b815260206004820152602660248201527f54617820726563697069656e742063616e277420626520636f6e74726163742060448201526534ba39b2b63360d11b606482015260840162000381565b620006e2816200046a565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527fe805ffc02a12d27b142431551e2cd3f766203c54a9a4ab0d1cf01ce7366a796f906020016200040f565b6000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81806200075686866200082f565b6040516001600160601b0319606084811b8216602084015283901b16603482015291935091508390604801604051602081830303815290604052805190602001206040516020016200080d9291907fff00000000000000000000000000000000000000000000000000000000000000815260609290921b6001600160601b031916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b600080826001600160a01b0316846001600160a01b03161415620008a45760405162461bcd60e51b815260206004820152602560248201527f556e697377617056324c6962726172793a204944454e544943414c5f41444452604482015264455353455360d81b606482015260840162000381565b826001600160a01b0316846001600160a01b031610620008c6578284620008c9565b83835b90925090506001600160a01b038216620009265760405162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015260640162000381565b9250929050565b8280546200093b9062000ba7565b90600052602060002090601f0160209004810192826200095f5760008555620009aa565b82601f106200097a57805160ff1916838001178555620009aa565b82800160010185558215620009aa579182015b82811115620009aa5782518255916020019190600101906200098d565b50620009b8929150620009bc565b5090565b5b80821115620009b85760008155600101620009bd565b80516001600160a01b0381168114620009eb57600080fd5b919050565b6000806040838503121562000a0457600080fd5b62000a0f83620009d3565b9150602083015190509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000a7657816000190482111562000a5a5762000a5a62000a1f565b8085161562000a6857918102915b93841c939080029062000a3a565b509250929050565b60008262000a8f5750600162000b2e565b8162000a9e5750600062000b2e565b816001811462000ab7576002811462000ac25762000ae2565b600191505062000b2e565b60ff84111562000ad65762000ad662000a1f565b50506001821b62000b2e565b5060208310610133831016604e8410600b841016171562000b07575081810a62000b2e565b62000b13838362000a35565b806000190482111562000b2a5762000b2a62000a1f565b0290505b92915050565b600062000b4560ff84168362000a7e565b9392505050565b600081600019048311821515161562000b695762000b6962000a1f565b500290565b60006020828403121562000b8157600080fd5b62000b4582620009d3565b6000821982111562000ba25762000ba262000a1f565b500190565b600181811c9082168062000bbc57607f821691505b6020821081141562000bde57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051611d6862000c346000396000610c0d01526000611261015260006112b00152600061128b0152600061120f015260006112380152611d686000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80637ecebe001161010f578063c4081a4c116100a2578063e2f4560511610071578063e2f456051461042b578063f25f4b5614610434578063f2fde38b14610447578063f887ea401461045a57600080fd5b8063c4081a4c146103b9578063d505accf146103cc578063dd62ed3e146103df578063e17c4c741461041857600080fd5b8063a071dcf4116100de578063a071dcf414610377578063a457c2d714610380578063a9059cbb14610393578063afa4f3b2146103a657600080fd5b80637ecebe00146103245780638da5cb5b1461033757806390d49b9d1461035c57806395d89b411461036f57600080fd5b80633950935111610187578063672434821161015657806367243482146102cd57806370a08231146102e0578063715018a61461030957806379cc67901461031157600080fd5b8063395093511461027157806339b622d31461028457806342966c68146102a757806360d1259e146102ba57600080fd5b806318160ddd116101c357806318160ddd1461023557806323b872dd14610247578063313ce5671461025a5780633644e5151461026957600080fd5b806306fdde03146101ea578063095ea7b31461020857806312b77e8a1461022b575b600080fd5b6101f261046d565b6040516101ff9190611904565b60405180910390f35b61021b610216366004611975565b6104ff565b60405190151581526020016101ff565b610233610515565b005b6002545b6040519081526020016101ff565b61021b61025536600461199f565b61057a565b604051601281526020016101ff565b610239610624565b61021b61027f366004611975565b610633565b61021b6102923660046119db565b600a6020526000908152604090205460ff1681565b6102336102b53660046119fd565b61066f565b6102336102c83660046119db565b61067c565b6102336102db366004611a62565b6106ca565b6102396102ee3660046119db565b6001600160a01b031660009081526020819052604090205490565b6102336107f6565b61023361031f366004611975565b61082c565b6102396103323660046119db565b6108b2565b6006546001600160a01b03165b6040516001600160a01b0390911681526020016101ff565b61023361036a3660046119db565b6108d2565b6101f2610a24565b610239600b5481565b61021b61038e366004611975565b610a33565b61021b6103a1366004611975565b610acc565b6102336103b43660046119fd565b610ad9565b6102336103c73660046119fd565b610b08565b6102336103da366004611ace565b610bb9565b6102396103ed366004611b41565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102336104263660046119db565b610d1d565b610239600c5481565b600954610344906001600160a01b031681565b6102336104553660046119db565b610d68565b600d54610344906001600160a01b031681565b60606003805461047c90611b74565b80601f01602080910402602001604051908101604052809291908181526020018280546104a890611b74565b80156104f55780601f106104ca576101008083540402835291602001916104f5565b820191906000526020600020905b8154815290600101906020018083116104d857829003601f168201915b5050505050905090565b600061050c338484610e00565b50600192915050565b6006546001600160a01b031633146105485760405162461bcd60e51b815260040161053f90611ba9565b60405180910390fd5b306000818152602081905260409020548015610576576009546105769083906001600160a01b031683610f24565b5050565b60006105878484846110f4565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561060c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161053f565b6106198533858403610e00565b506001949350505050565b600061062e61120b565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161050c91859061066a908690611bf4565b610e00565b61067933826112fe565b50565b6006546001600160a01b031633146106a65760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6002600754141561071d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161053f565b600260075582811461073157610731611c0c565b336000908152600a602052604090205460ff166107845760405162461bcd60e51b81526020600482015260116024820152701bdb9b1e4b5d185e0b595e18db1d591959607a1b604482015260640161053f565b60005b838110156107ea576107d8338686848181106107a5576107a5611c22565b90506020020160208101906107ba91906119db565b8585858181106107cc576107cc611c22565b90506020020135610f24565b806107e281611c38565b915050610787565b50506001600755505050565b6006546001600160a01b031633146108205760405162461bcd60e51b815260040161053f90611ba9565b61082a600061144c565b565b600061083883336103ed565b9050818110156108965760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b606482015260840161053f565b6108a38333848403610e00565b6108ad83836112fe565b505050565b6001600160a01b0381166000908152600560205260408120545b92915050565b6006546001600160a01b031633146108fc5760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b03811661095e5760405162461bcd60e51b815260206004820152602360248201527f54617820726563697069656e742063616e2774206265206e756c6c206164647260448201526265737360e81b606482015260840161053f565b6001600160a01b0381163014156109c65760405162461bcd60e51b815260206004820152602660248201527f54617820726563697069656e742063616e277420626520636f6e74726163742060448201526534ba39b2b63360d11b606482015260840161053f565b6109cf8161067c565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527fe805ffc02a12d27b142431551e2cd3f766203c54a9a4ab0d1cf01ce7366a796f906020015b60405180910390a150565b60606004805461047c90611b74565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ab55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053f565b610ac23385858403610e00565b5060019392505050565b600061050c3384846110f4565b6006546001600160a01b03163314610b035760405162461bcd60e51b815260040161053f90611ba9565b600c55565b6006546001600160a01b03163314610b325760405162461bcd60e51b815260040161053f90611ba9565b600854811115610b845760405162461bcd60e51b815260206004820152601960248201527f5265717565737465642074617820697320746f6f206869676800000000000000604482015260640161053f565b600b8190556040518181527f06cb183e2abbb8ffc414e0877616e04dfbd8f97c654d491fb0e9b3d91a4065ae90602001610a19565b83421115610c095760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161053f565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610c388c61149e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610c93826114c6565b90506000610ca382878787611514565b9050896001600160a01b0316816001600160a01b031614610d065760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161053f565b610d118a8a8a610e00565b50505050505050505050565b6006546001600160a01b03163314610d475760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6006546001600160a01b03163314610d925760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b038116610df75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053f565b6106798161144c565b6001600160a01b038316610e625760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053f565b6001600160a01b038216610ec35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053f565b6001600160a01b038216610fea5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053f565b6001600160a01b038316600090815260208190526040902054818110156110625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611099908490611bf4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110e591815260200190565b60405180910390a35b50505050565b6001600160a01b0383166000908152600a602052604081205460ff168061113357506001600160a01b0383166000908152600a602052604090205460ff165b15801561114257506000600b54115b80156111585750600d54600160a01b900460ff16155b90508061116a576110ee848484610f24565b600d54600160a01b900460ff161580156111925750600f546001600160a01b03858116911614155b156111c057600d805460ff60a01b1916600160a01b1790556111b261153c565b600d805460ff60a01b191690555b6000612710600b54846111d39190611c53565b6111dd9190611c72565b905060006111eb8285611c94565b90506111f8863084610f24565b611203868683610f24565b505050505050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561125a57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b03821661135e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161053f565b6001600160a01b038216600090815260208190526040902054818110156113d25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161053f565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611401908490611c94565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006108cc6114d361120b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061152587878787611564565b9150915061153281611651565b5095945050505050565b30600090815260208190526040902054600c548110156115595750565b610679600c5461180c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561159b5750600090506003611648565b8460ff16601b141580156115b357508460ff16601c14155b156115c45750600090506004611648565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611618573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661164157600060019250925050611648565b9150600090505b94509492505050565b600081600481111561166557611665611cab565b141561166e5750565b600181600481111561168257611682611cab565b14156116d05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161053f565b60028160048111156116e4576116e4611cab565b14156117325760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161053f565b600381600481111561174657611746611cab565b141561179f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161053f565b60048160048111156117b3576117b3611cab565b14156106795760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161053f565b600d546118249030906001600160a01b031683610e00565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061185957611859611c22565b6001600160a01b039283166020918202929092010152600e5482519116908290600190811061188a5761188a611c22565b6001600160a01b039283166020918202929092010152600d5460095460405163791ac94760e01b81529183169263791ac947926118d69287926000928892909116904290600401611cc1565b600060405180830381600087803b1580156118f057600080fd5b505af1158015611203573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561193157858101830151858201604001528201611915565b81811115611943576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461197057600080fd5b919050565b6000806040838503121561198857600080fd5b61199183611959565b946020939093013593505050565b6000806000606084860312156119b457600080fd5b6119bd84611959565b92506119cb60208501611959565b9150604084013590509250925092565b6000602082840312156119ed57600080fd5b6119f682611959565b9392505050565b600060208284031215611a0f57600080fd5b5035919050565b60008083601f840112611a2857600080fd5b50813567ffffffffffffffff811115611a4057600080fd5b6020830191508360208260051b8501011115611a5b57600080fd5b9250929050565b60008060008060408587031215611a7857600080fd5b843567ffffffffffffffff80821115611a9057600080fd5b611a9c88838901611a16565b90965094506020870135915080821115611ab557600080fd5b50611ac287828801611a16565b95989497509550505050565b600080600080600080600060e0888a031215611ae957600080fd5b611af288611959565b9650611b0060208901611959565b95506040880135945060608801359350608088013560ff81168114611b2457600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611b5457600080fd5b611b5d83611959565b9150611b6b60208401611959565b90509250929050565b600181811c90821680611b8857607f821691505b602082108114156114c057634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611c0757611c07611bde565b500190565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000600019821415611c4c57611c4c611bde565b5060010190565b6000816000190483118215151615611c6d57611c6d611bde565b500290565b600082611c8f57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611ca657611ca6611bde565b500390565b634e487b7160e01b600052602160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d115784516001600160a01b031683529383019391830191600101611cec565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f20eb252f3b17f09e30bd122e1d8934535a9df9f7c31b433dcdc578d408f569d64736f6c634300080c00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000a9862048640a454e6eeabc640e78990e15ded00c00000000000000000000000000000000000000000000028a857425466f800000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80637ecebe001161010f578063c4081a4c116100a2578063e2f4560511610071578063e2f456051461042b578063f25f4b5614610434578063f2fde38b14610447578063f887ea401461045a57600080fd5b8063c4081a4c146103b9578063d505accf146103cc578063dd62ed3e146103df578063e17c4c741461041857600080fd5b8063a071dcf4116100de578063a071dcf414610377578063a457c2d714610380578063a9059cbb14610393578063afa4f3b2146103a657600080fd5b80637ecebe00146103245780638da5cb5b1461033757806390d49b9d1461035c57806395d89b411461036f57600080fd5b80633950935111610187578063672434821161015657806367243482146102cd57806370a08231146102e0578063715018a61461030957806379cc67901461031157600080fd5b8063395093511461027157806339b622d31461028457806342966c68146102a757806360d1259e146102ba57600080fd5b806318160ddd116101c357806318160ddd1461023557806323b872dd14610247578063313ce5671461025a5780633644e5151461026957600080fd5b806306fdde03146101ea578063095ea7b31461020857806312b77e8a1461022b575b600080fd5b6101f261046d565b6040516101ff9190611904565b60405180910390f35b61021b610216366004611975565b6104ff565b60405190151581526020016101ff565b610233610515565b005b6002545b6040519081526020016101ff565b61021b61025536600461199f565b61057a565b604051601281526020016101ff565b610239610624565b61021b61027f366004611975565b610633565b61021b6102923660046119db565b600a6020526000908152604090205460ff1681565b6102336102b53660046119fd565b61066f565b6102336102c83660046119db565b61067c565b6102336102db366004611a62565b6106ca565b6102396102ee3660046119db565b6001600160a01b031660009081526020819052604090205490565b6102336107f6565b61023361031f366004611975565b61082c565b6102396103323660046119db565b6108b2565b6006546001600160a01b03165b6040516001600160a01b0390911681526020016101ff565b61023361036a3660046119db565b6108d2565b6101f2610a24565b610239600b5481565b61021b61038e366004611975565b610a33565b61021b6103a1366004611975565b610acc565b6102336103b43660046119fd565b610ad9565b6102336103c73660046119fd565b610b08565b6102336103da366004611ace565b610bb9565b6102396103ed366004611b41565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102336104263660046119db565b610d1d565b610239600c5481565b600954610344906001600160a01b031681565b6102336104553660046119db565b610d68565b600d54610344906001600160a01b031681565b60606003805461047c90611b74565b80601f01602080910402602001604051908101604052809291908181526020018280546104a890611b74565b80156104f55780601f106104ca576101008083540402835291602001916104f5565b820191906000526020600020905b8154815290600101906020018083116104d857829003601f168201915b5050505050905090565b600061050c338484610e00565b50600192915050565b6006546001600160a01b031633146105485760405162461bcd60e51b815260040161053f90611ba9565b60405180910390fd5b306000818152602081905260409020548015610576576009546105769083906001600160a01b031683610f24565b5050565b60006105878484846110f4565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561060c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161053f565b6106198533858403610e00565b506001949350505050565b600061062e61120b565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161050c91859061066a908690611bf4565b610e00565b61067933826112fe565b50565b6006546001600160a01b031633146106a65760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6002600754141561071d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161053f565b600260075582811461073157610731611c0c565b336000908152600a602052604090205460ff166107845760405162461bcd60e51b81526020600482015260116024820152701bdb9b1e4b5d185e0b595e18db1d591959607a1b604482015260640161053f565b60005b838110156107ea576107d8338686848181106107a5576107a5611c22565b90506020020160208101906107ba91906119db565b8585858181106107cc576107cc611c22565b90506020020135610f24565b806107e281611c38565b915050610787565b50506001600755505050565b6006546001600160a01b031633146108205760405162461bcd60e51b815260040161053f90611ba9565b61082a600061144c565b565b600061083883336103ed565b9050818110156108965760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b606482015260840161053f565b6108a38333848403610e00565b6108ad83836112fe565b505050565b6001600160a01b0381166000908152600560205260408120545b92915050565b6006546001600160a01b031633146108fc5760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b03811661095e5760405162461bcd60e51b815260206004820152602360248201527f54617820726563697069656e742063616e2774206265206e756c6c206164647260448201526265737360e81b606482015260840161053f565b6001600160a01b0381163014156109c65760405162461bcd60e51b815260206004820152602660248201527f54617820726563697069656e742063616e277420626520636f6e74726163742060448201526534ba39b2b63360d11b606482015260840161053f565b6109cf8161067c565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527fe805ffc02a12d27b142431551e2cd3f766203c54a9a4ab0d1cf01ce7366a796f906020015b60405180910390a150565b60606004805461047c90611b74565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ab55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053f565b610ac23385858403610e00565b5060019392505050565b600061050c3384846110f4565b6006546001600160a01b03163314610b035760405162461bcd60e51b815260040161053f90611ba9565b600c55565b6006546001600160a01b03163314610b325760405162461bcd60e51b815260040161053f90611ba9565b600854811115610b845760405162461bcd60e51b815260206004820152601960248201527f5265717565737465642074617820697320746f6f206869676800000000000000604482015260640161053f565b600b8190556040518181527f06cb183e2abbb8ffc414e0877616e04dfbd8f97c654d491fb0e9b3d91a4065ae90602001610a19565b83421115610c095760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161053f565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610c388c61149e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610c93826114c6565b90506000610ca382878787611514565b9050896001600160a01b0316816001600160a01b031614610d065760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161053f565b610d118a8a8a610e00565b50505050505050505050565b6006546001600160a01b03163314610d475760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6006546001600160a01b03163314610d925760405162461bcd60e51b815260040161053f90611ba9565b6001600160a01b038116610df75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053f565b6106798161144c565b6001600160a01b038316610e625760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053f565b6001600160a01b038216610ec35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053f565b6001600160a01b038216610fea5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053f565b6001600160a01b038316600090815260208190526040902054818110156110625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611099908490611bf4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110e591815260200190565b60405180910390a35b50505050565b6001600160a01b0383166000908152600a602052604081205460ff168061113357506001600160a01b0383166000908152600a602052604090205460ff165b15801561114257506000600b54115b80156111585750600d54600160a01b900460ff16155b90508061116a576110ee848484610f24565b600d54600160a01b900460ff161580156111925750600f546001600160a01b03858116911614155b156111c057600d805460ff60a01b1916600160a01b1790556111b261153c565b600d805460ff60a01b191690555b6000612710600b54846111d39190611c53565b6111dd9190611c72565b905060006111eb8285611c94565b90506111f8863084610f24565b611203868683610f24565b505050505050565b60007f000000000000000000000000000000000000000000000000000000000000000146141561125a57507f00af7d079841c899da643fa4f18303d0e00f27c3fb73fce87ce34590aee31ce090565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f30ec45b0fca109594c9b3471a0b541eb626acdcbeb9c4e284bb3f75b81fe0436828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b03821661135e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161053f565b6001600160a01b038216600090815260208190526040902054818110156113d25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161053f565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611401908490611c94565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006108cc6114d361120b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061152587878787611564565b9150915061153281611651565b5095945050505050565b30600090815260208190526040902054600c548110156115595750565b610679600c5461180c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561159b5750600090506003611648565b8460ff16601b141580156115b357508460ff16601c14155b156115c45750600090506004611648565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611618573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661164157600060019250925050611648565b9150600090505b94509492505050565b600081600481111561166557611665611cab565b141561166e5750565b600181600481111561168257611682611cab565b14156116d05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161053f565b60028160048111156116e4576116e4611cab565b14156117325760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161053f565b600381600481111561174657611746611cab565b141561179f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161053f565b60048160048111156117b3576117b3611cab565b14156106795760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161053f565b600d546118249030906001600160a01b031683610e00565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061185957611859611c22565b6001600160a01b039283166020918202929092010152600e5482519116908290600190811061188a5761188a611c22565b6001600160a01b039283166020918202929092010152600d5460095460405163791ac94760e01b81529183169263791ac947926118d69287926000928892909116904290600401611cc1565b600060405180830381600087803b1580156118f057600080fd5b505af1158015611203573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561193157858101830151858201604001528201611915565b81811115611943576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461197057600080fd5b919050565b6000806040838503121561198857600080fd5b61199183611959565b946020939093013593505050565b6000806000606084860312156119b457600080fd5b6119bd84611959565b92506119cb60208501611959565b9150604084013590509250925092565b6000602082840312156119ed57600080fd5b6119f682611959565b9392505050565b600060208284031215611a0f57600080fd5b5035919050565b60008083601f840112611a2857600080fd5b50813567ffffffffffffffff811115611a4057600080fd5b6020830191508360208260051b8501011115611a5b57600080fd5b9250929050565b60008060008060408587031215611a7857600080fd5b843567ffffffffffffffff80821115611a9057600080fd5b611a9c88838901611a16565b90965094506020870135915080821115611ab557600080fd5b50611ac287828801611a16565b95989497509550505050565b600080600080600080600060e0888a031215611ae957600080fd5b611af288611959565b9650611b0060208901611959565b95506040880135945060608801359350608088013560ff81168114611b2457600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611b5457600080fd5b611b5d83611959565b9150611b6b60208401611959565b90509250929050565b600181811c90821680611b8857607f821691505b602082108114156114c057634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611c0757611c07611bde565b500190565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000600019821415611c4c57611c4c611bde565b5060010190565b6000816000190483118215151615611c6d57611c6d611bde565b500290565b600082611c8f57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611ca657611ca6611bde565b500390565b634e487b7160e01b600052602160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d115784516001600160a01b031683529383019391830191600101611cec565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f20eb252f3b17f09e30bd122e1d8934535a9df9f7c31b433dcdc578d408f569d64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a9862048640a454e6eeabc640e78990e15ded00c00000000000000000000000000000000000000000000028a857425466f800000
-----Decoded View---------------
Arg [0] : _feeWallet (address): 0xa9862048640A454E6eEabC640E78990E15DED00c
Arg [1] : _swapTokensAtAmount (uint256): 12000000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a9862048640a454e6eeabc640e78990e15ded00c
Arg [1] : 00000000000000000000000000000000000000000000028a857425466f800000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.