Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 241 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 18425537 | 316 days ago | IN | 0 ETH | 0.00029136 | ||||
Approve | 18418366 | 317 days ago | IN | 0 ETH | 0.00099394 | ||||
Approve | 18403815 | 319 days ago | IN | 0 ETH | 0.00034231 | ||||
Approve | 18400811 | 319 days ago | IN | 0 ETH | 0.0005312 | ||||
Approve | 18400710 | 319 days ago | IN | 0 ETH | 0.00058683 | ||||
Approve | 18400670 | 319 days ago | IN | 0 ETH | 0.00063225 | ||||
Approve | 18400646 | 319 days ago | IN | 0 ETH | 0.00038051 | ||||
Transfer | 18400645 | 319 days ago | IN | 0 ETH | 0.00107006 | ||||
Transfer | 18400639 | 319 days ago | IN | 0 ETH | 0.00057991 | ||||
Approve | 18400636 | 319 days ago | IN | 0 ETH | 0.00070242 | ||||
Approve | 18400636 | 319 days ago | IN | 0 ETH | 0.00089054 | ||||
Approve | 18400630 | 319 days ago | IN | 0 ETH | 0.00059291 | ||||
Approve | 18400628 | 319 days ago | IN | 0 ETH | 0.00060729 | ||||
Approve | 18400627 | 319 days ago | IN | 0 ETH | 0.00054161 | ||||
Approve | 18400627 | 319 days ago | IN | 0 ETH | 0.0005447 | ||||
Approve | 18400625 | 319 days ago | IN | 0 ETH | 0.00054601 | ||||
Approve | 18400622 | 319 days ago | IN | 0 ETH | 0.00056172 | ||||
Approve | 18400622 | 319 days ago | IN | 0 ETH | 0.00060374 | ||||
Approve | 18400614 | 319 days ago | IN | 0 ETH | 0.000593 | ||||
Approve | 18400610 | 319 days ago | IN | 0 ETH | 0.00060332 | ||||
Approve | 18400602 | 319 days ago | IN | 0 ETH | 0.00055033 | ||||
Approve | 18400592 | 319 days ago | IN | 0 ETH | 0.00058136 | ||||
Approve | 18400588 | 319 days ago | IN | 0 ETH | 0.00060038 | ||||
Approve | 18400587 | 319 days ago | IN | 0 ETH | 0.00054949 | ||||
Approve | 18400587 | 319 days ago | IN | 0 ETH | 0.00056021 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18403665 | 319 days ago | 0.00140348 ETH | ||||
18403665 | 319 days ago | 0.00140348 ETH | ||||
18401258 | 319 days ago | 0.00324282 ETH | ||||
18401258 | 319 days ago | 0.00324282 ETH | ||||
18400748 | 319 days ago | 0.00223802 ETH | ||||
18400748 | 319 days ago | 0.00223802 ETH | ||||
18400707 | 319 days ago | 0.00271021 ETH | ||||
18400707 | 319 days ago | 0.00271021 ETH | ||||
18400687 | 319 days ago | 0.00186269 ETH | ||||
18400687 | 319 days ago | 0.00186269 ETH | ||||
18400684 | 319 days ago | 0.00242283 ETH | ||||
18400684 | 319 days ago | 0.00242283 ETH | ||||
18400680 | 319 days ago | 0.00187013 ETH | ||||
18400680 | 319 days ago | 0.00187013 ETH | ||||
18400652 | 319 days ago | 0.00366201 ETH | ||||
18400652 | 319 days ago | 0.00366201 ETH | ||||
18400644 | 319 days ago | 0.00193508 ETH | ||||
18400644 | 319 days ago | 0.00193508 ETH | ||||
18400643 | 319 days ago | 0.00253107 ETH | ||||
18400643 | 319 days ago | 0.00253107 ETH | ||||
18400640 | 319 days ago | 0.00253107 ETH | ||||
18400640 | 319 days ago | 0.00253107 ETH | ||||
18400639 | 319 days ago | 0.00250101 ETH | ||||
18400639 | 319 days ago | 0.00250101 ETH | ||||
18400638 | 319 days ago | 0.00212825 ETH |
Loading...
Loading
Contract Name:
Genesis
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IUniswapV2Pair.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Router01.sol"; import "./IUniswapV2Router02.sol"; import "./safeMath.sol"; import "./Vote.sol"; import "./Staking.sol"; import "./GardenOfEden.sol"; /** :GENESIS: ?#@@@@@@@@@&J :&@@@@@@@@@@@@@&. .@@@@@@@@@@@&&@@@& B@@@@@@@@@@5GGJ@@@B #@@@@@@@@@@@@PPJ@@@#: ^@@@@@@@@@@@@B~#@@@@@#7. J@@@B&@@@@@@&P5P&@@@@@@G^ !&B5&B@@@@@PY@@@@@@@@@@@#: GB7&YP@@@@&~@@@@@@@@@@@@@@^ :&@BPJ?G&@@7B@@@@@@@@@@@@@@@. B@@@@&5!P&@@@@@&GP&@@@@@@@Y #@@&&5B@@@@@@#7&@@@@@@@@@# ?B#&&#GP5#@#7@@@@@@@@@@@& ?@@@@@@@@@Y~J@@@@@@@@@@@@B Y@@P@@@@@@@@&55@@@@@@@@@@@? ~@@@P?@@@@@@@@@#!!#@@@@@@@@ . P@@~7:?@@@@@@@@@@G@@@@@@@@~ .@GY@:~P@7G@@@@@@@@@@@@@@@@@? ~#!@:&@@@^@@@@@@@@@@@@@@@@? ^Y@&!G@@P?@@@@@@@@@@@@@@# :YP. J@@^~&@@@@@@@@@@B~ ~5B#BGJ~: We are Genesis DAO Empowered Together, Innovating for Tomorrow Website: http://genesisdao.link Twitter: https://twitter.com/GenesisDaoEth Telegram: https://t.me/GNS_DAO Mirror: https://mirror.xyz/genesis-deployer.eth **/ pragma experimental ABIEncoderV2; contract Genesis is ERC20, Ownable, Pausable, StakingContract, Vote, GardenOfEden { function pause() public onlyOwner { require(!paused(), "ERC20: Contract is already paused"); _pause(); } function unPause() public onlyOwner { require(paused(), "ERC20: Contract is not paused"); _unpause(); } using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public TreasuryWallet; uint256 public maxTxAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 private buyTreasuryFee; uint256 private buyLiquidityFee; uint256 public sellTotalFees; uint256 private sellTreasuryFee; uint256 private sellLiquidityFee; uint256 private tokensForTreasury; uint256 private tokensForLiquidity; uint256 private previousFee; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTransactionAmount; mapping(address => bool) private automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event TreasuryWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor() ERC20("Genesis", "GNS") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 _buyTreasuryFee = 25; uint256 _buyLiquidityFee = 0; uint256 _sellTreasuryFee = 30; uint256 _sellLiquidityFee = 0; uint256 totalSupply = 7000000 * 1e18; maxTxAmount = (totalSupply *2) / 100; maxWallet = (totalSupply *2) / 100; swapTokensAtAmount = (totalSupply * 5) / 10000; buyTreasuryFee = _buyTreasuryFee; buyLiquidityFee = _buyLiquidityFee; buyTotalFees = buyTreasuryFee + buyLiquidityFee; sellTreasuryFee = _sellTreasuryFee; sellLiquidityFee = _sellLiquidityFee; sellTotalFees = sellTreasuryFee + sellLiquidityFee; previousFee = sellTotalFees; TreasuryWallet = address(0xB464b7826C96a2466dB18BF2c77BD08eCFADF490); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, totalSupply); } receive() external payable {} function enableTrading() external onlyOwner{ tradingActive = true; swapEnabled = true; } function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateMaxWalletAndTxnAmount(uint256 newTxnNum, uint256 newMaxWalletNum) external onlyOwner { require( newTxnNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxTxn lower than 0.5%" ); require( newMaxWalletNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%" ); maxWallet = newMaxWalletNum * (10**18); maxTxAmount = newTxnNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function updateBuyFees( uint256 _TreasuryFee, uint256 _liquidityFee ) external onlyOwner { buyTreasuryFee = _TreasuryFee; buyLiquidityFee = _liquidityFee; buyTotalFees = buyTreasuryFee + buyLiquidityFee; require(buyTotalFees <= 45, "Must keep fees at 45% or less"); } function updateSellFees( uint256 _TreasuryFee, uint256 _liquidityFee ) external onlyOwner { sellTreasuryFee = _TreasuryFee; sellLiquidityFee = _liquidityFee; sellTotalFees = sellTreasuryFee + sellLiquidityFee; previousFee = sellTotalFees; require(sellTotalFees <= 45, "Must keep fees at 45% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private whenNotPaused(){ automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTxAmount, "Buy transfer amount exceeds the maxTxAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTxAmount, "Sell transfer amount exceeds the maxTxAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForTreasury += (fees * sellTreasuryFee) / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); sellTotalFees = previousFee; } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, deadAddress, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForTreasury; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForTreasury = ethBalance.mul(tokensForTreasury).div( totalTokensToSwap ); uint256 ethForLiquidity = ethBalance - ethForTreasury; tokensForLiquidity = 0; tokensForTreasury = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, tokensForLiquidity ); } (success, ) = address(TreasuryWallet).call{value: address(this).balance}(""); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract GardenOfEden { address public genesisAI = 0x926F9ba232Fe19F074f5ae6f0338eE2Fb0dB292d ; address public treasury = 0xB464b7826C96a2466dB18BF2c77BD08eCFADF490 ; uint256 public proposalDuration = 7 days; event ProposalCreated(string title, address proposer); event ProposalApproved(string title); event ProposalExecuted(string title); event FundsInvested(uint256 amount); event RevenueShareClaimed(address claimant, uint256 amount); function createProposal(string memory title, string memory description, uint256 amount) external { require(msg.sender == genesisAI, "Only Genesis AI can create proposals"); emit ProposalCreated(title, msg.sender); } function approveProposal(string memory title) external { require(msg.sender == genesisAI, "Only Genesis AI can approve proposals"); emit ProposalApproved(title); } function executeProposal(string memory title) external { require(msg.sender == genesisAI, "Only Genesis AI can execute proposals"); emit ProposalExecuted(title); } function invest() external payable { require(msg.sender == treasury, "Only the treasury can invest funds"); emit FundsInvested(msg.value); } function claimRevenueShare() external { uint256 share = calculateRevenueShare(msg.sender); require(share > 0, "No revenue share available for claiming"); // Transfer the share to the claimant payable(msg.sender).transfer(share); emit RevenueShareClaimed(msg.sender, share); } function calculateRevenueShare(address claimant) internal view returns (uint256) { } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract StakingContract { uint rewardPercent = 100000; event tokensStaked(address from, uint256 amount); event TokensUnstaked(address to, uint256 amount); struct stake{ uint amount; uint time; } mapping (address => stake) public stakes; function _deposit(address from , uint _amount) internal{ require(stakes[from].amount == 0 , "Unstake first"); stakes[from] = stake({ amount: _amount , time:block.timestamp }); emit tokensStaked(from, _amount); } function _withdraw(address to) internal{ require(stakes[to].amount > 0 , "zero staked"); stakes[to].amount = 0; stakes[to].time = 0; //emit TokensUnstaked(to, rewardCalculation(to)); } function rewardCalculation(address to) public view returns(uint){ uint timeDifferent = block.timestamp - stakes[to].time; uint reward =stakes[to].amount + (stakes[to].amount * timeDifferent / rewardPercent); return reward; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Vote{ struct Voter { bool voted; // if true, that person already voted uint vote; // index of the voted proposal } struct Proposal { string proposal; // short name (up to 32 bytes) uint voteCount; // number of accumulated votes } uint proposalNum = 0; mapping(address => mapping(uint => Voter)) public voters; mapping(uint => Proposal[]) public proposals; function winningProposal() public view returns (uint winningProposal_) { uint winningVoteCount = 0; for (uint p = 0; p < proposals[proposalNum].length; p++) { if (proposals[proposalNum][p].voteCount > winningVoteCount) { winningVoteCount = proposals[proposalNum][p].voteCount; winningProposal_ = p; } } } function winnerName() public view returns (string memory winnerName_) { winnerName_ = proposals[proposalNum][winningProposal()].proposal; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; library SafeMath { 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); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./IUniswapV2Router01.sol"; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function tokenSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// 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.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// 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 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 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/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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsInvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"title","type":"string"}],"name":"ProposalApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"title","type":"string"},{"indexed":false,"internalType":"address","name":"proposer","type":"address"}],"name":"ProposalCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"title","type":"string"}],"name":"ProposalExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RevenueShareClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensUnstaked","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":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"TreasuryWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"tokensStaked","type":"event"},{"inputs":[],"name":"TreasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"string","name":"title","type":"string"}],"name":"approveProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRevenueShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"createProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"title","type":"string"}],"name":"executeProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"genesisAI","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"invest","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proposalDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"proposals","outputs":[{"internalType":"string","name":"proposal","type":"string"},{"internalType":"uint256","name":"voteCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"rewardCalculation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","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":"","type":"address"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"time","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_TreasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTxnNum","type":"uint256"},{"internalType":"uint256","name":"newMaxWalletNum","type":"uint256"}],"name":"updateMaxWalletAndTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_TreasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"voters","outputs":[{"internalType":"bool","name":"voted","type":"bool"},{"internalType":"uint256","name":"vote","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"winnerName","outputs":[{"internalType":"string","name":"winnerName_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"winningProposal","outputs":[{"internalType":"uint256","name":"winningProposal_","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620186a06006556000600855600b80546001600160a01b031990811673926f9ba232fe19f074f5ae6f0338ee2fb0db292d17909155600c805490911673b464b7826c96a2466db18bf2c77bd08ecfadf49017905562093a80600d556014805461ffff191690553480156200007757600080fd5b506040518060400160405280600781526020016647656e6573697360c81b81525060405180604001604052806003815260200162474e5360e81b8152508160039081620000c591906200079b565b506004620000d482826200079b565b505050620000f1620000eb6200042660201b60201c565b6200042a565b6005805460ff60a01b19169055737a250d5630b4cf539739df2c5dacb4c659f2488d620001208160016200047c565b600e80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200017a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a0919062000867565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000214919062000867565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000262573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000288919062000867565b600f80546001600160a01b0319166001600160a01b03929092169182179055620002b49060016200047c565b600f54620002cd906001600160a01b03166001620004b1565b60196000601e816a05ca4ec2a79a7f670000006064620002ef826002620008af565b620002fb9190620008cf565b60115560646200030d826002620008af565b620003199190620008cf565b6013556127106200032c826005620008af565b620003389190620008cf565b60125560168590556017849055620003518486620008f2565b6015556019839055601a8290556200036a8284620008f2565b6018819055601d55601080546001600160a01b03191673b464b7826c96a2466db18bf2c77bd08ecfadf490179055620003b7620003af6005546001600160a01b031690565b60016200050e565b620003c43060016200050e565b620003d361dead60016200050e565b620003f2620003ea6005546001600160a01b031690565b60016200047c565b620003ff3060016200047c565b6200040e61dead60016200047c565b6200041a338262000577565b50505050505062000908565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620004866200063e565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b620004bb6200069c565b6001600160a01b0382166000818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b620005186200063e565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005d35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620005e79190620008f2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b031633146200069a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620005ca565b565b620006b0600554600160a01b900460ff1690565b156200069a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620005ca565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200072257607f821691505b6020821081036200074357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006f257600081815260208120601f850160051c81016020861015620007725750805b601f850160051c820191505b8181101562000793578281556001016200077e565b505050505050565b81516001600160401b03811115620007b757620007b7620006f7565b620007cf81620007c884546200070d565b8462000749565b602080601f831160018114620008075760008415620007ee5750858301515b600019600386901b1c1916600185901b17855562000793565b600085815260208120601f198616915b82811015620008385788860151825594840194600190910190840162000817565b5085821015620008575787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200087a57600080fd5b81516001600160a01b03811681146200089257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620008c957620008c962000899565b92915050565b600082620008ed57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620008c957620008c962000899565b612b5280620009186000396000f3fe6080604052600436106102e85760003560e01c80636a486a8e11610190578063a9059cbb116100dc578063dd62ed3e11610095578063e8b5e51f1161006f578063e8b5e51f14610913578063f2fde38b1461091b578063f7b188a51461093b578063f8b45b051461095057600080fd5b8063dd62ed3e146108c8578063e2ba53f0146108e8578063e2f45605146108fd57600080fd5b8063a9059cbb1461080a578063bbc0c7421461082a578063c024666814610844578063c2cfee2714610864578063d257b34f14610892578063d85ba063146108b257600080fd5b80638a8c523c1161014957806395d89b411161012357806395d89b411461079557806396188399146107aa5780639a7a23d6146107ca578063a457c2d7146107ea57600080fd5b80638a8c523c1461074c5780638c0b5e22146107615780638da5cb5b1461077757600080fd5b80636a486a8e146106975780636ddd1713146106ad57806370a08231146106cc578063715018a6146107025780637571336a146107175780638456cb591461073757600080fd5b80632cfe27f01161024f5780634fbee193116102085780635c975abb116101e25780635c975abb14610623578063609ff1bd1461064257806361d027b31461065757806366ca9b831461067757600080fd5b80634fbee1931461057957806354dffd0d146105b25780635c134d66146105c757600080fd5b80632cfe27f0146104c757806330109962146104e7578063313ce567146104fd5780633950935114610519578063473777ce1461053957806349bd5a5e1461055957600080fd5b806316934fc4116102a157806316934fc4146103e95780631694505e1461043257806318160ddd14610452578063211e47861461047157806323b872dd1461049157806327c8f835146104b157600080fd5b806302dbd8f8146102f457806306fdde0314610316578063095ea7b3146103415780630ce0ebf41461037157806311ffeaf2146103915780631587c3d3146103c957600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046125ca565b610966565b005b34801561032257600080fd5b5061032b6109e5565b6040516103389190612632565b60405180910390f35b34801561034d57600080fd5b5061036161035c36600461265a565b610a77565b6040519015158152602001610338565b34801561037d57600080fd5b5061031461038c366004612729565b610a91565b34801561039d57600080fd5b506010546103b1906001600160a01b031681565b6040516001600160a01b039091168152602001610338565b3480156103d557600080fd5b50600b546103b1906001600160a01b031681565b3480156103f557600080fd5b5061041d610404366004612796565b6007602052600090815260409020805460019091015482565b60408051928352602083019190915201610338565b34801561043e57600080fd5b50600e546103b1906001600160a01b031681565b34801561045e57600080fd5b506002545b604051908152602001610338565b34801561047d57600080fd5b5061031461048c3660046127b3565b610b35565b34801561049d57600080fd5b506103616104ac3660046127e8565b610bd7565b3480156104bd57600080fd5b506103b161dead81565b3480156104d357600080fd5b506103146104e23660046127b3565b610bfb565b3480156104f357600080fd5b50610463600d5481565b34801561050957600080fd5b5060405160128152602001610338565b34801561052557600080fd5b5061036161053436600461265a565b610c92565b34801561054557600080fd5b50610463610554366004612796565b610cb4565b34801561056557600080fd5b50600f546103b1906001600160a01b031681565b34801561058557600080fd5b50610361610594366004612796565b6001600160a01b03166000908152601e602052604090205460ff1690565b3480156105be57600080fd5b50610314610d3c565b3480156105d357600080fd5b5061060c6105e236600461265a565b60096020908152600092835260408084209091529082529020805460019091015460ff9091169082565b604080519215158352602083019190915201610338565b34801561062f57600080fd5b50600554600160a01b900460ff16610361565b34801561064e57600080fd5b50610463610d96565b34801561066357600080fd5b50600c546103b1906001600160a01b031681565b34801561068357600080fd5b506103146106923660046125ca565b610e45565b3480156106a357600080fd5b5061046360185481565b3480156106b957600080fd5b5060145461036190610100900460ff1681565b3480156106d857600080fd5b506104636106e7366004612796565b6001600160a01b031660009081526020819052604090205490565b34801561070e57600080fd5b50610314610eb6565b34801561072357600080fd5b50610314610732366004612829565b610eca565b34801561074357600080fd5b50610314610efd565b34801561075857600080fd5b50610314610f71565b34801561076d57600080fd5b5061046360115481565b34801561078357600080fd5b506005546001600160a01b03166103b1565b3480156107a157600080fd5b5061032b610f8a565b3480156107b657600080fd5b506103146107c53660046125ca565b610f99565b3480156107d657600080fd5b506103146107e5366004612829565b6110eb565b3480156107f657600080fd5b5061036161080536600461265a565b611181565b34801561081657600080fd5b5061036161082536600461265a565b6111fc565b34801561083657600080fd5b506014546103619060ff1681565b34801561085057600080fd5b5061031461085f366004612829565b61120a565b34801561087057600080fd5b5061088461087f3660046125ca565b611271565b604051610338929190612867565b34801561089e57600080fd5b506103616108ad366004612889565b61133a565b3480156108be57600080fd5b5061046360155481565b3480156108d457600080fd5b506104636108e33660046128a2565b611469565b3480156108f457600080fd5b5061032b611494565b34801561090957600080fd5b5061046360125481565b6103146114dc565b34801561092757600080fd5b50610314610936366004612796565b611577565b34801561094757600080fd5b506103146115f0565b34801561095c57600080fd5b5061046360135481565b61096e611659565b6019829055601a81905561098281836128e6565b6018819055601d819055602d10156109e15760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420343525206f72206c65737300000060448201526064015b60405180910390fd5b5050565b6060600380546109f4906128f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a20906128f9565b8015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b5050505050905090565b600033610a858185856116b3565b60019150505b92915050565b600b546001600160a01b03163314610af75760405162461bcd60e51b8152602060048201526024808201527f4f6e6c792047656e657369732041492063616e206372656174652070726f706f60448201526373616c7360e01b60648201526084016109d8565b7f6b34733d94be17886338d1436b2c705b81d42edc9ae3b26f9e6634e4f33d8e2a8333604051610b28929190612933565b60405180910390a1505050565b600b546001600160a01b03163314610b9d5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c792047656e657369732041492063616e20617070726f76652070726f706044820152646f73616c7360d81b60648201526084016109d8565b7fb96ea313d5167a5de88b29fa42d55ebd8ccbd61af2409535aa474f506b00a44181604051610bcc9190612632565b60405180910390a150565b600033610be58582856117d7565b610bf0858585611851565b506001949350505050565b600b546001600160a01b03163314610c635760405162461bcd60e51b815260206004820152602560248201527f4f6e6c792047656e657369732041492063616e20657865637574652070726f706044820152646f73616c7360d81b60648201526084016109d8565b7f2b60307a6ba531a14dd619689f9493f5e53707138cb5f7635152e66880e8581281604051610bcc9190612632565b600033610a85818585610ca58383611469565b610caf91906128e6565b6116b3565b6001600160a01b0381166000908152600760205260408120600101548190610cdc904261295d565b6006546001600160a01b03851660009081526007602052604081205492935091610d07908490612970565b610d119190612987565b6001600160a01b038516600090815260076020526040902054610d3491906128e6565b949350505050565b600060405162461bcd60e51b815260206004820152602760248201527f4e6f20726576656e756520736861726520617661696c61626c6520666f7220636044820152666c61696d696e6760c81b60648201526084016109d8565b600080805b6008546000908152600a6020526040902054811015610e405781600a600060085481526020019081526020016000208281548110610ddb57610ddb6129a9565b9060005260206000209060020201600101541115610e2e576008546000908152600a60205260409020805482908110610e1657610e166129a9565b90600052602060002090600202016001015491508092505b80610e38816129bf565b915050610d9b565b505090565b610e4d611659565b60168290556017819055610e6181836128e6565b6015819055602d10156109e15760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420343525206f72206c65737300000060448201526064016109d8565b610ebe611659565b610ec86000611edf565b565b610ed2611659565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b610f05611659565b600554600160a01b900460ff1615610f695760405162461bcd60e51b815260206004820152602160248201527f45524332303a20436f6e747261637420697320616c72656164792070617573656044820152601960fa1b60648201526084016109d8565b610ec8611f31565b610f79611659565b6014805461ffff1916610101179055565b6060600480546109f4906128f9565b610fa1611659565b670de0b6b3a76400006103e8610fb660025490565b610fc1906005612970565b610fcb9190612987565b610fd59190612987565b82101561102e5760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f7420736574206d617854786e206c6f776572207468616e20302e356044820152602560f81b60648201526084016109d8565b670de0b6b3a76400006103e861104360025490565b61104e906005612970565b6110589190612987565b6110629190612987565b8110156110bd5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016109d8565b6110cf81670de0b6b3a7640000612970565b6013556110e482670de0b6b3a7640000612970565b6011555050565b6110f3611659565b600f546001600160a01b03908116908316036111775760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109d8565b6109e18282611f8c565b6000338161118f8286611469565b9050838110156111ef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109d8565b610bf082868684036116b3565b600033610a85818585611851565b611212611659565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b600a602052816000526040600020818154811061128d57600080fd5b9060005260206000209060020201600091509150508060000180546112b1906128f9565b80601f01602080910402602001604051908101604052809291908181526020018280546112dd906128f9565b801561132a5780601f106112ff5761010080835404028352916020019161132a565b820191906000526020600020905b81548152906001019060200180831161130d57829003601f168201915b5050505050908060010154905082565b6000611344611659565b620186a061135160025490565b61135c906001612970565b6113669190612987565b8210156113d35760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016109d8565b6103e86113df60025490565b6113ea906005612970565b6113f49190612987565b8211156114605760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016109d8565b50601255600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546000908152600a602052604090206060906114b0610d96565b815481106114c0576114c06129a9565b906000526020600020906002020160000180546109f4906128f9565b600c546001600160a01b031633146115415760405162461bcd60e51b815260206004820152602260248201527f4f6e6c79207468652074726561737572792063616e20696e766573742066756e604482015261647360f01b60648201526084016109d8565b6040513481527f13a6b60e1baaf5c7ab3253113820bba7a9f6231303d6c0b650e60a033aae685a906020015b60405180910390a1565b61157f611659565b6001600160a01b0381166115e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d8565b6115ed81611edf565b50565b6115f8611659565b600554600160a01b900460ff166116515760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20436f6e7472616374206973206e6f742070617573656400000060448201526064016109d8565b610ec8611fe7565b6005546001600160a01b03163314610ec85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d8565b6001600160a01b0383166117155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109d8565b6001600160a01b0382166117765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109d8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006117e38484611469565b9050600019811461184b578181101561183e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109d8565b61184b84848484036116b3565b50505050565b6001600160a01b0383166118775760405162461bcd60e51b81526004016109d8906129d8565b6001600160a01b03821661189d5760405162461bcd60e51b81526004016109d890612a1d565b806000036118b6576118b183836000612023565b505050565b6005546001600160a01b038481169116148015906118e257506005546001600160a01b03838116911614155b80156118f657506001600160a01b03821615155b801561190d57506001600160a01b03821661dead14155b80156119235750600f54600160a01b900460ff16155b15611c085760145460ff166119b6576001600160a01b0383166000908152601e602052604090205460ff168061197157506001600160a01b0382166000908152601e602052604090205460ff165b6119b65760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109d8565b6001600160a01b038316600090815260208052604090205460ff1680156119f657506001600160a01b0382166000908152601f602052604090205460ff16155b15611ad157601154811115611a625760405162461bcd60e51b815260206004820152602c60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526b36b0bc2a3c20b6b7bab73a1760a11b60648201526084016109d8565b6013546001600160a01b038316600090815260208190526040902054611a8890836128e6565b1115611acc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109d8565b611c08565b6001600160a01b038216600090815260208052604090205460ff168015611b1157506001600160a01b0383166000908152601f602052604090205460ff16155b15611b7e57601154811115611acc5760405162461bcd60e51b815260206004820152602d60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526c1036b0bc2a3c20b6b7bab73a1760991b60648201526084016109d8565b6001600160a01b0382166000908152601f602052604090205460ff16611c08576013546001600160a01b038316600090815260208190526040902054611bc490836128e6565b1115611c085760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109d8565b3060009081526020819052604090205460125481108015908190611c335750601454610100900460ff165b8015611c495750600f54600160a01b900460ff16155b8015611c6d57506001600160a01b038516600090815260208052604090205460ff16155b8015611c9257506001600160a01b0385166000908152601e602052604090205460ff16155b8015611cb757506001600160a01b0384166000908152601e602052604090205460ff16155b15611ce557600f805460ff60a01b1916600160a01b179055611cd761214d565b600f805460ff60a01b191690555b600f546001600160a01b0386166000908152601e602052604090205460ff600160a01b909204821615911680611d3357506001600160a01b0385166000908152601e602052604090205460ff165b15611d3c575060005b60008115611ec5576001600160a01b038616600090815260208052604090205460ff168015611d6d57506000601854115b15611dfb57611d926064611d8c601854886122f690919063ffffffff16565b90612309565b9050601854601a5482611da59190612970565b611daf9190612987565b601c6000828254611dc091906128e6565b9091555050601854601954611dd59083612970565b611ddf9190612987565b601b6000828254611df091906128e6565b90915550611ea79050565b6001600160a01b038716600090815260208052604090205460ff168015611e2457506000601554115b15611ea757611e436064611d8c601554886122f690919063ffffffff16565b905060155460175482611e569190612970565b611e609190612987565b601c6000828254611e7191906128e6565b9091555050601554601654611e869083612970565b611e909190612987565b601b6000828254611ea191906128e6565b90915550505b8015611eb857611eb8873083612023565b611ec2818661295d565b94505b611ed0878787612023565b5050601d546018555050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611f39612315565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f743390565b6040516001600160a01b03909116815260200161156d565b611f94612315565b6001600160a01b0382166000818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b611fef612362565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611f74565b6001600160a01b0383166120495760405162461bcd60e51b81526004016109d8906129d8565b6001600160a01b03821661206f5760405162461bcd60e51b81526004016109d890612a1d565b6001600160a01b038316600090815260208190526040902054818110156120e75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109d8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361184b565b3060009081526020819052604081205490506000601b54601c5461217191906128e6565b90506000821580612180575081155b1561218a57505050565b601254612198906014612970565b8311156121b0576012546121ad906014612970565b92505b6000600283601c54866121c39190612970565b6121cd9190612987565b6121d79190612987565b905060006121e585836123b2565b9050476121f1826123be565b60006121fd47836123b2565b9050600061221a87611d8c601b54856122f690919063ffffffff16565b90506000612228828461295d565b6000601c819055601b55905085158015906122435750600081115b15612296576122528682612518565b601c54604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6010546040516001600160a01b03909116904790600081818185875af1925050503d80600081146122e3576040519150601f19603f3d011682016040523d82523d6000602084013e6122e8565b606091505b505050505050505050505050565b60006123028284612970565b9392505050565b60006123028284612987565b600554600160a01b900460ff1615610ec85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109d8565b600554600160a01b900460ff16610ec85760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109d8565b6000612302828461295d565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106123f3576123f36129a9565b6001600160a01b03928316602091820292909201810191909152600e54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561244c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124709190612a60565b81600181518110612483576124836129a9565b6001600160a01b039283166020918202929092010152600e546124a991309116846116b3565b600e5460405163791ac94760e01b81526001600160a01b039091169063791ac947906124e2908590600090869030904290600401612a7d565b600060405180830381600087803b1580156124fc57600080fd5b505af1158015612510573d6000803e3d6000fd5b505050505050565b600e546125309030906001600160a01b0316846116b3565b600e5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af115801561259e573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906125c39190612aee565b5050505050565b600080604083850312156125dd57600080fd5b50508035926020909101359150565b6000815180845260005b81811015612612576020818501810151868301820152016125f6565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061230260208301846125ec565b6001600160a01b03811681146115ed57600080fd5b6000806040838503121561266d57600080fd5b823561267881612645565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126126ad57600080fd5b813567ffffffffffffffff808211156126c8576126c8612686565b604051601f8301601f19908116603f011681019082821181831017156126f0576126f0612686565b8160405283815286602085880101111561270957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561273e57600080fd5b833567ffffffffffffffff8082111561275657600080fd5b6127628783880161269c565b9450602086013591508082111561277857600080fd5b506127858682870161269c565b925050604084013590509250925092565b6000602082840312156127a857600080fd5b813561230281612645565b6000602082840312156127c557600080fd5b813567ffffffffffffffff8111156127dc57600080fd5b610d348482850161269c565b6000806000606084860312156127fd57600080fd5b833561280881612645565b9250602084013561281881612645565b929592945050506040919091013590565b6000806040838503121561283c57600080fd5b823561284781612645565b91506020830135801515811461285c57600080fd5b809150509250929050565b60408152600061287a60408301856125ec565b90508260208301529392505050565b60006020828403121561289b57600080fd5b5035919050565b600080604083850312156128b557600080fd5b82356128c081612645565b9150602083013561285c81612645565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a8b57610a8b6128d0565b600181811c9082168061290d57607f821691505b60208210810361292d57634e487b7160e01b600052602260045260246000fd5b50919050565b60408152600061294660408301856125ec565b905060018060a01b03831660208301529392505050565b81810381811115610a8b57610a8b6128d0565b8082028115828204841417610a8b57610a8b6128d0565b6000826129a457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000600182016129d1576129d16128d0565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060208284031215612a7257600080fd5b815161230281612645565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612acd5784516001600160a01b031683529383019391830191600101612aa8565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612b0357600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212205280d841afab540cfb667f9e6a1a364a6679ea13dfa568cbec322afa9ae46cd364736f6c63430008120033
Deployed Bytecode
0x6080604052600436106102e85760003560e01c80636a486a8e11610190578063a9059cbb116100dc578063dd62ed3e11610095578063e8b5e51f1161006f578063e8b5e51f14610913578063f2fde38b1461091b578063f7b188a51461093b578063f8b45b051461095057600080fd5b8063dd62ed3e146108c8578063e2ba53f0146108e8578063e2f45605146108fd57600080fd5b8063a9059cbb1461080a578063bbc0c7421461082a578063c024666814610844578063c2cfee2714610864578063d257b34f14610892578063d85ba063146108b257600080fd5b80638a8c523c1161014957806395d89b411161012357806395d89b411461079557806396188399146107aa5780639a7a23d6146107ca578063a457c2d7146107ea57600080fd5b80638a8c523c1461074c5780638c0b5e22146107615780638da5cb5b1461077757600080fd5b80636a486a8e146106975780636ddd1713146106ad57806370a08231146106cc578063715018a6146107025780637571336a146107175780638456cb591461073757600080fd5b80632cfe27f01161024f5780634fbee193116102085780635c975abb116101e25780635c975abb14610623578063609ff1bd1461064257806361d027b31461065757806366ca9b831461067757600080fd5b80634fbee1931461057957806354dffd0d146105b25780635c134d66146105c757600080fd5b80632cfe27f0146104c757806330109962146104e7578063313ce567146104fd5780633950935114610519578063473777ce1461053957806349bd5a5e1461055957600080fd5b806316934fc4116102a157806316934fc4146103e95780631694505e1461043257806318160ddd14610452578063211e47861461047157806323b872dd1461049157806327c8f835146104b157600080fd5b806302dbd8f8146102f457806306fdde0314610316578063095ea7b3146103415780630ce0ebf41461037157806311ffeaf2146103915780631587c3d3146103c957600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046125ca565b610966565b005b34801561032257600080fd5b5061032b6109e5565b6040516103389190612632565b60405180910390f35b34801561034d57600080fd5b5061036161035c36600461265a565b610a77565b6040519015158152602001610338565b34801561037d57600080fd5b5061031461038c366004612729565b610a91565b34801561039d57600080fd5b506010546103b1906001600160a01b031681565b6040516001600160a01b039091168152602001610338565b3480156103d557600080fd5b50600b546103b1906001600160a01b031681565b3480156103f557600080fd5b5061041d610404366004612796565b6007602052600090815260409020805460019091015482565b60408051928352602083019190915201610338565b34801561043e57600080fd5b50600e546103b1906001600160a01b031681565b34801561045e57600080fd5b506002545b604051908152602001610338565b34801561047d57600080fd5b5061031461048c3660046127b3565b610b35565b34801561049d57600080fd5b506103616104ac3660046127e8565b610bd7565b3480156104bd57600080fd5b506103b161dead81565b3480156104d357600080fd5b506103146104e23660046127b3565b610bfb565b3480156104f357600080fd5b50610463600d5481565b34801561050957600080fd5b5060405160128152602001610338565b34801561052557600080fd5b5061036161053436600461265a565b610c92565b34801561054557600080fd5b50610463610554366004612796565b610cb4565b34801561056557600080fd5b50600f546103b1906001600160a01b031681565b34801561058557600080fd5b50610361610594366004612796565b6001600160a01b03166000908152601e602052604090205460ff1690565b3480156105be57600080fd5b50610314610d3c565b3480156105d357600080fd5b5061060c6105e236600461265a565b60096020908152600092835260408084209091529082529020805460019091015460ff9091169082565b604080519215158352602083019190915201610338565b34801561062f57600080fd5b50600554600160a01b900460ff16610361565b34801561064e57600080fd5b50610463610d96565b34801561066357600080fd5b50600c546103b1906001600160a01b031681565b34801561068357600080fd5b506103146106923660046125ca565b610e45565b3480156106a357600080fd5b5061046360185481565b3480156106b957600080fd5b5060145461036190610100900460ff1681565b3480156106d857600080fd5b506104636106e7366004612796565b6001600160a01b031660009081526020819052604090205490565b34801561070e57600080fd5b50610314610eb6565b34801561072357600080fd5b50610314610732366004612829565b610eca565b34801561074357600080fd5b50610314610efd565b34801561075857600080fd5b50610314610f71565b34801561076d57600080fd5b5061046360115481565b34801561078357600080fd5b506005546001600160a01b03166103b1565b3480156107a157600080fd5b5061032b610f8a565b3480156107b657600080fd5b506103146107c53660046125ca565b610f99565b3480156107d657600080fd5b506103146107e5366004612829565b6110eb565b3480156107f657600080fd5b5061036161080536600461265a565b611181565b34801561081657600080fd5b5061036161082536600461265a565b6111fc565b34801561083657600080fd5b506014546103619060ff1681565b34801561085057600080fd5b5061031461085f366004612829565b61120a565b34801561087057600080fd5b5061088461087f3660046125ca565b611271565b604051610338929190612867565b34801561089e57600080fd5b506103616108ad366004612889565b61133a565b3480156108be57600080fd5b5061046360155481565b3480156108d457600080fd5b506104636108e33660046128a2565b611469565b3480156108f457600080fd5b5061032b611494565b34801561090957600080fd5b5061046360125481565b6103146114dc565b34801561092757600080fd5b50610314610936366004612796565b611577565b34801561094757600080fd5b506103146115f0565b34801561095c57600080fd5b5061046360135481565b61096e611659565b6019829055601a81905561098281836128e6565b6018819055601d819055602d10156109e15760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420343525206f72206c65737300000060448201526064015b60405180910390fd5b5050565b6060600380546109f4906128f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a20906128f9565b8015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b5050505050905090565b600033610a858185856116b3565b60019150505b92915050565b600b546001600160a01b03163314610af75760405162461bcd60e51b8152602060048201526024808201527f4f6e6c792047656e657369732041492063616e206372656174652070726f706f60448201526373616c7360e01b60648201526084016109d8565b7f6b34733d94be17886338d1436b2c705b81d42edc9ae3b26f9e6634e4f33d8e2a8333604051610b28929190612933565b60405180910390a1505050565b600b546001600160a01b03163314610b9d5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c792047656e657369732041492063616e20617070726f76652070726f706044820152646f73616c7360d81b60648201526084016109d8565b7fb96ea313d5167a5de88b29fa42d55ebd8ccbd61af2409535aa474f506b00a44181604051610bcc9190612632565b60405180910390a150565b600033610be58582856117d7565b610bf0858585611851565b506001949350505050565b600b546001600160a01b03163314610c635760405162461bcd60e51b815260206004820152602560248201527f4f6e6c792047656e657369732041492063616e20657865637574652070726f706044820152646f73616c7360d81b60648201526084016109d8565b7f2b60307a6ba531a14dd619689f9493f5e53707138cb5f7635152e66880e8581281604051610bcc9190612632565b600033610a85818585610ca58383611469565b610caf91906128e6565b6116b3565b6001600160a01b0381166000908152600760205260408120600101548190610cdc904261295d565b6006546001600160a01b03851660009081526007602052604081205492935091610d07908490612970565b610d119190612987565b6001600160a01b038516600090815260076020526040902054610d3491906128e6565b949350505050565b600060405162461bcd60e51b815260206004820152602760248201527f4e6f20726576656e756520736861726520617661696c61626c6520666f7220636044820152666c61696d696e6760c81b60648201526084016109d8565b600080805b6008546000908152600a6020526040902054811015610e405781600a600060085481526020019081526020016000208281548110610ddb57610ddb6129a9565b9060005260206000209060020201600101541115610e2e576008546000908152600a60205260409020805482908110610e1657610e166129a9565b90600052602060002090600202016001015491508092505b80610e38816129bf565b915050610d9b565b505090565b610e4d611659565b60168290556017819055610e6181836128e6565b6015819055602d10156109e15760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420343525206f72206c65737300000060448201526064016109d8565b610ebe611659565b610ec86000611edf565b565b610ed2611659565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b610f05611659565b600554600160a01b900460ff1615610f695760405162461bcd60e51b815260206004820152602160248201527f45524332303a20436f6e747261637420697320616c72656164792070617573656044820152601960fa1b60648201526084016109d8565b610ec8611f31565b610f79611659565b6014805461ffff1916610101179055565b6060600480546109f4906128f9565b610fa1611659565b670de0b6b3a76400006103e8610fb660025490565b610fc1906005612970565b610fcb9190612987565b610fd59190612987565b82101561102e5760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f7420736574206d617854786e206c6f776572207468616e20302e356044820152602560f81b60648201526084016109d8565b670de0b6b3a76400006103e861104360025490565b61104e906005612970565b6110589190612987565b6110629190612987565b8110156110bd5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016109d8565b6110cf81670de0b6b3a7640000612970565b6013556110e482670de0b6b3a7640000612970565b6011555050565b6110f3611659565b600f546001600160a01b03908116908316036111775760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109d8565b6109e18282611f8c565b6000338161118f8286611469565b9050838110156111ef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109d8565b610bf082868684036116b3565b600033610a85818585611851565b611212611659565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b600a602052816000526040600020818154811061128d57600080fd5b9060005260206000209060020201600091509150508060000180546112b1906128f9565b80601f01602080910402602001604051908101604052809291908181526020018280546112dd906128f9565b801561132a5780601f106112ff5761010080835404028352916020019161132a565b820191906000526020600020905b81548152906001019060200180831161130d57829003601f168201915b5050505050908060010154905082565b6000611344611659565b620186a061135160025490565b61135c906001612970565b6113669190612987565b8210156113d35760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016109d8565b6103e86113df60025490565b6113ea906005612970565b6113f49190612987565b8211156114605760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016109d8565b50601255600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546000908152600a602052604090206060906114b0610d96565b815481106114c0576114c06129a9565b906000526020600020906002020160000180546109f4906128f9565b600c546001600160a01b031633146115415760405162461bcd60e51b815260206004820152602260248201527f4f6e6c79207468652074726561737572792063616e20696e766573742066756e604482015261647360f01b60648201526084016109d8565b6040513481527f13a6b60e1baaf5c7ab3253113820bba7a9f6231303d6c0b650e60a033aae685a906020015b60405180910390a1565b61157f611659565b6001600160a01b0381166115e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d8565b6115ed81611edf565b50565b6115f8611659565b600554600160a01b900460ff166116515760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20436f6e7472616374206973206e6f742070617573656400000060448201526064016109d8565b610ec8611fe7565b6005546001600160a01b03163314610ec85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d8565b6001600160a01b0383166117155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109d8565b6001600160a01b0382166117765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109d8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006117e38484611469565b9050600019811461184b578181101561183e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109d8565b61184b84848484036116b3565b50505050565b6001600160a01b0383166118775760405162461bcd60e51b81526004016109d8906129d8565b6001600160a01b03821661189d5760405162461bcd60e51b81526004016109d890612a1d565b806000036118b6576118b183836000612023565b505050565b6005546001600160a01b038481169116148015906118e257506005546001600160a01b03838116911614155b80156118f657506001600160a01b03821615155b801561190d57506001600160a01b03821661dead14155b80156119235750600f54600160a01b900460ff16155b15611c085760145460ff166119b6576001600160a01b0383166000908152601e602052604090205460ff168061197157506001600160a01b0382166000908152601e602052604090205460ff165b6119b65760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109d8565b6001600160a01b038316600090815260208052604090205460ff1680156119f657506001600160a01b0382166000908152601f602052604090205460ff16155b15611ad157601154811115611a625760405162461bcd60e51b815260206004820152602c60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526b36b0bc2a3c20b6b7bab73a1760a11b60648201526084016109d8565b6013546001600160a01b038316600090815260208190526040902054611a8890836128e6565b1115611acc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109d8565b611c08565b6001600160a01b038216600090815260208052604090205460ff168015611b1157506001600160a01b0383166000908152601f602052604090205460ff16155b15611b7e57601154811115611acc5760405162461bcd60e51b815260206004820152602d60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526c1036b0bc2a3c20b6b7bab73a1760991b60648201526084016109d8565b6001600160a01b0382166000908152601f602052604090205460ff16611c08576013546001600160a01b038316600090815260208190526040902054611bc490836128e6565b1115611c085760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109d8565b3060009081526020819052604090205460125481108015908190611c335750601454610100900460ff165b8015611c495750600f54600160a01b900460ff16155b8015611c6d57506001600160a01b038516600090815260208052604090205460ff16155b8015611c9257506001600160a01b0385166000908152601e602052604090205460ff16155b8015611cb757506001600160a01b0384166000908152601e602052604090205460ff16155b15611ce557600f805460ff60a01b1916600160a01b179055611cd761214d565b600f805460ff60a01b191690555b600f546001600160a01b0386166000908152601e602052604090205460ff600160a01b909204821615911680611d3357506001600160a01b0385166000908152601e602052604090205460ff165b15611d3c575060005b60008115611ec5576001600160a01b038616600090815260208052604090205460ff168015611d6d57506000601854115b15611dfb57611d926064611d8c601854886122f690919063ffffffff16565b90612309565b9050601854601a5482611da59190612970565b611daf9190612987565b601c6000828254611dc091906128e6565b9091555050601854601954611dd59083612970565b611ddf9190612987565b601b6000828254611df091906128e6565b90915550611ea79050565b6001600160a01b038716600090815260208052604090205460ff168015611e2457506000601554115b15611ea757611e436064611d8c601554886122f690919063ffffffff16565b905060155460175482611e569190612970565b611e609190612987565b601c6000828254611e7191906128e6565b9091555050601554601654611e869083612970565b611e909190612987565b601b6000828254611ea191906128e6565b90915550505b8015611eb857611eb8873083612023565b611ec2818661295d565b94505b611ed0878787612023565b5050601d546018555050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611f39612315565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f743390565b6040516001600160a01b03909116815260200161156d565b611f94612315565b6001600160a01b0382166000818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b611fef612362565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611f74565b6001600160a01b0383166120495760405162461bcd60e51b81526004016109d8906129d8565b6001600160a01b03821661206f5760405162461bcd60e51b81526004016109d890612a1d565b6001600160a01b038316600090815260208190526040902054818110156120e75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109d8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361184b565b3060009081526020819052604081205490506000601b54601c5461217191906128e6565b90506000821580612180575081155b1561218a57505050565b601254612198906014612970565b8311156121b0576012546121ad906014612970565b92505b6000600283601c54866121c39190612970565b6121cd9190612987565b6121d79190612987565b905060006121e585836123b2565b9050476121f1826123be565b60006121fd47836123b2565b9050600061221a87611d8c601b54856122f690919063ffffffff16565b90506000612228828461295d565b6000601c819055601b55905085158015906122435750600081115b15612296576122528682612518565b601c54604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6010546040516001600160a01b03909116904790600081818185875af1925050503d80600081146122e3576040519150601f19603f3d011682016040523d82523d6000602084013e6122e8565b606091505b505050505050505050505050565b60006123028284612970565b9392505050565b60006123028284612987565b600554600160a01b900460ff1615610ec85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109d8565b600554600160a01b900460ff16610ec85760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109d8565b6000612302828461295d565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106123f3576123f36129a9565b6001600160a01b03928316602091820292909201810191909152600e54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561244c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124709190612a60565b81600181518110612483576124836129a9565b6001600160a01b039283166020918202929092010152600e546124a991309116846116b3565b600e5460405163791ac94760e01b81526001600160a01b039091169063791ac947906124e2908590600090869030904290600401612a7d565b600060405180830381600087803b1580156124fc57600080fd5b505af1158015612510573d6000803e3d6000fd5b505050505050565b600e546125309030906001600160a01b0316846116b3565b600e5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af115801561259e573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906125c39190612aee565b5050505050565b600080604083850312156125dd57600080fd5b50508035926020909101359150565b6000815180845260005b81811015612612576020818501810151868301820152016125f6565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061230260208301846125ec565b6001600160a01b03811681146115ed57600080fd5b6000806040838503121561266d57600080fd5b823561267881612645565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126126ad57600080fd5b813567ffffffffffffffff808211156126c8576126c8612686565b604051601f8301601f19908116603f011681019082821181831017156126f0576126f0612686565b8160405283815286602085880101111561270957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561273e57600080fd5b833567ffffffffffffffff8082111561275657600080fd5b6127628783880161269c565b9450602086013591508082111561277857600080fd5b506127858682870161269c565b925050604084013590509250925092565b6000602082840312156127a857600080fd5b813561230281612645565b6000602082840312156127c557600080fd5b813567ffffffffffffffff8111156127dc57600080fd5b610d348482850161269c565b6000806000606084860312156127fd57600080fd5b833561280881612645565b9250602084013561281881612645565b929592945050506040919091013590565b6000806040838503121561283c57600080fd5b823561284781612645565b91506020830135801515811461285c57600080fd5b809150509250929050565b60408152600061287a60408301856125ec565b90508260208301529392505050565b60006020828403121561289b57600080fd5b5035919050565b600080604083850312156128b557600080fd5b82356128c081612645565b9150602083013561285c81612645565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a8b57610a8b6128d0565b600181811c9082168061290d57607f821691505b60208210810361292d57634e487b7160e01b600052602260045260246000fd5b50919050565b60408152600061294660408301856125ec565b905060018060a01b03831660208301529392505050565b81810381811115610a8b57610a8b6128d0565b8082028115828204841417610a8b57610a8b6128d0565b6000826129a457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000600182016129d1576129d16128d0565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060208284031215612a7257600080fd5b815161230281612645565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612acd5784516001600160a01b031683529383019391830191600101612aa8565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612b0357600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212205280d841afab540cfb667f9e6a1a364a6679ea13dfa568cbec322afa9ae46cd364736f6c63430008120033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.