More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 423 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 19910860 | 209 days ago | IN | 0 ETH | 0.00054749 | ||||
Transfer | 19836963 | 220 days ago | IN | 0 ETH | 0.0000865 | ||||
Approve | 19127230 | 319 days ago | IN | 0 ETH | 0.00088988 | ||||
Transfer | 18548248 | 400 days ago | IN | 0 ETH | 0.01003199 | ||||
Transfer | 17887981 | 493 days ago | IN | 0 ETH | 0.00116873 | ||||
Approve | 17835037 | 500 days ago | IN | 0 ETH | 0.00276629 | ||||
Approve | 17835036 | 500 days ago | IN | 0 ETH | 0.00416897 | ||||
Approve | 17830824 | 501 days ago | IN | 0 ETH | 0.00080586 | ||||
Approve | 17818604 | 502 days ago | IN | 0 ETH | 0.00092287 | ||||
Approve | 17796667 | 505 days ago | IN | 0 ETH | 0.00136885 | ||||
Approve | 17796607 | 505 days ago | IN | 0 ETH | 0.00082901 | ||||
Approve | 17796607 | 505 days ago | IN | 0 ETH | 0.00306744 | ||||
Approve | 17781070 | 508 days ago | IN | 0 ETH | 0.00143833 | ||||
Approve | 17780165 | 508 days ago | IN | 0 ETH | 0.00075298 | ||||
Approve | 17778795 | 508 days ago | IN | 0 ETH | 0.00177372 | ||||
Approve | 17775430 | 508 days ago | IN | 0 ETH | 0.00071126 | ||||
Approve | 17773902 | 509 days ago | IN | 0 ETH | 0.00151624 | ||||
Approve | 17773880 | 509 days ago | IN | 0 ETH | 0.00087335 | ||||
Approve | 17773794 | 509 days ago | IN | 0 ETH | 0.00122709 | ||||
Approve | 17773783 | 509 days ago | IN | 0 ETH | 0.00346018 | ||||
Transfer | 17770799 | 509 days ago | IN | 0 ETH | 0.00271604 | ||||
Approve | 17770436 | 509 days ago | IN | 0 ETH | 0.00179372 | ||||
Approve | 17769229 | 509 days ago | IN | 0 ETH | 0.00104702 | ||||
Approve | 17768813 | 509 days ago | IN | 0 ETH | 0.00138339 | ||||
Approve | 17768620 | 509 days ago | IN | 0 ETH | 0.00096588 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
17766111 | 510 days ago | 1 ETH |
Loading...
Loading
Contract Name:
UwuCoin
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // UWUVERSE is a project for the Crypto Sensei. We believe that AI Waifus are a // future for friendship & unlocking one’s full potential. There will be dozens // of WaifuTools accessible by holding $UWUAI Tokens. Only the heaviest $UWUAI // whales will unlock secret Waifu Bots in the UWUVERSE (.❛ᴗ❛.)╭ // // Website: https://uwuverse.com // Telegram: https://t.me/uwuverse // Twitter: https://twitter.com/uwuverse_ai /* ======================================================== _ ___ ___ ___ _______ ____ ____ _____ | | | \ \ / | | | \ \ / | ____| _ \/ ___|| ____| | | | |\ \ /\ / /| | | |\ \ / /| _| | |_) \___ \| _| | |_| | \ V V / | |_| | \ V / | |___| _ < ___) | |___ \___/ \_/\_/ \___/ \_/ |_____|_| \_|____/|_____| ======================================================== ████████ ████████ ████ ██▓▓▒▒▓▓████ ██ ██ ██ ██████████ ██▒▒████▓▓▓▓██ ░░ ░░ ██ ██████████▒▒▒▒▓▓▒▒██ ██▓▓██░░████ ░░░░░░░░░░░░░░ ██▓▓▓▓▒▒▒▒▒▒▒▒████▒▒██ ████░░██ ░░████████████░░░░░░░░ ▓▓▓▓▓▓▓▓████░░██▓▓██ ████ ░░▓▓▓▓▓▓▓▓████▓▓▓▓██▓▓░░░░▒▒██▓▓██▒▒▒▒░░██▓▓▓▓ ██░░▓▓▒▒▓▓▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓░░░░░░██░░░░ ██▓▓▓▓ ██ ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓████░░░░██░░░░██▓▓██ ██░░██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓██░░██░░██▓▓██ ██▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓██░░██▓▓██ ██▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓██░░██████ ██▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓██▓▓▓▓██ ██▒▒▒▒▒▒▓▓██▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▓▓▒▒▒▒▒▒▓▓▓▓▓▓▓▓██ ██▒▒▒▒▒▒▓▓██▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▓▓▒▒▒▒▒▒▓▓▓▓▓▓▓▓██ ██▒▒▒▒▓▓████▒▒▒▒▒▒▓▓██▒▒▒▒▓▓▓▓▒▒▒▒▒▒▓▓▓▓▓▓▓▓██ ██████░░░░██▒▒▒▒▓▓██▒▒▒▒▓▓██▒▒▒▒▒▒▓▓▓▓▓▓▓▓██ ██▓▓██▓▓▓▓▓▓░░██████░░██████▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓██ ██▓▓██ ▒▒▒▒░░░░░░░░▓▓▓▓▓▓▒▒██▒▒▒▒▓▓▓▓▓▓▓▓▓▓██ ██▓▓▓▓░░░░░░░░░░░░░░ ▒▒▒▒░░▓▓▒▒▒▒▓▓▓▓▓▓▓▓██ ██▒▒██░░ ░░░░░░░░██▒▒▒▒▓▓▓▓▓▓▓▓▓▓██ ██▒▒▓▓██ ▓▓░░ ░░██▒▒▒▒▓▓▓▓▓▓▓▓▓▓██ ██▒▒██ ██▒▒▒▒▓▓▓▓▓▓▓▓▓▓██ ██▒▒██░░ ▒▒▒▒ ░░████▓▓▓▓▓▓▓▓██ ██▓▓██ ░░░░ ░░██░░██▒▒▓▓▓▓██ ██▒▒▓▓▓▓▓▓ ░░▓▓▒▒▓▓▒▒▒▒████ ██ ██▓▓██░░████████░░░░██████ ██ ░░░░████ ██░░██ ░░░░██ ██ ░░▓▓░░░░████░░░░██ ██░░▓▓██ ██████ ██ ▒▒░░▓▓░░▓▓▓▓▓▓██▓▓██▓▓▓▓░░░░░░░░▓▓██░░░░░░██ ██ ░░░░▓▓░░▓▓▓▓▓▓██▓▓██▓▓▓▓██░░░░░░░░░░██ ░░░░██ ██ ░░██░░██████░░██▓▓▓▓████░░░░ ░░██ ░░░░░░██ ██▓▓██░░██░░░░░░░░░░░░██▓▓██░░░░ ░░██ ░░░░████ ██▒▒▓▓▓▓██ ░░░░░░░░░░░░████░░░░░░░░░░██ ░░██▓▓▓▓██ ██▒▒▓▓██ ░░░░░░░░░░░░░░░░░░░░░░██ ██▓▓▓▓▓▓▓▓██ ██▒▒▓▓██ ░░██░░██░░ ░░░░██░░██ ░░██▓▓▓▓▓▓▓▓██ ██▒▒▓▓▓▓██ ░░░░██ ░░██░░██ ██▓▓▓▓▓▓▓▓▓▓▓▓██ ██▒▒▓▓██░░ ░░██ ░░░░██ ██▓▓▓▓▒▒▓▓▒▒▓▓██ ██▓▓████░░░░ ░░░░██ ░░░░██ ░░██▓▓▒▒▒▒▒▒▒▒▓▓██ ██████ ████░░░░░░██ ░░░░██ ░░██▓▓▓▓▒▒▒▒▒▒▓▓▓▓██ ██░░░░██ ░░░░██▓▓░░██░░ ░░░░░░▓▓ ░░██▓▓▓▓▓▓▓▓▓▓▓▓▓▓██ ██░░██░░ ██████░░░░░░░░░░██▓▓██▓▓░░░░██▓▓▓▓▓▓▓▓▓▓▓▓██ ████░░░░ ░░░░ ▓▓▓▓██████░░ ▒▒██░░░░██▓▓▒▒▓▓▓▓▓▓▓▓████ ██░░░░░░░░░░░░░░ ░░░░██░░██▓▓▓▓▓▓▓▓▓▓██░░░░██ ██░░░░░░░░░░▒▒░░░░ ░░░░░░████▓▓▓▓▓▓██████░░░░████ ██░░░░░░░░████░░▒▒░░░░░░░░░░░░░░░░██▓▓██████░░░░░░░░██ ░░██████▓▓▓▓▓▓██░░░░░░░░░░░░░░░░██▓▓▓▓██▒▒░░ ▓▓████ ██▓▓▓▓▓▓▓▓▓▓▓▓████░░░░░░░░████▓▓▓▓██ ██░░██ ██▒▒▓▓▒▒▒▒▒▒▓▓▓▓▓▓████████▓▓▓▓▓▓▓▓████████░░░░██ */ pragma solidity ^0.8.17; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( 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 swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); 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 getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); } interface IDexFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface ILpPair { function sync() external; } /** * @dev This is the UWU token. */ contract UwuCoin is ERC20, Ownable { using SafeMath for uint256; uint256 public maxBuyAmt; uint256 public maxSellAmt; uint256 public maxWalletAmt; IDexRouter public immutable dexRouter; // @dev - weth address public immutable lpPair; // @dev - weth IERC20Metadata public immutable PAIREDTOKEN; bool private swapping; uint256 public swapTokensAtAmt; address public marketingAndBuybacksAddress; address public dogsbody; uint256 public tradingLiveBlock = 0; // 0 means trading is not active bool public limitsActive = true; bool public tradingLive = false; bool public swapEnabled = false; uint256 public constant FEE_DIVISOR = 10000; uint256 public buyTotalTax; uint256 public sellTotalTax; mapping(address => bool) private _isExcludedFromTax; mapping(address => bool) public _isExcludedMaxTransactionAmt; mapping(address => bool) public automatedMarketMakerPairs; event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event StartedTrading(uint ethAmount, uint tokenAmt, uint block); event RemovedLimits(); event ExcludeFromTax(address indexed account, bool isExcluded); event UpdatedMaxBuyAmt(uint256 newAmt); event UpdatedMaxSellAmt(uint256 newAmt); event UpdatedMaxWalletAmt(uint256 newAmt); event UpdatedBuyTax(uint256 newAmt); event UpdatedSellTax(uint256 newAmt); event UpdatedMarketingAndBuybacksAddress(address indexed newWallet); event UpdatedDevelopmentAddress(address indexed newWallet); event UpdatedLiquidityAddress(address indexed newWallet); event MaxTransactionExclusion(address _address, bool excluded); event OwnerForcedSwapBack(uint256 timestamp); event CaughtEarlyBuyer(address sniper); event TransferForeignToken(address token, uint256 amt); /** * @dev will use WETH as the lpPair of choice. */ constructor(address _marketingAddress, address _team1, address _team2) ERC20("Uwuverse.ai", "UWUAI") { address _dexRouter; if (block.chainid == 1 || block.chainid == 5 || block.chainid == 31337) { _dexRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // Ethereum: Uniswap V2 } else if (block.chainid == 11155111) { _dexRouter = 0xC532a74256D3Db42D0Bf7a0400fEFDbad7694008; // Ethereum: Uniswap V2 } else { revert("Chain not configured"); } address newOwner = msg.sender; // deployer can still fix things like address but won't be able to do owner things post renounce. dogsbody = msg.sender; dexRouter = IDexRouter(_dexRouter); // paired token is WETH PAIREDTOKEN = IERC20Metadata(dexRouter.WETH()); require(PAIREDTOKEN.decimals() > 0, "Incorrect liquidity token"); // create pair lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), address(PAIREDTOKEN)); setAutomatedMarketMakerPair(address(lpPair), true); // 420,690,000,000,000 uint256 totalSupply = 420690 * 1e9 * 1e18; maxBuyAmt = (totalSupply * 1) / 100; maxSellAmt = (totalSupply * 2) / 100; maxWalletAmt = (totalSupply * 3) / 100; swapTokensAtAmt = (totalSupply * 25) / 100000; buyTotalTax = 200; sellTotalTax = 3500; // initial set high // @dev set from constructor marketingAndBuybacksAddress = address(_marketingAddress); _excludeFromMaxTransaction(newOwner, true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(address(dexRouter), true); _excludeFromMaxTransaction(address(0xdead), true); _excludeFromMaxTransaction(address(marketingAndBuybacksAddress), true); _excludeFromMaxTransaction(address(_team1), true); _excludeFromMaxTransaction(address(_team2), true); excludeFromTax(newOwner, true); excludeFromTax(address(this), true); excludeFromTax(address(dexRouter), true); excludeFromTax(address(0xdead), true); excludeFromTax(address(marketingAndBuybacksAddress), true); excludeFromTax(address(_team1), true); excludeFromTax(address(_team2), true); // mint 100% here _mint(address(this), totalSupply); // transfer % to newOwner _transfer(address(this), newOwner, (totalSupply * 6) / 100); _transfer(address(this), _team1, (totalSupply * 2) / 100); _transfer(address(this), _team2, (totalSupply * 2) / 100); transferOwnership(newOwner); PAIREDTOKEN.approve(address(dexRouter), type(uint256).max); _approve(address(this), address(dexRouter), type(uint256).max); } receive() external payable {} /** * @dev Throws if called by any account other than the dogsbody. */ modifier onlyDogsbody() { _checkDogsbody(); _; } /** * @dev Throws if the sender is not the dogsbody. */ function _checkDogsbody() internal view virtual { require(dogsbody == _msgSender(), "Dogsbody: caller is not the dogsbody"); } function updateAllowanceForSwapping() external { PAIREDTOKEN.approve(address(dexRouter), type(uint256).max); _approve(address(this), address(dexRouter), type(uint256).max); } // @dev - you must have ETH and Tokens in place before flicking this switch function startTrading() external payable onlyOwner { require(!tradingLive, "Trading is already active, cannot relaunch."); uint256 amountTokenDesired = balanceOf(address(this)); // 100% of the balance assigned to this contract require(msg.value > 0, "Cannot start trading with no eth!"); require(amountTokenDesired > 0, "Cannot start trading with no tokens!"); dexRouter.addLiquidityETH{value: msg.value}(address(this), amountTokenDesired, 0, 0, owner(), block.timestamp); tradingLive = true; swapEnabled = true; tradingLiveBlock = block.number; emit StartedTrading(msg.value, amountTokenDesired, block.timestamp); } // remove limits after token is stable function removeLimits() external onlyOwner { limitsActive = false; emit RemovedLimits(); } function updateMaxBuyAmt(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 1) / 100) / 1e18, "Cannot set max buy amt lower than 1%"); maxBuyAmt = newNum * (10 ** 18); emit UpdatedMaxBuyAmt(maxBuyAmt); } function updateMaxSellAmt(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 1) / 100) / 1e18, "Cannot set max sell amt lower than 1%"); maxSellAmt = newNum * (10 ** 18); emit UpdatedMaxSellAmt(maxSellAmt); } function removeMaxWallet() external onlyOwner { maxWalletAmt = totalSupply(); emit UpdatedMaxWalletAmt(maxWalletAmt); } function updateSwapTokensAtAmt(uint256 newAmt) external onlyOwner { require(newAmt >= (totalSupply() * 1) / 1000000, "Swap amt cannot be lower than 0.0001% total supply."); require(newAmt <= (totalSupply() * 1) / 1000, "Swap amt cannot be higher than 0.1% total supply."); swapTokensAtAmt = newAmt; } function _excludeFromMaxTransaction(address updAds, bool isExcluded) private { _isExcludedMaxTransactionAmt[updAds] = isExcluded; emit MaxTransactionExclusion(updAds, isExcluded); } function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner { if (!isEx) { require(updAds != lpPair, "Cannot remove uniswap pair from max txn"); } _isExcludedMaxTransactionAmt[updAds] = isEx; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != lpPair || value, "The pair cannot be removed from automatedMarketMakerPairs"); automatedMarketMakerPairs[pair] = value; _excludeFromMaxTransaction(pair, value); emit SetAutomatedMarketMakerPair(pair, value); } function updateBuyTax(uint256 _marketingAndBuybacksTax) external onlyOwner { buyTotalTax = _marketingAndBuybacksTax; require(buyTotalTax <= 700, "Must keep tax at 7% or less"); emit UpdatedBuyTax(buyTotalTax); } function updateSellTax(uint256 _marketingAndBuybacksTax) external onlyOwner { sellTotalTax = _marketingAndBuybacksTax; require(sellTotalTax <= 700, "Must keep tax at 7% or less"); emit UpdatedSellTax(sellTotalTax); } function excludeFromTax(address account, bool excluded) public onlyOwner { _isExcludedFromTax[account] = excluded; emit ExcludeFromTax(account, excluded); } function _transfer(address from, address to, uint256 amt) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amt == 0) { super._transfer(from, to, 0); return; } if (!tradingLive) { require(_isExcludedFromTax[from] || _isExcludedFromTax[to], "Trading is not active."); } if (_isExcludedFromTax[from] || _isExcludedFromTax[to] || swapping) { super._transfer(from, to, amt); return; } if (limitsActive) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_isExcludedFromTax[from] && !_isExcludedFromTax[to] ) { if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmt[to]) { // if buy require(amt <= maxBuyAmt, "Buy transfer amt exceeds the max buy."); require(amt + balanceOf(to) <= maxWalletAmt, "Cannot Exceed max wallet"); } else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmt[from]) { // else if sell require(amt <= maxSellAmt, "Sell transfer amt exceeds the max sell."); } else if (!_isExcludedMaxTransactionAmt[to]) { // else all others require(amt + balanceOf(to) <= maxWalletAmt, "Cannot Exceed max wallet"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmt; if (canSwap && swapEnabled && !swapping && automatedMarketMakerPairs[to]) { swapping = true; swapBack(); swapping = false; } bool takeTax = true; // if any account belongs to _isExcludedFromTax account then remove the tax if (_isExcludedFromTax[from] || _isExcludedFromTax[to]) { takeTax = false; } // only take tax on buys/sells, do not take on wallet transfers if (takeTax) { uint256 tax = 0; if (automatedMarketMakerPairs[to] && sellTotalTax > 0) { // if sell tax = (amt * sellTotalTax) / FEE_DIVISOR; } else if (automatedMarketMakerPairs[from] && buyTotalTax > 0) { // else if buy tax = (amt * buyTotalTax) / FEE_DIVISOR; } if (tax > 0) { super._transfer(from, address(this), tax); } amt -= tax; } super._transfer(from, to, amt); } function swapTokensForPAIREDTOKEN(uint256 tokenAmt, address recipient) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = dexRouter.WETH(); _approve(address(this), address(dexRouter), tokenAmt); // make the swap dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmt, 0, // accept any amt of ETH path, address(recipient), block.timestamp ); if (PAIREDTOKEN.balanceOf(address(this)) > 0) { SafeERC20.safeTransfer(PAIREDTOKEN, recipient, PAIREDTOKEN.balanceOf(address(this))); } } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } // only ever do 1% if (contractBalance > swapTokensAtAmt * 40) { contractBalance = swapTokensAtAmt * 40; } // swap and send to our marketing address... swapTokensForPAIREDTOKEN(contractBalance, marketingAndBuybacksAddress); } // @notice we can let the dogsbody address and owner call this. Will let it be called after renounce. function setMarketingAndBuybacksAddress(address _marketingAndBuybacksAddress) external onlyDogsbody { require(_marketingAndBuybacksAddress != address(0), "address cannot be 0"); marketingAndBuybacksAddress = payable(_marketingAndBuybacksAddress); emit UpdatedMarketingAndBuybacksAddress(_marketingAndBuybacksAddress); } // @dev force Swap back if slippage issues. // @notice we can let the dogsbody address and owner call this. Will let it be called after renounce. function forceSwapBack() external onlyDogsbody { require( balanceOf(address(this)) >= swapTokensAtAmt, "Can only swap when token amt is at or higher than restriction" ); swapping = true; swapBack(); swapping = false; emit OwnerForcedSwapBack(block.timestamp); } // @dev transfer any weird tokens to marketing address // @notice we can let the dogsbody address and owner call this. Will let it be called after renounce. function transferForeignToken(address _token) external onlyDogsbody { require(_token != address(0), "_token address cannot be 0"); require(_token != address(this) || !tradingLive, "Can't withdraw native tokens"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); SafeERC20.safeTransfer(IERC20(_token), marketingAndBuybacksAddress, _contractBalance); emit TransferForeignToken(_token, _contractBalance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 2000 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"},{"internalType":"address","name":"_team1","type":"address"},{"internalType":"address","name":"_team2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sniper","type":"address"}],"name":"CaughtEarlyBuyer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":[],"name":"RemovedLimits","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":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"}],"name":"StartedTrading","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedDevelopmentAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedLiquidityAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedMarketingAndBuybacksAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxBuyAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxSellAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxWalletAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedSellTax","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAIREDTOKEN","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","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":[],"name":"buyTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dogsbody","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapBack","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":"limitsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAndBuybacksAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmt","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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAndBuybacksAddress","type":"address"}],"name":"setMarketingAndBuybacksAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingLiveBlock","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":"_token","type":"address"}],"name":"transferForeignToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateAllowanceForSwapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingAndBuybacksTax","type":"uint256"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingAndBuybacksTax","type":"uint256"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"updateSwapTokensAtAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040526000600d55600e805462ffffff191660011790553480156200002557600080fd5b5060405162004e3438038062004e34833981016040819052620000489162001953565b6040518060400160405280600b81526020016a55777576657273652e616960a81b81525060405180604001604052806005815260200164555755414960d81b81525081600390816200009b919062001a39565b506004620000aa828262001a39565b505050620000c7620000c16200065160201b60201c565b62000655565b60004660011480620000d95750466005145b80620000e6575046617a69145b15620001085750737a250d5630b4cf539739df2c5dacb4c659f2488d6200017c565b4662aa36a7036200012f575073c532a74256d3db42d0bf7a0400fefdbad76940086200017c565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b600c80546001600160a01b031916339081179091556001600160a01b0382166080819052604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa158015620001dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000202919062001b05565b6001600160a01b031660c08190526040805163313ce56760e01b815290516000929163313ce5679160048083019260209291908290030181865afa1580156200024f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000275919062001b2a565b60ff1611620002c75760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374206c697175696469747920746f6b656e00000000000000604482015260640162000173565b6080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000308573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032e919062001b05565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000380573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a6919062001b05565b6001600160a01b031660a0819052620003c1906001620006a7565b6d14bddab3e51a57cff87a500000006064620003df82600162001b65565b620003eb919062001b85565b6006556064620003fd82600262001b65565b62000409919062001b85565b60075560646200041b82600362001b65565b62000427919062001b85565b600855620186a06200043b82601962001b65565b62000447919062001b85565b600a5560c8600f55610dac601055600b80546001600160a01b0319166001600160a01b0388161790556200047d826001620007b2565b6200048a306001620007b2565b6080516200049a906001620007b2565b620004a961dead6001620007b2565b600b54620004c2906001600160a01b03166001620007b2565b620004cf856001620007b2565b620004dc846001620007b2565b620004e982600162000815565b620004f630600162000815565b6080516200050690600162000815565b6200051561dead600162000815565b600b546200052e906001600160a01b0316600162000815565b6200053b85600162000815565b6200054884600162000815565b6200055430826200087e565b6200057b308360646200056985600662001b65565b62000575919062001b85565b62000930565b62000590308660646200056985600262001b65565b620005a5308560646200056985600262001b65565b620005b08262001006565b60c05160805160405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000607573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200062d919062001ba8565b5062000645306080516000196200108560201b60201c565b50505050505062001d14565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620006b1620011ad565b60a0516001600160a01b0316826001600160a01b0316141580620006d25750805b620007465760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840162000173565b6001600160a01b0382166000908152601360205260409020805460ff1916821515179055620007768282620007b2565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6200081f620011ad565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b6001600160a01b038216620008d65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000173565b8060026000828254620008ea919062001bcc565b90915550506001600160a01b0382166000818152602081815260408083208054860190555184815260008051602062004e14833981519152910160405180910390a35050565b6001600160a01b038316620009855760405162461bcd60e51b8152602060048201526025602482015260008051602062004df4833981519152604482015264647265737360d81b606482015260840162000173565b6001600160a01b038216620009d85760405162461bcd60e51b8152602060048201526023602482015260008051602062004dd483398151915260448201526265737360e81b606482015260840162000173565b80600003620009ff57620009fa838360006200120b60201b620019d71760201c565b505050565b600e54610100900460ff1662000a9d576001600160a01b03831660009081526011602052604090205460ff168062000a4f57506001600160a01b03821660009081526011602052604090205460ff165b62000a9d5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e00000000000000000000604482015260640162000173565b6001600160a01b03831660009081526011602052604090205460ff168062000add57506001600160a01b03821660009081526011602052604090205460ff165b8062000aeb575060095460ff165b1562000b0957620009fa8383836200120b60201b620019d71760201c565b600e5460ff161562000e2e576005546001600160a01b0384811691161480159062000b4257506005546001600160a01b03838116911614155b801562000b5757506001600160a01b03821615155b801562000b6f57506001600160a01b03821661dead14155b801562000b9557506001600160a01b03831660009081526011602052604090205460ff16155b801562000bbb57506001600160a01b03821660009081526011602052604090205460ff16155b1562000e2e576001600160a01b03831660009081526013602052604090205460ff16801562000c0357506001600160a01b03821660009081526012602052604090205460ff16155b1562000ce95760065481111562000c6b5760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d74206578636565647320746865206d617860448201526410313abc9760d91b606482015260840162000173565b6008546001600160a01b03831660009081526020819052604090205462000c93908362001bcc565b111562000ce35760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c65740000000000000000604482015260640162000173565b62000e2e565b6001600160a01b03821660009081526013602052604090205460ff16801562000d2b57506001600160a01b03831660009081526012602052604090205460ff16155b1562000d955760075481111562000ce35760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d74206578636565647320746865206d616044820152663c1039b2b6361760c91b606482015260840162000173565b6001600160a01b03821660009081526012602052604090205460ff1662000e2e576008546001600160a01b03831660009081526020819052604090205462000dde908362001bcc565b111562000e2e5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c65740000000000000000604482015260640162000173565b30600090815260208190526040902054600a548110801590819062000e5b5750600e5462010000900460ff165b801562000e6b575060095460ff16155b801562000e9057506001600160a01b03841660009081526013602052604090205460ff165b1562000eb8576009805460ff1916600117905562000ead62001383565b6009805460ff191690555b6001600160a01b03851660009081526011602052604090205460019060ff168062000efb57506001600160a01b03851660009081526011602052604090205460ff165b1562000f05575060005b801562000fe6576001600160a01b03851660009081526013602052604081205460ff16801562000f3757506000601054115b1562000f64576127106010548662000f50919062001b65565b62000f5c919062001b85565b905062000fb7565b6001600160a01b03871660009081526013602052604090205460ff16801562000f8f57506000600f54115b1562000fb757612710600f548662000fa8919062001b65565b62000fb4919062001b85565b90505b801562000fd65762000fd68730836200120b60201b620019d71760201c565b62000fe2818662001be2565b9450505b62000ffe8686866200120b60201b620019d71760201c565b505050505050565b62001010620011ad565b6001600160a01b038116620010775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000173565b620010828162000655565b50565b6001600160a01b038316620010e95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000173565b6001600160a01b0382166200114c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000173565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314620012095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000173565b565b6001600160a01b038316620012605760405162461bcd60e51b8152602060048201526025602482015260008051602062004df4833981519152604482015264647265737360d81b606482015260840162000173565b6001600160a01b038216620012b35760405162461bcd60e51b8152602060048201526023602482015260008051602062004dd483398151915260448201526265737360e81b606482015260840162000173565b6001600160a01b038316600090815260208190526040902054818110156200132d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840162000173565b6001600160a01b038481166000818152602081815260408083208787039055938716808352918490208054870190559251858152909260008051602062004e14833981519152910160405180910390a350505050565b30600090815260208190526040812054908190036200139f5750565b600a54620013af90602862001b65565b811115620013ca57600a54620013c790602862001b65565b90505b600b54604080516002808252606082018352620010829385936001600160a01b0390911692600092909160208301908036833701905050905030816000815181106200141a576200141a62001bf8565b60200260200101906001600160a01b031690816001600160a01b0316815250506080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200147b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014a1919062001b05565b81600181518110620014b757620014b762001bf8565b60200260200101906001600160a01b031690816001600160a01b031681525050620014ec30608051856200108560201b60201c565b6080516001600160a01b0316635c11d7958460008486426040518663ffffffff1660e01b81526004016200152595949392919062001c0e565b600060405180830381600087803b1580156200154057600080fd5b505af115801562001555573d6000803e3d6000fd5b505060c0516040516370a0823160e01b8152306004820152600093506001600160a01b0390911691506370a0823190602401602060405180830381865afa158015620015a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015cb919062001c81565b1115620009fa5760c0516040516370a0823160e01b8152306004820152620009fa919084906001600160a01b038316906370a0823190602401602060405180830381865afa15801562001622573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001648919062001c81565b6200165960201b62001bc61760201c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663a9059cbb60e01b17909152620009fa918591620016b116565b60006200170d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200179260201b62001c4b179092919060201c565b90508051600014806200173157508080602001905181019062001731919062001ba8565b620009fa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162000173565b6060620017a38484600085620017ab565b949350505050565b6060824710156200180e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162000173565b600080866001600160a01b031685876040516200182c919062001cc1565b60006040518083038185875af1925050503d80600081146200186b576040519150601f19603f3d011682016040523d82523d6000602084013e62001870565b606091505b50909250905062001884878383876200188f565b979650505050505050565b6060831562001903578251600003620018fb576001600160a01b0385163b620018fb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000173565b5081620017a3565b620017a383838151156200191a5781518083602001fd5b8060405162461bcd60e51b815260040162000173919062001cdf565b80516001600160a01b03811681146200194e57600080fd5b919050565b6000806000606084860312156200196957600080fd5b620019748462001936565b9250620019846020850162001936565b9150620019946040850162001936565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620019c857607f821691505b602082108103620019e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620009fa57600081815260208120601f850160051c8101602086101562001a185750805b601f850160051c820191505b8181101562000ffe5782815560010162001a24565b81516001600160401b0381111562001a555762001a556200199d565b62001a6d8162001a668454620019b3565b84620019ef565b602080601f83116001811462001aa5576000841562001a8c5750858301515b600019600386901b1c1916600185901b17855562000ffe565b600085815260208120601f198616915b8281101562001ad65788860151825594840194600190910190840162001ab5565b508582101562001af55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562001b1857600080fd5b62001b238262001936565b9392505050565b60006020828403121562001b3d57600080fd5b815160ff8116811462001b2357600080fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762001b7f5762001b7f62001b4f565b92915050565b60008262001ba357634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121562001bbb57600080fd5b8151801515811462001b2357600080fd5b8082018082111562001b7f5762001b7f62001b4f565b8181038181111562001b7f5762001b7f62001b4f565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101562001c605784516001600160a01b03168352938301939183019160010162001c39565b50506001600160a01b03969096166060850152505050608001529392505050565b60006020828403121562001c9457600080fd5b5051919050565b60005b8381101562001cb857818101518382015260200162001c9e565b50506000910152565b6000825162001cd581846020870162001c9b565b9190910192915050565b602081526000825180602084015262001d0081604085016020870162001c9b565b601f01601f19169190910160400192915050565b60805160a05160c05161304362001d91600039600081816104f601528181610adb01528181612ae40152612b7701526000818161056a01528181611129015261144201526000818161038901528181610aab01528181610b4f01528181610cf80152818161294f01528181612a080152612a5d01526130436000f3fe60806040526004361061030c5760003560e01c8063715018a61161019a578063ac1b129d116100e1578063dc07b6171161008a578063e27a55fe11610064578063e27a55fe146108b3578063e634e70a146108c9578063f2fde38b146108e957600080fd5b8063dc07b61714610838578063dc93cf701461084d578063dd62ed3e1461086d57600080fd5b8063c6a30647116100bb578063c6a30647146107d2578063c78d0fa0146107f2578063dae6a9821461080857600080fd5b8063ac1b129d14610776578063b62496f51461078c578063bb811508146107bc57600080fd5b806395d89b41116101435780639e93ad8e1161011d5780639e93ad8e14610720578063a457c2d714610736578063a9059cbb1461075657600080fd5b806395d89b41146106d55780639a7a23d6146106ea5780639cf551831461070a57600080fd5b806384d5a0f11161017457806384d5a0f114610677578063894dc39b146106975780638da5cb5b146106b757600080fd5b8063715018a61461062d578063751039fc146106425780637571336a1461065757600080fd5b8063313ce5671161025e578063452ed4f1116102075780635df6e68e116101e15780635df6e68e146105c15780636ddd1713146105d757806370a08231146105f757600080fd5b8063452ed4f1146105585780634df340e41461058c57806351f205e4146105ac57600080fd5b80633970124c116102385780633970124c146104e45780633e0a553114610518578063436d33401461053857600080fd5b8063313ce5671461049257806333cdacd9146104ae57806339509351146104c457600080fd5b806312185a39116102c057806323b872dd1161029a57806323b872dd146104555780632542489614610475578063293230b81461048a57600080fd5b806312185a39146103fa57806318160ddd1461041c5780631cce34ee1461043b57600080fd5b80630758d924116102f15780630758d92414610377578063095ea7b3146103ab57806311704f52146103db57600080fd5b806302f087a21461031857806306fdde031461035557600080fd5b3661031357005b600080fd5b34801561032457600080fd5b50600b54610338906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561036157600080fd5b5061036a610909565b60405161034c9190612cb5565b34801561038357600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b3480156103b757600080fd5b506103cb6103c6366004612d1b565b61099b565b604051901515815260200161034c565b3480156103e757600080fd5b50600e546103cb90610100900460ff1681565b34801561040657600080fd5b5061041a610415366004612d47565b6109b5565b005b34801561042857600080fd5b506002545b60405190815260200161034c565b34801561044757600080fd5b50600e546103cb9060ff1681565b34801561046157600080fd5b506103cb610470366004612d60565b610a57565b34801561048157600080fd5b5061041a610a7b565b61041a610b78565b34801561049e57600080fd5b506040516012815260200161034c565b3480156104ba57600080fd5b5061042d60075481565b3480156104d057600080fd5b506103cb6104df366004612d1b565b610e56565b3480156104f057600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b34801561052457600080fd5b50600c54610338906001600160a01b031681565b34801561054457600080fd5b5061041a610553366004612d47565b610e95565b34801561056457600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b34801561059857600080fd5b5061041a6105a7366004612da1565b610f27565b3480156105b857600080fd5b5061041a610fe7565b3480156105cd57600080fd5b5061042d600f5481565b3480156105e357600080fd5b50600e546103cb9062010000900460ff1681565b34801561060357600080fd5b5061042d610612366004612da1565b6001600160a01b031660009081526020819052604090205490565b34801561063957600080fd5b5061041a6110cb565b34801561064e57600080fd5b5061041a6110dd565b34801561066357600080fd5b5061041a610672366004612dd3565b61111a565b34801561068357600080fd5b5061041a610692366004612d47565b6111f9565b3480156106a357600080fd5b5061041a6106b2366004612d47565b6112ef565b3480156106c357600080fd5b506005546001600160a01b0316610338565b3480156106e157600080fd5b5061036a611429565b3480156106f657600080fd5b5061041a610705366004612dd3565b611438565b34801561071657600080fd5b5061042d600d5481565b34801561072c57600080fd5b5061042d61271081565b34801561074257600080fd5b506103cb610751366004612d1b565b61155a565b34801561076257600080fd5b506103cb610771366004612d1b565b611604565b34801561078257600080fd5b5061042d60065481565b34801561079857600080fd5b506103cb6107a7366004612da1565b60136020526000908152604090205460ff1681565b3480156107c857600080fd5b5061042d60085481565b3480156107de57600080fd5b5061041a6107ed366004612dd3565b611612565b3480156107fe57600080fd5b5061042d600a5481565b34801561081457600080fd5b506103cb610823366004612da1565b60126020526000908152604090205460ff1681565b34801561084457600080fd5b5061041a611679565b34801561085957600080fd5b5061041a610868366004612da1565b6116b9565b34801561087957600080fd5b5061042d610888366004612e0c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108bf57600080fd5b5061042d60105481565b3480156108d557600080fd5b5061041a6108e4366004612d47565b611850565b3480156108f557600080fd5b5061041a610904366004612da1565b611947565b60606003805461091890612e3a565b80601f016020809104026020016040519081016040528092919081815260200182805461094490612e3a565b80156109915780601f1061096657610100808354040283529160200191610991565b820191906000526020600020905b81548152906001019060200180831161097457829003601f168201915b5050505050905090565b6000336109a9818585611c62565b60019150505b92915050565b6109bd611dba565b60108190556102bc811115610a195760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c657373000000000060448201526064015b60405180910390fd5b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c97601054604051610a4c91815260200190565b60405180910390a150565b600033610a65858285611e14565b610a70858585611ea0565b506001949350505050565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b3906044016020604051808303816000875af1158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b489190612e74565b50610b76307f0000000000000000000000000000000000000000000000000000000000000000600019611c62565b565b610b80611dba565b600e54610100900460ff1615610bfe5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742072656c61756e63682e0000000000000000000000000000000000000000006064820152608401610a10565b3060009081526020819052604090205434610c815760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f742073746172742074726164696e672077697468206e6f2065746860448201527f21000000000000000000000000000000000000000000000000000000000000006064820152608401610a10565b60008111610cf65760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f742073746172742074726164696e672077697468206e6f20746f6b60448201527f656e7321000000000000000000000000000000000000000000000000000000006064820152608401610a10565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719343084600080610d3d6005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dbd573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610de29190612e91565b5050600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff16620101001790555043600d55604080513481526020810183905242918101919091527f943d399ab30f6cd548c2ea7f02893b55d03e93df56210eac334f5613b42be77390606001610a4c565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109a99082908690610e90908790612ed5565b611c62565b610e9d611dba565b600f8190556102bc811115610ef45760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c65737300000000006044820152606401610a10565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508600f54604051610a4c91815260200190565b610f2f612581565b6001600160a01b038116610f855760405162461bcd60e51b815260206004820152601360248201527f616464726573732063616e6e6f742062652030000000000000000000000000006044820152606401610a10565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f98d93069b62252296364a3e2b9a117e40ba5777b0097b6be97ca3a4845321f2e90600090a250565b610fef612581565b600a543060009081526020819052604090205410156110765760405162461bcd60e51b815260206004820152603d60248201527f43616e206f6e6c792073776170207768656e20746f6b656e20616d742069732060448201527f6174206f7220686967686572207468616e207265737472696374696f6e0000006064820152608401610a10565b6009805460ff1916600117905561108b612600565b6009805460ff191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a1565b6110d3611dba565b610b766000612658565b6110e5611dba565b600e805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b611122611dba565b806111ce577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036111ce5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201527f6d61782074786e000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b611201611dba565b670de0b6b3a7640000606461121560025490565b611220906001612ee8565b61122a9190612eff565b6112349190612eff565b8110156112a85760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d61782062757920616d74206c6f7765722074686160448201527f6e203125000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6112ba81670de0b6b3a7640000612ee8565b60068190556040519081527fbd0f1740caf821f78178ca26f0481f035268c600b91408a9a82dfb3a80b79a2990602001610a4c565b6112f7611dba565b620f424061130460025490565b61130f906001612ee8565b6113199190612eff565b81101561138e5760405162461bcd60e51b815260206004820152603360248201527f5377617020616d742063616e6e6f74206265206c6f776572207468616e20302e60448201527f303030312520746f74616c20737570706c792e000000000000000000000000006064820152608401610a10565b6103e861139a60025490565b6113a5906001612ee8565b6113af9190612eff565b8111156114245760405162461bcd60e51b815260206004820152603160248201527f5377617020616d742063616e6e6f7420626520686967686572207468616e203060448201527f2e312520746f74616c20737570706c792e0000000000000000000000000000006064820152608401610a10565b600a55565b60606004805461091890612e3a565b611440611dba565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614158061147e5750805b6114f05760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a10565b6001600160a01b0382166000908152601360205260409020805460ff191682151517905561151e82826126c2565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156115f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610a10565b610a708286868403611c62565b6000336109a9818585611ea0565b61161a611dba565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b611681611dba565b60025460088190556040519081527f5c2c6bbd255d68d22e47fbc0e1cbb9e5c5c2892d91144941f6b7f61d3b1c8a55906020016110c1565b6116c1612581565b6001600160a01b0381166117175760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a10565b6001600160a01b038116301415806117375750600e54610100900460ff16155b6117835760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610a10565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee9190612f21565b600b549091506118099083906001600160a01b031683611bc6565b604080516001600160a01b0384168152602081018390527fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e43891015b60405180910390a15050565b611858611dba565b670de0b6b3a7640000606461186c60025490565b611877906001612ee8565b6118819190612eff565b61188b9190612eff565b8110156119005760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782073656c6c20616d74206c6f77657220746860448201527f616e2031250000000000000000000000000000000000000000000000000000006064820152608401610a10565b61191281670de0b6b3a7640000612ee8565b60078190556040519081527fda3f4fd2455d333278e3d4e42bf292b30da257f729437c6264f483617cbf73f790602001610a4c565b61194f611dba565b6001600160a01b0381166119cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a10565b6119d481612658565b50565b6001600160a01b038316611a535760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b038216611acf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03831660009081526020819052604090205481811015611b5e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611c4690849061271e565b505050565b6060611c5a8484600085612806565b949350505050565b6001600160a01b038316611cdd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b038216611d595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a10565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611bc05781811015611e935760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a10565b611bc08484848403611c62565b6001600160a01b038316611f1c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b038216611f985760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a10565b80600003611fac57611c46838360006119d7565b600e54610100900460ff16612046576001600160a01b03831660009081526011602052604090205460ff1680611ffa57506001600160a01b03821660009081526011602052604090205460ff165b6120465760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610a10565b6001600160a01b03831660009081526011602052604090205460ff168061208557506001600160a01b03821660009081526011602052604090205460ff165b80612092575060095460ff165b156120a257611c468383836119d7565b600e5460ff16156123dc576005546001600160a01b038481169116148015906120d957506005546001600160a01b03838116911614155b80156120ed57506001600160a01b03821615155b801561210457506001600160a01b03821661dead14155b801561212957506001600160a01b03831660009081526011602052604090205460ff16155b801561214e57506001600160a01b03821660009081526011602052604090205460ff16155b156123dc576001600160a01b03831660009081526013602052604090205460ff16801561219457506001600160a01b03821660009081526012602052604090205460ff16155b1561228a576006548111156122115760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d74206578636565647320746865206d617860448201527f206275792e0000000000000000000000000000000000000000000000000000006064820152608401610a10565b6008546001600160a01b0383166000908152602081905260409020546122379083612ed5565b11156122855760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a10565b6123dc565b6001600160a01b03821660009081526013602052604090205460ff1680156122cb57506001600160a01b03831660009081526012602052604090205460ff16155b15612348576007548111156122855760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d74206578636565647320746865206d6160448201527f782073656c6c2e000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03821660009081526012602052604090205460ff166123dc576008546001600160a01b03831660009081526020819052604090205461238e9083612ed5565b11156123dc5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a10565b30600090815260208190526040902054600a54811080159081906124085750600e5462010000900460ff165b8015612417575060095460ff16155b801561243b57506001600160a01b03841660009081526013602052604090205460ff165b15612460576009805460ff19166001179055612455612600565b6009805460ff191690555b6001600160a01b03851660009081526011602052604090205460019060ff16806124a257506001600160a01b03851660009081526011602052604090205460ff165b156124ab575060005b801561256e576001600160a01b03851660009081526013602052604081205460ff1680156124db57506000601054115b1561250257612710601054866124f19190612ee8565b6124fb9190612eff565b905061254f565b6001600160a01b03871660009081526013602052604090205460ff16801561252c57506000600f54115b1561254f57612710600f54866125429190612ee8565b61254c9190612eff565b90505b8015612560576125608730836119d7565b61256a8186612f3a565b9450505b6125798686866119d7565b505050505050565b600c546001600160a01b03163314610b765760405162461bcd60e51b8152602060048201526024808201527f446f6773626f64793a2063616c6c6572206973206e6f742074686520646f677360448201527f626f6479000000000000000000000000000000000000000000000000000000006064820152608401610a10565b306000908152602081905260408120549081900361261b5750565b600a54612629906028612ee8565b81111561264157600a5461263e906028612ee8565b90505b600b546119d49082906001600160a01b03166128f8565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101611844565b6000612773826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c4b9092919063ffffffff16565b90508051600014806127945750808060200190518101906127949190612e74565b611c465760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610a10565b60608247101561287e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610a10565b600080866001600160a01b0316858760405161289a9190612f4d565b60006040518083038185875af1925050503d80600081146128d7576040519150601f19603f3d011682016040523d82523d6000602084013e6128dc565b606091505b50915091506128ed87838387612bf3565b979650505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061292d5761292d612f69565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190612f7f565b816001815181106129e2576129e2612f69565b60200260200101906001600160a01b031690816001600160a01b031681525050612a2d307f000000000000000000000000000000000000000000000000000000000000000085611c62565b6040517f5c11d7950000000000000000000000000000000000000000000000000000000081526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690635c11d79590612a9b908690600090869088904290600401612f9c565b600060405180830381600087803b158015612ab557600080fd5b505af1158015612ac9573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a0823190602401602060405180830381865afa158015612b34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b589190612f21565b1115611c46576040516370a0823160e01b8152306004820152611c46907f00000000000000000000000000000000000000000000000000000000000000009084906001600160a01b038316906370a0823190602401602060405180830381865afa158015612bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bee9190612f21565b611bc6565b60608315612c62578251600003612c5b576001600160a01b0385163b612c5b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a10565b5081611c5a565b611c5a8383815115612c775781518083602001fd5b8060405162461bcd60e51b8152600401610a109190612cb5565b60005b83811015612cac578181015183820152602001612c94565b50506000910152565b6020815260008251806020840152612cd4816040850160208701612c91565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6001600160a01b03811681146119d457600080fd5b60008060408385031215612d2e57600080fd5b8235612d3981612d06565b946020939093013593505050565b600060208284031215612d5957600080fd5b5035919050565b600080600060608486031215612d7557600080fd5b8335612d8081612d06565b92506020840135612d9081612d06565b929592945050506040919091013590565b600060208284031215612db357600080fd5b8135612dbe81612d06565b9392505050565b80151581146119d457600080fd5b60008060408385031215612de657600080fd5b8235612df181612d06565b91506020830135612e0181612dc5565b809150509250929050565b60008060408385031215612e1f57600080fd5b8235612e2a81612d06565b91506020830135612e0181612d06565b600181811c90821680612e4e57607f821691505b602082108103612e6e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612e8657600080fd5b8151612dbe81612dc5565b600080600060608486031215612ea657600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b808201808211156109af576109af612ebf565b80820281158282048414176109af576109af612ebf565b600082612f1c57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612f3357600080fd5b5051919050565b818103818111156109af576109af612ebf565b60008251612f5f818460208701612c91565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612f9157600080fd5b8151612dbe81612d06565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612fec5784516001600160a01b031683529383019391830191600101612fc7565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122080d6f25291f0eb3f7d36598e5202329d859dc6fadfaa5b63fc69ff04d499bf9164736f6c6343000811003345524332303a207472616e7366657220746f20746865207a65726f206164647245524332303a207472616e736665722066726f6d20746865207a65726f206164ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000095426f780ae81724a81113972a7565d02f68537a00000000000000000000000003321a49f225a469c751a75a3a4be640dc41a60b0000000000000000000000006d983967f845feadd2a16efe3513a56c51f96d6f
Deployed Bytecode
0x60806040526004361061030c5760003560e01c8063715018a61161019a578063ac1b129d116100e1578063dc07b6171161008a578063e27a55fe11610064578063e27a55fe146108b3578063e634e70a146108c9578063f2fde38b146108e957600080fd5b8063dc07b61714610838578063dc93cf701461084d578063dd62ed3e1461086d57600080fd5b8063c6a30647116100bb578063c6a30647146107d2578063c78d0fa0146107f2578063dae6a9821461080857600080fd5b8063ac1b129d14610776578063b62496f51461078c578063bb811508146107bc57600080fd5b806395d89b41116101435780639e93ad8e1161011d5780639e93ad8e14610720578063a457c2d714610736578063a9059cbb1461075657600080fd5b806395d89b41146106d55780639a7a23d6146106ea5780639cf551831461070a57600080fd5b806384d5a0f11161017457806384d5a0f114610677578063894dc39b146106975780638da5cb5b146106b757600080fd5b8063715018a61461062d578063751039fc146106425780637571336a1461065757600080fd5b8063313ce5671161025e578063452ed4f1116102075780635df6e68e116101e15780635df6e68e146105c15780636ddd1713146105d757806370a08231146105f757600080fd5b8063452ed4f1146105585780634df340e41461058c57806351f205e4146105ac57600080fd5b80633970124c116102385780633970124c146104e45780633e0a553114610518578063436d33401461053857600080fd5b8063313ce5671461049257806333cdacd9146104ae57806339509351146104c457600080fd5b806312185a39116102c057806323b872dd1161029a57806323b872dd146104555780632542489614610475578063293230b81461048a57600080fd5b806312185a39146103fa57806318160ddd1461041c5780631cce34ee1461043b57600080fd5b80630758d924116102f15780630758d92414610377578063095ea7b3146103ab57806311704f52146103db57600080fd5b806302f087a21461031857806306fdde031461035557600080fd5b3661031357005b600080fd5b34801561032457600080fd5b50600b54610338906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561036157600080fd5b5061036a610909565b60405161034c9190612cb5565b34801561038357600080fd5b506103387f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156103b757600080fd5b506103cb6103c6366004612d1b565b61099b565b604051901515815260200161034c565b3480156103e757600080fd5b50600e546103cb90610100900460ff1681565b34801561040657600080fd5b5061041a610415366004612d47565b6109b5565b005b34801561042857600080fd5b506002545b60405190815260200161034c565b34801561044757600080fd5b50600e546103cb9060ff1681565b34801561046157600080fd5b506103cb610470366004612d60565b610a57565b34801561048157600080fd5b5061041a610a7b565b61041a610b78565b34801561049e57600080fd5b506040516012815260200161034c565b3480156104ba57600080fd5b5061042d60075481565b3480156104d057600080fd5b506103cb6104df366004612d1b565b610e56565b3480156104f057600080fd5b506103387f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561052457600080fd5b50600c54610338906001600160a01b031681565b34801561054457600080fd5b5061041a610553366004612d47565b610e95565b34801561056457600080fd5b506103387f000000000000000000000000b05cbb7e51a8e0700badf2c1bd1f61031823520c81565b34801561059857600080fd5b5061041a6105a7366004612da1565b610f27565b3480156105b857600080fd5b5061041a610fe7565b3480156105cd57600080fd5b5061042d600f5481565b3480156105e357600080fd5b50600e546103cb9062010000900460ff1681565b34801561060357600080fd5b5061042d610612366004612da1565b6001600160a01b031660009081526020819052604090205490565b34801561063957600080fd5b5061041a6110cb565b34801561064e57600080fd5b5061041a6110dd565b34801561066357600080fd5b5061041a610672366004612dd3565b61111a565b34801561068357600080fd5b5061041a610692366004612d47565b6111f9565b3480156106a357600080fd5b5061041a6106b2366004612d47565b6112ef565b3480156106c357600080fd5b506005546001600160a01b0316610338565b3480156106e157600080fd5b5061036a611429565b3480156106f657600080fd5b5061041a610705366004612dd3565b611438565b34801561071657600080fd5b5061042d600d5481565b34801561072c57600080fd5b5061042d61271081565b34801561074257600080fd5b506103cb610751366004612d1b565b61155a565b34801561076257600080fd5b506103cb610771366004612d1b565b611604565b34801561078257600080fd5b5061042d60065481565b34801561079857600080fd5b506103cb6107a7366004612da1565b60136020526000908152604090205460ff1681565b3480156107c857600080fd5b5061042d60085481565b3480156107de57600080fd5b5061041a6107ed366004612dd3565b611612565b3480156107fe57600080fd5b5061042d600a5481565b34801561081457600080fd5b506103cb610823366004612da1565b60126020526000908152604090205460ff1681565b34801561084457600080fd5b5061041a611679565b34801561085957600080fd5b5061041a610868366004612da1565b6116b9565b34801561087957600080fd5b5061042d610888366004612e0c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108bf57600080fd5b5061042d60105481565b3480156108d557600080fd5b5061041a6108e4366004612d47565b611850565b3480156108f557600080fd5b5061041a610904366004612da1565b611947565b60606003805461091890612e3a565b80601f016020809104026020016040519081016040528092919081815260200182805461094490612e3a565b80156109915780601f1061096657610100808354040283529160200191610991565b820191906000526020600020905b81548152906001019060200180831161097457829003601f168201915b5050505050905090565b6000336109a9818585611c62565b60019150505b92915050565b6109bd611dba565b60108190556102bc811115610a195760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c657373000000000060448201526064015b60405180910390fd5b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c97601054604051610a4c91815260200190565b60405180910390a150565b600033610a65858285611e14565b610a70858585611ea0565b506001949350505050565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8116600483015260001960248301527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169063095ea7b3906044016020604051808303816000875af1158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b489190612e74565b50610b76307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600019611c62565b565b610b80611dba565b600e54610100900460ff1615610bfe5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742072656c61756e63682e0000000000000000000000000000000000000000006064820152608401610a10565b3060009081526020819052604090205434610c815760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f742073746172742074726164696e672077697468206e6f2065746860448201527f21000000000000000000000000000000000000000000000000000000000000006064820152608401610a10565b60008111610cf65760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f742073746172742074726164696e672077697468206e6f20746f6b60448201527f656e7321000000000000000000000000000000000000000000000000000000006064820152608401610a10565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719343084600080610d3d6005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dbd573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610de29190612e91565b5050600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff16620101001790555043600d55604080513481526020810183905242918101919091527f943d399ab30f6cd548c2ea7f02893b55d03e93df56210eac334f5613b42be77390606001610a4c565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109a99082908690610e90908790612ed5565b611c62565b610e9d611dba565b600f8190556102bc811115610ef45760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c65737300000000006044820152606401610a10565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508600f54604051610a4c91815260200190565b610f2f612581565b6001600160a01b038116610f855760405162461bcd60e51b815260206004820152601360248201527f616464726573732063616e6e6f742062652030000000000000000000000000006044820152606401610a10565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f98d93069b62252296364a3e2b9a117e40ba5777b0097b6be97ca3a4845321f2e90600090a250565b610fef612581565b600a543060009081526020819052604090205410156110765760405162461bcd60e51b815260206004820152603d60248201527f43616e206f6e6c792073776170207768656e20746f6b656e20616d742069732060448201527f6174206f7220686967686572207468616e207265737472696374696f6e0000006064820152608401610a10565b6009805460ff1916600117905561108b612600565b6009805460ff191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a1565b6110d3611dba565b610b766000612658565b6110e5611dba565b600e805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b611122611dba565b806111ce577f000000000000000000000000b05cbb7e51a8e0700badf2c1bd1f61031823520c6001600160a01b0316826001600160a01b0316036111ce5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201527f6d61782074786e000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b611201611dba565b670de0b6b3a7640000606461121560025490565b611220906001612ee8565b61122a9190612eff565b6112349190612eff565b8110156112a85760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d61782062757920616d74206c6f7765722074686160448201527f6e203125000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6112ba81670de0b6b3a7640000612ee8565b60068190556040519081527fbd0f1740caf821f78178ca26f0481f035268c600b91408a9a82dfb3a80b79a2990602001610a4c565b6112f7611dba565b620f424061130460025490565b61130f906001612ee8565b6113199190612eff565b81101561138e5760405162461bcd60e51b815260206004820152603360248201527f5377617020616d742063616e6e6f74206265206c6f776572207468616e20302e60448201527f303030312520746f74616c20737570706c792e000000000000000000000000006064820152608401610a10565b6103e861139a60025490565b6113a5906001612ee8565b6113af9190612eff565b8111156114245760405162461bcd60e51b815260206004820152603160248201527f5377617020616d742063616e6e6f7420626520686967686572207468616e203060448201527f2e312520746f74616c20737570706c792e0000000000000000000000000000006064820152608401610a10565b600a55565b60606004805461091890612e3a565b611440611dba565b7f000000000000000000000000b05cbb7e51a8e0700badf2c1bd1f61031823520c6001600160a01b0316826001600160a01b031614158061147e5750805b6114f05760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a10565b6001600160a01b0382166000908152601360205260409020805460ff191682151517905561151e82826126c2565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156115f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610a10565b610a708286868403611c62565b6000336109a9818585611ea0565b61161a611dba565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b611681611dba565b60025460088190556040519081527f5c2c6bbd255d68d22e47fbc0e1cbb9e5c5c2892d91144941f6b7f61d3b1c8a55906020016110c1565b6116c1612581565b6001600160a01b0381166117175760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a10565b6001600160a01b038116301415806117375750600e54610100900460ff16155b6117835760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610a10565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee9190612f21565b600b549091506118099083906001600160a01b031683611bc6565b604080516001600160a01b0384168152602081018390527fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e43891015b60405180910390a15050565b611858611dba565b670de0b6b3a7640000606461186c60025490565b611877906001612ee8565b6118819190612eff565b61188b9190612eff565b8110156119005760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782073656c6c20616d74206c6f77657220746860448201527f616e2031250000000000000000000000000000000000000000000000000000006064820152608401610a10565b61191281670de0b6b3a7640000612ee8565b60078190556040519081527fda3f4fd2455d333278e3d4e42bf292b30da257f729437c6264f483617cbf73f790602001610a4c565b61194f611dba565b6001600160a01b0381166119cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a10565b6119d481612658565b50565b6001600160a01b038316611a535760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b038216611acf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03831660009081526020819052604090205481811015611b5e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611c4690849061271e565b505050565b6060611c5a8484600085612806565b949350505050565b6001600160a01b038316611cdd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b038216611d595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a10565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611bc05781811015611e935760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a10565b611bc08484848403611c62565b6001600160a01b038316611f1c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b038216611f985760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a10565b80600003611fac57611c46838360006119d7565b600e54610100900460ff16612046576001600160a01b03831660009081526011602052604090205460ff1680611ffa57506001600160a01b03821660009081526011602052604090205460ff165b6120465760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610a10565b6001600160a01b03831660009081526011602052604090205460ff168061208557506001600160a01b03821660009081526011602052604090205460ff165b80612092575060095460ff165b156120a257611c468383836119d7565b600e5460ff16156123dc576005546001600160a01b038481169116148015906120d957506005546001600160a01b03838116911614155b80156120ed57506001600160a01b03821615155b801561210457506001600160a01b03821661dead14155b801561212957506001600160a01b03831660009081526011602052604090205460ff16155b801561214e57506001600160a01b03821660009081526011602052604090205460ff16155b156123dc576001600160a01b03831660009081526013602052604090205460ff16801561219457506001600160a01b03821660009081526012602052604090205460ff16155b1561228a576006548111156122115760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d74206578636565647320746865206d617860448201527f206275792e0000000000000000000000000000000000000000000000000000006064820152608401610a10565b6008546001600160a01b0383166000908152602081905260409020546122379083612ed5565b11156122855760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a10565b6123dc565b6001600160a01b03821660009081526013602052604090205460ff1680156122cb57506001600160a01b03831660009081526012602052604090205460ff16155b15612348576007548111156122855760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d74206578636565647320746865206d6160448201527f782073656c6c2e000000000000000000000000000000000000000000000000006064820152608401610a10565b6001600160a01b03821660009081526012602052604090205460ff166123dc576008546001600160a01b03831660009081526020819052604090205461238e9083612ed5565b11156123dc5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a10565b30600090815260208190526040902054600a54811080159081906124085750600e5462010000900460ff165b8015612417575060095460ff16155b801561243b57506001600160a01b03841660009081526013602052604090205460ff165b15612460576009805460ff19166001179055612455612600565b6009805460ff191690555b6001600160a01b03851660009081526011602052604090205460019060ff16806124a257506001600160a01b03851660009081526011602052604090205460ff165b156124ab575060005b801561256e576001600160a01b03851660009081526013602052604081205460ff1680156124db57506000601054115b1561250257612710601054866124f19190612ee8565b6124fb9190612eff565b905061254f565b6001600160a01b03871660009081526013602052604090205460ff16801561252c57506000600f54115b1561254f57612710600f54866125429190612ee8565b61254c9190612eff565b90505b8015612560576125608730836119d7565b61256a8186612f3a565b9450505b6125798686866119d7565b505050505050565b600c546001600160a01b03163314610b765760405162461bcd60e51b8152602060048201526024808201527f446f6773626f64793a2063616c6c6572206973206e6f742074686520646f677360448201527f626f6479000000000000000000000000000000000000000000000000000000006064820152608401610a10565b306000908152602081905260408120549081900361261b5750565b600a54612629906028612ee8565b81111561264157600a5461263e906028612ee8565b90505b600b546119d49082906001600160a01b03166128f8565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101611844565b6000612773826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c4b9092919063ffffffff16565b90508051600014806127945750808060200190518101906127949190612e74565b611c465760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610a10565b60608247101561287e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610a10565b600080866001600160a01b0316858760405161289a9190612f4d565b60006040518083038185875af1925050503d80600081146128d7576040519150601f19603f3d011682016040523d82523d6000602084013e6128dc565b606091505b50915091506128ed87838387612bf3565b979650505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061292d5761292d612f69565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190612f7f565b816001815181106129e2576129e2612f69565b60200260200101906001600160a01b031690816001600160a01b031681525050612a2d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d85611c62565b6040517f5c11d7950000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1690635c11d79590612a9b908690600090869088904290600401612f9c565b600060405180830381600087803b158015612ab557600080fd5b505af1158015612ac9573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031691506370a0823190602401602060405180830381865afa158015612b34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b589190612f21565b1115611c46576040516370a0823160e01b8152306004820152611c46907f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc29084906001600160a01b038316906370a0823190602401602060405180830381865afa158015612bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bee9190612f21565b611bc6565b60608315612c62578251600003612c5b576001600160a01b0385163b612c5b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a10565b5081611c5a565b611c5a8383815115612c775781518083602001fd5b8060405162461bcd60e51b8152600401610a109190612cb5565b60005b83811015612cac578181015183820152602001612c94565b50506000910152565b6020815260008251806020840152612cd4816040850160208701612c91565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6001600160a01b03811681146119d457600080fd5b60008060408385031215612d2e57600080fd5b8235612d3981612d06565b946020939093013593505050565b600060208284031215612d5957600080fd5b5035919050565b600080600060608486031215612d7557600080fd5b8335612d8081612d06565b92506020840135612d9081612d06565b929592945050506040919091013590565b600060208284031215612db357600080fd5b8135612dbe81612d06565b9392505050565b80151581146119d457600080fd5b60008060408385031215612de657600080fd5b8235612df181612d06565b91506020830135612e0181612dc5565b809150509250929050565b60008060408385031215612e1f57600080fd5b8235612e2a81612d06565b91506020830135612e0181612d06565b600181811c90821680612e4e57607f821691505b602082108103612e6e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612e8657600080fd5b8151612dbe81612dc5565b600080600060608486031215612ea657600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b808201808211156109af576109af612ebf565b80820281158282048414176109af576109af612ebf565b600082612f1c57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612f3357600080fd5b5051919050565b818103818111156109af576109af612ebf565b60008251612f5f818460208701612c91565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612f9157600080fd5b8151612dbe81612d06565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612fec5784516001600160a01b031683529383019391830191600101612fc7565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122080d6f25291f0eb3f7d36598e5202329d859dc6fadfaa5b63fc69ff04d499bf9164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000095426f780ae81724a81113972a7565d02f68537a00000000000000000000000003321a49f225a469c751a75a3a4be640dc41a60b0000000000000000000000006d983967f845feadd2a16efe3513a56c51f96d6f
-----Decoded View---------------
Arg [0] : _marketingAddress (address): 0x95426F780ae81724a81113972A7565d02F68537A
Arg [1] : _team1 (address): 0x03321A49F225A469c751A75A3A4bE640dC41A60B
Arg [2] : _team2 (address): 0x6d983967F845fEadD2A16EFE3513a56C51F96d6F
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000095426f780ae81724a81113972a7565d02f68537a
Arg [1] : 00000000000000000000000003321a49f225a469c751a75a3a4be640dc41a60b
Arg [2] : 0000000000000000000000006d983967f845feadd2a16efe3513a56c51f96d6f
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.