ERC-20
Overview
Max Total Supply
1,000,000,000 WJP
Holders
40
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
2,247,902.665491028 WJPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
WojakpotToken
Compiler Version
v0.8.19+commit.7dd6d404
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.19; import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; ///@dev uniswap Factory interface to call createPair in constructor interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function createPair(address tokenA, address tokenB) external returns (address pair); } ///@dev uniswap router interface to call swapTokensForETH and getting WETH, factory value interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } ///@dev wrapper to handle the rewardPool ///@notice rewardFundHandler is a wrapper smartcontract to manage reward pool funds, /// 95% of funds will be sent to winner and 5% to fee wallet to keep the /// chainlink vrf working. (5% fee is deducted in eth, which owner can use /// to buy LINK token and fill the Subscription). contract rewardFundHanlder is Ownable { uint256 public totalDistributed; //keep track of total rewards distributed till date address public wallet = address(0xa9a72d15842A239B0D2fD62009239D77abCb7857); // fee wallet ///@dev send rewards to the winner ///@param winner: address of winner, which will be set by token contract /// itself, as per chainlink VRF outcome. function sendRewardToWinner (address winner) external onlyOwner { uint256 balance = address(this).balance; uint256 winnerPart = (balance * 95) /100; //95% goes to winner uint256 chainlinkFee = balance - winnerPart; // 5% will be used to cover up chainlink VRF gas (bool sent,) = winner.call{value: winnerPart} (""); require (sent, "reward transfer failed"); (bool cFee,) = wallet.call{value: chainlinkFee}(""); require(cFee, "chainlink fee transfer failed"); totalDistributed += balance; } ///@dev update the fee wallet to new one ///@param _newWallet: new wallet address to receive the fees. function updateWallet (address _newWallet) external onlyOwner { require (_newWallet != address(0), "can't be a zero address"); wallet = _newWallet; } ///@notice receive any external eth receive() external payable {} } ///@title WojakpotToken ///@notice An ERC20 token implementing buy/sell fee and reward mechanism for traders ///@dev contract uses Chainlink VRF V2 to generate randomness ///@dev Chainlink VRF V2 -- 0x271682DEB8C4E0901D1a1550aD2e64D568E69909 ///@dev make sure owner has set subscription id and it's live. ///@dev subscription should be funded enough to call pick winner successfully contract WojakpotToken is ERC20, Ownable, VRFConsumerBaseV2, ReentrancyGuard { ///dex and wallet related variables// IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0x000000000000000000000000000000000000dEaD); bool private swapping; address public marketingAndTeamWallet; rewardFundHanlder private rewardFundManager; address public rewardHandlingWrapper; uint256 public swapTokensAtAmount; bool public tradingActive = false; ///fees/// uint256 public marketingAndTeamFeeBuy; uint256 public rewardFeeBuy; uint256 public marketingAndTeamFeeSell; uint256 public rewardFeeSell; uint256 private totalBuyFee; uint256 private totalSellFee; ///reward related variables/// uint256 public lastDistributed; uint256 public minHoldingAmount; uint256 private requestID; uint256 public INTERVAL = 86400 seconds; // 1 Day /// winners, users and recent winner variables/// address [] public winners; address[] public _participants; address public recentWinner; ///Chainlink vrf v2 setup/// uint64 private immutable i_subscriptionId; uint32 private immutable i_callbackGasLimit; uint32 private constant NUM_WORDS = 1; uint16 private constant REQUEST_CONFIRMATIONS = 3; VRFCoordinatorV2Interface private immutable i_vrfCoordinator; bytes32 private immutable i_keyHash; ///mappings/// mapping(address => bool) private _isExcludedFromFees; // manage excluding of address from fee mapping(address => bool) public _isExcludedFromRewardPool; // managing the excluding of user from reward pool mapping(address => bool) public isEligible; // true if user is in list, false if not mapping(address => uint256) public participantIndex; //index of user in list mapping(address => bool) public marketMakerPairs; // pairs for token ///Events/// event ExcludeFromFees(address indexed account, bool isExcluded); event marketingAndTeamWalletsUpdated( address indexed marketingAndTeamWallet ); event WinnerPicked(address indexed user, uint256 ethAmount); event NewPairAdded (address indexed newPair); event TokensClaimed (address indexed token, uint256 amount); event EthClaimed (address indexed wallet, uint256 amount); event TradingEnabled (uint256 indexed startTime); event SwapAmountUpdated(uint256 indexed amount); event BuyFeesUpdated (uint256 indexed marketingAndTeamFee, uint256 indexed rewardPoolFee); event SellFeesUpdated (uint256 indexed marketingAndTeamFee, uint256 indexed rewardPoolFee); event RewardFeeWalletUpdated (address indexed feeWallet); event IntervalUpdated(uint256 indexed newInterval); constructor(uint64 _subscriptionID) ERC20("Wojakpot", "WJP") VRFConsumerBaseV2(0x271682DEB8C4E0901D1a1550aD2e64D568E69909) { ///VRF setup/// i_vrfCoordinator = VRFCoordinatorV2Interface(0x271682DEB8C4E0901D1a1550aD2e64D568E69909); i_keyHash = 0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef; //200 gwei keyhash i_subscriptionId = _subscriptionID; // you can create one on https://vrf.chain.link/ i_callbackGasLimit = 300000; ///Uniswap Setup/// IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D // Uniswap V2 Router ); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); marketMakerPairs[address(uniswapV2Pair)] = true; rewardFundManager = new rewardFundHanlder(); rewardHandlingWrapper = address(rewardFundManager); ///Token Config/// uint256 totalSupply = 1000000000 * 1e9; // 1 billion supply swapTokensAtAmount = 100000 * 1e9; //swap tax for eth when collected tokens are 100000 or more minHoldingAmount = 100000 * 1e9; // 100000 tokens to become eligible for reward pool marketingAndTeamFeeSell = 10; //1% rewardFeeSell = 20; // 2% totalSellFee = marketingAndTeamFeeSell + rewardFeeSell; marketingAndTeamFeeBuy = 10; // 1% rewardFeeBuy = 20; //2% totalBuyFee = marketingAndTeamFeeBuy + rewardFeeBuy; marketingAndTeamWallet = address(0x6B9D2d366FAEC27012cB650a6Ff9d58603Fc261E); // marketing wallet // exclude from paying fees _isExcludedFromFees[owner()] = true; _isExcludedFromFees[marketingAndTeamWallet] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[deadAddress] = true; /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable {} function decimals() public view virtual override returns (uint8) { return 9; } ///@dev enabled trading, once enabled can't be reversed function enableTrading() external onlyOwner { require(!tradingActive, "trading is already live"); tradingActive = true; lastDistributed = block.timestamp; emit TradingEnabled(lastDistributed); } ///@dev change the minimum amount of tokens to sell from fees ///@param newAmount: new amount for swapping tokens to eth /// requirements -- /// must be greator than equal to 1000 tokens and less /// than 0.5% of the supply function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= 1000 * 1e9, "Swap amount cannot be lower than 1000 tokens." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; emit SwapAmountUpdated (newAmount); return true; } ///@dev update the fees for sell tax ///@param marketingAndTeam: set new marketingAndTeam fees for sell ///@param rewardPool: set new reward fees for sell ///@notice As divisor is 1000 for calculation, so 5 means 0.5% and 10 means 1% function updateSellFees( uint256 marketingAndTeam, uint256 rewardPool ) external onlyOwner { marketingAndTeamFeeSell = marketingAndTeam; rewardFeeSell = rewardPool; totalSellFee = marketingAndTeamFeeSell + rewardFeeSell; require(totalSellFee >= 10 && totalSellFee <= 50, "Sell tax too high"); emit SellFeesUpdated(marketingAndTeam, rewardPool); } ///@dev update the fees for buy tax ///@param marketingAndTeam: set new marketingAndTeam fees for buy ///@param rewardPool: set new reward fees for buy ///@notice As divisor is 1000 for calculation, so 5 means 0.5% and 10 means 1% function updateBuyFees( uint256 marketingAndTeam, uint256 rewardPool ) external onlyOwner { marketingAndTeamFeeBuy = marketingAndTeam; rewardFeeBuy = rewardPool; totalBuyFee = marketingAndTeamFeeBuy + rewardFeeBuy; require( totalBuyFee >= 10 && totalBuyFee <= 50, "Buy tax too high"); emit BuyFeesUpdated(marketingAndTeam, rewardPool); } ///@dev manage the users address for having fees or not ///@param account: user address which will be excluded or included ///@param excluded: boolean value, true means excluded from fees, false means included in fees function excludeFromFees(address account, bool excluded) external onlyOwner { require(account != address(0), "zero address not allowed"); if (excluded) { require (!_isExcludedFromFees[account],"account is already excluded from fees"); } if (!excluded) { require(_isExcludedFromFees[account],"account is already included in fees"); } _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, _isExcludedFromFees[account]); } ///@dev update marketing wallet address ///@param newWallet: new address to receive marketing fess function updateMarketingWallet(address newWallet) external onlyOwner { require(newWallet != address(0), "address zero not allowed"); require (!isContract(newWallet),"Contract not allowed"); marketingAndTeamWallet = newWallet; emit marketingAndTeamWalletsUpdated(newWallet); } ///@notice check if a address is contract or not function isContract(address addr) private view returns (bool) { uint size; assembly { size := extcodesize(addr) } return size > 0; } ///@dev udpate the fee wallet to cover the chainlink fee ///@param wallet: new wallet to receive 5% eth when winner is picked function updateFeeWallet (address wallet) external onlyOwner { require(wallet != address(0), "address zero not allowed"); require (!isContract(wallet),"contract not allowed"); rewardFundManager.updateWallet(wallet); emit RewardFeeWalletUpdated (wallet); } ///@dev claim any tokens from token contract ///@param token: token address to be rescued. ///Requirements: ///Can't claim native tokens function claimStuckedERC20(address token) external onlyOwner { require (token != address(this), "can't take out native token"); uint256 amount = IERC20(token).balanceOf(address(this)); if(amount > 0){ IERC20(token).transfer(owner(), amount); emit TokensClaimed(token, amount); } } ///@dev claim any dust or external ether from the token contract function claimETH () external onlyOwner { uint256 amount = address(this).balance; (bool sent,)= owner().call{value: amount}(""); require (sent, "ETH transfer failed"); emit EthClaimed(owner(), amount); } ///@notice Returns if an account is excluded from fees/limits or not function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } ///@dev add or remove new pairs for token ///@param newPair: new pair address to be added or removed ///@param value: true to add, false to remove. /// Requirements -- /// can't remove the main pair. function manageMarketMakerPair (address newPair, bool value) external onlyOwner { require (newPair != address(uniswapV2Pair), "can't remove main pair"); marketMakerPairs[newPair] = value; if(value == true) { emit NewPairAdded(newPair); } } ///@notice transfer function to determine if it's a buy or sell /// or just a transfer. and implements maxWallet, maxTx accordingly. 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(0x000000000000000000000000000000000000dEaD) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && !swapping && marketMakerPairs[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (marketMakerPairs[to] && totalSellFee > 0) { fees = (amount * totalSellFee) / 1000; } // on buy if (marketMakerPairs[from] && totalBuyFee > 0) { fees = (amount * totalBuyFee) / 1000; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); /// adding and removing participants for reward Pool logic if (!_isExcludedFromRewardPool[from] && balanceOf(from) < minHoldingAmount && isEligible[from]){ removeholderFromList(from); } if (!_isExcludedFromRewardPool[to] && balanceOf(to) >= minHoldingAmount && !isEligible[to] && !marketMakerPairs[to] && to!=deadAddress && to!= address(0)){ addHolderToList(to); } } ///@dev pick winner, can be called by anyone, chainlink automation /// requirements -- /// rewardPool balance should be greator than 0. ///check if time b/w last reward distribution and now is more than INTERVAL, pickWinner function pickWinner () public nonReentrant{ require (address(rewardFundManager).balance > 0, "reward pool don't have enough eth"); require (block.timestamp - lastDistributed > INTERVAL, "Enough time has not been passed yet"); uint256 reward = rewardHandlingWrapper.balance; _pickWinner(); lastDistributed = block.timestamp; address winner = recentWinner; emit WinnerPicked(winner, reward); } /// /// /// INTERNAL FUNCTIONS /// /// /// ///@notice request chainlink coordinator for randomness function _pickWinner () internal { requestID = i_vrfCoordinator.requestRandomWords( i_keyHash, i_subscriptionId, // contract that will fund subscription requests REQUEST_CONFIRMATIONS, i_callbackGasLimit, NUM_WORDS ); } ///@notice value returned by chainlink coordinator is used to decided the winner /// and winner got paid. function fulfillRandomWords( uint256, /*request_id */ uint256[] memory randomWords ) internal override { uint256 indexWinner = randomWords[0] % _participants.length; address recentWinnerChoosen = _participants[indexWinner]; recentWinner = recentWinnerChoosen; rewardFundManager.sendRewardToWinner(recentWinner); } function addHolderToList(address holder) internal { participantIndex[holder] = _participants.length; _participants.push(holder); isEligible[holder] = true; } function removeholderFromList(address holder) internal { _participants[participantIndex[holder]] = _participants[_participants.length-1]; participantIndex[_participants[_participants.length-1]] = participantIndex[holder]; _participants.pop(); isEligible[holder] = false; } function swapTokensForETH(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } /// manage the swap the tax tokens for eth and send to marketing wallet, rewardPool /// as per there share. function swapBack() public { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } uint256 oldBalance = address(this).balance; swapTokensForETH(contractBalance); uint256 newBalance = address(this).balance - oldBalance; uint256 marketingAndTeamShare = (newBalance * (marketingAndTeamFeeBuy + marketingAndTeamFeeSell)) / (totalBuyFee+totalSellFee); uint256 rewardShare = newBalance - marketingAndTeamShare; (bool success,) = marketingAndTeamWallet.call{value: marketingAndTeamShare}(""); (bool success1,) = rewardHandlingWrapper.call{value: rewardShare}(""); require (success, "eth to marketing wallet failed"); require (success1, "eth to reward pool failed"); } ///@notice returns total eth distributed till date (it includes fees as well) function totalDistributedTillDate () public view returns (uint256) { return rewardFundManager.totalDistributed(); } ///@dev set minimum time interval b/w picking winner again ///@param newInterval: input in days, 1 means 1 days ///requirements -- /// value should be b/w 1 and 30. function setInterval (uint256 newInterval) external onlyOwner { require (newInterval > 1 seconds && newInterval <= 2592000 seconds, "interval should be b/w 1 sec to 30 days"); INTERVAL = newInterval * 1 seconds; emit IntervalUpdated (newInterval); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. It ensures 2 things: * @dev 1. The fulfillment came from the VRFCoordinator * @dev 2. The consumer contract implements fulfillRandomWords. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constructor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash). Create subscription, fund it * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface * @dev subscription management functions). * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations, * @dev callbackGasLimit, numWords), * @dev see (VRFCoordinatorInterface for a description of the arguments). * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomWords method. * * @dev The randomness argument to fulfillRandomWords is a set of random words * @dev generated from your requestId and the blockHash of the request. * * @dev If your contract could have concurrent requests open, you can use the * @dev requestId returned from requestRandomWords to track which response is associated * @dev with which randomness request. * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously. * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. It is for this reason that * @dev that you can signal to an oracle you'd like them to wait longer before * @dev responding to the request (however this is not enforced in the contract * @dev and so remains effective only in the case of unmodified oracle software). */ abstract contract VRFConsumerBaseV2 { error OnlyCoordinatorCanFulfill(address have, address want); address private immutable vrfCoordinator; /** * @param _vrfCoordinator address of VRFCoordinator contract */ constructor(address _vrfCoordinator) { vrfCoordinator = _vrfCoordinator; } /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomWords the VRF output expanded to the requested number of words */ function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual; // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external { if (msg.sender != vrfCoordinator) { revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator); } fulfillRandomWords(requestId, randomWords); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface VRFCoordinatorV2Interface { /** * @notice Get configuration relevant for making requests * @return minimumRequestConfirmations global min for request confirmations * @return maxGasLimit global max for request gas limit * @return s_provingKeyHashes list of registered key hashes */ function getRequestConfig() external view returns ( uint16, uint32, bytes32[] memory ); /** * @notice Request a set of random words. * @param keyHash - Corresponds to a particular oracle job which uses * that key for generating the VRF proof. Different keyHash's have different gas price * ceilings, so you can select a specific one to bound your maximum per request cost. * @param subId - The ID of the VRF subscription. Must be funded * with the minimum subscription balance required for the selected keyHash. * @param minimumRequestConfirmations - How many blocks you'd like the * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS * for why you may want to request more. The acceptable range is * [minimumRequestBlockConfirmations, 200]. * @param callbackGasLimit - How much gas you'd like to receive in your * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords * may be slightly less than this amount because of gas used calling the function * (argument decoding etc.), so you may need to request slightly more than you expect * to have inside fulfillRandomWords. The acceptable range is * [0, maxGasLimit] * @param numWords - The number of uint256 random values you'd like to receive * in your fulfillRandomWords callback. Note these numbers are expanded in a * secure way by the VRFCoordinator from a single random value supplied by the oracle. * @return requestId - A unique identifier of the request. Can be used to match * a request to a response in fulfillRandomWords. */ function requestRandomWords( bytes32 keyHash, uint64 subId, uint16 minimumRequestConfirmations, uint32 callbackGasLimit, uint32 numWords ) external returns (uint256 requestId); /** * @notice Create a VRF subscription. * @return subId - A unique subscription id. * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer. * @dev Note to fund the subscription, use transferAndCall. For example * @dev LINKTOKEN.transferAndCall( * @dev address(COORDINATOR), * @dev amount, * @dev abi.encode(subId)); */ function createSubscription() external returns (uint64 subId); /** * @notice Get a VRF subscription. * @param subId - ID of the subscription * @return balance - LINK balance of the subscription in juels. * @return reqCount - number of requests for this subscription, determines fee tier. * @return owner - owner of the subscription. * @return consumers - list of consumer address which are able to use this subscription. */ function getSubscription(uint64 subId) external view returns ( uint96 balance, uint64 reqCount, address owner, address[] memory consumers ); /** * @notice Request subscription owner transfer. * @param subId - ID of the subscription * @param newOwner - proposed new owner of the subscription */ function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external; /** * @notice Request subscription owner transfer. * @param subId - ID of the subscription * @dev will revert if original owner of subId has * not requested that msg.sender become the new owner. */ function acceptSubscriptionOwnerTransfer(uint64 subId) external; /** * @notice Add a consumer to a VRF subscription. * @param subId - ID of the subscription * @param consumer - New consumer which can use the subscription */ function addConsumer(uint64 subId, address consumer) external; /** * @notice Remove a consumer from a VRF subscription. * @param subId - ID of the subscription * @param consumer - Consumer to remove from the subscription */ function removeConsumer(uint64 subId, address consumer) external; /** * @notice Cancel a subscription * @param subId - ID of the subscription * @param to - Where to send the remaining LINK to */ function cancelSubscription(uint64 subId, address to) external; /* * @notice Check to see if there exists a request commitment consumers * for all consumers and keyhashes for a given sub. * @param subId - ID of the subscription * @return true if there exists at least one unfulfilled request for the subscription, false * otherwise. */ function pendingRequestExists(uint64 subId) external view returns (bool); }
// 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":[{"internalType":"uint64","name":"_subscriptionID","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"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":"uint256","name":"marketingAndTeamFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"rewardPoolFee","type":"uint256"}],"name":"BuyFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newInterval","type":"uint256"}],"name":"IntervalUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newPair","type":"address"}],"name":"NewPairAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"feeWallet","type":"address"}],"name":"RewardFeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"marketingAndTeamFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"rewardPoolFee","type":"uint256"}],"name":"SellFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"TradingEnabled","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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"WinnerPicked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"marketingAndTeamWallet","type":"address"}],"name":"marketingAndTeamWalletsUpdated","type":"event"},{"inputs":[],"name":"INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromRewardPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_participants","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":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimStuckedERC20","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isEligible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"manageMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAndTeamFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAndTeamFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAndTeamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minHoldingAmount","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":[{"internalType":"address","name":"","type":"address"}],"name":"participantIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pickWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recentWinner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardHandlingWrapper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newInterval","type":"uint256"}],"name":"setInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDistributedTillDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"marketingAndTeam","type":"uint256"},{"internalType":"uint256","name":"rewardPool","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingAndTeam","type":"uint256"},{"internalType":"uint256","name":"rewardPool","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":"uint256","name":"","type":"uint256"}],"name":"winners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610160604052600b805460ff19169055620151806015553480156200002357600080fd5b5060405162003bee38038062003bee833981016040819052620000469162000580565b73271682deb8c4e0901d1a1550ad2e64d568e699096040518060400160405280600881526020016715dbda985adc1bdd60c21b815250604051806040016040528060038152602001620574a560ec1b8152508160039081620000a9919062000656565b506004620000b8828262000656565b505050620000d5620000cf6200045160201b60201c565b62000455565b6001600160a01b0316608052600160065573271682deb8c4e0901d1a1550ad2e64d568e69909610120527f8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef610140526001600160401b03811660e052620493e061010052737a250d5630b4cf539739df2c5dacb4c659f2488d60a08190526040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa15801562000190573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b6919062000722565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000204573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022a919062000722565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000278573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029e919062000722565b6001600160a01b031660c08190526000908152601d602052604090819020805460ff1916600117905551620002d39062000572565b604051809103906000f080158015620002f0573d6000803e3d6000fd5b50600880546001600160a01b03929092166001600160a01b0319928316811790915560098054909216179055655af3107a4000600a818155601391909155600e8190556014600f819055670de0b6b3a7640000916200035091906200074d565b601155600a600c8190556014600d8190556200036c916200074d565b60105560078054610100600160a81b031916746b9d2d366faec27012cb650a6ff9d58603fc261e00179055600160196000620003b06005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055600754610100900490911681526019909252808220805484166001908117909155308352908220805484168217905561dead9091527fc73b1d6eda13a615b81c31830292dbbbf5fbb07f472982e223002bd83d5c3dc48054909216179055620004483382620004a7565b50505062000775565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620005025760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200051691906200074d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b61064780620035a783390190565b6000602082840312156200059357600080fd5b81516001600160401b0381168114620005ab57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005dd57607f821691505b602082108103620005fe57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200056d57600081815260208120601f850160051c810160208610156200062d5750805b601f850160051c820191505b818110156200064e5782815560010162000639565b505050505050565b81516001600160401b03811115620006725762000672620005b2565b6200068a81620006838454620005c8565b8462000604565b602080601f831160018114620006c25760008415620006a95750858301515b600019600386901b1c1916600185901b1785556200064e565b600085815260208120601f198616915b82811015620006f357888601518255948401946001909101908401620006d2565b5085821015620007125787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200073557600080fd5b81516001600160a01b0381168114620005ab57600080fd5b808201808211156200076f57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e051610100516101205161014051612db4620007f3600039600061233a015260006123ca0152600061239c0152600061236901526000818161054201526116b40152600081816103fb0152818161249b015281816125540152612590015260008181610ad30152610b150152612db46000f3fe6080604052600436106102e85760003560e01c806366e305fd11610190578063a2fb1175116100dc578063bbc0c74211610095578063dd62ed3e1161006f578063dd62ed3e146108fc578063e2f456051461091c578063f196f82414610932578063f2fde38b1461095257600080fd5b8063bbc0c742146108a2578063c0246668146108bc578063d257b34f146108dc57600080fd5b8063a2fb1175146107ec578063a457c2d71461080c578063a9059cbb1461082c578063aacebbe31461084c578063b5d1c7ca1461086c578063bb6759e31461088257600080fd5b806374e8d732116101495780638a8c523c116101235780638a8c523c1461078e5780638da5cb5b146107a357806395d89b41146107c157806397ddab65146107d657600080fd5b806374e8d7321461074257806375a99af21461075857806389facb201461077857600080fd5b806366e305fd1461068757806367272999146106b75780636ac5eeee146106cc57806370a08231146106e1578063715018a61461071757806372648fec1461072c57600080fd5b806323b872dd1161024f5780634f8c70cf116102085780635d495aea116101e25780635d495aea146106025780635ee5bbf214610617578063667185241461064757806366ca9b831461066757600080fd5b80634f8c70cf146105795780634fbee1931461059957806358d4ce14146105d257600080fd5b806323b872dd146104be57806327c8f835146104de578063313ce567146104f4578063395093511461051057806349bd5a5e146105305780634d65de8f1461056457600080fd5b806318160ddd116102a157806318160ddd1461041d5780631ab99e12146104325780631fce07d5146104485780631fe543e31461045e57806320290c661461047e57806322a900821461049e57600080fd5b806302dbd8f8146102f457806306fdde0314610316578063083b913714610341578063095ea7b31461037c57806310d2540e146103ac5780631694505e146103e957600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046128b7565b610972565b005b34801561032257600080fd5b5061032b610a1c565b60405161033891906128d9565b60405180910390f35b34801561034d57600080fd5b5061036e61035c36600461293c565b601c6020526000908152604090205481565b604051908152602001610338565b34801561038857600080fd5b5061039c610397366004612960565b610aae565b6040519015158152602001610338565b3480156103b857600080fd5b506007546103d19061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610338565b3480156103f557600080fd5b506103d17f000000000000000000000000000000000000000000000000000000000000000081565b34801561042957600080fd5b5060025461036e565b34801561043e57600080fd5b5061036e60135481565b34801561045457600080fd5b5061036e60125481565b34801561046a57600080fd5b506103146104793660046129a2565b610ac8565b34801561048a57600080fd5b5061031461049936600461293c565b610b50565b3480156104aa57600080fd5b506103146104b9366004612a6c565b610cfd565b3480156104ca57600080fd5b5061039c6104d9366004612a85565b610db0565b3480156104ea57600080fd5b506103d161dead81565b34801561050057600080fd5b5060405160098152602001610338565b34801561051c57600080fd5b5061039c61052b366004612960565b610dd4565b34801561053c57600080fd5b506103d17f000000000000000000000000000000000000000000000000000000000000000081565b34801561057057600080fd5b5061036e610df6565b34801561058557600080fd5b506018546103d1906001600160a01b031681565b3480156105a557600080fd5b5061039c6105b436600461293c565b6001600160a01b031660009081526019602052604090205460ff1690565b3480156105de57600080fd5b5061039c6105ed36600461293c565b601a6020526000908152604090205460ff1681565b34801561060e57600080fd5b50610314610e69565b34801561062357600080fd5b5061039c61063236600461293c565b601d6020526000908152604090205460ff1681565b34801561065357600080fd5b5061031461066236600461293c565b610fa8565b34801561067357600080fd5b506103146106823660046128b7565b6110dd565b34801561069357600080fd5b5061039c6106a236600461293c565b601b6020526000908152604090205460ff1681565b3480156106c357600080fd5b50610314611181565b3480156106d857600080fd5b5061031461127a565b3480156106ed57600080fd5b5061036e6106fc36600461293c565b6001600160a01b031660009081526020819052604090205490565b34801561072357600080fd5b5061031461144c565b34801561073857600080fd5b5061036e600d5481565b34801561074e57600080fd5b5061036e600f5481565b34801561076457600080fd5b506009546103d1906001600160a01b031681565b34801561078457600080fd5b5061036e60155481565b34801561079a57600080fd5b5061031461145e565b3480156107af57600080fd5b506005546001600160a01b03166103d1565b3480156107cd57600080fd5b5061032b6114f7565b3480156107e257600080fd5b5061036e600c5481565b3480156107f857600080fd5b506103d1610807366004612a6c565b611506565b34801561081857600080fd5b5061039c610827366004612960565b611530565b34801561083857600080fd5b5061039c610847366004612960565b6115ab565b34801561085857600080fd5b5061031461086736600461293c565b6115b9565b34801561087857600080fd5b5061036e600e5481565b34801561088e57600080fd5b5061031461089d366004612ad4565b6116aa565b3480156108ae57600080fd5b50600b5461039c9060ff1681565b3480156108c857600080fd5b506103146108d7366004612ad4565b611792565b3480156108e857600080fd5b5061039c6108f7366004612a6c565b611944565b34801561090857600080fd5b5061036e610917366004612b0d565b611a7e565b34801561092857600080fd5b5061036e600a5481565b34801561093e57600080fd5b506103d161094d366004612a6c565b611aa9565b34801561095e57600080fd5b5061031461096d36600461293c565b611ab9565b61097a611b32565b600e829055600f81905561098e8183612b51565b6011819055600a118015906109a65750603260115411155b6109eb5760405162461bcd60e51b81526020600482015260116024820152700a6cad8d840e8c2f040e8dede40d0d2ced607b1b60448201526064015b60405180910390fd5b604051819083907f2c7448b63380296b372453c5287509524b5b645dc6a93ffe09e0af53e6b8935b90600090a35050565b606060038054610a2b90612b64565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5790612b64565b8015610aa45780601f10610a7957610100808354040283529160200191610aa4565b820191906000526020600020905b815481529060010190602001808311610a8757829003601f168201915b5050505050905090565b600033610abc818585611b8c565b60019150505b92915050565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b425760405163073e64fd60e21b81523360048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660248201526044016109e2565b610b4c8282611cb0565b5050565b610b58611b32565b306001600160a01b03821603610bb05760405162461bcd60e51b815260206004820152601b60248201527f63616e27742074616b65206f7574206e617469766520746f6b656e000000000060448201526064016109e2565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610bf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1b9190612b9e565b90508015610b4c57816001600160a01b031663a9059cbb610c446005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb59190612bb7565b50816001600160a01b03167f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e43082604051610cf191815260200190565b60405180910390a25050565b610d05611b32565b600181118015610d18575062278d008111155b610d745760405162461bcd60e51b815260206004820152602760248201527f696e74657276616c2073686f756c6420626520622f7720312073656320746f206044820152663330206461797360c81b60648201526084016109e2565b610d7f816001612bd4565b60155560405181907fc6f44473d25b86976ee7357c1339328224e349abc5486edc3007ef658a57608a90600090a250565b600033610dbe858285611d7e565b610dc9858585611df8565b506001949350505050565b600033610abc818585610de78383611a7e565b610df19190612b51565b611b8c565b6008546040805163efca2eed60e01b815290516000926001600160a01b03169163efca2eed9160048083019260209291908290030181865afa158015610e40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e649190612b9e565b905090565b610e716122d2565b6008546001600160a01b031631610ed45760405162461bcd60e51b815260206004820152602160248201527f72657761726420706f6f6c20646f6e2774206861766520656e6f7567682065746044820152600d60fb1b60648201526084016109e2565b601554601254610ee49042612beb565b11610f3d5760405162461bcd60e51b815260206004820152602360248201527f456e6f7567682074696d6520686173206e6f74206265656e20706173736564206044820152621e595d60ea1b60648201526084016109e2565b6009546001600160a01b031631610f5261232b565b426012556018546040518281526001600160a01b039091169081907f64791dbae5677392ba76761a5273633cec8f1d9d8cfe808da7bac6ef16a880be9060200160405180910390a25050610fa66001600655565b565b610fb0611b32565b6001600160a01b0381166110015760405162461bcd60e51b81526020600482015260186024820152771859191c995cdcc81e995c9bc81b9bdd08185b1b1bddd95960421b60448201526064016109e2565b803b156110475760405162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016109e2565b60085460405163848b86e360e01b81526001600160a01b0383811660048301529091169063848b86e390602401600060405180830381600087803b15801561108e57600080fd5b505af11580156110a2573d6000803e3d6000fd5b50506040516001600160a01b03841692507f31172ec3981fc04368f4a9963be89cf07881872b351083bafa0653503a77ca349150600090a250565b6110e5611b32565b600c829055600d8190556110f98183612b51565b6010819055600a118015906111115750603260105411155b6111505760405162461bcd60e51b815260206004820152601060248201526f084eaf240e8c2f040e8dede40d0d2ced60831b60448201526064016109e2565b604051819083907f480af1f773972b1df72af32ec463e0fdeb1b49f1ca37d07982f677919d5fdd0c90600090a35050565b611189611b32565b47600061119e6005546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d80600081146111e8576040519150601f19603f3d011682016040523d82523d6000602084013e6111ed565b606091505b50509050806112345760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109e2565b6005546001600160a01b03166001600160a01b03167f0d7976053781e071cecf47e898ad2a6dc87621ca33734e96eb4b92453319e8c983604051610cf191815260200190565b30600090815260208190526040812054908190036112955750565b4761129f82612444565b60006112ab8247612beb565b905060006011546010546112bf9190612b51565b600e54600c546112cf9190612b51565b6112d99084612bd4565b6112e39190612c14565b905060006112f18284612beb565b6007546040519192506000916101009091046001600160a01b03169084908381818185875af1925050503d8060008114611347576040519150601f19603f3d011682016040523d82523d6000602084013e61134c565b606091505b50506009546040519192506000916001600160a01b039091169084908381818185875af1925050503d80600081146113a0576040519150601f19603f3d011682016040523d82523d6000602084013e6113a5565b606091505b50509050816113f65760405162461bcd60e51b815260206004820152601e60248201527f65746820746f206d61726b6574696e672077616c6c6574206661696c6564000060448201526064016109e2565b806114435760405162461bcd60e51b815260206004820152601960248201527f65746820746f2072657761726420706f6f6c206661696c65640000000000000060448201526064016109e2565b50505050505050565b611454611b32565b610fa66000612604565b611466611b32565b600b5460ff16156114b95760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206c69766500000000000000000060448201526064016109e2565b600b805460ff191660011790554260128190556040517fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390600090a2565b606060048054610a2b90612b64565b6016818154811061151657600080fd5b6000918252602090912001546001600160a01b0316905081565b6000338161153e8286611a7e565b90508381101561159e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109e2565b610dc98286868403611b8c565b600033610abc818585611df8565b6115c1611b32565b6001600160a01b0381166116125760405162461bcd60e51b81526020600482015260186024820152771859191c995cdcc81e995c9bc81b9bdd08185b1b1bddd95960421b60448201526064016109e2565b803b156116585760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016109e2565b60078054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f2c4c57e0762ca6e8bea118407f200e650c3bdbd6991f85c682d0d92929894ccb90600090a250565b6116b2611b32565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361172c5760405162461bcd60e51b815260206004820152601660248201527531b0b713ba103932b6b7bb329036b0b4b7103830b4b960511b60448201526064016109e2565b6001600160a01b0382166000908152601d60205260409020805460ff1916821515908117909155600103610b4c576040516001600160a01b038316907fdd221b23185770ec22b72cfd7ce7a6da23deabf9e343f5275fcc619aa607a50c90600090a25050565b61179a611b32565b6001600160a01b0382166117f05760405162461bcd60e51b815260206004820152601860248201527f7a65726f2061646472657373206e6f7420616c6c6f776564000000000000000060448201526064016109e2565b801561186d576001600160a01b03821660009081526019602052604090205460ff161561186d5760405162461bcd60e51b815260206004820152602560248201527f6163636f756e7420697320616c7265616479206578636c756465642066726f6d604482015264206665657360d81b60648201526084016109e2565b806118e6576001600160a01b03821660009081526019602052604090205460ff166118e65760405162461bcd60e51b815260206004820152602360248201527f6163636f756e7420697320616c726561647920696e636c7564656420696e206660448201526265657360e81b60648201526084016109e2565b6001600160a01b038216600081815260196020908152604091829020805460ff1916851515908117909155915160ff909216151582527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610cf1565b600061194e611b32565b64e8d4a510008210156119b95760405162461bcd60e51b815260206004820152602d60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201526c1018981818103a37b5b2b7399760991b60648201526084016109e2565b6103e86119c560025490565b6119d0906005612bd4565b6119da9190612c14565b821115611a465760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016109e2565b600a82905560405182907f8780fc5103d7957c51dda65a1098e5614fef81fab347224feb78e497d6c360ca90600090a2506001919050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6017818154811061151657600080fd5b611ac1611b32565b6001600160a01b038116611b265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e2565b611b2f81612604565b50565b6005546001600160a01b03163314610fa65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e2565b6001600160a01b038316611bee5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109e2565b6001600160a01b038216611c4f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600060178054905082600081518110611ccb57611ccb612c28565b6020026020010151611cdd9190612c3e565b9050600060178281548110611cf457611cf4612c28565b600091825260209091200154601880546001600160a01b0319166001600160a01b03928316908117909155600854604051637661b8d760e11b8152600481018390529193509091169063ecc371ae90602401600060405180830381600087803b158015611d6057600080fd5b505af1158015611d74573d6000803e3d6000fd5b5050505050505050565b6000611d8a8484611a7e565b90506000198114611df25781811015611de55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109e2565b611df28484848403611b8c565b50505050565b6001600160a01b038316611e1e5760405162461bcd60e51b81526004016109e290612c52565b6001600160a01b038216611e445760405162461bcd60e51b81526004016109e290612c97565b80600003611e5d57611e5883836000612656565b505050565b6005546001600160a01b03848116911614801590611e8957506005546001600160a01b03838116911614155b8015611e9d57506001600160a01b03821615155b8015611eb457506001600160a01b03821661dead14155b8015611ec3575060075460ff16155b15611f5657600b5460ff16611f56576001600160a01b03831660009081526019602052604090205460ff1680611f1157506001600160a01b03821660009081526019602052604090205460ff165b611f565760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109e2565b30600090815260208190526040902054600a5481108015908190611f7d575060075460ff16155b8015611fa157506001600160a01b0384166000908152601d602052604090205460ff165b8015611fc657506001600160a01b03851660009081526019602052604090205460ff16155b8015611feb57506001600160a01b03841660009081526019602052604090205460ff16155b15612010576007805460ff1916600117905561200561127a565b6007805460ff191690555b6007546001600160a01b03861660009081526019602052604090205460ff9182161591168061205757506001600160a01b03851660009081526019602052604090205460ff165b15612060575060005b60008115612120576001600160a01b0386166000908152601d602052604090205460ff16801561209257506000601154115b156120b5576103e8601154866120a89190612bd4565b6120b29190612c14565b90505b6001600160a01b0387166000908152601d602052604090205460ff1680156120df57506000601054115b15612102576103e8601054866120f59190612bd4565b6120ff9190612c14565b90505b801561211357612113873083612656565b61211d8186612beb565b94505b61212b878787612656565b6001600160a01b0387166000908152601a602052604090205460ff1615801561216d57506013546001600160a01b038816600090815260208190526040902054105b801561219157506001600160a01b0387166000908152601b602052604090205460ff165b1561219f5761219f87612780565b6001600160a01b0386166000908152601a602052604090205460ff161580156121e257506013546001600160a01b03871660009081526020819052604090205410155b801561220757506001600160a01b0386166000908152601b602052604090205460ff16155b801561222c57506001600160a01b0386166000908152601d602052604090205460ff16155b801561224357506001600160a01b03861661dead14155b801561225757506001600160a01b03861615155b1561144357601780546001600160a01b0388166000818152601c6020908152604080832085905560018086019096557fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c1590940180546001600160a01b031916909317909255601b90915220805460ff19169091179055611443565b6002600654036123245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109e2565b6002600655565b6040516305d3b1d360e41b81527f0000000000000000000000000000000000000000000000000000000000000000600482015267ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526003604482015263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166064820152600160848201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635d3b1d309060a4016020604051808303816000875af115801561241b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243f9190612b9e565b601455565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061247957612479612c28565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251b9190612cda565b8160018151811061252e5761252e612c28565b60200260200101906001600160a01b031690816001600160a01b031681525050612579307f000000000000000000000000000000000000000000000000000000000000000084611b8c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906125ce908590600090869030904290600401612cf7565b600060405180830381600087803b1580156125e857600080fd5b505af11580156125fc573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661267c5760405162461bcd60e51b81526004016109e290612c52565b6001600160a01b0382166126a25760405162461bcd60e51b81526004016109e290612c97565b6001600160a01b0383166000908152602081905260409020548181101561271a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109e2565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611df2565b6017805461279090600190612beb565b815481106127a0576127a0612c28565b60009182526020808320909101546001600160a01b038481168452601c9092526040909220546017805492909316929181106127de576127de612c28565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559183168152601c918290526040812054601780549193929161282a90600190612beb565b8154811061283a5761283a612c28565b60009182526020808320909101546001600160a01b03168352820192909252604001902055601780548061287057612870612d68565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03929092168152601b90915260409020805460ff19169055565b600080604083850312156128ca57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015612906578581018301518582016040015282016128ea565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611b2f57600080fd5b60006020828403121561294e57600080fd5b813561295981612927565b9392505050565b6000806040838503121561297357600080fd5b823561297e81612927565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156129b557600080fd5b8235915060208084013567ffffffffffffffff808211156129d557600080fd5b818601915086601f8301126129e957600080fd5b8135818111156129fb576129fb61298c565b8060051b604051601f19603f83011681018181108582111715612a2057612a2061298c565b604052918252848201925083810185019189831115612a3e57600080fd5b938501935b82851015612a5c57843584529385019392850192612a43565b8096505050505050509250929050565b600060208284031215612a7e57600080fd5b5035919050565b600080600060608486031215612a9a57600080fd5b8335612aa581612927565b92506020840135612ab581612927565b929592945050506040919091013590565b8015158114611b2f57600080fd5b60008060408385031215612ae757600080fd5b8235612af281612927565b91506020830135612b0281612ac6565b809150509250929050565b60008060408385031215612b2057600080fd5b8235612b2b81612927565b91506020830135612b0281612927565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ac257610ac2612b3b565b600181811c90821680612b7857607f821691505b602082108103612b9857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612bb057600080fd5b5051919050565b600060208284031215612bc957600080fd5b815161295981612ac6565b8082028115828204841417610ac257610ac2612b3b565b81810381811115610ac257610ac2612b3b565b634e487b7160e01b600052601260045260246000fd5b600082612c2357612c23612bfe565b500490565b634e487b7160e01b600052603260045260246000fd5b600082612c4d57612c4d612bfe565b500690565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060208284031215612cec57600080fd5b815161295981612927565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612d475784516001600160a01b031683529383019391830191600101612d22565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220324019533bfe8c191908ffacbe77ab4c0e6306e392f2ae38ada2e97498b8eebd64736f6c634300081300336080604052600280546001600160a01b03191673a9a72d15842a239b0d2fd62009239d77abcb785717905534801561003657600080fd5b5061004033610045565b610095565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6105a3806100a46000396000f3fe6080604052600436106100745760003560e01c80638da5cb5b1161004e5780638da5cb5b146100f4578063ecc371ae14610112578063efca2eed14610132578063f2fde38b1461015657600080fd5b8063521eb27314610080578063715018a6146100bd578063848b86e3146100d457600080fd5b3661007b57005b600080fd5b34801561008c57600080fd5b506002546100a0906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100c957600080fd5b506100d2610176565b005b3480156100e057600080fd5b506100d26100ef3660046104c2565b61018a565b34801561010057600080fd5b506000546001600160a01b03166100a0565b34801561011e57600080fd5b506100d261012d3660046104c2565b61020f565b34801561013e57600080fd5b5061014860015481565b6040519081526020016100b4565b34801561016257600080fd5b506100d26101713660046104c2565b61039f565b61017e610418565b6101886000610472565b565b610192610418565b6001600160a01b0381166101ed5760405162461bcd60e51b815260206004820152601760248201527f63616e27742062652061207a65726f206164647265737300000000000000000060448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610217610418565b476000606461022783605f610508565b6102319190610525565b9050600061023f8284610547565b90506000846001600160a01b03168360405160006040518083038185875af1925050503d806000811461028e576040519150601f19603f3d011682016040523d82523d6000602084013e610293565b606091505b50509050806102dd5760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b60448201526064016101e4565b6002546040516000916001600160a01b03169084908381818185875af1925050503d806000811461032a576040519150601f19603f3d011682016040523d82523d6000602084013e61032f565b606091505b50509050806103805760405162461bcd60e51b815260206004820152601d60248201527f636861696e6c696e6b20666565207472616e73666572206661696c656400000060448201526064016101e4565b8460016000828254610392919061055a565b9091555050505050505050565b6103a7610418565b6001600160a01b03811661040c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101e4565b61041581610472565b50565b6000546001600160a01b031633146101885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101e4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156104d457600080fd5b81356001600160a01b03811681146104eb57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761051f5761051f6104f2565b92915050565b60008261054257634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561051f5761051f6104f2565b8082018082111561051f5761051f6104f256fea264697066735822122094131c453ee87a1b7102b67df5c47c9ab24344f23b6e3dbbe29fce0712c9be0a64736f6c634300081300330000000000000000000000000000000000000000000000000000000000000315
Deployed Bytecode
0x6080604052600436106102e85760003560e01c806366e305fd11610190578063a2fb1175116100dc578063bbc0c74211610095578063dd62ed3e1161006f578063dd62ed3e146108fc578063e2f456051461091c578063f196f82414610932578063f2fde38b1461095257600080fd5b8063bbc0c742146108a2578063c0246668146108bc578063d257b34f146108dc57600080fd5b8063a2fb1175146107ec578063a457c2d71461080c578063a9059cbb1461082c578063aacebbe31461084c578063b5d1c7ca1461086c578063bb6759e31461088257600080fd5b806374e8d732116101495780638a8c523c116101235780638a8c523c1461078e5780638da5cb5b146107a357806395d89b41146107c157806397ddab65146107d657600080fd5b806374e8d7321461074257806375a99af21461075857806389facb201461077857600080fd5b806366e305fd1461068757806367272999146106b75780636ac5eeee146106cc57806370a08231146106e1578063715018a61461071757806372648fec1461072c57600080fd5b806323b872dd1161024f5780634f8c70cf116102085780635d495aea116101e25780635d495aea146106025780635ee5bbf214610617578063667185241461064757806366ca9b831461066757600080fd5b80634f8c70cf146105795780634fbee1931461059957806358d4ce14146105d257600080fd5b806323b872dd146104be57806327c8f835146104de578063313ce567146104f4578063395093511461051057806349bd5a5e146105305780634d65de8f1461056457600080fd5b806318160ddd116102a157806318160ddd1461041d5780631ab99e12146104325780631fce07d5146104485780631fe543e31461045e57806320290c661461047e57806322a900821461049e57600080fd5b806302dbd8f8146102f457806306fdde0314610316578063083b913714610341578063095ea7b31461037c57806310d2540e146103ac5780631694505e146103e957600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046128b7565b610972565b005b34801561032257600080fd5b5061032b610a1c565b60405161033891906128d9565b60405180910390f35b34801561034d57600080fd5b5061036e61035c36600461293c565b601c6020526000908152604090205481565b604051908152602001610338565b34801561038857600080fd5b5061039c610397366004612960565b610aae565b6040519015158152602001610338565b3480156103b857600080fd5b506007546103d19061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610338565b3480156103f557600080fd5b506103d17f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561042957600080fd5b5060025461036e565b34801561043e57600080fd5b5061036e60135481565b34801561045457600080fd5b5061036e60125481565b34801561046a57600080fd5b506103146104793660046129a2565b610ac8565b34801561048a57600080fd5b5061031461049936600461293c565b610b50565b3480156104aa57600080fd5b506103146104b9366004612a6c565b610cfd565b3480156104ca57600080fd5b5061039c6104d9366004612a85565b610db0565b3480156104ea57600080fd5b506103d161dead81565b34801561050057600080fd5b5060405160098152602001610338565b34801561051c57600080fd5b5061039c61052b366004612960565b610dd4565b34801561053c57600080fd5b506103d17f0000000000000000000000007b40dab74170c6f30b74df656ef3b641bcb2e65781565b34801561057057600080fd5b5061036e610df6565b34801561058557600080fd5b506018546103d1906001600160a01b031681565b3480156105a557600080fd5b5061039c6105b436600461293c565b6001600160a01b031660009081526019602052604090205460ff1690565b3480156105de57600080fd5b5061039c6105ed36600461293c565b601a6020526000908152604090205460ff1681565b34801561060e57600080fd5b50610314610e69565b34801561062357600080fd5b5061039c61063236600461293c565b601d6020526000908152604090205460ff1681565b34801561065357600080fd5b5061031461066236600461293c565b610fa8565b34801561067357600080fd5b506103146106823660046128b7565b6110dd565b34801561069357600080fd5b5061039c6106a236600461293c565b601b6020526000908152604090205460ff1681565b3480156106c357600080fd5b50610314611181565b3480156106d857600080fd5b5061031461127a565b3480156106ed57600080fd5b5061036e6106fc36600461293c565b6001600160a01b031660009081526020819052604090205490565b34801561072357600080fd5b5061031461144c565b34801561073857600080fd5b5061036e600d5481565b34801561074e57600080fd5b5061036e600f5481565b34801561076457600080fd5b506009546103d1906001600160a01b031681565b34801561078457600080fd5b5061036e60155481565b34801561079a57600080fd5b5061031461145e565b3480156107af57600080fd5b506005546001600160a01b03166103d1565b3480156107cd57600080fd5b5061032b6114f7565b3480156107e257600080fd5b5061036e600c5481565b3480156107f857600080fd5b506103d1610807366004612a6c565b611506565b34801561081857600080fd5b5061039c610827366004612960565b611530565b34801561083857600080fd5b5061039c610847366004612960565b6115ab565b34801561085857600080fd5b5061031461086736600461293c565b6115b9565b34801561087857600080fd5b5061036e600e5481565b34801561088e57600080fd5b5061031461089d366004612ad4565b6116aa565b3480156108ae57600080fd5b50600b5461039c9060ff1681565b3480156108c857600080fd5b506103146108d7366004612ad4565b611792565b3480156108e857600080fd5b5061039c6108f7366004612a6c565b611944565b34801561090857600080fd5b5061036e610917366004612b0d565b611a7e565b34801561092857600080fd5b5061036e600a5481565b34801561093e57600080fd5b506103d161094d366004612a6c565b611aa9565b34801561095e57600080fd5b5061031461096d36600461293c565b611ab9565b61097a611b32565b600e829055600f81905561098e8183612b51565b6011819055600a118015906109a65750603260115411155b6109eb5760405162461bcd60e51b81526020600482015260116024820152700a6cad8d840e8c2f040e8dede40d0d2ced607b1b60448201526064015b60405180910390fd5b604051819083907f2c7448b63380296b372453c5287509524b5b645dc6a93ffe09e0af53e6b8935b90600090a35050565b606060038054610a2b90612b64565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5790612b64565b8015610aa45780601f10610a7957610100808354040283529160200191610aa4565b820191906000526020600020905b815481529060010190602001808311610a8757829003601f168201915b5050505050905090565b600033610abc818585611b8c565b60019150505b92915050565b336001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699091614610b425760405163073e64fd60e21b81523360048201526001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699091660248201526044016109e2565b610b4c8282611cb0565b5050565b610b58611b32565b306001600160a01b03821603610bb05760405162461bcd60e51b815260206004820152601b60248201527f63616e27742074616b65206f7574206e617469766520746f6b656e000000000060448201526064016109e2565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610bf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1b9190612b9e565b90508015610b4c57816001600160a01b031663a9059cbb610c446005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb59190612bb7565b50816001600160a01b03167f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e43082604051610cf191815260200190565b60405180910390a25050565b610d05611b32565b600181118015610d18575062278d008111155b610d745760405162461bcd60e51b815260206004820152602760248201527f696e74657276616c2073686f756c6420626520622f7720312073656320746f206044820152663330206461797360c81b60648201526084016109e2565b610d7f816001612bd4565b60155560405181907fc6f44473d25b86976ee7357c1339328224e349abc5486edc3007ef658a57608a90600090a250565b600033610dbe858285611d7e565b610dc9858585611df8565b506001949350505050565b600033610abc818585610de78383611a7e565b610df19190612b51565b611b8c565b6008546040805163efca2eed60e01b815290516000926001600160a01b03169163efca2eed9160048083019260209291908290030181865afa158015610e40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e649190612b9e565b905090565b610e716122d2565b6008546001600160a01b031631610ed45760405162461bcd60e51b815260206004820152602160248201527f72657761726420706f6f6c20646f6e2774206861766520656e6f7567682065746044820152600d60fb1b60648201526084016109e2565b601554601254610ee49042612beb565b11610f3d5760405162461bcd60e51b815260206004820152602360248201527f456e6f7567682074696d6520686173206e6f74206265656e20706173736564206044820152621e595d60ea1b60648201526084016109e2565b6009546001600160a01b031631610f5261232b565b426012556018546040518281526001600160a01b039091169081907f64791dbae5677392ba76761a5273633cec8f1d9d8cfe808da7bac6ef16a880be9060200160405180910390a25050610fa66001600655565b565b610fb0611b32565b6001600160a01b0381166110015760405162461bcd60e51b81526020600482015260186024820152771859191c995cdcc81e995c9bc81b9bdd08185b1b1bddd95960421b60448201526064016109e2565b803b156110475760405162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016109e2565b60085460405163848b86e360e01b81526001600160a01b0383811660048301529091169063848b86e390602401600060405180830381600087803b15801561108e57600080fd5b505af11580156110a2573d6000803e3d6000fd5b50506040516001600160a01b03841692507f31172ec3981fc04368f4a9963be89cf07881872b351083bafa0653503a77ca349150600090a250565b6110e5611b32565b600c829055600d8190556110f98183612b51565b6010819055600a118015906111115750603260105411155b6111505760405162461bcd60e51b815260206004820152601060248201526f084eaf240e8c2f040e8dede40d0d2ced60831b60448201526064016109e2565b604051819083907f480af1f773972b1df72af32ec463e0fdeb1b49f1ca37d07982f677919d5fdd0c90600090a35050565b611189611b32565b47600061119e6005546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d80600081146111e8576040519150601f19603f3d011682016040523d82523d6000602084013e6111ed565b606091505b50509050806112345760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109e2565b6005546001600160a01b03166001600160a01b03167f0d7976053781e071cecf47e898ad2a6dc87621ca33734e96eb4b92453319e8c983604051610cf191815260200190565b30600090815260208190526040812054908190036112955750565b4761129f82612444565b60006112ab8247612beb565b905060006011546010546112bf9190612b51565b600e54600c546112cf9190612b51565b6112d99084612bd4565b6112e39190612c14565b905060006112f18284612beb565b6007546040519192506000916101009091046001600160a01b03169084908381818185875af1925050503d8060008114611347576040519150601f19603f3d011682016040523d82523d6000602084013e61134c565b606091505b50506009546040519192506000916001600160a01b039091169084908381818185875af1925050503d80600081146113a0576040519150601f19603f3d011682016040523d82523d6000602084013e6113a5565b606091505b50509050816113f65760405162461bcd60e51b815260206004820152601e60248201527f65746820746f206d61726b6574696e672077616c6c6574206661696c6564000060448201526064016109e2565b806114435760405162461bcd60e51b815260206004820152601960248201527f65746820746f2072657761726420706f6f6c206661696c65640000000000000060448201526064016109e2565b50505050505050565b611454611b32565b610fa66000612604565b611466611b32565b600b5460ff16156114b95760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206c69766500000000000000000060448201526064016109e2565b600b805460ff191660011790554260128190556040517fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390600090a2565b606060048054610a2b90612b64565b6016818154811061151657600080fd5b6000918252602090912001546001600160a01b0316905081565b6000338161153e8286611a7e565b90508381101561159e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109e2565b610dc98286868403611b8c565b600033610abc818585611df8565b6115c1611b32565b6001600160a01b0381166116125760405162461bcd60e51b81526020600482015260186024820152771859191c995cdcc81e995c9bc81b9bdd08185b1b1bddd95960421b60448201526064016109e2565b803b156116585760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016109e2565b60078054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f2c4c57e0762ca6e8bea118407f200e650c3bdbd6991f85c682d0d92929894ccb90600090a250565b6116b2611b32565b7f0000000000000000000000007b40dab74170c6f30b74df656ef3b641bcb2e6576001600160a01b0316826001600160a01b03160361172c5760405162461bcd60e51b815260206004820152601660248201527531b0b713ba103932b6b7bb329036b0b4b7103830b4b960511b60448201526064016109e2565b6001600160a01b0382166000908152601d60205260409020805460ff1916821515908117909155600103610b4c576040516001600160a01b038316907fdd221b23185770ec22b72cfd7ce7a6da23deabf9e343f5275fcc619aa607a50c90600090a25050565b61179a611b32565b6001600160a01b0382166117f05760405162461bcd60e51b815260206004820152601860248201527f7a65726f2061646472657373206e6f7420616c6c6f776564000000000000000060448201526064016109e2565b801561186d576001600160a01b03821660009081526019602052604090205460ff161561186d5760405162461bcd60e51b815260206004820152602560248201527f6163636f756e7420697320616c7265616479206578636c756465642066726f6d604482015264206665657360d81b60648201526084016109e2565b806118e6576001600160a01b03821660009081526019602052604090205460ff166118e65760405162461bcd60e51b815260206004820152602360248201527f6163636f756e7420697320616c726561647920696e636c7564656420696e206660448201526265657360e81b60648201526084016109e2565b6001600160a01b038216600081815260196020908152604091829020805460ff1916851515908117909155915160ff909216151582527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610cf1565b600061194e611b32565b64e8d4a510008210156119b95760405162461bcd60e51b815260206004820152602d60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201526c1018981818103a37b5b2b7399760991b60648201526084016109e2565b6103e86119c560025490565b6119d0906005612bd4565b6119da9190612c14565b821115611a465760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016109e2565b600a82905560405182907f8780fc5103d7957c51dda65a1098e5614fef81fab347224feb78e497d6c360ca90600090a2506001919050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6017818154811061151657600080fd5b611ac1611b32565b6001600160a01b038116611b265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e2565b611b2f81612604565b50565b6005546001600160a01b03163314610fa65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e2565b6001600160a01b038316611bee5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109e2565b6001600160a01b038216611c4f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600060178054905082600081518110611ccb57611ccb612c28565b6020026020010151611cdd9190612c3e565b9050600060178281548110611cf457611cf4612c28565b600091825260209091200154601880546001600160a01b0319166001600160a01b03928316908117909155600854604051637661b8d760e11b8152600481018390529193509091169063ecc371ae90602401600060405180830381600087803b158015611d6057600080fd5b505af1158015611d74573d6000803e3d6000fd5b5050505050505050565b6000611d8a8484611a7e565b90506000198114611df25781811015611de55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109e2565b611df28484848403611b8c565b50505050565b6001600160a01b038316611e1e5760405162461bcd60e51b81526004016109e290612c52565b6001600160a01b038216611e445760405162461bcd60e51b81526004016109e290612c97565b80600003611e5d57611e5883836000612656565b505050565b6005546001600160a01b03848116911614801590611e8957506005546001600160a01b03838116911614155b8015611e9d57506001600160a01b03821615155b8015611eb457506001600160a01b03821661dead14155b8015611ec3575060075460ff16155b15611f5657600b5460ff16611f56576001600160a01b03831660009081526019602052604090205460ff1680611f1157506001600160a01b03821660009081526019602052604090205460ff165b611f565760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109e2565b30600090815260208190526040902054600a5481108015908190611f7d575060075460ff16155b8015611fa157506001600160a01b0384166000908152601d602052604090205460ff165b8015611fc657506001600160a01b03851660009081526019602052604090205460ff16155b8015611feb57506001600160a01b03841660009081526019602052604090205460ff16155b15612010576007805460ff1916600117905561200561127a565b6007805460ff191690555b6007546001600160a01b03861660009081526019602052604090205460ff9182161591168061205757506001600160a01b03851660009081526019602052604090205460ff165b15612060575060005b60008115612120576001600160a01b0386166000908152601d602052604090205460ff16801561209257506000601154115b156120b5576103e8601154866120a89190612bd4565b6120b29190612c14565b90505b6001600160a01b0387166000908152601d602052604090205460ff1680156120df57506000601054115b15612102576103e8601054866120f59190612bd4565b6120ff9190612c14565b90505b801561211357612113873083612656565b61211d8186612beb565b94505b61212b878787612656565b6001600160a01b0387166000908152601a602052604090205460ff1615801561216d57506013546001600160a01b038816600090815260208190526040902054105b801561219157506001600160a01b0387166000908152601b602052604090205460ff165b1561219f5761219f87612780565b6001600160a01b0386166000908152601a602052604090205460ff161580156121e257506013546001600160a01b03871660009081526020819052604090205410155b801561220757506001600160a01b0386166000908152601b602052604090205460ff16155b801561222c57506001600160a01b0386166000908152601d602052604090205460ff16155b801561224357506001600160a01b03861661dead14155b801561225757506001600160a01b03861615155b1561144357601780546001600160a01b0388166000818152601c6020908152604080832085905560018086019096557fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c1590940180546001600160a01b031916909317909255601b90915220805460ff19169091179055611443565b6002600654036123245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109e2565b6002600655565b6040516305d3b1d360e41b81527f8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef600482015267ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000003151660248201526003604482015263ffffffff7f00000000000000000000000000000000000000000000000000000000000493e0166064820152600160848201527f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096001600160a01b031690635d3b1d309060a4016020604051808303816000875af115801561241b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243f9190612b9e565b601455565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061247957612479612c28565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251b9190612cda565b8160018151811061252e5761252e612c28565b60200260200101906001600160a01b031690816001600160a01b031681525050612579307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611b8c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906125ce908590600090869030904290600401612cf7565b600060405180830381600087803b1580156125e857600080fd5b505af11580156125fc573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661267c5760405162461bcd60e51b81526004016109e290612c52565b6001600160a01b0382166126a25760405162461bcd60e51b81526004016109e290612c97565b6001600160a01b0383166000908152602081905260409020548181101561271a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109e2565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611df2565b6017805461279090600190612beb565b815481106127a0576127a0612c28565b60009182526020808320909101546001600160a01b038481168452601c9092526040909220546017805492909316929181106127de576127de612c28565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559183168152601c918290526040812054601780549193929161282a90600190612beb565b8154811061283a5761283a612c28565b60009182526020808320909101546001600160a01b03168352820192909252604001902055601780548061287057612870612d68565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03929092168152601b90915260409020805460ff19169055565b600080604083850312156128ca57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015612906578581018301518582016040015282016128ea565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611b2f57600080fd5b60006020828403121561294e57600080fd5b813561295981612927565b9392505050565b6000806040838503121561297357600080fd5b823561297e81612927565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156129b557600080fd5b8235915060208084013567ffffffffffffffff808211156129d557600080fd5b818601915086601f8301126129e957600080fd5b8135818111156129fb576129fb61298c565b8060051b604051601f19603f83011681018181108582111715612a2057612a2061298c565b604052918252848201925083810185019189831115612a3e57600080fd5b938501935b82851015612a5c57843584529385019392850192612a43565b8096505050505050509250929050565b600060208284031215612a7e57600080fd5b5035919050565b600080600060608486031215612a9a57600080fd5b8335612aa581612927565b92506020840135612ab581612927565b929592945050506040919091013590565b8015158114611b2f57600080fd5b60008060408385031215612ae757600080fd5b8235612af281612927565b91506020830135612b0281612ac6565b809150509250929050565b60008060408385031215612b2057600080fd5b8235612b2b81612927565b91506020830135612b0281612927565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ac257610ac2612b3b565b600181811c90821680612b7857607f821691505b602082108103612b9857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612bb057600080fd5b5051919050565b600060208284031215612bc957600080fd5b815161295981612ac6565b8082028115828204841417610ac257610ac2612b3b565b81810381811115610ac257610ac2612b3b565b634e487b7160e01b600052601260045260246000fd5b600082612c2357612c23612bfe565b500490565b634e487b7160e01b600052603260045260246000fd5b600082612c4d57612c4d612bfe565b500690565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060208284031215612cec57600080fd5b815161295981612927565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612d475784516001600160a01b031683529383019391830191600101612d22565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220324019533bfe8c191908ffacbe77ab4c0e6306e392f2ae38ada2e97498b8eebd64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000315
-----Decoded View---------------
Arg [0] : _subscriptionID (uint64): 789
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000315
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.