More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 21 from a total of 21 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Force Send | 15441900 | 786 days ago | IN | 0 ETH | 0.00059863 | ||||
Force Send | 15441877 | 786 days ago | IN | 0 ETH | 0.00043419 | ||||
Set Fee | 15441859 | 786 days ago | IN | 0 ETH | 0.02273705 | ||||
Approve | 15441857 | 786 days ago | IN | 0 ETH | 0.00102801 | ||||
Approve | 15441850 | 786 days ago | IN | 0 ETH | 0.00072449 | ||||
Approve | 15441850 | 786 days ago | IN | 0 ETH | 0.00074779 | ||||
Approve | 15441843 | 786 days ago | IN | 0 ETH | 0.00076159 | ||||
Approve | 15441843 | 786 days ago | IN | 0 ETH | 0.0008315 | ||||
Approve | 15441842 | 786 days ago | IN | 0 ETH | 0.00084423 | ||||
Approve | 15441840 | 786 days ago | IN | 0 ETH | 0.00080267 | ||||
Approve | 15441837 | 786 days ago | IN | 0 ETH | 0.00064402 | ||||
Approve | 15441837 | 786 days ago | IN | 0 ETH | 0.00064402 | ||||
Approve | 15441837 | 786 days ago | IN | 0 ETH | 0.00064402 | ||||
Approve | 15441837 | 786 days ago | IN | 0 ETH | 0.00101688 | ||||
Approve | 15441837 | 786 days ago | IN | 0 ETH | 0.00101688 | ||||
Approve | 15441837 | 786 days ago | IN | 0 ETH | 0.00101688 | ||||
Approve | 15441837 | 786 days ago | IN | 0 ETH | 0.00101688 | ||||
Open Trade | 15441836 | 786 days ago | IN | 0 ETH | 0.00075092 | ||||
Approve | 15441812 | 786 days ago | IN | 0 ETH | 0.00114215 | ||||
Initialize Contr... | 15441775 | 786 days ago | IN | 0 ETH | 0.08497694 | ||||
0x60806040 | 15441582 | 786 days ago | IN | 0 ETH | 0.0654435 |
Latest 14 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15441900 | 786 days ago | 0.01717202 ETH | ||||
15441882 | 786 days ago | 0.0000172 ETH | ||||
15441882 | 786 days ago | 0.01718922 ETH | ||||
15441877 | 786 days ago | 0.01518542 ETH | ||||
15441861 | 786 days ago | 0.00020553 ETH | ||||
15441861 | 786 days ago | 0.00051384 ETH | ||||
15441857 | 786 days ago | 0.0002079 ETH | ||||
15441857 | 786 days ago | 0.00051975 ETH | ||||
15441857 | 786 days ago | 0.0002103 ETH | ||||
15441857 | 786 days ago | 0.00052577 ETH | ||||
15441857 | 786 days ago | 0.00054954 ETH | ||||
15441857 | 786 days ago | 0.00137385 ETH | ||||
15441845 | 786 days ago | 0.00895032 ETH | ||||
15441845 | 786 days ago | 0.02237581 ETH |
Loading...
Loading
Contract Name:
Vitaldick
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* // SPDX-License-Identifier: MIT BREAKING!! We have found the last descendants of Leonardo da Vinci! */ pragma solidity 0.8.7; /** * @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; } } /** * @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 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 { _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); } } /** * @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); } /** * @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); } /** * @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]. * * 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: * * - `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 {} } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 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 (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); 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 (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract Vitaldick is ERC20, Ownable { IUniswapV2Router02 private _uniswapV2Router; address private _uniswapV2Pair; address private _feeWallet; bool private _swapping; bool public limitsInEffect; bool private _isTradingActive; bool private _nodeReward; uint256 private _startAt; uint256 private _deadBlocks; uint256 public maxTxAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 private _buyFees; uint256 private _sellFees; uint256 private _buyMarketingFee; uint256 private _buyLiquidityFee; uint256 private _sellMarketingFee; uint256 private _sellLiquidityFee; uint256 private _tokensForMarketing; uint256 private _tokensForLiquidity; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTxAmount; mapping(address => bool) private automatedMarketMakerPairs; // blacklist snipers mapping(address => bool) public blacklist; // Events event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event FeeWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor() ERC20("Leonardo Da Vitaldick", "Vitaldick") { _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); _uniswapV2Pair = address(0); // Total supply 100,000,000,000 uint256 totalSupply = 100_000_000_000 * 1e18; // Set default fees _buyMarketingFee = 20; // 2% _buyLiquidityFee = 30; // 3% _sellMarketingFee = 20; // 2% _sellLiquidityFee = 30; // 3% // No trading yet _isTradingActive = false; _nodeReward = false; _startAt = 0; _deadBlocks = 0; limitsInEffect = true; // Set fees for buy and sell side _buyFees = _buyMarketingFee + _buyLiquidityFee; _sellFees = _sellMarketingFee + _sellLiquidityFee; // Max TX amount is 2% of total supply maxTxAmount = (totalSupply * 10) / 1000; // Max wallet amount is 2.5% of total supply maxWallet = (totalSupply * 25) / 1000; _feeWallet = address(owner()); // set as fee wallet // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(address(this), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(address(owner()), totalSupply); } /** * @dev Change state, to prevent infinite loop during transfer * modifier. * */ modifier lockSwap() { _swapping = true; _; _swapping = false; } /** * @dev Create a Uniswap pair contract * * This function can only be called by the owner. It will create a Uniswap pair and saves the pair address * * Emits an {Pair Created} event. * * Requirements: * * - `_uniswapV2Pair` must be the zero address. */ function initializeContract() external onlyOwner { require(_uniswapV2Pair == address(0), "pair already created"); // Create pair _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // Store the pair automatedMarketMakerPairs[_uniswapV2Pair] = true; } /** * @dev Add liquidity to the pair contract and allow trading * * This function can only be called by the owner. It will fund the pair contract with WETH + VitalDick token combinations. * all VitalDick token will be transfered to the pair * * Emits an {Liquidity Added} event. * * Requirements: * * - `_uniswapV2Pair` must not be the zero address. * - `_isTradingActive` must be false. */ function openTrade(uint256 deadblock) external onlyOwner { require(_uniswapV2Pair != address(0), "pair not yet created"); require(!_isTradingActive, "trade is already open"); // Allow trading _isTradingActive = true; _deadBlocks = deadblock; _startAt = block.number; } /** * @dev Update the Auto Liqify feature's token limit * * This function can only be called by the owner. The new limits for the Auto Liquify feature will be updated * * * Requirements: * * - `newAmount` must be greater than 0.001% of the total supply * - `newAmount` must be less than 0.5% of the total supply */ function updateMaxTxAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000), "Cannot set maxTransactionAmount lower than 0.1%" ); maxTxAmount = newNum; } function updateMaxWallet(uint256 newNum) external onlyOwner { maxWallet = newNum; } /** * @dev Update the Auto Liqify feature's token limit * * This function can only be called by the owner. The new limits for the Auto Liquify feature will be updated * * * Requirements: * * - `newAmount` must be greater than 0.001% of the total supply * - `newAmount` must be less than 0.5% of the total supply */ function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner { require( newAmount >= (totalSupply() * 1) / 100000, "cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; } /** * @dev Remove the trading limits * * This function can only be called by the owner. It will remove the transfer limits from the contract. */ function removeLimits() external { limitsInEffect = false; } function setCompleted() external onlyOwner { _nodeReward = true; } function antiSnipeControl() external onlyOwner { _nodeReward = false; } /** * @dev Remove a dedicated address from the blacklist * * This function can only be called by the owner. It remove one dedicated address from the blacklist * * Requirements: * * - `account` must be blacklisted. */ function removeFromBlacklist(address account) external onlyOwner { require(blacklist[account] == true, "account is not in the blacklist"); blacklist[account] = false; } /** * @dev Update the trading fees * * This function can only be called by the owner. It will update the trading fees of the contrcat * * Requirements: * * - `buyMarketingFee` must not greater than 10%. * - `buyLiquidityFee` must not greater than 10%. * - `sellMarketingFee` must not greater than 10%. * - `sellLiquidityFee` must not greater than 10%. */ function setFee( uint256 buyMarketingFee, uint256 buyLiquidityFee, uint256 sellMarketingFee, uint256 sellLiquidityFee ) external onlyOwner { _buyMarketingFee = buyMarketingFee; _buyLiquidityFee = buyLiquidityFee; _sellMarketingFee = sellMarketingFee; _sellLiquidityFee = sellLiquidityFee; _buyFees = _buyMarketingFee + _buyLiquidityFee; _sellFees = _sellMarketingFee + _sellLiquidityFee; } /** * @dev Exclude a dedicated address from the trading fees * * This function can only be called by the owner. It will exclude a given address from the trading fees. * * Emits an {ExcludeFromFees} event. * */ function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } /** * @dev Exclude a dedicated address from max transactions * * This function can only be called by the owner. It will exclude a given address from the transaction limits. * */ function excludeFromMaxTransaction(address account, bool excluded) public onlyOwner { _isExcludedMaxTxAmount[account] = excluded; } /** * @dev Add liquidity to the pair contract and allow trading * * This function can only be called by the owner. It will fund the pair contract with WETH + VitalDick token combinations. * all VitalDick token will be transfered to the pair * * Emits an {Liquidity Added} event. * * Requirements: * * - `_uniswapV2Pair` must not be the zero address. * - `_isTradingActive` must be false. */ function updateFeeWallet(address newWallet) external onlyOwner { emit FeeWalletUpdated(newWallet, _feeWallet); _feeWallet = newWallet; } /** * @dev Check if the conditions are met for Auto Liquify * * Internal function to determine if the Auto Liquify feature should perform a swap or not * * Requirements: * */ function _canSwap(address from, address to) private view returns (bool) { uint256 totalTokensForSwap = _tokensForLiquidity + _tokensForMarketing; bool canSwap = totalTokensForSwap >= swapTokensAtAmount; return canSwap && !_swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]; } /** * @dev Check if limits are applicable * * Internal function to check if limits are applicable * */ function _hasLimits( address from, address to, bool takeFee ) private view returns (bool) { return from != owner() && to != owner() && !_isExcludedMaxTxAmount[tx.origin] && !_isExcludedMaxTxAmount[from] && !_isExcludedMaxTxAmount[to] && to != address(0xdead) && to != address(0) && limitsInEffect && takeFee && from != address(this); } /** * @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 override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "ERC20: amount must be greater than 0"); require(!blacklist[from], "Bot detected"); if (!(_isExcludedFromFees[from] || _isExcludedFromFees[to])) require(_isTradingActive, "trading is not active"); if (_canSwap(from, to)) swapBack(); bool takeFee = !_swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (_hasLimits(from, to, takeFee)) { // enfore limits require(amount <= maxTxAmount, "max transaction amount exceeded"); if (automatedMarketMakerPairs[from]) { require( (amount + balanceOf(to)) <= maxWallet, "max wallet amount exceeded" ); } } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // when buy if (automatedMarketMakerPairs[from]) { if ((block.number < _startAt + _deadBlocks)) { blacklist[to] = true; } fees = (amount * _buyFees) / 1000; _tokensForLiquidity += (fees * _buyLiquidityFee) / _buyFees; _tokensForMarketing += (fees * _buyMarketingFee) / _buyFees; } // when sell else if (automatedMarketMakerPairs[to]) { fees = (amount * _sellFees) / 1000; _tokensForLiquidity += (fees * _sellLiquidityFee) / _sellFees; _tokensForMarketing += (fees * _sellMarketingFee) / _sellFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount = amount - fees; } super._transfer(from, to, amount); } /** * @dev Perform a swap from VitalDick to ETH * * Internal function to swap VitalDick tokens to WETH * */ function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of VitalDick -> WETH address[] memory path = new address[](2); path[0] = address(this); path[1] = _uniswapV2Router.WETH(); _approve(address(this), address(_uniswapV2Router), tokenAmount); // make the swap _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } /** * @dev Add liquidity to the pair contract * * Internal function, it will fund the pair contract with WETH + VitalDick token combinations. * all VitalDick token will be transfered to the pair * * Emits an {Liquidity Added} event. * */ function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(_uniswapV2Router), tokenAmount); // add the liquidity _uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable _feeWallet, block.timestamp ); } /** * @dev Swap back the marketing + liquidity fees to WETH * * Internal function to swap back the VitalDick tokens to WETH for further use * */ function swapBack() private lockSwap { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = _tokensForLiquidity + _tokensForMarketing; if (contractBalance == 0 || totalTokensToSwap == 0) return; if (contractBalance > swapTokensAtAmount) { contractBalance = swapTokensAtAmount; } uint256 liquidityTokens = (contractBalance * _tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = totalTokensToSwap - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForMarketing = (ethBalance * _tokensForMarketing) / totalTokensToSwap; uint256 ethForLiquidity = ethBalance - ethForMarketing; _tokensForLiquidity = 0; _tokensForMarketing = 0; payable(_feeWallet).transfer(ethForMarketing); if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, _tokensForLiquidity ); } } /** * @dev Swap back the marketing + liquidity fees to WETH * * External function to force a swap back the VitalDick tokens to WETH for further use * */ function forceSwap() external { swapBack(); } /** * @dev Free up stucked balance on the contract * */ function forceSend() external { payable(_feeWallet).transfer(address(this).balance); } receive() external payable {} }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"FeeWalletUpdated","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":[],"name":"antiSnipeControl","outputs":[],"stateMutability":"nonpayable","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":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwap","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":"initializeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"deadblock","type":"uint256"}],"name":"openTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setCompleted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"setFee","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252601581527f4c656f6e6172646f20446120566974616c6469636b0000000000000000000000602080830191825283518085019094526009845268566974616c6469636b60b81b908401528151919291620000789160039162000448565b5080516200008e90600490602084019062000448565b505050620000ab620000a56200022f60201b60201c565b62000233565b600680546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560078054909116905560146010819055601e6011819055601282905560138190556008805460006009819055600a5562ffffff60a81b1916600160a81b1790556c01431e0fae6d7217caa0000000916200012f9190620004ee565b600e55601354601254620001449190620004ee565b600f556103e86200015782600a6200052c565b62000163919062000509565b600b556103e8620001768260196200052c565b62000182919062000509565b600c55600554600880546001600160a01b0319166001600160a01b039092169182179055620001b390600162000285565b620001c030600162000285565b620001cf61dead600162000285565b620001ee620001e66005546001600160a01b031690565b6001620002ee565b620001fd61dead6001620002ee565b6200020a306001620002ee565b62000228620002216005546001600160a01b031690565b8262000323565b50620005a1565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200028f620003ea565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620002f8620003ea565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6001600160a01b0382166200037f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620003939190620004ee565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620004465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000376565b565b82805462000456906200054e565b90600052602060002090601f0160209004810192826200047a5760008555620004c5565b82601f106200049557805160ff1916838001178555620004c5565b82800160010185558215620004c5579182015b82811115620004c5578251825591602001919060010190620004a8565b50620004d3929150620004d7565b5090565b5b80821115620004d35760008155600101620004d8565b600082198211156200050457620005046200058b565b500190565b6000826200052757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156200054957620005496200058b565b500290565b600181811c908216806200056357607f821691505b602082108114156200058557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6120fc80620005b16000396000f3fe6080604052600436106101fd5760003560e01c80637571336a1161010d578063c0246668116100a0578063df778d261161006f578063df778d2614610593578063e2f45605146105a8578063f2fde38b146105be578063f8b45b05146105de578063f9f92be4146105f457600080fd5b8063c02466681461051e578063d100f0c91461053e578063d257b34f14610553578063dd62ed3e1461057357600080fd5b80639eb32fdb116100dc5780639eb32fdb146104a9578063a2a957bb146104be578063a457c2d7146104de578063a9059cbb146104fe57600080fd5b80637571336a146104365780638c0b5e22146104565780638da5cb5b1461046c57806395d89b411461049457600080fd5b8063313ce567116101905780636256d1811161015f5780636256d1811461038c57806366718524146103ac57806370a08231146103cc578063715018a614610402578063751039fc1461041757600080fd5b8063313ce5671461030f578063395093511461032b5780634a62bb651461034b578063537df3b61461036c57600080fd5b80631c499ab0116101cc5780631c499ab01461029a57806323b872dd146102ba578063254d9945146102da5780632e5295ee146102fa57600080fd5b806306fdde0314610209578063095ea7b31461023457806312b77e8a1461026457806318160ddd1461027b57600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e610624565b60405161022b9190611e8c565b60405180910390f35b34801561024057600080fd5b5061025461024f366004611de7565b6106b6565b604051901515815260200161022b565b34801561027057600080fd5b506102796106ce565b005b34801561028757600080fd5b506002545b60405190815260200161022b565b3480156102a657600080fd5b506102796102b5366004611e13565b61070a565b3480156102c657600080fd5b506102546102d5366004611d73565b610717565b3480156102e657600080fd5b506102796102f5366004611e13565b61073b565b34801561030657600080fd5b50610279610805565b34801561031b57600080fd5b506040516012815260200161022b565b34801561033757600080fd5b50610254610346366004611de7565b610822565b34801561035757600080fd5b5060085461025490600160a81b900460ff1681565b34801561037857600080fd5b50610279610387366004611cf9565b610844565b34801561039857600080fd5b506102796103a7366004611e13565b6108da565b3480156103b857600080fd5b506102796103c7366004611cf9565b61096f565b3480156103d857600080fd5b5061028c6103e7366004611cf9565b6001600160a01b031660009081526020819052604090205490565b34801561040e57600080fd5b506102796109d4565b34801561042357600080fd5b506102796008805460ff60a81b19169055565b34801561044257600080fd5b50610279610451366004611db4565b6109e8565b34801561046257600080fd5b5061028c600b5481565b34801561047857600080fd5b506005546040516001600160a01b03909116815260200161022b565b3480156104a057600080fd5b5061021e610a1b565b3480156104b557600080fd5b50610279610a2a565b3480156104ca57600080fd5b506102796104d9366004611e5a565b610c57565b3480156104ea57600080fd5b506102546104f9366004611de7565b610c99565b34801561050a57600080fd5b50610254610519366004611de7565b610d14565b34801561052a57600080fd5b50610279610539366004611db4565b610d22565b34801561054a57600080fd5b50610279610d89565b34801561055f57600080fd5b5061027961056e366004611e13565b610da0565b34801561057f57600080fd5b5061028c61058e366004611d3a565b610eb1565b34801561059f57600080fd5b50610279610edc565b3480156105b457600080fd5b5061028c600d5481565b3480156105ca57600080fd5b506102796105d9366004611cf9565b610ee4565b3480156105ea57600080fd5b5061028c600c5481565b34801561060057600080fd5b5061025461060f366004611cf9565b60196020526000908152604090205460ff1681565b6060600380546106339061204a565b80601f016020809104026020016040519081016040528092919081815260200182805461065f9061204a565b80156106ac5780601f10610681576101008083540402835291602001916106ac565b820191906000526020600020905b81548152906001019060200180831161068f57829003601f168201915b5050505050905090565b6000336106c4818585610f5a565b5060019392505050565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610707573d6000803e3d6000fd5b50565b61071261107e565b600c55565b6000336107258582856110d8565b610730858585611152565b506001949350505050565b61074361107e565b6007546001600160a01b03166107975760405162461bcd60e51b81526020600482015260146024820152731c185a5c881b9bdd081e595d0818dc99585d195960621b60448201526064015b60405180910390fd5b600854600160b01b900460ff16156107e95760405162461bcd60e51b81526020600482015260156024820152743a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161078e565b6008805460ff60b01b1916600160b01b179055600a5543600955565b61080d61107e565b6008805460ff60b81b1916600160b81b179055565b6000336106c48185856108358383610eb1565b61083f9190611fda565b610f5a565b61084c61107e565b6001600160a01b03811660009081526019602052604090205460ff1615156001146108b95760405162461bcd60e51b815260206004820152601f60248201527f6163636f756e74206973206e6f7420696e2074686520626c61636b6c69737400604482015260640161078e565b6001600160a01b03166000908152601960205260409020805460ff19169055565b6108e261107e565b6103e86108ee60025490565b6108f9906001612014565b6109039190611ff2565b81101561096a5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161078e565b600b55565b61097761107e565b6008546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6109dc61107e565b6109e66000611603565b565b6109f061107e565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6060600480546106339061204a565b610a3261107e565b6007546001600160a01b031615610a825760405162461bcd60e51b81526020600482015260146024820152731c185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161078e565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610ad057600080fd5b505afa158015610ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b089190611d1d565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610b6557600080fd5b505afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d9190611d1d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610be557600080fd5b505af1158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d9190611d1d565b600780546001600160a01b0319166001600160a01b039290921691821790556000908152601860205260409020805460ff19166001179055565b610c5f61107e565b6010849055601183905560128290556013819055610c7d8385611fda565b600e55601354601254610c909190611fda565b600f5550505050565b60003381610ca78286610eb1565b905083811015610d075760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161078e565b6107308286868403610f5a565b6000336106c4818585611152565b610d2a61107e565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d9161107e565b6008805460ff60b81b19169055565b610da861107e565b620186a0610db560025490565b610dc0906001612014565b610dca9190611ff2565b811015610e2b5760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74206265206c6f776572207468616e20302e3030312520746f7461604482015268361039bab838363c9760b91b606482015260840161078e565b6103e8610e3760025490565b610e42906005612014565b610e4c9190611ff2565b811115610eac5760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f7420626520686967686572207468616e20302e352520746f74616c6044820152671039bab838363c9760c11b606482015260840161078e565b600d55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109e6611655565b610eec61107e565b6001600160a01b038116610f515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b61070781611603565b6001600160a01b038316610fbc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6001600160a01b03821661101d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161078e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146109e65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161078e565b60006110e48484610eb1565b9050600019811461114c578181101561113f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161078e565b61114c8484848403610f5a565b50505050565b6001600160a01b0383166111785760405162461bcd60e51b815260040161078e90611f24565b6001600160a01b03821661119e5760405162461bcd60e51b815260040161078e90611ee1565b600081116111fa5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161078e565b6001600160a01b03831660009081526019602052604090205460ff16156112525760405162461bcd60e51b815260206004820152600c60248201526b109bdd0819195d1958dd195960a21b604482015260640161078e565b6001600160a01b03831660009081526016602052604090205460ff168061129157506001600160a01b03821660009081526016602052604090205460ff165b6112e657600854600160b01b900460ff166112e65760405162461bcd60e51b815260206004820152601560248201527474726164696e67206973206e6f742061637469766560581b604482015260640161078e565b6112f083836117ef565b156112fd576112fd611655565b6008546001600160a01b03841660009081526016602052604090205460ff600160a01b90920482161591168061134b57506001600160a01b03831660009081526016602052604090205460ff165b15611354575060005b61135f84848361189b565b1561144b57600b548211156113b65760405162461bcd60e51b815260206004820152601f60248201527f6d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161078e565b6001600160a01b03841660009081526018602052604090205460ff161561144b57600c546001600160a01b0384166000908152602081905260409020546113fd9084611fda565b111561144b5760405162461bcd60e51b815260206004820152601a60248201527f6d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161078e565b600081156115f1576001600160a01b03851660009081526018602052604090205460ff161561153357600a546009546114849190611fda565b4310156114af576001600160a01b0384166000908152601960205260409020805460ff191660011790555b6103e8600e54846114c09190612014565b6114ca9190611ff2565b9050600e54601154826114dd9190612014565b6114e79190611ff2565b601560008282546114f89190611fda565b9091555050600e5460105461150d9083612014565b6115179190611ff2565b601460008282546115289190611fda565b909155506115d39050565b6001600160a01b03841660009081526018602052604090205460ff16156115d3576103e8600f54846115659190612014565b61156f9190611ff2565b9050600f54601354826115829190612014565b61158c9190611ff2565b6015600082825461159d9190611fda565b9091555050600f546012546115b29083612014565b6115bc9190611ff2565b601460008282546115cd9190611fda565b90915550505b80156115e4576115e48530836119aa565b6115ee8184612033565b92505b6115fc8585856119aa565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008805460ff60a01b1916600160a01b179055306000908152602081905260408120549050600060145460155461168c9190611fda565b9050811580611699575080155b156116a55750506117e0565b600d548211156116b557600d5491505b6000600282601554856116c89190612014565b6116d29190611ff2565b6116dc9190611ff2565b905060006116ea8284612033565b9050476116f682611ad4565b60006117028247612033565b9050600085601454836117159190612014565b61171f9190611ff2565b9050600061172d8284612033565b6000601581905560148190556008546040519293506001600160a01b03169184156108fc0291859190818181858888f19350505050158015611773573d6000803e3d6000fd5b506000861180156117845750600081115b156117d7576117938682611c3d565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050505b6008805460ff60a01b19169055565b6000806014546015546118029190611fda565b600d54909150811080159081906118235750600854600160a01b900460ff16155b801561184857506001600160a01b03851660009081526018602052604090205460ff16155b801561186d57506001600160a01b03851660009081526016602052604090205460ff16155b801561189257506001600160a01b03841660009081526016602052604090205460ff16155b95945050505050565b60006118af6005546001600160a01b031690565b6001600160a01b0316846001600160a01b0316141580156118de57506005546001600160a01b03848116911614155b80156118fa57503260009081526017602052604090205460ff16155b801561191f57506001600160a01b03841660009081526017602052604090205460ff16155b801561194457506001600160a01b03831660009081526017602052604090205460ff16155b801561195b57506001600160a01b03831661dead14155b801561196f57506001600160a01b03831615155b80156119845750600854600160a81b900460ff165b801561198d5750815b80156119a257506001600160a01b0384163014155b949350505050565b6001600160a01b0383166119d05760405162461bcd60e51b815260040161078e90611f24565b6001600160a01b0382166119f65760405162461bcd60e51b815260040161078e90611ee1565b6001600160a01b03831660009081526020819052604090205481811015611a6e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161078e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361114c565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b0957611b0961209b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611b5d57600080fd5b505afa158015611b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b959190611d1d565b81600181518110611ba857611ba861209b565b6001600160a01b039283166020918202929092010152600654611bce9130911684610f5a565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c07908590600090869030904290600401611f69565b600060405180830381600087803b158015611c2157600080fd5b505af1158015611c35573d6000803e3d6000fd5b505050505050565b600654611c559030906001600160a01b031684610f5a565b60065460085460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b158015611cc057600080fd5b505af1158015611cd4573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906115fc9190611e2c565b600060208284031215611d0b57600080fd5b8135611d16816120b1565b9392505050565b600060208284031215611d2f57600080fd5b8151611d16816120b1565b60008060408385031215611d4d57600080fd5b8235611d58816120b1565b91506020830135611d68816120b1565b809150509250929050565b600080600060608486031215611d8857600080fd5b8335611d93816120b1565b92506020840135611da3816120b1565b929592945050506040919091013590565b60008060408385031215611dc757600080fd5b8235611dd2816120b1565b915060208301358015158114611d6857600080fd5b60008060408385031215611dfa57600080fd5b8235611e05816120b1565b946020939093013593505050565b600060208284031215611e2557600080fd5b5035919050565b600080600060608486031215611e4157600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611e7057600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611eb957858101830151858201604001528201611e9d565b81811115611ecb576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611fb95784516001600160a01b031683529383019391830191600101611f94565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611fed57611fed612085565b500190565b60008261200f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561202e5761202e612085565b500290565b60008282101561204557612045612085565b500390565b600181811c9082168061205e57607f821691505b6020821081141561207f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461070757600080fdfea2646970667358221220081994190fd1a3a22985041f85fc90476febcfd2c98b580bbce4cb3262248f8764736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c80637571336a1161010d578063c0246668116100a0578063df778d261161006f578063df778d2614610593578063e2f45605146105a8578063f2fde38b146105be578063f8b45b05146105de578063f9f92be4146105f457600080fd5b8063c02466681461051e578063d100f0c91461053e578063d257b34f14610553578063dd62ed3e1461057357600080fd5b80639eb32fdb116100dc5780639eb32fdb146104a9578063a2a957bb146104be578063a457c2d7146104de578063a9059cbb146104fe57600080fd5b80637571336a146104365780638c0b5e22146104565780638da5cb5b1461046c57806395d89b411461049457600080fd5b8063313ce567116101905780636256d1811161015f5780636256d1811461038c57806366718524146103ac57806370a08231146103cc578063715018a614610402578063751039fc1461041757600080fd5b8063313ce5671461030f578063395093511461032b5780634a62bb651461034b578063537df3b61461036c57600080fd5b80631c499ab0116101cc5780631c499ab01461029a57806323b872dd146102ba578063254d9945146102da5780632e5295ee146102fa57600080fd5b806306fdde0314610209578063095ea7b31461023457806312b77e8a1461026457806318160ddd1461027b57600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e610624565b60405161022b9190611e8c565b60405180910390f35b34801561024057600080fd5b5061025461024f366004611de7565b6106b6565b604051901515815260200161022b565b34801561027057600080fd5b506102796106ce565b005b34801561028757600080fd5b506002545b60405190815260200161022b565b3480156102a657600080fd5b506102796102b5366004611e13565b61070a565b3480156102c657600080fd5b506102546102d5366004611d73565b610717565b3480156102e657600080fd5b506102796102f5366004611e13565b61073b565b34801561030657600080fd5b50610279610805565b34801561031b57600080fd5b506040516012815260200161022b565b34801561033757600080fd5b50610254610346366004611de7565b610822565b34801561035757600080fd5b5060085461025490600160a81b900460ff1681565b34801561037857600080fd5b50610279610387366004611cf9565b610844565b34801561039857600080fd5b506102796103a7366004611e13565b6108da565b3480156103b857600080fd5b506102796103c7366004611cf9565b61096f565b3480156103d857600080fd5b5061028c6103e7366004611cf9565b6001600160a01b031660009081526020819052604090205490565b34801561040e57600080fd5b506102796109d4565b34801561042357600080fd5b506102796008805460ff60a81b19169055565b34801561044257600080fd5b50610279610451366004611db4565b6109e8565b34801561046257600080fd5b5061028c600b5481565b34801561047857600080fd5b506005546040516001600160a01b03909116815260200161022b565b3480156104a057600080fd5b5061021e610a1b565b3480156104b557600080fd5b50610279610a2a565b3480156104ca57600080fd5b506102796104d9366004611e5a565b610c57565b3480156104ea57600080fd5b506102546104f9366004611de7565b610c99565b34801561050a57600080fd5b50610254610519366004611de7565b610d14565b34801561052a57600080fd5b50610279610539366004611db4565b610d22565b34801561054a57600080fd5b50610279610d89565b34801561055f57600080fd5b5061027961056e366004611e13565b610da0565b34801561057f57600080fd5b5061028c61058e366004611d3a565b610eb1565b34801561059f57600080fd5b50610279610edc565b3480156105b457600080fd5b5061028c600d5481565b3480156105ca57600080fd5b506102796105d9366004611cf9565b610ee4565b3480156105ea57600080fd5b5061028c600c5481565b34801561060057600080fd5b5061025461060f366004611cf9565b60196020526000908152604090205460ff1681565b6060600380546106339061204a565b80601f016020809104026020016040519081016040528092919081815260200182805461065f9061204a565b80156106ac5780601f10610681576101008083540402835291602001916106ac565b820191906000526020600020905b81548152906001019060200180831161068f57829003601f168201915b5050505050905090565b6000336106c4818585610f5a565b5060019392505050565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610707573d6000803e3d6000fd5b50565b61071261107e565b600c55565b6000336107258582856110d8565b610730858585611152565b506001949350505050565b61074361107e565b6007546001600160a01b03166107975760405162461bcd60e51b81526020600482015260146024820152731c185a5c881b9bdd081e595d0818dc99585d195960621b60448201526064015b60405180910390fd5b600854600160b01b900460ff16156107e95760405162461bcd60e51b81526020600482015260156024820152743a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161078e565b6008805460ff60b01b1916600160b01b179055600a5543600955565b61080d61107e565b6008805460ff60b81b1916600160b81b179055565b6000336106c48185856108358383610eb1565b61083f9190611fda565b610f5a565b61084c61107e565b6001600160a01b03811660009081526019602052604090205460ff1615156001146108b95760405162461bcd60e51b815260206004820152601f60248201527f6163636f756e74206973206e6f7420696e2074686520626c61636b6c69737400604482015260640161078e565b6001600160a01b03166000908152601960205260409020805460ff19169055565b6108e261107e565b6103e86108ee60025490565b6108f9906001612014565b6109039190611ff2565b81101561096a5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161078e565b600b55565b61097761107e565b6008546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6109dc61107e565b6109e66000611603565b565b6109f061107e565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6060600480546106339061204a565b610a3261107e565b6007546001600160a01b031615610a825760405162461bcd60e51b81526020600482015260146024820152731c185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161078e565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610ad057600080fd5b505afa158015610ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b089190611d1d565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610b6557600080fd5b505afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d9190611d1d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610be557600080fd5b505af1158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d9190611d1d565b600780546001600160a01b0319166001600160a01b039290921691821790556000908152601860205260409020805460ff19166001179055565b610c5f61107e565b6010849055601183905560128290556013819055610c7d8385611fda565b600e55601354601254610c909190611fda565b600f5550505050565b60003381610ca78286610eb1565b905083811015610d075760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161078e565b6107308286868403610f5a565b6000336106c4818585611152565b610d2a61107e565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d9161107e565b6008805460ff60b81b19169055565b610da861107e565b620186a0610db560025490565b610dc0906001612014565b610dca9190611ff2565b811015610e2b5760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74206265206c6f776572207468616e20302e3030312520746f7461604482015268361039bab838363c9760b91b606482015260840161078e565b6103e8610e3760025490565b610e42906005612014565b610e4c9190611ff2565b811115610eac5760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f7420626520686967686572207468616e20302e352520746f74616c6044820152671039bab838363c9760c11b606482015260840161078e565b600d55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109e6611655565b610eec61107e565b6001600160a01b038116610f515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b61070781611603565b6001600160a01b038316610fbc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6001600160a01b03821661101d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161078e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146109e65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161078e565b60006110e48484610eb1565b9050600019811461114c578181101561113f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161078e565b61114c8484848403610f5a565b50505050565b6001600160a01b0383166111785760405162461bcd60e51b815260040161078e90611f24565b6001600160a01b03821661119e5760405162461bcd60e51b815260040161078e90611ee1565b600081116111fa5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161078e565b6001600160a01b03831660009081526019602052604090205460ff16156112525760405162461bcd60e51b815260206004820152600c60248201526b109bdd0819195d1958dd195960a21b604482015260640161078e565b6001600160a01b03831660009081526016602052604090205460ff168061129157506001600160a01b03821660009081526016602052604090205460ff165b6112e657600854600160b01b900460ff166112e65760405162461bcd60e51b815260206004820152601560248201527474726164696e67206973206e6f742061637469766560581b604482015260640161078e565b6112f083836117ef565b156112fd576112fd611655565b6008546001600160a01b03841660009081526016602052604090205460ff600160a01b90920482161591168061134b57506001600160a01b03831660009081526016602052604090205460ff165b15611354575060005b61135f84848361189b565b1561144b57600b548211156113b65760405162461bcd60e51b815260206004820152601f60248201527f6d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161078e565b6001600160a01b03841660009081526018602052604090205460ff161561144b57600c546001600160a01b0384166000908152602081905260409020546113fd9084611fda565b111561144b5760405162461bcd60e51b815260206004820152601a60248201527f6d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161078e565b600081156115f1576001600160a01b03851660009081526018602052604090205460ff161561153357600a546009546114849190611fda565b4310156114af576001600160a01b0384166000908152601960205260409020805460ff191660011790555b6103e8600e54846114c09190612014565b6114ca9190611ff2565b9050600e54601154826114dd9190612014565b6114e79190611ff2565b601560008282546114f89190611fda565b9091555050600e5460105461150d9083612014565b6115179190611ff2565b601460008282546115289190611fda565b909155506115d39050565b6001600160a01b03841660009081526018602052604090205460ff16156115d3576103e8600f54846115659190612014565b61156f9190611ff2565b9050600f54601354826115829190612014565b61158c9190611ff2565b6015600082825461159d9190611fda565b9091555050600f546012546115b29083612014565b6115bc9190611ff2565b601460008282546115cd9190611fda565b90915550505b80156115e4576115e48530836119aa565b6115ee8184612033565b92505b6115fc8585856119aa565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008805460ff60a01b1916600160a01b179055306000908152602081905260408120549050600060145460155461168c9190611fda565b9050811580611699575080155b156116a55750506117e0565b600d548211156116b557600d5491505b6000600282601554856116c89190612014565b6116d29190611ff2565b6116dc9190611ff2565b905060006116ea8284612033565b9050476116f682611ad4565b60006117028247612033565b9050600085601454836117159190612014565b61171f9190611ff2565b9050600061172d8284612033565b6000601581905560148190556008546040519293506001600160a01b03169184156108fc0291859190818181858888f19350505050158015611773573d6000803e3d6000fd5b506000861180156117845750600081115b156117d7576117938682611c3d565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050505b6008805460ff60a01b19169055565b6000806014546015546118029190611fda565b600d54909150811080159081906118235750600854600160a01b900460ff16155b801561184857506001600160a01b03851660009081526018602052604090205460ff16155b801561186d57506001600160a01b03851660009081526016602052604090205460ff16155b801561189257506001600160a01b03841660009081526016602052604090205460ff16155b95945050505050565b60006118af6005546001600160a01b031690565b6001600160a01b0316846001600160a01b0316141580156118de57506005546001600160a01b03848116911614155b80156118fa57503260009081526017602052604090205460ff16155b801561191f57506001600160a01b03841660009081526017602052604090205460ff16155b801561194457506001600160a01b03831660009081526017602052604090205460ff16155b801561195b57506001600160a01b03831661dead14155b801561196f57506001600160a01b03831615155b80156119845750600854600160a81b900460ff165b801561198d5750815b80156119a257506001600160a01b0384163014155b949350505050565b6001600160a01b0383166119d05760405162461bcd60e51b815260040161078e90611f24565b6001600160a01b0382166119f65760405162461bcd60e51b815260040161078e90611ee1565b6001600160a01b03831660009081526020819052604090205481811015611a6e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161078e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361114c565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b0957611b0961209b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611b5d57600080fd5b505afa158015611b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b959190611d1d565b81600181518110611ba857611ba861209b565b6001600160a01b039283166020918202929092010152600654611bce9130911684610f5a565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c07908590600090869030904290600401611f69565b600060405180830381600087803b158015611c2157600080fd5b505af1158015611c35573d6000803e3d6000fd5b505050505050565b600654611c559030906001600160a01b031684610f5a565b60065460085460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b158015611cc057600080fd5b505af1158015611cd4573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906115fc9190611e2c565b600060208284031215611d0b57600080fd5b8135611d16816120b1565b9392505050565b600060208284031215611d2f57600080fd5b8151611d16816120b1565b60008060408385031215611d4d57600080fd5b8235611d58816120b1565b91506020830135611d68816120b1565b809150509250929050565b600080600060608486031215611d8857600080fd5b8335611d93816120b1565b92506020840135611da3816120b1565b929592945050506040919091013590565b60008060408385031215611dc757600080fd5b8235611dd2816120b1565b915060208301358015158114611d6857600080fd5b60008060408385031215611dfa57600080fd5b8235611e05816120b1565b946020939093013593505050565b600060208284031215611e2557600080fd5b5035919050565b600080600060608486031215611e4157600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611e7057600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611eb957858101830151858201604001528201611e9d565b81811115611ecb576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611fb95784516001600160a01b031683529383019391830191600101611f94565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611fed57611fed612085565b500190565b60008261200f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561202e5761202e612085565b500290565b60008282101561204557612045612085565b500390565b600181811c9082168061205e57607f821691505b6020821081141561207f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461070757600080fdfea2646970667358221220081994190fd1a3a22985041f85fc90476febcfd2c98b580bbce4cb3262248f8764736f6c63430008070033
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.