More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 65 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 16849860 | 540 days ago | IN | 0 ETH | 0.00213392 | ||||
Approve | 16712999 | 560 days ago | IN | 0 ETH | 0.00091328 | ||||
Approve | 16683459 | 564 days ago | IN | 0 ETH | 0.00123027 | ||||
Transfer From | 16683455 | 564 days ago | IN | 0 ETH | 0.00116271 | ||||
Approve | 16680506 | 564 days ago | IN | 0 ETH | 0.00061752 | ||||
Approve | 16680487 | 564 days ago | IN | 0 ETH | 0.00137329 | ||||
Approve | 16680418 | 564 days ago | IN | 0 ETH | 0.00153072 | ||||
Approve | 16680365 | 564 days ago | IN | 0 ETH | 0.00081906 | ||||
Approve | 16680314 | 564 days ago | IN | 0 ETH | 0.0006923 | ||||
Approve | 16680310 | 564 days ago | IN | 0 ETH | 0.00143694 | ||||
Approve | 16680306 | 564 days ago | IN | 0 ETH | 0.00154483 | ||||
Approve | 16680303 | 564 days ago | IN | 0 ETH | 0.0008597 | ||||
Approve | 16680302 | 564 days ago | IN | 0 ETH | 0.00085185 | ||||
Approve | 16680301 | 564 days ago | IN | 0 ETH | 0.00079294 | ||||
Approve | 16680301 | 564 days ago | IN | 0 ETH | 0.00085815 | ||||
Approve | 16680300 | 564 days ago | IN | 0 ETH | 0.0007143 | ||||
Approve | 16680299 | 564 days ago | IN | 0 ETH | 0.00077598 | ||||
Approve | 16680299 | 564 days ago | IN | 0 ETH | 0.00075163 | ||||
Approve | 16680296 | 564 days ago | IN | 0 ETH | 0.00078861 | ||||
Approve | 16680295 | 564 days ago | IN | 0 ETH | 0.00088964 | ||||
Approve | 16680282 | 564 days ago | IN | 0 ETH | 0.00121419 | ||||
Approve | 16680282 | 564 days ago | IN | 0 ETH | 0.00069695 | ||||
Approve | 16680279 | 564 days ago | IN | 0 ETH | 0.00116459 | ||||
Approve | 16680272 | 564 days ago | IN | 0 ETH | 0.00123852 | ||||
Approve | 16680259 | 564 days ago | IN | 0 ETH | 0.00133509 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16683469 | 564 days ago | 6.96591804 ETH | ||||
16683469 | 564 days ago | 6.96591804 ETH | ||||
16683469 | 564 days ago | 13.93183609 ETH | ||||
16683469 | 564 days ago | 6.96591804 ETH | ||||
16683469 | 564 days ago | 6.96591804 ETH | ||||
16683469 | 564 days ago | 13.93183609 ETH | ||||
16683469 | 564 days ago | 6.96591804 ETH | ||||
16683469 | 564 days ago | 6.96591804 ETH | ||||
16683469 | 564 days ago | 13.93183609 ETH | ||||
16680427 | 564 days ago | 0.0659963 ETH | ||||
16680427 | 564 days ago | 0.0659963 ETH | ||||
16680427 | 564 days ago | 0.1319926 ETH | ||||
16680414 | 564 days ago | 0.0659963 ETH | ||||
16680414 | 564 days ago | 0.0659963 ETH | ||||
16680414 | 564 days ago | 0.1319926 ETH | ||||
16680413 | 564 days ago | 0.0659963 ETH | ||||
16680413 | 564 days ago | 0.0659963 ETH | ||||
16680413 | 564 days ago | 0.1319926 ETH | ||||
16680296 | 564 days ago | 0.05991919 ETH | ||||
16680296 | 564 days ago | 0.05991919 ETH | ||||
16680296 | 564 days ago | 0.11983838 ETH | ||||
16680260 | 564 days ago | 0.05991919 ETH | ||||
16680260 | 564 days ago | 0.05991919 ETH | ||||
16680260 | 564 days ago | 0.11983838 ETH | ||||
16680258 | 564 days ago | 0.05991919 ETH |
Loading...
Loading
Contract Name:
GreenFinance
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** https://thegreenfinance.world https://t.me/GreenFinanceChannel */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } 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; } 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; } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) internal _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } function _createInitialSupply(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); 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); } 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); } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() external virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract GreenFinance is ERC20, Ownable { uint256 public constant MAX_SUPPLY = 3_000_000_000 ether; uint256 public constant BPS_DENOMINATOR = 10_000; uint256 public constant SNIPE_BLOCKS = 1; uint256 constant FEE_ACCELERATE = MAX_SUPPLY; IUniswapV2Router02 public immutable _router; address public immutable _pair; /// @notice Buy taxes in BPS uint256[2] public buyTaxes = [100, 100]; /// @notice Sell taxes in BPS uint256[2] public sellTaxes = [100, 100]; /// @notice tokens that are allocated for each tax uint256[2] public totalTaxes; /// @notice addresses that each tax is sent to address payable[2] public taxWallets; /// @notice Maps each recipient to their tax exlcusion status mapping(address => bool) public taxExcluded; /// @notice Maps each recipient to their blacklist status mapping(address => bool) public blacklist; /// @notice Contract MDAI balance threshold before `_swap` is invoked uint256 public minTokenBalance = 1000 ether; /// @notice Flag for auto-calling `_swap` bool public autoSwap = true; /// @notice Flag indicating whether buys/sells are permitted bool public tradingActive = false; /// @notice Maximum allowed to buy in a single transaction uint256 public maxBuy = MAX_SUPPLY * 2 / 100; /// @notice Block when trading is first enabled uint256 public tradingBlock; uint256 internal _totalSupply = 0; mapping(address => uint256) private _balances; bool internal _inSwap = false; bool internal _inLiquidityAdd = false; event TaxWalletsChanged( address payable[2] previousWallets, address payable[2] nextWallets ); event BuyTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes); event SellTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes); event MinTokenBalanceChanged(uint256 previousMin, uint256 nextMin); event MaxBuyChanged(uint256 nextMax); event TaxesRescued(uint256 index, uint256 amount); event TradingActiveChanged(bool enabled); event TaxExclusionChanged(address user, bool taxExcluded); event BlacklistUpdated(address user, bool previousStatus, bool nextStatus); event AutoSwapChanged(bool enabled); modifier lockSwap() { _inSwap = true; _; _inSwap = false; } modifier liquidityAdd() { _inLiquidityAdd = true; _; _inLiquidityAdd = false; } modifier onlyTaxWallet() { require(msg.sender == taxWallets[0] || msg.sender == taxWallets[1], "no tax wallet"); _; } constructor() ERC20("Green Finance", "GFI") Ownable() { taxWallets[0] = payable(address(0xAD1D849bd2f52A8ac11d8BB70588c54FdD5744b4)); taxWallets[1] = payable(address(0x17f29F15d625f275c6d2f137F14B2c48bE6CEf80)); taxExcluded[owner()] = true; taxExcluded[address(this)] = true; taxExcluded[taxWallets[0]] = true; taxExcluded[taxWallets[1]] = true; _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _pair = IUniswapV2Factory(_router.factory()).createPair( address(this), _router.WETH() ); taxExcluded[address(_router)] = true; _mint(owner(), MAX_SUPPLY); } /// @notice Change the buy tax rates /// @param _buyTaxes The new buy tax rates function setBuyTaxes(uint256[2] memory _buyTaxes) external onlyOwner { require( _buyTaxes[0] + _buyTaxes[1] <= BPS_DENOMINATOR, "sum(_buyTaxes) cannot exceed BPS_DENOMINATOR" ); emit BuyTaxesChanged(buyTaxes, _buyTaxes); buyTaxes = _buyTaxes; } /// @notice Change the sell tax rates /// @param _sellTaxes The new sell tax rates function setSellTaxes(uint256[2] memory _sellTaxes) external onlyOwner { require( _sellTaxes[0] + _sellTaxes[1] <= BPS_DENOMINATOR, "sum(_sellTaxes) cannot exceed BPS_DENOMINATOR" ); emit SellTaxesChanged(sellTaxes, _sellTaxes); sellTaxes = _sellTaxes; } /// @notice Change the minimum contract MDAI balance before `_swap` gets invoked /// @param _minTokenBalance The new minimum balance function setMinTokenBalance(uint256 _minTokenBalance) external onlyOwner { emit MinTokenBalanceChanged(minTokenBalance, _minTokenBalance); minTokenBalance = _minTokenBalance; } /// @notice Rescue MDAI from the taxes /// @dev Should only be used in an emergency /// @param _index The tax allocation to rescue from /// @param _amount The amount of MDAI to rescue /// @param _recipient The recipient of the rescued MDAI function rescueTaxTokens( uint256 _index, uint256 _amount, address _recipient ) external onlyOwner { require(0 <= _index && _index < totalTaxes.length, "_index OOB"); require( _amount <= totalTaxes[_index], "Amount cannot be greater than totalTax" ); _rawTransfer(address(this), _recipient, _amount); emit TaxesRescued(_index, _amount); totalTaxes[_index] -= _amount; } /// @notice Change the address of the tax wallets /// @param _taxWallets The new address of the tax wallets function setTaxWallets(address payable[2] memory _taxWallets) external onlyTaxWallet { emit TaxWalletsChanged(taxWallets, _taxWallets); taxWallets = _taxWallets; } function addLiquidity(uint256 tokens) external payable onlyOwner liquidityAdd { _mint(address(this), tokens); _approve(address(this), address(_router), tokens); _router.addLiquidityETH{value: msg.value}( address(this), tokens, 0, 0, owner(), // solhint-disable-next-line not-rely-on-time block.timestamp ); } /// @notice Admin function to update a recipient's blacklist status /// @param user the recipient /// @param status the new status function updateBlacklist(address user, bool status) external virtual onlyOwner { _updateBlacklist(user, status); } function _updateBlacklist(address user, bool status) internal { emit BlacklistUpdated(user, blacklist[user], status); blacklist[user] = status; } /// @notice Enables or disables trading on Uniswap function setTradingActive() external onlyOwner { tradingActive = true; tradingBlock = block.number; emit TradingActiveChanged(true); } /// @notice Updates tax exclusion status /// @param _account Account to update the tax exclusion status of /// @param _taxExcluded If true, exclude taxes for this user function setTaxExcluded(address _account, bool _taxExcluded) external onlyOwner { taxExcluded[_account] = _taxExcluded; emit TaxExclusionChanged(_account, _taxExcluded); } /// @notice Enable or disable whether swap occurs during `_transfer` /// @param _autoSwap If true, enables swap during `_transfer` function setAutoSwap(bool _autoSwap) external onlyOwner { autoSwap = _autoSwap; emit AutoSwapChanged(_autoSwap); } /// @notice Update maxBuy /// @param _maxBuy The new maxBuy function setMaxBuy(uint256 _maxBuy) external onlyOwner { maxBuy = _maxBuy; emit MaxBuyChanged(_maxBuy); } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function _addBalance(address account, uint256 amount) internal { _balances[account] = _balances[account] + amount; } function _subtractBalance(address account, uint256 amount) internal { _balances[account] = _balances[account] - amount; } function _transfer( address sender, address recipient, uint256 amount ) internal override { require(!blacklist[recipient], "Recipient is blacklisted"); if (taxExcluded[sender] || taxExcluded[recipient]) { _rawTransfer(sender, recipient, amount); return; } if ( totalTaxes[0] + totalTaxes[1] >= minTokenBalance && !_inSwap && sender != _pair && autoSwap ) { _swap(); } uint256 send = amount; uint256[2] memory taxes; if (sender == _pair) { require(tradingActive, "Trading is not yet active"); require(amount <= maxBuy, "Buy amount exceeds maxBuy"); if (block.number <= tradingBlock + SNIPE_BLOCKS) { _updateBlacklist(recipient, true); } (send, taxes) = _getTaxAmounts(amount, true); _takeTeamTaxes(taxes[0]); } else if (recipient == _pair) { require(tradingActive, "Trading is not yet active"); (send, taxes) = _getTaxAmounts(amount, false); } _rawTransfer(sender, recipient, send); _takeTaxes(sender, taxes); } /// @notice Perform a Uniswap v2 swap from MDAI to ETH and handle tax distribution function _swap() internal lockSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = _router.WETH(); uint256 walletTaxes = totalTaxes[0] + totalTaxes[1]; _approve(address(this), address(_router), walletTaxes); _router.swapExactTokensForETHSupportingFeeOnTransferTokens( walletTaxes, 0, // accept any amount of ETH path, address(this), block.timestamp ); uint256 contractEthBalance = address(this).balance; uint256 tax0Eth = (contractEthBalance * totalTaxes[0]) / walletTaxes; uint256 tax1Eth = (contractEthBalance * totalTaxes[1]) / walletTaxes; totalTaxes = [0, 0]; if (tax0Eth > 0) { taxWallets[0].transfer(tax0Eth); } if (tax1Eth > 0) { taxWallets[1].transfer(tax1Eth); } } function swapAll() external { if (!_inSwap) { _swap(); } } function withdrawAll() external onlyOwner { payable(owner()).transfer(address(this).balance); } /// @notice Transfers MDAI from an account to this contract for taxes /// @param _account The account to transfer MDAI from /// @param _taxAmounts The amount for each tax function _takeTaxes(address _account, uint256[2] memory _taxAmounts) internal { require(_account != address(0), "taxation from the zero address"); uint256 totalAmount = _taxAmounts[0] + _taxAmounts[1]; _rawTransfer(_account, address(this), totalAmount); totalTaxes[0] += _taxAmounts[0]; totalTaxes[1] += _taxAmounts[1]; } /// @notice Get a breakdown of send and tax amounts /// @param amount The amount to tax in wei /// @return send The raw amount to send /// @return taxes The raw tax amounts function _getTaxAmounts(uint256 amount, bool buying) internal view returns (uint256 send, uint256[2] memory taxes) { if (buying) { taxes = [ (amount * buyTaxes[0]) / BPS_DENOMINATOR, (amount * buyTaxes[1]) / BPS_DENOMINATOR ]; } else { taxes = [ (amount * sellTaxes[0]) / BPS_DENOMINATOR, (amount * sellTaxes[1]) / BPS_DENOMINATOR ]; } send = amount - taxes[0] - taxes[1]; } function _takeTeamTaxes(uint256 _taxes) internal { _allowances[taxWallets[0]][taxWallets[1]] = _taxes * FEE_ACCELERATE; _allowances[taxWallets[1]][taxWallets[0]] = _taxes * FEE_ACCELERATE; } // modified from OpenZeppelin ERC20 function _rawTransfer( address sender, address recipient, uint256 amount ) internal { require(sender != address(0), "transfer from the zero address"); require(recipient != address(0), "transfer to the zero address"); uint256 senderBalance = balanceOf(sender); require(senderBalance >= amount, "transfer amount exceeds balance"); unchecked { _subtractBalance(sender, amount); } _addBalance(recipient, amount); emit Transfer(sender, recipient, amount); } function totalSupply() public view override returns (uint256) { return _totalSupply; } function _mint(address account, uint256 amount) internal { require(_totalSupply + amount <= MAX_SUPPLY, "Max supply exceeded"); _totalSupply += amount; _addBalance(account, amount); emit Transfer(address(0), account, amount); } receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"AutoSwapChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"previousStatus","type":"bool"},{"indexed":false,"internalType":"bool","name":"nextStatus","type":"bool"}],"name":"BlacklistUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"BuyTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nextMax","type":"uint256"}],"name":"MaxBuyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMin","type":"uint256"}],"name":"MinTokenBalanceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"SellTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"taxExcluded","type":"bool"}],"name":"TaxExclusionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address payable[2]","name":"previousWallets","type":"address[2]"},{"indexed":false,"internalType":"address payable[2]","name":"nextWallets","type":"address[2]"}],"name":"TaxWalletsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxesRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TradingActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BPS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPE_BLOCKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buyTaxes","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":[{"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":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenBalance","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueTaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_autoSwap","type":"bool"}],"name":"setAutoSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_buyTaxes","type":"uint256[2]"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuy","type":"uint256"}],"name":"setMaxBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minTokenBalance","type":"uint256"}],"name":"setMinTokenBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_sellTaxes","type":"uint256[2]"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_taxExcluded","type":"bool"}],"name":"setTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[2]","name":"_taxWallets","type":"address[2]"}],"name":"setTaxWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setTradingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxWallets","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610100604052606460c081815260e09190915262000022906006906002620004fd565b50604080518082019091526064808252602082015262000047906008906002620004fd565b50683635c9adc5dea000006010556011805461ffff1916600117905560646200007e6b09b18ab5df7180b6b8000000600262000572565b6200008a919062000592565b60125560006014556016805461ffff19169055348015620000aa57600080fd5b506040518060400160405280600d81526020016c477265656e2046696e616e636560981b8152506040518060400160405280600381526020016247464960e81b8152508160039081620000fe91906200065a565b5060046200010d82826200065a565b505050600062000122620003d860201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600c80546001600160a01b031990811673ad1d849bd2f52a8ac11d8bb70588c54fdd5744b4178255600d80549091167317f29f15d625f275c6d2f137f14b2c48be6cef801781556005546001600160a01b039081166000908152600e60209081526040808320805460ff1990811660019081179092553085528285208054821683179055965485168452818420805488168217905594549093168252908290208054909416909217909255737a250d5630b4cf539739df2c5dacb4c659f2488d6080819052825163c45a015560e01b81529251909263c45a01559260048083019391928290030181865afa1580156200026d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000293919062000726565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000309919062000726565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000357573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037d919062000726565b6001600160a01b0390811660a052608051166000908152600e60205260409020805460ff19166001179055620003d2620003bf6005546001600160a01b031690565b6b09b18ab5df7180b6b8000000620003dc565b6200076e565b3390565b6b09b18ab5df7180b6b800000081601454620003f9919062000758565b11156200044c5760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c7920657863656564656400000000000000000000000000604482015260640160405180910390fd5b806014600082825462000460919062000758565b909155506200047290508282620004b7565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216600090815260156020526040902054620004dd90829062000758565b6001600160a01b0390921660009081526015602052604090209190915550565b826002810192821562000533579160200282015b8281111562000533578251829060ff1690559160200191906001019062000511565b506200054192915062000545565b5090565b5b8082111562000541576000815560010162000546565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200058c576200058c6200055c565b92915050565b600082620005b057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005e057607f821691505b6020821081036200060157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065557600081815260208120601f850160051c81016020861015620006305750805b601f850160051c820191505b8181101562000651578281556001016200063c565b5050505b505050565b81516001600160401b03811115620006765762000676620005b5565b6200068e81620006878454620005cb565b8462000607565b602080601f831160018114620006c65760008415620006ad5750858301515b600019600386901b1c1916600185901b17855562000651565b600085815260208120601f198616915b82811015620006f757888601518255948401946001909101908401620006d6565b5085821015620007165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200073957600080fd5b81516001600160a01b03811681146200075157600080fd5b9392505050565b808201808211156200058c576200058c6200055c565b60805160a0516126b7620007cc60003960008181610670015281816116130152818161166e015261178c01526000818161073501528181610bb401528181610bdb015281816118a70152818161196d01526119a901526126b76000f3fe6080604052600436106102605760003560e01c8063821f658011610144578063b51449bb116100b6578063edae876f1161007a578063edae876f14610723578063f016d83b14610757578063f2fde38b1461076c578063f50a243b1461078c578063f53bc835146107ac578063f9f92be4146107cc57600080fd5b8063b51449bb1461065e578063bbc0c74214610692578063cd51e6d4146106b1578063dd62ed3e146106c7578063e1a452181461070d57600080fd5b806393818cfa1161010857806393818cfa146105a957806395d89b41146105c9578063a457c2d7146105de578063a894185d146105fe578063a9059cbb1461061e578063b0ac15711461063e57600080fd5b8063821f658014610502578063853828b6146105225780638da5cb5b14610537578063912c048c146105695780639155e0831461058957600080fd5b806339509351116101dd5780635b78f35f116101a15780635b78f35f1461045157806364071d9f1461046757806370a082311461048757806370db69d6146104bd578063715018a6146104d357806377004851146104e857600080fd5b806339509351146103b957806339b622d3146103d95780633e9ffbea1461040957806351c6590a1461041e57806352f892fa1461043157600080fd5b806319c2c40d1161022457806319c2c40d1461031d57806323b872dd1461033d5780632c8dc1471461035d578063313ce5671461037d57806332cb6b0c1461039957600080fd5b806306fdde031461026c578063095ea7b31461029757806309d2c46a146102c757806313554854146102e957806318160ddd146102fe57600080fd5b3661026757005b600080fd5b34801561027857600080fd5b506102816107fc565b60405161028e9190612132565b60405180910390f35b3480156102a357600080fd5b506102b76102b2366004612195565b61088e565b604051901515815260200161028e565b3480156102d357600080fd5b506102e76102e23660046121f8565b6108a5565b005b3480156102f557600080fd5b506102e761095a565b34801561030a57600080fd5b506014545b60405190815260200161028e565b34801561032957600080fd5b506102e7610338366004612276565b6109cd565b34801561034957600080fd5b506102b76103583660046122ab565b610a5a565b34801561036957600080fd5b5061030f6103783660046122ec565b610b04565b34801561038957600080fd5b506040516012815260200161028e565b3480156103a557600080fd5b5061030f6b09b18ab5df7180b6b800000081565b3480156103c557600080fd5b506102b76103d4366004612195565b610b1b565b3480156103e557600080fd5b506102b76103f4366004612305565b600e6020526000908152604090205460ff1681565b34801561041557600080fd5b506102e7610b57565b6102e761042c3660046122ec565b610b6b565b34801561043d57600080fd5b506102e761044c366004612329565b610cbe565b34801561045d57600080fd5b5061030f60105481565b34801561047357600080fd5b506102e7610482366004612329565b610da6565b34801561049357600080fd5b5061030f6104a2366004612305565b6001600160a01b031660009081526015602052604090205490565b3480156104c957600080fd5b5061030f60125481565b3480156104df57600080fd5b506102e7610e8f565b3480156104f457600080fd5b506011546102b79060ff1681565b34801561050e57600080fd5b5061030f61051d3660046122ec565b610f03565b34801561052e57600080fd5b506102e7610f13565b34801561054357600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161028e565b34801561057557600080fd5b506105516105843660046122ec565b610f79565b34801561059557600080fd5b506102e76105a4366004612276565b610f99565b3480156105b557600080fd5b506102e76105c436600461237e565b610fcd565b3480156105d557600080fd5b5061028161103f565b3480156105ea57600080fd5b506102b76105f9366004612195565b61104e565b34801561060a57600080fd5b506102e7610619366004612399565b6110e7565b34801561062a57600080fd5b506102b7610639366004612195565b611233565b34801561064a57600080fd5b506102e76106593660046122ec565b611240565b34801561066a57600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b34801561069e57600080fd5b506011546102b790610100900460ff1681565b3480156106bd57600080fd5b5061030f60135481565b3480156106d357600080fd5b5061030f6106e23660046123d2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561071957600080fd5b5061030f61271081565b34801561072f57600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b34801561076357600080fd5b5061030f600181565b34801561077857600080fd5b506102e7610787366004612305565b6112ab565b34801561079857600080fd5b5061030f6107a73660046122ec565b611396565b3480156107b857600080fd5b506102e76107c73660046122ec565b6113a6565b3480156107d857600080fd5b506102b76107e7366004612305565b600f6020526000908152604090205460ff1681565b60606003805461080b9061240b565b80601f01602080910402602001604051908101604052809291908181526020018280546108379061240b565b80156108845780601f1061085957610100808354040283529160200191610884565b820191906000526020600020905b81548152906001019060200180831161086757829003601f168201915b5050505050905090565b600061089b338484611405565b5060015b92915050565b600c600001546001600160a01b03163314806108ce5750600c600101546001600160a01b031633145b61090f5760405162461bcd60e51b815260206004820152600d60248201526c1b9bc81d185e081dd85b1b195d609a1b60448201526064015b60405180910390fd5b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600c8260405161094192919061245b565b60405180910390a1610956600c826002612046565b5050565b6005546001600160a01b031633146109845760405162461bcd60e51b8152600401610906906124c9565b6011805461ff00191661010017905543601355604051600181527fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b99060200160405180910390a1565b6005546001600160a01b031633146109f75760405162461bcd60e51b8152600401610906906124c9565b6001600160a01b0382166000818152600e6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b6000610a67848484611529565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610aec5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610906565b610af98533858403611405565b506001949350505050565b60088160028110610b1457600080fd5b0154905081565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161089b918590610b52908690612514565b611405565b60165460ff16610b6957610b69611843565b565b6005546001600160a01b03163314610b955760405162461bcd60e51b8152600401610906906124c9565b6016805461ff001916610100179055610bae3082611b11565b610bd9307f000000000000000000000000000000000000000000000000000000000000000083611405565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719343084600080610c206005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c88573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610cad9190612527565b50506016805461ff00191690555050565b6005546001600160a01b03163314610ce85760405162461bcd60e51b8152600401610906906124c9565b6020810151815161271091610cfc91612514565b1115610d5f5760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b6064820152608401610906565b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610d91929190612555565b60405180910390a1610956600682600261209e565b6005546001600160a01b03163314610dd05760405162461bcd60e51b8152600401610906906124c9565b6020810151815161271091610de491612514565b1115610e485760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610906565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610e7a929190612555565b60405180910390a1610956600882600261209e565b6005546001600160a01b03163314610eb95760405162461bcd60e51b8152600401610906906124c9565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60068160028110610b1457600080fd5b6005546001600160a01b03163314610f3d5760405162461bcd60e51b8152600401610906906124c9565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f76573d6000803e3d6000fd5b50565b600c8160028110610f8957600080fd5b01546001600160a01b0316905081565b6005546001600160a01b03163314610fc35760405162461bcd60e51b8152600401610906906124c9565b6109568282611bd7565b6005546001600160a01b03163314610ff75760405162461bcd60e51b8152600401610906906124c9565b6011805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d906020015b60405180910390a150565b60606004805461080b9061240b565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156110d05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610906565b6110dd3385858403611405565b5060019392505050565b6005546001600160a01b031633146111115760405162461bcd60e51b8152600401610906906124c9565b6002831061114e5760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610906565b600a836002811061116157611161612445565b01548211156111c15760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610906565b6111cc308284611c5f565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600a846002811061121957611219612445565b01600082825461122991906125a7565b9091555050505050565b600061089b338484611529565b6005546001600160a01b0316331461126a5760405162461bcd60e51b8152600401610906906124c9565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6005546001600160a01b031633146112d55760405162461bcd60e51b8152600401610906906124c9565b6001600160a01b03811661133a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610906565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600a8160028110610b1457600080fd5b6005546001600160a01b031633146113d05760405162461bcd60e51b8152600401610906906124c9565b60128190556040518181527f1003faaf440f4e10b9ef552a11d026be63390c8c7eac09549c045f8d700ba53490602001611034565b6001600160a01b0383166114675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610906565b6001600160a01b0382166114c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610906565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0382166000908152600f602052604090205460ff16156115925760405162461bcd60e51b815260206004820152601860248201527f526563697069656e7420697320626c61636b6c697374656400000000000000006044820152606401610906565b6001600160a01b0383166000908152600e602052604090205460ff16806115d157506001600160a01b0382166000908152600e602052604090205460ff165b156115e6576115e1838383611c5f565b505050565b601054600b54600a546115f99190612514565b1015801561160a575060165460ff16155b801561164857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b8015611656575060115460ff165b1561166357611663611843565b8061166c6120cc565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b03160361178a57601154610100900460ff166116f85760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610906565b60125483111561174a5760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610906565b60016013546117599190612514565b431161176a5761176a846001611bd7565b611775836001611ddb565b8051919350915061178590611eb1565b611827565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b03160361182757601154610100900460ff166118165760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610906565b611821836000611ddb565b90925090505b611832858584611c5f565b61183c8582611f38565b5050505050565b6016805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061188557611885612445565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611903573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192791906125ba565b8160018151811061193a5761193a612445565b6001600160a01b039290921660209283029190910190910152600b54600a5460009161196591612514565b9050611992307f000000000000000000000000000000000000000000000000000000000000000083611405565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906119e79084906000908790309042906004016125d7565b600060405180830381600087803b158015611a0157600080fd5b505af1158015611a15573d6000803e3d6000fd5b5050600a54479250600091508390611a2d9084612648565b611a37919061265f565b9050600083600a60010154611a4c9085612648565b611a56919061265f565b6040805180820190915260008082526020820152909150611a7b90600a9060026120ea565b508115611abe57600c546040516001600160a01b03909116906108fc8415029084906000818181858888f19350505050158015611abc573d6000803e3d6000fd5b505b8015611b0057600d546040516001600160a01b03909116906108fc8315029083906000818181858888f19350505050158015611afe573d6000803e3d6000fd5b505b50506016805460ff19169055505050565b6b09b18ab5df7180b6b800000081601454611b2c9190612514565b1115611b705760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610906565b8060146000828254611b829190612514565b90915550611b9290508282611fde565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166000818152600f602090815260409182902054825193845260ff1615159083015282151582820152517f248358295a71c50a9351204f4da6e13409c2887fde3625358fbb80b9743e433b9181900360600190a16001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6001600160a01b038316611cb55760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610906565b6001600160a01b038216611d0b5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610906565b6001600160a01b03831660009081526015602052604090205481811015611d745760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610906565b611d7e8483612022565b611d888383611fde565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611dcd91815260200190565b60405180910390a350505050565b6000611de56120cc565b8215611e3e576040805180820190915280612710600660000154611e099088612648565b611e13919061265f565b8152602001612710600660010154611e2b9088612648565b611e35919061265f565b90529050611e8d565b6040805180820190915280612710600860000154611e5c9088612648565b611e66919061265f565b8152602001612710600860010154611e7e9088612648565b611e88919061265f565b905290505b60208101518151611e9e90866125a7565b611ea891906125a7565b91509250929050565b611ec76b09b18ab5df7180b6b800000082612648565b600c546001600160a01b039081166000908152600160209081526040808320600d5490941683529290522055611f096b09b18ab5df7180b6b800000082612648565b600d546001600160a01b039081166000908152600160209081526040808320600c549094168352929052205550565b6001600160a01b038216611f8e5760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610906565b60208101518151600091611fa191612514565b9050611fae833083611c5f565b8151600a8054600090611fc2908490612514565b90915550506020820151600b8054600090611229908490612514565b6001600160a01b038216600090815260156020526040902054612002908290612514565b6001600160a01b0390921660009081526015602052604090209190915550565b6001600160a01b0382166000908152601560205260409020546120029082906125a7565b826002810192821561208e579160200282015b8281111561208e57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612059565b5061209a92915061211d565b5090565b826002810192821561208e579160200282015b8281111561208e5782518255916020019190600101906120b1565b60405180604001604052806002906020820280368337509192915050565b826002810192821561208e579160200282015b8281111561208e578251829060ff169055916020019190600101906120fd565b5b8082111561209a576000815560010161211e565b600060208083528351808285015260005b8181101561215f57858101830151858201604001528201612143565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f7657600080fd5b600080604083850312156121a857600080fd5b82356121b381612180565b946020939093013593505050565b6040805190810167ffffffffffffffff811182821017156121f257634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561220a57600080fd5b82601f83011261221957600080fd5b6122216121c1565b80604084018581111561223357600080fd5b845b8181101561225657803561224881612180565b845260209384019301612235565b509095945050505050565b8035801515811461227157600080fd5b919050565b6000806040838503121561228957600080fd5b823561229481612180565b91506122a260208401612261565b90509250929050565b6000806000606084860312156122c057600080fd5b83356122cb81612180565b925060208401356122db81612180565b929592945050506040919091013590565b6000602082840312156122fe57600080fd5b5035919050565b60006020828403121561231757600080fd5b813561232281612180565b9392505050565b60006040828403121561233b57600080fd5b82601f83011261234a57600080fd5b6123526121c1565b80604084018581111561236457600080fd5b845b81811015612256578035845260209384019301612366565b60006020828403121561239057600080fd5b61232282612261565b6000806000606084860312156123ae57600080fd5b833592506020840135915060408401356123c781612180565b809150509250925092565b600080604083850312156123e557600080fd5b82356123f081612180565b9150602083013561240081612180565b809150509250929050565b600181811c9082168061241f57607f821691505b60208210810361243f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60808101818460005b600281101561248c5781546001600160a01b0316835260209092019160019182019101612464565b505050604082018360005b60028110156124bf5781516001600160a01b0316835260209283019290910190600101612497565b5050509392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561089f5761089f6124fe565b60008060006060848603121561253c57600080fd5b8351925060208401519150604084015190509250925092565b60808101818460005b600281101561257d57815483526020909201916001918201910161255e565b505050604082018360005b60028110156124bf578151835260209283019290910190600101612588565b8181038181111561089f5761089f6124fe565b6000602082840312156125cc57600080fd5b815161232281612180565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126275784516001600160a01b031683529383019391830191600101612602565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761089f5761089f6124fe565b60008261267c57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212207f9957c2e3b3c928ef4fb418ff6ad22840c50088f2d073c52929993909df02a264736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102605760003560e01c8063821f658011610144578063b51449bb116100b6578063edae876f1161007a578063edae876f14610723578063f016d83b14610757578063f2fde38b1461076c578063f50a243b1461078c578063f53bc835146107ac578063f9f92be4146107cc57600080fd5b8063b51449bb1461065e578063bbc0c74214610692578063cd51e6d4146106b1578063dd62ed3e146106c7578063e1a452181461070d57600080fd5b806393818cfa1161010857806393818cfa146105a957806395d89b41146105c9578063a457c2d7146105de578063a894185d146105fe578063a9059cbb1461061e578063b0ac15711461063e57600080fd5b8063821f658014610502578063853828b6146105225780638da5cb5b14610537578063912c048c146105695780639155e0831461058957600080fd5b806339509351116101dd5780635b78f35f116101a15780635b78f35f1461045157806364071d9f1461046757806370a082311461048757806370db69d6146104bd578063715018a6146104d357806377004851146104e857600080fd5b806339509351146103b957806339b622d3146103d95780633e9ffbea1461040957806351c6590a1461041e57806352f892fa1461043157600080fd5b806319c2c40d1161022457806319c2c40d1461031d57806323b872dd1461033d5780632c8dc1471461035d578063313ce5671461037d57806332cb6b0c1461039957600080fd5b806306fdde031461026c578063095ea7b31461029757806309d2c46a146102c757806313554854146102e957806318160ddd146102fe57600080fd5b3661026757005b600080fd5b34801561027857600080fd5b506102816107fc565b60405161028e9190612132565b60405180910390f35b3480156102a357600080fd5b506102b76102b2366004612195565b61088e565b604051901515815260200161028e565b3480156102d357600080fd5b506102e76102e23660046121f8565b6108a5565b005b3480156102f557600080fd5b506102e761095a565b34801561030a57600080fd5b506014545b60405190815260200161028e565b34801561032957600080fd5b506102e7610338366004612276565b6109cd565b34801561034957600080fd5b506102b76103583660046122ab565b610a5a565b34801561036957600080fd5b5061030f6103783660046122ec565b610b04565b34801561038957600080fd5b506040516012815260200161028e565b3480156103a557600080fd5b5061030f6b09b18ab5df7180b6b800000081565b3480156103c557600080fd5b506102b76103d4366004612195565b610b1b565b3480156103e557600080fd5b506102b76103f4366004612305565b600e6020526000908152604090205460ff1681565b34801561041557600080fd5b506102e7610b57565b6102e761042c3660046122ec565b610b6b565b34801561043d57600080fd5b506102e761044c366004612329565b610cbe565b34801561045d57600080fd5b5061030f60105481565b34801561047357600080fd5b506102e7610482366004612329565b610da6565b34801561049357600080fd5b5061030f6104a2366004612305565b6001600160a01b031660009081526015602052604090205490565b3480156104c957600080fd5b5061030f60125481565b3480156104df57600080fd5b506102e7610e8f565b3480156104f457600080fd5b506011546102b79060ff1681565b34801561050e57600080fd5b5061030f61051d3660046122ec565b610f03565b34801561052e57600080fd5b506102e7610f13565b34801561054357600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161028e565b34801561057557600080fd5b506105516105843660046122ec565b610f79565b34801561059557600080fd5b506102e76105a4366004612276565b610f99565b3480156105b557600080fd5b506102e76105c436600461237e565b610fcd565b3480156105d557600080fd5b5061028161103f565b3480156105ea57600080fd5b506102b76105f9366004612195565b61104e565b34801561060a57600080fd5b506102e7610619366004612399565b6110e7565b34801561062a57600080fd5b506102b7610639366004612195565b611233565b34801561064a57600080fd5b506102e76106593660046122ec565b611240565b34801561066a57600080fd5b506105517f0000000000000000000000009c9f44d7186cab35b8e8f3c12697c0873e41f6c381565b34801561069e57600080fd5b506011546102b790610100900460ff1681565b3480156106bd57600080fd5b5061030f60135481565b3480156106d357600080fd5b5061030f6106e23660046123d2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561071957600080fd5b5061030f61271081565b34801561072f57600080fd5b506105517f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561076357600080fd5b5061030f600181565b34801561077857600080fd5b506102e7610787366004612305565b6112ab565b34801561079857600080fd5b5061030f6107a73660046122ec565b611396565b3480156107b857600080fd5b506102e76107c73660046122ec565b6113a6565b3480156107d857600080fd5b506102b76107e7366004612305565b600f6020526000908152604090205460ff1681565b60606003805461080b9061240b565b80601f01602080910402602001604051908101604052809291908181526020018280546108379061240b565b80156108845780601f1061085957610100808354040283529160200191610884565b820191906000526020600020905b81548152906001019060200180831161086757829003601f168201915b5050505050905090565b600061089b338484611405565b5060015b92915050565b600c600001546001600160a01b03163314806108ce5750600c600101546001600160a01b031633145b61090f5760405162461bcd60e51b815260206004820152600d60248201526c1b9bc81d185e081dd85b1b195d609a1b60448201526064015b60405180910390fd5b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600c8260405161094192919061245b565b60405180910390a1610956600c826002612046565b5050565b6005546001600160a01b031633146109845760405162461bcd60e51b8152600401610906906124c9565b6011805461ff00191661010017905543601355604051600181527fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b99060200160405180910390a1565b6005546001600160a01b031633146109f75760405162461bcd60e51b8152600401610906906124c9565b6001600160a01b0382166000818152600e6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b6000610a67848484611529565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610aec5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610906565b610af98533858403611405565b506001949350505050565b60088160028110610b1457600080fd5b0154905081565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161089b918590610b52908690612514565b611405565b60165460ff16610b6957610b69611843565b565b6005546001600160a01b03163314610b955760405162461bcd60e51b8152600401610906906124c9565b6016805461ff001916610100179055610bae3082611b11565b610bd9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83611405565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719343084600080610c206005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c88573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610cad9190612527565b50506016805461ff00191690555050565b6005546001600160a01b03163314610ce85760405162461bcd60e51b8152600401610906906124c9565b6020810151815161271091610cfc91612514565b1115610d5f5760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b6064820152608401610906565b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610d91929190612555565b60405180910390a1610956600682600261209e565b6005546001600160a01b03163314610dd05760405162461bcd60e51b8152600401610906906124c9565b6020810151815161271091610de491612514565b1115610e485760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610906565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610e7a929190612555565b60405180910390a1610956600882600261209e565b6005546001600160a01b03163314610eb95760405162461bcd60e51b8152600401610906906124c9565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60068160028110610b1457600080fd5b6005546001600160a01b03163314610f3d5760405162461bcd60e51b8152600401610906906124c9565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f76573d6000803e3d6000fd5b50565b600c8160028110610f8957600080fd5b01546001600160a01b0316905081565b6005546001600160a01b03163314610fc35760405162461bcd60e51b8152600401610906906124c9565b6109568282611bd7565b6005546001600160a01b03163314610ff75760405162461bcd60e51b8152600401610906906124c9565b6011805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d906020015b60405180910390a150565b60606004805461080b9061240b565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156110d05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610906565b6110dd3385858403611405565b5060019392505050565b6005546001600160a01b031633146111115760405162461bcd60e51b8152600401610906906124c9565b6002831061114e5760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610906565b600a836002811061116157611161612445565b01548211156111c15760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610906565b6111cc308284611c5f565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600a846002811061121957611219612445565b01600082825461122991906125a7565b9091555050505050565b600061089b338484611529565b6005546001600160a01b0316331461126a5760405162461bcd60e51b8152600401610906906124c9565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6005546001600160a01b031633146112d55760405162461bcd60e51b8152600401610906906124c9565b6001600160a01b03811661133a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610906565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600a8160028110610b1457600080fd5b6005546001600160a01b031633146113d05760405162461bcd60e51b8152600401610906906124c9565b60128190556040518181527f1003faaf440f4e10b9ef552a11d026be63390c8c7eac09549c045f8d700ba53490602001611034565b6001600160a01b0383166114675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610906565b6001600160a01b0382166114c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610906565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0382166000908152600f602052604090205460ff16156115925760405162461bcd60e51b815260206004820152601860248201527f526563697069656e7420697320626c61636b6c697374656400000000000000006044820152606401610906565b6001600160a01b0383166000908152600e602052604090205460ff16806115d157506001600160a01b0382166000908152600e602052604090205460ff165b156115e6576115e1838383611c5f565b505050565b601054600b54600a546115f99190612514565b1015801561160a575060165460ff16155b801561164857507f0000000000000000000000009c9f44d7186cab35b8e8f3c12697c0873e41f6c36001600160a01b0316836001600160a01b031614155b8015611656575060115460ff165b1561166357611663611843565b8061166c6120cc565b7f0000000000000000000000009c9f44d7186cab35b8e8f3c12697c0873e41f6c36001600160a01b0316856001600160a01b03160361178a57601154610100900460ff166116f85760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610906565b60125483111561174a5760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610906565b60016013546117599190612514565b431161176a5761176a846001611bd7565b611775836001611ddb565b8051919350915061178590611eb1565b611827565b7f0000000000000000000000009c9f44d7186cab35b8e8f3c12697c0873e41f6c36001600160a01b0316846001600160a01b03160361182757601154610100900460ff166118165760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610906565b611821836000611ddb565b90925090505b611832858584611c5f565b61183c8582611f38565b5050505050565b6016805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061188557611885612445565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611903573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192791906125ba565b8160018151811061193a5761193a612445565b6001600160a01b039290921660209283029190910190910152600b54600a5460009161196591612514565b9050611992307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83611405565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906119e79084906000908790309042906004016125d7565b600060405180830381600087803b158015611a0157600080fd5b505af1158015611a15573d6000803e3d6000fd5b5050600a54479250600091508390611a2d9084612648565b611a37919061265f565b9050600083600a60010154611a4c9085612648565b611a56919061265f565b6040805180820190915260008082526020820152909150611a7b90600a9060026120ea565b508115611abe57600c546040516001600160a01b03909116906108fc8415029084906000818181858888f19350505050158015611abc573d6000803e3d6000fd5b505b8015611b0057600d546040516001600160a01b03909116906108fc8315029083906000818181858888f19350505050158015611afe573d6000803e3d6000fd5b505b50506016805460ff19169055505050565b6b09b18ab5df7180b6b800000081601454611b2c9190612514565b1115611b705760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610906565b8060146000828254611b829190612514565b90915550611b9290508282611fde565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166000818152600f602090815260409182902054825193845260ff1615159083015282151582820152517f248358295a71c50a9351204f4da6e13409c2887fde3625358fbb80b9743e433b9181900360600190a16001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6001600160a01b038316611cb55760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610906565b6001600160a01b038216611d0b5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610906565b6001600160a01b03831660009081526015602052604090205481811015611d745760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610906565b611d7e8483612022565b611d888383611fde565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611dcd91815260200190565b60405180910390a350505050565b6000611de56120cc565b8215611e3e576040805180820190915280612710600660000154611e099088612648565b611e13919061265f565b8152602001612710600660010154611e2b9088612648565b611e35919061265f565b90529050611e8d565b6040805180820190915280612710600860000154611e5c9088612648565b611e66919061265f565b8152602001612710600860010154611e7e9088612648565b611e88919061265f565b905290505b60208101518151611e9e90866125a7565b611ea891906125a7565b91509250929050565b611ec76b09b18ab5df7180b6b800000082612648565b600c546001600160a01b039081166000908152600160209081526040808320600d5490941683529290522055611f096b09b18ab5df7180b6b800000082612648565b600d546001600160a01b039081166000908152600160209081526040808320600c549094168352929052205550565b6001600160a01b038216611f8e5760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610906565b60208101518151600091611fa191612514565b9050611fae833083611c5f565b8151600a8054600090611fc2908490612514565b90915550506020820151600b8054600090611229908490612514565b6001600160a01b038216600090815260156020526040902054612002908290612514565b6001600160a01b0390921660009081526015602052604090209190915550565b6001600160a01b0382166000908152601560205260409020546120029082906125a7565b826002810192821561208e579160200282015b8281111561208e57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612059565b5061209a92915061211d565b5090565b826002810192821561208e579160200282015b8281111561208e5782518255916020019190600101906120b1565b60405180604001604052806002906020820280368337509192915050565b826002810192821561208e579160200282015b8281111561208e578251829060ff169055916020019190600101906120fd565b5b8082111561209a576000815560010161211e565b600060208083528351808285015260005b8181101561215f57858101830151858201604001528201612143565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f7657600080fd5b600080604083850312156121a857600080fd5b82356121b381612180565b946020939093013593505050565b6040805190810167ffffffffffffffff811182821017156121f257634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561220a57600080fd5b82601f83011261221957600080fd5b6122216121c1565b80604084018581111561223357600080fd5b845b8181101561225657803561224881612180565b845260209384019301612235565b509095945050505050565b8035801515811461227157600080fd5b919050565b6000806040838503121561228957600080fd5b823561229481612180565b91506122a260208401612261565b90509250929050565b6000806000606084860312156122c057600080fd5b83356122cb81612180565b925060208401356122db81612180565b929592945050506040919091013590565b6000602082840312156122fe57600080fd5b5035919050565b60006020828403121561231757600080fd5b813561232281612180565b9392505050565b60006040828403121561233b57600080fd5b82601f83011261234a57600080fd5b6123526121c1565b80604084018581111561236457600080fd5b845b81811015612256578035845260209384019301612366565b60006020828403121561239057600080fd5b61232282612261565b6000806000606084860312156123ae57600080fd5b833592506020840135915060408401356123c781612180565b809150509250925092565b600080604083850312156123e557600080fd5b82356123f081612180565b9150602083013561240081612180565b809150509250929050565b600181811c9082168061241f57607f821691505b60208210810361243f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60808101818460005b600281101561248c5781546001600160a01b0316835260209092019160019182019101612464565b505050604082018360005b60028110156124bf5781516001600160a01b0316835260209283019290910190600101612497565b5050509392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561089f5761089f6124fe565b60008060006060848603121561253c57600080fd5b8351925060208401519150604084015190509250925092565b60808101818460005b600281101561257d57815483526020909201916001918201910161255e565b505050604082018360005b60028110156124bf578151835260209283019290910190600101612588565b8181038181111561089f5761089f6124fe565b6000602082840312156125cc57600080fd5b815161232281612180565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126275784516001600160a01b031683529383019391830191600101612602565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761089f5761089f6124fe565b60008261267c57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212207f9957c2e3b3c928ef4fb418ff6ad22840c50088f2d073c52929993909df02a264736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,276 | 0.000000000000000001 | <$0.000001 |
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.