Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 155 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 17936505 | 448 days ago | IN | 0 ETH | 0.0008616 | ||||
Approve | 17936505 | 448 days ago | IN | 0 ETH | 0.00150956 | ||||
Approve | 17936487 | 448 days ago | IN | 0 ETH | 0.001548 | ||||
Approve | 17936480 | 448 days ago | IN | 0 ETH | 0.00119309 | ||||
Approve | 17936451 | 448 days ago | IN | 0 ETH | 0.00123189 | ||||
Approve | 17936440 | 448 days ago | IN | 0 ETH | 0.00122053 | ||||
Transfer | 17936293 | 448 days ago | IN | 0 ETH | 0.00450294 | ||||
Transfer | 17936289 | 448 days ago | IN | 0 ETH | 0.0046292 | ||||
Transfer | 17936286 | 448 days ago | IN | 0 ETH | 0.00457999 | ||||
Transfer | 17936284 | 448 days ago | IN | 0 ETH | 0.00467388 | ||||
Transfer | 17936272 | 448 days ago | IN | 0 ETH | 0.00499875 | ||||
Transfer | 17936118 | 448 days ago | IN | 0 ETH | 0.0049086 | ||||
Approve | 17936113 | 448 days ago | IN | 0 ETH | 0.00178057 | ||||
Approve | 17936111 | 448 days ago | IN | 0 ETH | 0.0022514 | ||||
Approve | 17936110 | 448 days ago | IN | 0 ETH | 0.0015653 | ||||
Approve | 17936107 | 448 days ago | IN | 0 ETH | 0.00155192 | ||||
Approve | 17936098 | 448 days ago | IN | 0 ETH | 0.00177094 | ||||
Approve | 17936090 | 448 days ago | IN | 0 ETH | 0.00193675 | ||||
Approve | 17936089 | 448 days ago | IN | 0 ETH | 0.00196016 | ||||
Approve | 17936080 | 448 days ago | IN | 0 ETH | 0.00171028 | ||||
Approve | 17936069 | 448 days ago | IN | 0 ETH | 0.00397389 | ||||
Transfer | 17936061 | 448 days ago | IN | 0 ETH | 0.00558306 | ||||
Transfer | 17936058 | 448 days ago | IN | 0 ETH | 0.00576704 | ||||
Transfer | 17936050 | 448 days ago | IN | 0 ETH | 0.00604377 | ||||
Transfer | 17936041 | 448 days ago | IN | 0 ETH | 0.0064812 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17936142 | 448 days ago | 0.09025512 ETH | ||||
17936142 | 448 days ago | 0.08231714 ETH | ||||
17936142 | 448 days ago | 0.17257227 ETH | ||||
17936070 | 448 days ago | 0.08773147 ETH | ||||
17936070 | 448 days ago | 0.08265401 ETH | ||||
17936070 | 448 days ago | 0.17038549 ETH | ||||
17936051 | 448 days ago | 0.05180141 ETH | ||||
17936051 | 448 days ago | 0.04990977 ETH | ||||
17936051 | 448 days ago | 0.10171118 ETH | ||||
17936044 | 448 days ago | 0.08072291 ETH | ||||
17936044 | 448 days ago | 0.07730924 ETH | ||||
17936044 | 448 days ago | 0.15803216 ETH | ||||
17936038 | 448 days ago | 0.087998 ETH | ||||
17936038 | 448 days ago | 0.08406187 ETH | ||||
17936038 | 448 days ago | 0.17205988 ETH | ||||
17935988 | 448 days ago | 0.05225827 ETH | ||||
17935988 | 448 days ago | 0.0508305 ETH | ||||
17935988 | 448 days ago | 0.10308877 ETH | ||||
17935965 | 448 days ago | 0.16079453 ETH | ||||
17935965 | 448 days ago | 0.14986676 ETH | ||||
17935965 | 448 days ago | 0.31066129 ETH | ||||
17935947 | 448 days ago | 0.06073415 ETH | ||||
17935947 | 448 days ago | 0.0594044 ETH | ||||
17935947 | 448 days ago | 0.12013856 ETH | ||||
17935939 | 448 days ago | 0.11417152 ETH |
Loading...
Loading
Contract Name:
EspressoToken
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-08-17 */ // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) 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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) 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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // 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 @uniswap/v2-core/contracts/interfaces/[email protected] pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File @uniswap/v2-core/contracts/interfaces/[email protected] pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // File contracts/EspressoToken.sol pragma solidity ^0.8.9; contract EspressoToken is ERC20, Ownable { address private WETH; address public constant uniswapV2Router02 = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; IUniswapV2Pair public pairContract; IUniswapV2Router02 public router; address public pair; mapping(address => uint256) private buyBlock; bool public tradeEnabled = false; address private feeReceiverOwner; address private feeReceiverAdmin; uint16 public feeAdminPercentage = 100; uint16 public feeOwnerPercentageBuy = 0; uint16 public feeOwnerPercentageSell = 0; uint16 public burnFeePercentage = 0; uint256 private collectedAdmin = 0; uint256 public maxTokenAmountPerWallet = 0; uint256 public maxTokenAmountPerTransaction = 0; uint256 public swapTreshold; bool private inSwap = false; modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor( string memory _name, string memory _symbol, uint256 _supply, uint16 _ownerPercentageInitalSupply, address _feeReceiverAdmin, address _feeReceiverOwner, uint256 _swapTreshold, uint16 _feeAdminPercentage ) ERC20(_name, _symbol) { require(_ownerPercentageInitalSupply < 10000, "Percentage exceeds 100"); router = IUniswapV2Router02(uniswapV2Router02); WETH = router.WETH(); pair = IUniswapV2Factory(router.factory()).createPair(WETH, address(this)); pairContract = IUniswapV2Pair(pair); feeReceiverAdmin = _feeReceiverAdmin; feeReceiverOwner = _feeReceiverOwner; swapTreshold = _swapTreshold; feeAdminPercentage = _feeAdminPercentage; uint256 ownerReceiverSupply = (_supply * _ownerPercentageInitalSupply) / 10000; _approve(address(this), uniswapV2Router02, type(uint256).max); _approve(address(this), pair, type(uint256).max); _approve(msg.sender, uniswapV2Router02, type(uint256).max); _mint(msg.sender, (_supply - ownerReceiverSupply) * 10 ** decimals()); _mint(_feeReceiverOwner, ownerReceiverSupply * 10 ** decimals()); } function setMaxTokenAmountPerTransaction(uint256 amount) public onlyOwner { maxTokenAmountPerTransaction = amount * 10 ** decimals(); } function setMaxTokenAmountPerWallet(uint256 amount) public onlyOwner { maxTokenAmountPerWallet = amount * 10 ** decimals(); } function setBurnFeePercentage(uint16 percentage) public onlyOwner { burnFeePercentage = percentage; } function setFeeOwnerPercentageBuy(uint16 percentage) public onlyOwner { require((feeAdminPercentage + burnFeePercentage + percentage) < 10000, "Percentage exceeds 100"); feeOwnerPercentageBuy = percentage; } function setFeeOwnerPercentageSell(uint16 percentage) public onlyOwner { require((feeAdminPercentage + burnFeePercentage + feeOwnerPercentageSell) < 10000, "Percentage exceeds 100"); feeOwnerPercentageSell = percentage; } function setTradeEnabled(bool _tradeEnabled) public onlyOwner { tradeEnabled = _tradeEnabled; } modifier isBot(address from, address to) { require( block.number > buyBlock[from] || block.number > buyBlock[to], "Cannot perform more than one transaction in the same block" ); _; buyBlock[from] = block.number; buyBlock[to] = block.number; } modifier isTradeEnabled(address from) { if (msg.sender != owner() && from != owner()) require(tradeEnabled, "Trade is not enabled"); _; } receive() external payable {} function checkMaxTransactionAmountExceeded(uint256 amount) private view { if (tx.origin != owner() || msg.sender != address(this)) require(amount <= maxTokenAmountPerTransaction, "Max token per transaction exceeded"); } function checkMaxWalletAmountExceeded(address to, uint256 amount) private view { if (tx.origin != owner() || to != address(this)) require(balanceOf(to) + amount <= maxTokenAmountPerWallet, "Max token per wallet exceeded"); } function calculateTokenAmountInETH(uint256 amount) public view returns (uint256) { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; try router.getAmountsOut(amount, path) returns (uint[] memory amountsOut) { return amountsOut[1]; } catch {return 0;} } function swapBalanceToETHAndSend() private lockTheSwap { uint256 amountIn = balanceOf(address(this)); address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountIn, 0, path, address(this), block.timestamp ); payable(feeReceiverAdmin).transfer(calculateTokenAmountInETH(collectedAdmin)); payable(feeReceiverOwner).transfer(address(this).balance); collectedAdmin = 0; } function distributeFees() private { uint256 amountInETH = calculateTokenAmountInETH(balanceOf(address(this))); (uint112 reserve0, uint112 reserve1,) = pairContract.getReserves(); uint256 totalETHInPool; if (pairContract.token0() == WETH) totalETHInPool = uint256(reserve0); else if (pairContract.token1() == WETH) totalETHInPool = uint256(reserve1); if (amountInETH > swapTreshold) swapBalanceToETHAndSend(); } function _transfer( address from, address to, uint256 amount ) internal override isBot(from, to) isTradeEnabled(from) { if (from == owner() || to == owner() || from == feeReceiverOwner || to == feeReceiverOwner || from == feeReceiverAdmin || to == feeReceiverAdmin || inSwap) { super._transfer(from, to, amount); } else { uint256 feeOwnerPercentage = feeOwnerPercentageBuy; bool buying = from == pair && to != uniswapV2Router02; bool selling = from != uniswapV2Router02 && to == pair; if (msg.sender != pair && !inSwap) distributeFees(); if (buying) feeOwnerPercentage = feeOwnerPercentageBuy; if (selling) feeOwnerPercentage = feeOwnerPercentageSell; uint256 feeAmount = (amount * (feeOwnerPercentage + feeAdminPercentage)) / (10000); uint256 burnFeeAmount = (amount * burnFeePercentage) / (10000); uint256 finalAmount = (amount - (feeAmount + burnFeeAmount)); collectedAdmin += (amount * feeAdminPercentage) / 10000; if (maxTokenAmountPerTransaction > 0) checkMaxTransactionAmountExceeded(amount); if (buying && maxTokenAmountPerWallet > 0) checkMaxWalletAmountExceeded(to, finalAmount); _burn(from, burnFeeAmount); super._transfer(from, address(this), feeAmount); super._transfer(from, to, finalAmount); } } function manualSwap() public { if (msg.sender == feeReceiverAdmin || msg.sender == feeReceiverOwner) { swapBalanceToETHAndSend(); } } function removeLimits() public onlyOwner { maxTokenAmountPerWallet = 0; maxTokenAmountPerTransaction = 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint16","name":"_ownerPercentageInitalSupply","type":"uint16"},{"internalType":"address","name":"_feeReceiverAdmin","type":"address"},{"internalType":"address","name":"_feeReceiverOwner","type":"address"},{"internalType":"uint256","name":"_swapTreshold","type":"uint256"},{"internalType":"uint16","name":"_feeAdminPercentage","type":"uint16"}],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[{"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":[],"name":"burnFeePercentage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateTokenAmountInETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAdminPercentage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerPercentageBuy","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerPercentageSell","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTokenAmountPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairContract","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","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":"uint16","name":"percentage","type":"uint16"}],"name":"setBurnFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"percentage","type":"uint16"}],"name":"setFeeOwnerPercentageBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"percentage","type":"uint16"}],"name":"setFeeOwnerPercentageSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokenAmountPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokenAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradeEnabled","type":"bool"}],"name":"setTradeEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router02","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600b805460ff19908116909155600c8054600160a01b600160e01b031916601960a21b1790556000600d819055600e819055600f556011805490911690553480156200004f57600080fd5b5060405162002aae38038062002aae83398101604081905262000072916200080b565b8751889088906200008b90600390602085019062000668565b508051620000a190600490602084019062000668565b505050620000be620000b86200042760201b60201c565b6200042b565b6127108561ffff1610620001195760405162461bcd60e51b815260206004820152601660248201527f50657263656e746167652065786365656473203130300000000000000000000060448201526064015b60405180910390fd5b600880546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155604080516315ab88c960e31b8152905163ad5c464891600480820192602092909190829003018186803b1580156200017957600080fd5b505afa1580156200018e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b49190620008d3565b600680546001600160a01b0319166001600160a01b039283161790556008546040805163c45a015560e01b81529051919092169163c45a0155916004808301926020929190829003018186803b1580156200020e57600080fd5b505afa15801562000223573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002499190620008d3565b6006546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c6539690604401602060405180830381600087803b1580156200029657600080fd5b505af1158015620002ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d19190620008d3565b600980546001600160a01b039283166001600160a01b03199182168117909255600780549091169091179055600c8054600b805487851661010002610100600160a81b0319909116179055601085905561ffff808516600160a01b026001600160b01b0319909216938816939093171790556000906127109062000358908816896200090e565b62000364919062000930565b90506200038930737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200047d565b600954620003a59030906001600160a01b03166000196200047d565b620003c833737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200047d565b620003f933620003db6012600a62000a52565b620003e7848b62000a63565b620003f391906200090e565b620005a5565b62000418846200040c6012600a62000a52565b620003f390846200090e565b50505050505050505062000ad5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620004e15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000110565b6001600160a01b038216620005445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000110565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005fd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000110565b806002600082825462000611919062000a7d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b828054620006769062000a98565b90600052602060002090601f0160209004810192826200069a5760008555620006e5565b82601f10620006b557805160ff1916838001178555620006e5565b82800160010185558215620006e5579182015b82811115620006e5578251825591602001919060010190620006c8565b50620006f3929150620006f7565b5090565b5b80821115620006f35760008155600101620006f8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200073657600080fd5b81516001600160401b03808211156200075357620007536200070e565b604051601f8301601f19908116603f011681019082821181831017156200077e576200077e6200070e565b816040528381526020925086838588010111156200079b57600080fd5b600091505b83821015620007bf5785820183015181830184015290820190620007a0565b83821115620007d15760008385830101525b9695505050505050565b805161ffff81168114620007ee57600080fd5b919050565b80516001600160a01b0381168114620007ee57600080fd5b600080600080600080600080610100898b0312156200082957600080fd5b88516001600160401b03808211156200084157600080fd5b6200084f8c838d0162000724565b995060208b01519150808211156200086657600080fd5b50620008758b828c0162000724565b975050604089015195506200088d60608a01620007db565b94506200089d60808a01620007f3565b9350620008ad60a08a01620007f3565b925060c08901519150620008c460e08a01620007db565b90509295985092959890939650565b600060208284031215620008e657600080fd5b620008f182620007f3565b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200092b576200092b620008f8565b500290565b6000826200094e57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111562000994578160001904821115620009785762000978620008f8565b808516156200098657918102915b93841c939080029062000958565b509250929050565b600082620009ad5750600162000a4c565b81620009bc5750600062000a4c565b8160018114620009d55760028114620009e05762000a00565b600191505062000a4c565b60ff841115620009f457620009f4620008f8565b50506001821b62000a4c565b5060208310610133831016604e8410600b841016171562000a25575081810a62000a4c565b62000a31838362000953565b806000190482111562000a485762000a48620008f8565b0290505b92915050565b6000620008f160ff8416836200099c565b60008282101562000a785762000a78620008f8565b500390565b6000821982111562000a935762000a93620008f8565b500190565b600181811c9082168062000aad57607f821691505b6020821081141562000acf57634e487b7160e01b600052602260045260246000fd5b50919050565b611fc98062000ae56000396000f3fe6080604052600436106102085760003560e01c80638a5f8db811610118578063c04e1be6116100a0578063dbe8d9aa1161006f578063dbe8d9aa146105f3578063dd62ed3e14610615578063e52fb9ec14610635578063f2fde38b1461064b578063f887ea401461066b57600080fd5b8063c04e1be614610575578063c4ceb33914610597578063d621e813146105b9578063d6c909fe146105d357600080fd5b8063a457c2d7116100e7578063a457c2d7146104b8578063a7c6402c146104d8578063a8aa1b3114610500578063a9059cbb14610520578063bb66a1ee1461054057600080fd5b80638a5f8db8146104455780638da5cb5b146104655780639277883d1461048357806395d89b41146104a357600080fd5b8063418bce8a1161019b578063685fbc6b1161016a578063685fbc6b146103af57806370a08231146103c5578063715018a6146103fb578063751039fc1461041057806379239a431461042557600080fd5b8063418bce8a1461032c578063451d1cc1146103425780634d709adf1461036257806351bc3c851461039a57600080fd5b806323b872dd116101d757806323b872dd146102b0578063313ce567146102d057806339509351146102ec5780633bec2bf31461030c57600080fd5b806306fdde0314610214578063095ea7b31461023f578063172207331461026f57806318160ddd1461029157600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b5061022961068b565b6040516102369190611a18565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611a82565b61071d565b6040519015158152602001610236565b34801561027b57600080fd5b5061028f61028a366004611aae565b610737565b005b34801561029d57600080fd5b506002545b604051908152602001610236565b3480156102bc57600080fd5b5061025f6102cb366004611ac7565b61075b565b3480156102dc57600080fd5b5060405160128152602001610236565b3480156102f857600080fd5b5061025f610307366004611a82565b61077f565b34801561031857600080fd5b5061028f610327366004611b08565b6107a1565b34801561033857600080fd5b506102a2600f5481565b34801561034e57600080fd5b5061028f61035d366004611aae565b6107bc565b34801561036e57600080fd5b50600754610382906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b3480156103a657600080fd5b5061028f6107e0565b3480156103bb57600080fd5b506102a2600e5481565b3480156103d157600080fd5b506102a26103e0366004611b31565b6001600160a01b031660009081526020819052604090205490565b34801561040757600080fd5b5061028f610817565b34801561041c57600080fd5b5061028f610829565b34801561043157600080fd5b5061028f610440366004611b4e565b61083d565b34801561045157600080fd5b5061028f610460366004611b4e565b610867565b34801561047157600080fd5b506005546001600160a01b0316610382565b34801561048f57600080fd5b506102a261049e366004611aae565b610919565b3480156104af57600080fd5b50610229610a46565b3480156104c457600080fd5b5061025f6104d3366004611a82565b610a55565b3480156104e457600080fd5b50610382737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561050c57600080fd5b50600954610382906001600160a01b031681565b34801561052c57600080fd5b5061025f61053b366004611a82565b610ad0565b34801561054c57600080fd5b50600c5461056290600160a01b900461ffff1681565b60405161ffff9091168152602001610236565b34801561058157600080fd5b50600c5461056290600160b01b900461ffff1681565b3480156105a357600080fd5b50600c5461056290600160d01b900461ffff1681565b3480156105c557600080fd5b50600b5461025f9060ff1681565b3480156105df57600080fd5b5061028f6105ee366004611b4e565b610ade565b3480156105ff57600080fd5b50600c5461056290600160c01b900461ffff1681565b34801561062157600080fd5b506102a2610630366004611b72565b610b83565b34801561064157600080fd5b506102a260105481565b34801561065757600080fd5b5061028f610666366004611b31565b610bae565b34801561067757600080fd5b50600854610382906001600160a01b031681565b60606003805461069a90611bab565b80601f01602080910402602001604051908101604052809291908181526020018280546106c690611bab565b80156107135780601f106106e857610100808354040283529160200191610713565b820191906000526020600020905b8154815290600101906020018083116106f657829003601f168201915b5050505050905090565b60003361072b818585610c27565b60019150505b92915050565b61073f610d4c565b61074b6012600a611cda565b6107559082611ce9565b600f5550565b600033610769858285610da6565b610774858585610e20565b506001949350505050565b60003361072b8185856107928383610b83565b61079c9190611d08565b610c27565b6107a9610d4c565b600b805460ff1916911515919091179055565b6107c4610d4c565b6107d06012600a611cda565b6107da9082611ce9565b600e5550565b600c546001600160a01b03163314806108085750600b5461010090046001600160a01b031633145b156108155761081561123c565b565b61081f610d4c565b61081560006113d3565b610831610d4c565b6000600e819055600f55565b610845610d4c565b600c805461ffff909216600160d01b0261ffff60d01b19909216919091179055565b61086f610d4c565b600c546127109061ffff600160c01b820481169161089e91600160d01b8204811691600160a01b900416611d20565b6108a89190611d20565b61ffff16106108f75760405162461bcd60e51b8152602060048201526016602482015275050657263656e746167652065786365656473203130360541b60448201526064015b60405180910390fd5b600c805461ffff909216600160c01b0261ffff60c01b19909216919091179055565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061095257610952611d5c565b6001600160a01b03928316602091820292909201015260065482519116908290600190811061098357610983611d5c565b6001600160a01b03928316602091820292909201015260085460405163d06ca61f60e01b815291169063d06ca61f906109c29086908590600401611db6565b60006040518083038186803b1580156109da57600080fd5b505afa925050508015610a0f57506040513d6000823e601f3d908101601f19168201604052610a0c9190810190611dd7565b60015b610a1c5750600092915050565b80600181518110610a2f57610a2f611d5c565b602002602001015192505050919050565b50919050565b60606004805461069a90611bab565b60003381610a638286610b83565b905083811015610ac35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108ee565b6107748286868403610c27565b60003361072b818585610e20565b610ae6610d4c565b600c54612710908290610b0d9061ffff600160d01b8204811691600160a01b900416611d20565b610b179190611d20565b61ffff1610610b615760405162461bcd60e51b8152602060048201526016602482015275050657263656e746167652065786365656473203130360541b60448201526064016108ee565b600c805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610bb6610d4c565b6001600160a01b038116610c1b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ee565b610c24816113d3565b50565b6001600160a01b038316610c895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ee565b6001600160a01b038216610cea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ee565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146108155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ee565b6000610db28484610b83565b90506000198114610e1a5781811015610e0d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ee565b610e1a8484848403610c27565b50505050565b6001600160a01b0383166000908152600a602052604090205483908390431180610e6157506001600160a01b0381166000908152600a602052604090205443115b610ed35760405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f7420706572666f726d206d6f7265207468616e206f6e652074726160448201527f6e73616374696f6e20696e207468652073616d6520626c6f636b00000000000060648201526084016108ee565b84610ee66005546001600160a01b031690565b6001600160a01b0316336001600160a01b031614158015610f1557506005546001600160a01b03828116911614155b15610f6357600b5460ff16610f635760405162461bcd60e51b8152602060048201526014602482015273151c985919481a5cc81b9bdd08195b98589b195960621b60448201526064016108ee565b6005546001600160a01b0387811691161480610f8c57506005546001600160a01b038681169116145b80610fa95750600b546001600160a01b0387811661010090920416145b80610fc65750600b546001600160a01b0386811661010090920416145b80610fde5750600c546001600160a01b038781169116145b80610ff65750600c546001600160a01b038681169116145b80611003575060115460ff165b1561101857611013868686611425565b61120c565b600c54600954600160b01b90910461ffff16906000906001600160a01b0390811690891614801561106657506001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d14155b905060006001600160a01b038916737a250d5630b4cf539739df2c5dacb4c659f2488d148015906110a457506009546001600160a01b038981169116145b6009549091506001600160a01b031633148015906110c5575060115460ff16155b156110d2576110d26115c9565b81156110e957600c54600160b01b900461ffff1692505b801561110057600c54600160c01b900461ffff1692505b600c546000906127109061111f90600160a01b900461ffff1686611d08565b611129908a611ce9565b6111339190611e95565b600c549091506000906127109061115590600160d01b900461ffff168b611ce9565b61115f9190611e95565b9050600061116d8284611d08565b611177908b611eb7565b600c549091506127109061119690600160a01b900461ffff168c611ce9565b6111a09190611e95565b600d60008282546111b19190611d08565b9091555050600f54156111c7576111c78a6117cb565b8480156111d657506000600e54115b156111e5576111e58b82611847565b6111ef8c836118ee565b6111fa8c3085611425565b6112058c8c83611425565b5050505050505b506001600160a01b039182166000908152600a602052604080822043908190559290931681529190912055505050565b6011805460ff1916600117905530600090815260208181526040808320548151600280825260608201845291949390929083019080368337019050509050308160008151811061128e5761128e611d5c565b6001600160a01b0392831660209182029290920101526006548251911690829060019081106112bf576112bf611d5c565b6001600160a01b03928316602091820292909201015260085460405163791ac94760e01b815291169063791ac94790611305908590600090869030904290600401611ece565b600060405180830381600087803b15801561131f57600080fd5b505af1158015611333573d6000803e3d6000fd5b5050600c54600d546001600160a01b0390911692506108fc915061135690610919565b6040518115909202916000818181858888f1935050505015801561137e573d6000803e3d6000fd5b50600b546040516001600160a01b0361010090920491909116904780156108fc02916000818181858888f193505050501580156113bf573d6000803e3d6000fd5b50506000600d55506011805460ff19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166114895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ee565b6001600160a01b0382166114eb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ee565b6001600160a01b038316600090815260208190526040902054818110156115635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108ee565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610e1a565b306000908152602081905260408120546115e290610919565b9050600080600760009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561163557600080fd5b505afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d9190611f26565b5060065460075460408051630dfe168160e01b815290519496509294506000936001600160a01b03928316939290911691630dfe1681916004808301926020929190829003018186803b1580156116c357600080fd5b505afa1580156116d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fb9190611f76565b6001600160a01b0316141561171a57506001600160701b0382166117b9565b6006546007546040805163d21220a760e01b815290516001600160a01b03938416939092169163d21220a791600480820192602092909190829003018186803b15801561176657600080fd5b505afa15801561177a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179e9190611f76565b6001600160a01b031614156117b957506001600160701b0381165b601054841115610e1a57610e1a61123c565b6005546001600160a01b0316321415806117e55750333014155b15610c2457600f54811115610c245760405162461bcd60e51b815260206004820152602260248201527f4d617820746f6b656e20706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016108ee565b6005546001600160a01b03163214158061186a57506001600160a01b0382163014155b156118ea57600e5481611892846001600160a01b031660009081526020819052604090205490565b61189c9190611d08565b11156118ea5760405162461bcd60e51b815260206004820152601d60248201527f4d617820746f6b656e207065722077616c6c657420657863656564656400000060448201526064016108ee565b5050565b6001600160a01b03821661194e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108ee565b6001600160a01b038216600090815260208190526040902054818110156119c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108ee565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d3f565b600060208083528351808285015260005b81811015611a4557858101830151858201604001528201611a29565b81811115611a57576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c2457600080fd5b60008060408385031215611a9557600080fd5b8235611aa081611a6d565b946020939093013593505050565b600060208284031215611ac057600080fd5b5035919050565b600080600060608486031215611adc57600080fd5b8335611ae781611a6d565b92506020840135611af781611a6d565b929592945050506040919091013590565b600060208284031215611b1a57600080fd5b81358015158114611b2a57600080fd5b9392505050565b600060208284031215611b4357600080fd5b8135611b2a81611a6d565b600060208284031215611b6057600080fd5b813561ffff81168114611b2a57600080fd5b60008060408385031215611b8557600080fd5b8235611b9081611a6d565b91506020830135611ba081611a6d565b809150509250929050565b600181811c90821680611bbf57607f821691505b60208210811415610a4057634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611c31578160001904821115611c1757611c17611be0565b80851615611c2457918102915b93841c9390800290611bfb565b509250929050565b600082611c4857506001610731565b81611c5557506000610731565b8160018114611c6b5760028114611c7557611c91565b6001915050610731565b60ff841115611c8657611c86611be0565b50506001821b610731565b5060208310610133831016604e8410600b8410161715611cb4575081810a610731565b611cbe8383611bf6565b8060001904821115611cd257611cd2611be0565b029392505050565b6000611b2a60ff841683611c39565b6000816000190483118215151615611d0357611d03611be0565b500290565b60008219821115611d1b57611d1b611be0565b500190565b600061ffff808316818516808303821115611d3d57611d3d611be0565b01949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015611dab5781516001600160a01b031687529582019590820190600101611d86565b509495945050505050565b828152604060208201526000611dcf6040830184611d72565b949350505050565b60006020808385031215611dea57600080fd5b825167ffffffffffffffff80821115611e0257600080fd5b818501915085601f830112611e1657600080fd5b815181811115611e2857611e28611d46565b8060051b604051601f19603f83011681018181108582111715611e4d57611e4d611d46565b604052918252848201925083810185019188831115611e6b57600080fd5b938501935b82851015611e8957845184529385019392850192611e70565b98975050505050505050565b600082611eb257634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611ec957611ec9611be0565b500390565b85815284602082015260a060408201526000611eed60a0830186611d72565b6001600160a01b0394909416606083015250608001529392505050565b80516001600160701b0381168114611f2157600080fd5b919050565b600080600060608486031215611f3b57600080fd5b611f4484611f0a565b9250611f5260208501611f0a565b9150604084015163ffffffff81168114611f6b57600080fd5b809150509250925092565b600060208284031215611f8857600080fd5b8151611b2a81611a6d56fea264697066735822122087c18b701a45dd097a9b5ea6a10f977ded9e051e57ab8a184f90b9e8bcd3f0b464736f6c6343000809003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0d510a67a1c1a16e78aca969281ddb10f6e5790000000000000000000000006460e9fba8060f477d16d005ab95420411aa4bd9000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000959454c4c4f57424f490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000959454c4c4f57424f490000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102085760003560e01c80638a5f8db811610118578063c04e1be6116100a0578063dbe8d9aa1161006f578063dbe8d9aa146105f3578063dd62ed3e14610615578063e52fb9ec14610635578063f2fde38b1461064b578063f887ea401461066b57600080fd5b8063c04e1be614610575578063c4ceb33914610597578063d621e813146105b9578063d6c909fe146105d357600080fd5b8063a457c2d7116100e7578063a457c2d7146104b8578063a7c6402c146104d8578063a8aa1b3114610500578063a9059cbb14610520578063bb66a1ee1461054057600080fd5b80638a5f8db8146104455780638da5cb5b146104655780639277883d1461048357806395d89b41146104a357600080fd5b8063418bce8a1161019b578063685fbc6b1161016a578063685fbc6b146103af57806370a08231146103c5578063715018a6146103fb578063751039fc1461041057806379239a431461042557600080fd5b8063418bce8a1461032c578063451d1cc1146103425780634d709adf1461036257806351bc3c851461039a57600080fd5b806323b872dd116101d757806323b872dd146102b0578063313ce567146102d057806339509351146102ec5780633bec2bf31461030c57600080fd5b806306fdde0314610214578063095ea7b31461023f578063172207331461026f57806318160ddd1461029157600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b5061022961068b565b6040516102369190611a18565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611a82565b61071d565b6040519015158152602001610236565b34801561027b57600080fd5b5061028f61028a366004611aae565b610737565b005b34801561029d57600080fd5b506002545b604051908152602001610236565b3480156102bc57600080fd5b5061025f6102cb366004611ac7565b61075b565b3480156102dc57600080fd5b5060405160128152602001610236565b3480156102f857600080fd5b5061025f610307366004611a82565b61077f565b34801561031857600080fd5b5061028f610327366004611b08565b6107a1565b34801561033857600080fd5b506102a2600f5481565b34801561034e57600080fd5b5061028f61035d366004611aae565b6107bc565b34801561036e57600080fd5b50600754610382906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b3480156103a657600080fd5b5061028f6107e0565b3480156103bb57600080fd5b506102a2600e5481565b3480156103d157600080fd5b506102a26103e0366004611b31565b6001600160a01b031660009081526020819052604090205490565b34801561040757600080fd5b5061028f610817565b34801561041c57600080fd5b5061028f610829565b34801561043157600080fd5b5061028f610440366004611b4e565b61083d565b34801561045157600080fd5b5061028f610460366004611b4e565b610867565b34801561047157600080fd5b506005546001600160a01b0316610382565b34801561048f57600080fd5b506102a261049e366004611aae565b610919565b3480156104af57600080fd5b50610229610a46565b3480156104c457600080fd5b5061025f6104d3366004611a82565b610a55565b3480156104e457600080fd5b50610382737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561050c57600080fd5b50600954610382906001600160a01b031681565b34801561052c57600080fd5b5061025f61053b366004611a82565b610ad0565b34801561054c57600080fd5b50600c5461056290600160a01b900461ffff1681565b60405161ffff9091168152602001610236565b34801561058157600080fd5b50600c5461056290600160b01b900461ffff1681565b3480156105a357600080fd5b50600c5461056290600160d01b900461ffff1681565b3480156105c557600080fd5b50600b5461025f9060ff1681565b3480156105df57600080fd5b5061028f6105ee366004611b4e565b610ade565b3480156105ff57600080fd5b50600c5461056290600160c01b900461ffff1681565b34801561062157600080fd5b506102a2610630366004611b72565b610b83565b34801561064157600080fd5b506102a260105481565b34801561065757600080fd5b5061028f610666366004611b31565b610bae565b34801561067757600080fd5b50600854610382906001600160a01b031681565b60606003805461069a90611bab565b80601f01602080910402602001604051908101604052809291908181526020018280546106c690611bab565b80156107135780601f106106e857610100808354040283529160200191610713565b820191906000526020600020905b8154815290600101906020018083116106f657829003601f168201915b5050505050905090565b60003361072b818585610c27565b60019150505b92915050565b61073f610d4c565b61074b6012600a611cda565b6107559082611ce9565b600f5550565b600033610769858285610da6565b610774858585610e20565b506001949350505050565b60003361072b8185856107928383610b83565b61079c9190611d08565b610c27565b6107a9610d4c565b600b805460ff1916911515919091179055565b6107c4610d4c565b6107d06012600a611cda565b6107da9082611ce9565b600e5550565b600c546001600160a01b03163314806108085750600b5461010090046001600160a01b031633145b156108155761081561123c565b565b61081f610d4c565b61081560006113d3565b610831610d4c565b6000600e819055600f55565b610845610d4c565b600c805461ffff909216600160d01b0261ffff60d01b19909216919091179055565b61086f610d4c565b600c546127109061ffff600160c01b820481169161089e91600160d01b8204811691600160a01b900416611d20565b6108a89190611d20565b61ffff16106108f75760405162461bcd60e51b8152602060048201526016602482015275050657263656e746167652065786365656473203130360541b60448201526064015b60405180910390fd5b600c805461ffff909216600160c01b0261ffff60c01b19909216919091179055565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061095257610952611d5c565b6001600160a01b03928316602091820292909201015260065482519116908290600190811061098357610983611d5c565b6001600160a01b03928316602091820292909201015260085460405163d06ca61f60e01b815291169063d06ca61f906109c29086908590600401611db6565b60006040518083038186803b1580156109da57600080fd5b505afa925050508015610a0f57506040513d6000823e601f3d908101601f19168201604052610a0c9190810190611dd7565b60015b610a1c5750600092915050565b80600181518110610a2f57610a2f611d5c565b602002602001015192505050919050565b50919050565b60606004805461069a90611bab565b60003381610a638286610b83565b905083811015610ac35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108ee565b6107748286868403610c27565b60003361072b818585610e20565b610ae6610d4c565b600c54612710908290610b0d9061ffff600160d01b8204811691600160a01b900416611d20565b610b179190611d20565b61ffff1610610b615760405162461bcd60e51b8152602060048201526016602482015275050657263656e746167652065786365656473203130360541b60448201526064016108ee565b600c805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610bb6610d4c565b6001600160a01b038116610c1b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ee565b610c24816113d3565b50565b6001600160a01b038316610c895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ee565b6001600160a01b038216610cea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ee565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146108155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ee565b6000610db28484610b83565b90506000198114610e1a5781811015610e0d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ee565b610e1a8484848403610c27565b50505050565b6001600160a01b0383166000908152600a602052604090205483908390431180610e6157506001600160a01b0381166000908152600a602052604090205443115b610ed35760405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f7420706572666f726d206d6f7265207468616e206f6e652074726160448201527f6e73616374696f6e20696e207468652073616d6520626c6f636b00000000000060648201526084016108ee565b84610ee66005546001600160a01b031690565b6001600160a01b0316336001600160a01b031614158015610f1557506005546001600160a01b03828116911614155b15610f6357600b5460ff16610f635760405162461bcd60e51b8152602060048201526014602482015273151c985919481a5cc81b9bdd08195b98589b195960621b60448201526064016108ee565b6005546001600160a01b0387811691161480610f8c57506005546001600160a01b038681169116145b80610fa95750600b546001600160a01b0387811661010090920416145b80610fc65750600b546001600160a01b0386811661010090920416145b80610fde5750600c546001600160a01b038781169116145b80610ff65750600c546001600160a01b038681169116145b80611003575060115460ff165b1561101857611013868686611425565b61120c565b600c54600954600160b01b90910461ffff16906000906001600160a01b0390811690891614801561106657506001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d14155b905060006001600160a01b038916737a250d5630b4cf539739df2c5dacb4c659f2488d148015906110a457506009546001600160a01b038981169116145b6009549091506001600160a01b031633148015906110c5575060115460ff16155b156110d2576110d26115c9565b81156110e957600c54600160b01b900461ffff1692505b801561110057600c54600160c01b900461ffff1692505b600c546000906127109061111f90600160a01b900461ffff1686611d08565b611129908a611ce9565b6111339190611e95565b600c549091506000906127109061115590600160d01b900461ffff168b611ce9565b61115f9190611e95565b9050600061116d8284611d08565b611177908b611eb7565b600c549091506127109061119690600160a01b900461ffff168c611ce9565b6111a09190611e95565b600d60008282546111b19190611d08565b9091555050600f54156111c7576111c78a6117cb565b8480156111d657506000600e54115b156111e5576111e58b82611847565b6111ef8c836118ee565b6111fa8c3085611425565b6112058c8c83611425565b5050505050505b506001600160a01b039182166000908152600a602052604080822043908190559290931681529190912055505050565b6011805460ff1916600117905530600090815260208181526040808320548151600280825260608201845291949390929083019080368337019050509050308160008151811061128e5761128e611d5c565b6001600160a01b0392831660209182029290920101526006548251911690829060019081106112bf576112bf611d5c565b6001600160a01b03928316602091820292909201015260085460405163791ac94760e01b815291169063791ac94790611305908590600090869030904290600401611ece565b600060405180830381600087803b15801561131f57600080fd5b505af1158015611333573d6000803e3d6000fd5b5050600c54600d546001600160a01b0390911692506108fc915061135690610919565b6040518115909202916000818181858888f1935050505015801561137e573d6000803e3d6000fd5b50600b546040516001600160a01b0361010090920491909116904780156108fc02916000818181858888f193505050501580156113bf573d6000803e3d6000fd5b50506000600d55506011805460ff19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166114895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ee565b6001600160a01b0382166114eb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ee565b6001600160a01b038316600090815260208190526040902054818110156115635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108ee565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610e1a565b306000908152602081905260408120546115e290610919565b9050600080600760009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561163557600080fd5b505afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d9190611f26565b5060065460075460408051630dfe168160e01b815290519496509294506000936001600160a01b03928316939290911691630dfe1681916004808301926020929190829003018186803b1580156116c357600080fd5b505afa1580156116d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fb9190611f76565b6001600160a01b0316141561171a57506001600160701b0382166117b9565b6006546007546040805163d21220a760e01b815290516001600160a01b03938416939092169163d21220a791600480820192602092909190829003018186803b15801561176657600080fd5b505afa15801561177a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179e9190611f76565b6001600160a01b031614156117b957506001600160701b0381165b601054841115610e1a57610e1a61123c565b6005546001600160a01b0316321415806117e55750333014155b15610c2457600f54811115610c245760405162461bcd60e51b815260206004820152602260248201527f4d617820746f6b656e20706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016108ee565b6005546001600160a01b03163214158061186a57506001600160a01b0382163014155b156118ea57600e5481611892846001600160a01b031660009081526020819052604090205490565b61189c9190611d08565b11156118ea5760405162461bcd60e51b815260206004820152601d60248201527f4d617820746f6b656e207065722077616c6c657420657863656564656400000060448201526064016108ee565b5050565b6001600160a01b03821661194e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108ee565b6001600160a01b038216600090815260208190526040902054818110156119c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108ee565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d3f565b600060208083528351808285015260005b81811015611a4557858101830151858201604001528201611a29565b81811115611a57576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c2457600080fd5b60008060408385031215611a9557600080fd5b8235611aa081611a6d565b946020939093013593505050565b600060208284031215611ac057600080fd5b5035919050565b600080600060608486031215611adc57600080fd5b8335611ae781611a6d565b92506020840135611af781611a6d565b929592945050506040919091013590565b600060208284031215611b1a57600080fd5b81358015158114611b2a57600080fd5b9392505050565b600060208284031215611b4357600080fd5b8135611b2a81611a6d565b600060208284031215611b6057600080fd5b813561ffff81168114611b2a57600080fd5b60008060408385031215611b8557600080fd5b8235611b9081611a6d565b91506020830135611ba081611a6d565b809150509250929050565b600181811c90821680611bbf57607f821691505b60208210811415610a4057634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611c31578160001904821115611c1757611c17611be0565b80851615611c2457918102915b93841c9390800290611bfb565b509250929050565b600082611c4857506001610731565b81611c5557506000610731565b8160018114611c6b5760028114611c7557611c91565b6001915050610731565b60ff841115611c8657611c86611be0565b50506001821b610731565b5060208310610133831016604e8410600b8410161715611cb4575081810a610731565b611cbe8383611bf6565b8060001904821115611cd257611cd2611be0565b029392505050565b6000611b2a60ff841683611c39565b6000816000190483118215151615611d0357611d03611be0565b500290565b60008219821115611d1b57611d1b611be0565b500190565b600061ffff808316818516808303821115611d3d57611d3d611be0565b01949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015611dab5781516001600160a01b031687529582019590820190600101611d86565b509495945050505050565b828152604060208201526000611dcf6040830184611d72565b949350505050565b60006020808385031215611dea57600080fd5b825167ffffffffffffffff80821115611e0257600080fd5b818501915085601f830112611e1657600080fd5b815181811115611e2857611e28611d46565b8060051b604051601f19603f83011681018181108582111715611e4d57611e4d611d46565b604052918252848201925083810185019188831115611e6b57600080fd5b938501935b82851015611e8957845184529385019392850192611e70565b98975050505050505050565b600082611eb257634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611ec957611ec9611be0565b500390565b85815284602082015260a060408201526000611eed60a0830186611d72565b6001600160a01b0394909416606083015250608001529392505050565b80516001600160701b0381168114611f2157600080fd5b919050565b600080600060608486031215611f3b57600080fd5b611f4484611f0a565b9250611f5260208501611f0a565b9150604084015163ffffffff81168114611f6b57600080fd5b809150509250925092565b600060208284031215611f8857600080fd5b8151611b2a81611a6d56fea264697066735822122087c18b701a45dd097a9b5ea6a10f977ded9e051e57ab8a184f90b9e8bcd3f0b464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0d510a67a1c1a16e78aca969281ddb10f6e5790000000000000000000000006460e9fba8060f477d16d005ab95420411aa4bd9000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000959454c4c4f57424f490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000959454c4c4f57424f490000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): YELLOWBOI
Arg [1] : _symbol (string): YELLOWBOI
Arg [2] : _supply (uint256): 1000000000
Arg [3] : _ownerPercentageInitalSupply (uint16): 0
Arg [4] : _feeReceiverAdmin (address): 0x0e0D510a67a1C1a16e78aCA969281DDb10f6e579
Arg [5] : _feeReceiverOwner (address): 0x6460e9fBA8060F477D16d005aB95420411AA4bd9
Arg [6] : _swapTreshold (uint256): 100000000000000000
Arg [7] : _feeAdminPercentage (uint16): 100
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000e0d510a67a1c1a16e78aca969281ddb10f6e579
Arg [5] : 0000000000000000000000006460e9fba8060f477d16d005ab95420411aa4bd9
Arg [6] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [9] : 59454c4c4f57424f490000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [11] : 59454c4c4f57424f490000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.