ERC-20
Overview
Max Total Supply
88,888 B2E
Holders
85
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
B2E
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; /** * Standard SafeMath, stripped down to just add/sub/mul/div */ library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } } interface IDEXFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IDEXRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IDividendDistributor { function burnToken(uint256 _dayId, address _burner, uint256 _amount) external; function deposit(uint256 _dayId) external payable; function claimDividend(uint256 _dayId, address _burner) external; function getDividendsClaimedOf(address _burner) external view returns(uint256); function getBurnAmount(uint256 _dayId, address _burner) external view returns(uint256); function dailyGiveawayWinner(uint256 dayId, uint256 price, address account) external view returns(address); function getClaimableReward(uint256 _dayId, address _burner) external view returns(uint256); function getTotalBurn(uint256 _dayId) external view returns(uint256); function getTotalDividend(uint256 _dayId) external view returns(uint256); event Deposited(uint256 dayId, uint256 amount); event BurnedToken(uint256 dayId, address burner, uint256 amount); event DistributedDividend(uint256 dayId, address shareholder, uint256 amount); event ClaimedDividend(uint256 dayId, address burner, uint256 rewards); } contract DividendDistributor is IDividendDistributor { using SafeMath for uint256; using EnumerableSet for EnumerableSet.AddressSet; address public _token; address public _owner; struct BurnerInfo { mapping(uint256 => uint256) amount; mapping(uint256 => uint256) totalExcluded; uint256 unclaimed; uint256 totalClaimed; uint256 lastClaimedDay; } mapping(uint256 => EnumerableSet.AddressSet) private burnersList; mapping (address => BurnerInfo) public burns; mapping(uint256 => uint256) public totalBurns; mapping(uint256 => uint256) public totalDividends; mapping(uint256 => uint256) public totalClaimed; mapping(uint256 => uint256) public dividendsPerShare; uint256 private dividendsPerShareAccuracyFactor = 10 ** 36; modifier onlyToken() { require(msg.sender == _token); _; } modifier onlyOwner() { require(msg.sender == _owner); _; } constructor(address owner) { _token = msg.sender; _owner = owner; } receive() external payable { } function burnToken(uint256 _dayId, address _burner, uint256 _amount) external override onlyToken { require(_amount > 0, "Set zero amount"); burnersList[_dayId].add(_burner); burns[_burner].unclaimed = burns[_burner].unclaimed.add(getClaimableDividendOfDay(_dayId, _burner)); burns[_burner].amount[_dayId] = burns[_burner].amount[_dayId].add(_amount); burns[_burner].totalExcluded[_dayId] = getCumulativeDividends(_dayId, burns[_burner].amount[_dayId]); totalBurns[_dayId] = totalBurns[_dayId].add(_amount); emit BurnedToken(_dayId, _burner, _amount); } function deposit(uint256 dayId) external payable onlyToken { uint256 _amount = msg.value; if(_amount > 0) { if(totalBurns[dayId] == 0) { totalBurns[dayId] = 1; } totalDividends[dayId] = totalDividends[dayId].add(_amount); dividendsPerShare[dayId] = dividendsPerShare[dayId].add(dividendsPerShareAccuracyFactor.mul(_amount).div(totalBurns[dayId])); emit Deposited(dayId, _amount); } } function claimDividend(uint256 dayId, address burner) external override onlyToken { uint256 rewards = getClaimableReward(dayId, burner); if(rewards > 0) { burns[burner].totalClaimed = burns[burner].totalClaimed.add(rewards); burns[burner].totalExcluded[dayId] = getCumulativeDividends(dayId, burns[burner].amount[dayId]); payable(burner).transfer(rewards); burns[burner].unclaimed = 0; burns[burner].lastClaimedDay = dayId; emit ClaimedDividend(dayId, burner, rewards); } } function getDividendsClaimedOf(address shareholder) external view returns (uint256) { return burns[shareholder].totalClaimed; } function getClaimableDividendOfDay(uint256 dayId, address burner) public view returns (uint256) { if(burns[burner].amount[dayId] == 0) { return 0; } uint256 burnerTotalDividends = getCumulativeDividends(dayId, burns[burner].amount[dayId]); uint256 burnerTotalExcluded = burns[burner].totalExcluded[dayId]; if(burnerTotalDividends <= burnerTotalExcluded) return 0; return burnerTotalDividends.sub(burnerTotalExcluded); } function getClaimableReward(uint256 dayId, address burner) public view returns(uint256) { uint256 rewards = burns[burner].unclaimed; for(uint256 i = burns[burner].lastClaimedDay; i <= dayId; i++) { rewards = rewards.add(getClaimableDividendOfDay(i, burner)); } return rewards; } function getCumulativeDividends(uint256 dayId, uint256 share) internal view returns (uint256) { return share.mul(dividendsPerShare[dayId]).div(dividendsPerShareAccuracyFactor); } function manualSend(uint256 amount, address holder) external onlyOwner { uint256 contractETHBalance = address(this).balance; payable(holder).transfer(amount > 0 ? amount : contractETHBalance); } function dailyGiveawayWinner(uint256 dayId, uint256 price, address account) external view onlyToken returns(address) { require(burnersList[dayId].length() != 0, "No burners in a day"); uint256 xrand = uint256(keccak256(abi.encodePacked(price, block.timestamp, dayId, account))); uint256 winnerId = xrand % burnersList[dayId].length(); return burnersList[dayId].at(winnerId); } function getBurnAmount(uint256 _dayId, address _burner) external view returns(uint256) { return burns[_burner].amount[_dayId]; } function getTotalBurn(uint256 _dayId) external view returns(uint256) { return totalBurns[_dayId]; } function getTotalDividend(uint256 _dayId) external view returns(uint256) { return totalDividends[_dayId]; } } contract B2E is ERC20, Ownable { using SafeMath for uint256; AggregatorV3Interface internal dataFeed; address private DEAD = 0x000000000000000000000000000000000000dEaD; address private ZERO = 0x0000000000000000000000000000000000000000; uint256 public constant TOTAL_SUPPLY = 88_888 * (10 ** 18); uint256 public constant MAX_WALLET = 888 * (10 ** 18); uint256 public constant DENO_TAX = 1000; uint256 public buyTax = 80; uint256 public sellTax = 80; uint256 public rewardTax = 55; uint256 public burnTax = 10; uint256 public marketingTax = 10; uint256 public giveAwayTax = 5; uint256 public rewardFeeTotal; uint256 public burnFeeThreshold; uint256 public marketingFeeThreshold; uint256 public burnFeeTotal; uint256 public marketingFeeTotal; IDEXRouter public router; address public pair; address public marketingWallet; uint256 public DAY_SECOND = 86400; /// 1 day DividendDistributor public distributor; mapping(uint256 => uint256) public dailyGiveaway; mapping(uint256 => uint256) public dailyGiveawayEth; mapping(address => uint256) public dailyWinnerReward; struct WinnerInfo { address burner; uint256 amount; } mapping(uint256 => WinnerInfo[6]) public topWinners; mapping(address => bool) public blacklisted; mapping(address => bool) public _isExcludedFromFees; mapping(address => bool) public _automatedMarketMakerPairs; bool public tradingEnabled = false; uint256 public launchTimestamp; bool private inSwap; modifier swapping() { inSwap = true; _; inSwap = false; } event Burn2Earn(address indexed burner, uint256 amount); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SetDailyGiveawayWinner(uint256 indexed dayId, address indexed winner); event ClaimDailyGiveaway(uint256 indexed dayId, address indexed winner, uint256 amount); event SwapBack(uint256 beforeBalance, uint256 afterBalance); constructor() ERC20("Burn2Earn", "B2E") { dataFeed = AggregatorV3Interface(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419); marketingWallet = 0x99a9015a2d3Bc22B197b1a673B741a297fe07c0B; router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); pair = IDEXFactory(router.factory()).createPair(router.WETH(), address(this)); _automatedMarketMakerPairs[pair] = true; distributor = new DividendDistributor(msg.sender); _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[msg.sender] = true; _isExcludedFromFees[marketingWallet] = true; _isExcludedFromFees[DEAD] = true; burnFeeThreshold = 50 * (10 ** 18); marketingFeeThreshold = 50 * (10 ** 18); _mint(msg.sender, TOTAL_SUPPLY); } receive() external payable { } function launchNow() external onlyOwner { launchTimestamp = block.timestamp; tradingEnabled = true; } function launch(uint256 timestamp) external onlyOwner { launchTimestamp = timestamp; } function enableTrading(bool enabled) external onlyOwner { require(tradingEnabled != enabled, "Already set"); tradingEnabled = enabled; } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "ERC20: transfer amount zero"); bool excludedAccount = _isExcludedFromFees[from] || _isExcludedFromFees[to]; require(tradingEnabled || excludedAccount, "Trading not active"); require(!blacklisted[from] && !blacklisted[to], "Blacklisted"); if (!_automatedMarketMakerPairs[to] && !excludedAccount) { require(balanceOf(to) + amount <= MAX_WALLET, "Unable to exceed maxHoldingAmount"); } if (inSwap) { super._transfer(from, to, amount); return; } bool shouldSwapBack = balanceOf(address(this)) >= rewardFeeTotal && rewardFeeTotal > 0 && (to == DEAD || _automatedMarketMakerPairs[to]); if(shouldSwapBack) { swapBack(rewardFeeTotal); } if (shouldTakeFee(from, to)) { uint256 feeRewardAmt = amount.mul(rewardTax).div(DENO_TAX); uint256 feeBurnAmt = amount.mul(burnTax).div(DENO_TAX); uint256 feeMarketingAmt = amount.mul(marketingTax).div(DENO_TAX); uint256 feeGiveawayAmt = amount.mul(giveAwayTax).div(DENO_TAX); super._transfer(from, address(this), feeRewardAmt + feeBurnAmt + feeMarketingAmt + feeGiveawayAmt); rewardFeeTotal += feeRewardAmt; burnFeeTotal += feeBurnAmt; if(burnFeeTotal >= burnFeeThreshold) { super._transfer(address(this), DEAD, burnFeeTotal); burnFeeTotal = 0; } marketingFeeTotal += feeMarketingAmt; if(marketingFeeTotal >= marketingFeeThreshold && _automatedMarketMakerPairs[to]) { uint256 beforeContractEthBalance = address(this).balance; swapTokensForEth(marketingFeeTotal); marketingFeeTotal = 0; uint256 afterContractEthBalance = address(this).balance; if(afterContractEthBalance > beforeContractEthBalance) { payable(marketingWallet).transfer(afterContractEthBalance - beforeContractEthBalance); } } uint256 _dayId = getDayId(); dailyGiveaway[_dayId] = dailyGiveaway[_dayId].add(feeGiveawayAmt); amount = amount.sub(feeRewardAmt + feeBurnAmt + feeMarketingAmt + feeGiveawayAmt); } super._transfer(from, to, amount); } function getDayId() public view returns(uint256) { if(launchTimestamp == 0 || block.timestamp <= launchTimestamp) return 0; return (block.timestamp - launchTimestamp) / DAY_SECOND; } function getDayIdByTimestamp(uint256 _timestamp) public view returns(uint256) { if(launchTimestamp == 0 || _timestamp <= launchTimestamp) return 0; return (_timestamp - launchTimestamp) / DAY_SECOND; } function burn(uint256 amount) external { require(launchTimestamp != 0 && block.timestamp >= launchTimestamp, "Not launched yet"); uint256 _dayId = getDayId(); _transfer(msg.sender, DEAD, amount); distributor.burnToken(_dayId, msg.sender, amount); uint256 newAmount = distributor.getBurnAmount(_dayId, msg.sender); uint toUpdate = 0; uint endUpdate = 5; for(uint i = 0;i < 6; i++) { if(topWinners[_dayId][i].amount < newAmount) { toUpdate = i; break; } } WinnerInfo[6] memory tmp; if(topWinners[_dayId][toUpdate].burner != msg.sender) { for(uint i = toUpdate + 1;i<6;i++) { tmp[i].amount = topWinners[_dayId][i - 1].amount; tmp[i].burner = topWinners[_dayId][i - 1].burner; if(topWinners[_dayId][i].burner == msg.sender) { endUpdate = i; break; } } } topWinners[_dayId][toUpdate].amount = newAmount; topWinners[_dayId][toUpdate].burner = msg.sender; for(uint i = toUpdate + 1; i <= endUpdate; i++) { topWinners[_dayId][i].amount = tmp[i].amount; topWinners[_dayId][i].burner = tmp[i].burner; } emit Burn2Earn(msg.sender, amount); } function getPrice() public view returns(int256) { (,int256 answer,,,) = dataFeed.latestRoundData(); return answer; } function setDailyGiveawayWinner(uint256 _dayId) public onlyOwner { require(dailyGiveaway[_dayId] != 0, "No daily giveaway"); uint256 _price = uint256(getPrice()); address _winner = distributor.dailyGiveawayWinner(_dayId, _price, msg.sender); uint256 beforeContractBalance = address(this).balance; swapTokensForEth(dailyGiveaway[_dayId]); uint256 afterContractBalance = address(this).balance; if(afterContractBalance > beforeContractBalance) { dailyGiveawayEth[_dayId] = dailyGiveawayEth[_dayId].add(afterContractBalance.sub(beforeContractBalance)); } dailyWinnerReward[_winner] = dailyGiveawayEth[_dayId]; emit SetDailyGiveawayWinner(_dayId, _winner); } function claimDailyGiveaway() external { require(dailyWinnerReward[msg.sender] != 0, "Nothing to Claim"); payable(msg.sender).transfer(dailyWinnerReward[msg.sender]); emit ClaimDailyGiveaway(getDayId(), msg.sender, dailyWinnerReward[msg.sender]); dailyWinnerReward[msg.sender] = 0; } function claimDividend() external { uint256 _dayId = getDayId(); distributor.claimDividend(_dayId, msg.sender); } function claimDividend(address holder) external onlyOwner { uint256 _dayId = getDayId(); distributor.claimDividend(_dayId, holder); } function getClaimableReward(address burner) public view returns (uint256) { return distributor.getClaimableReward(getDayId(), burner); } function swapBack(uint256 amountToSwap) internal swapping { uint256 beforeContractBalance = address(this).balance; swapTokensForEth(amountToSwap); uint256 _dayId = getDayId(); uint256 afterContractBalance = address(this).balance; if(afterContractBalance > beforeContractBalance) distributor.deposit{value: afterContractBalance - beforeContractBalance}(_dayId); rewardFeeTotal = 0; emit SwapBack(beforeContractBalance, afterContractBalance); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tokenAmount); router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function setBurnFeeThreshold(uint256 threshold) public onlyOwner { burnFeeThreshold = threshold; } function setMarketingFeeThreshold(uint256 threshold) public onlyOwner { marketingFeeThreshold = threshold; } function setMarketingWallet(address _marketingWallet) external onlyOwner { marketingWallet = _marketingWallet; } function excludeFromFees(address account, bool excluded) external onlyOwner { require(_isExcludedFromFees[account] != excluded, "Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function circulatingSupply() external view returns(uint256) { return TOTAL_SUPPLY.sub(balanceOf(DEAD)).sub(balanceOf(ZERO)).sub(burnFeeTotal); } function totalBurned() external view returns(uint256) { return balanceOf(DEAD).add(burnFeeTotal); } function userBurnedByDay(uint256 dayId, address burner) external view returns(uint256) { return distributor.getBurnAmount(dayId, burner); } function userBurnedByToday(address burner) external view returns(uint256) { return distributor.getBurnAmount(getDayId(), burner); } function totalBurnedToday() external view returns(uint256) { return distributor.getTotalBurn(getDayId()); } function totalBurnedByDay(uint256 dayId) external view returns(uint256) { return distributor.getTotalBurn(dayId); } function getRewardsByDay(uint256 dayId) external view returns(uint256) { return distributor.getTotalDividend(dayId); } function getRewardsByToday() external view returns(uint256) { return distributor.getTotalDividend(getDayId()); } function shouldTakeFee(address from, address to) internal view returns(bool) { if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { return false; } else { return _automatedMarketMakerPairs[from] || _automatedMarketMakerPairs[to]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface AggregatorV3Interface { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); function getRoundData( uint80 _roundId ) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[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 = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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; } _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; _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; } _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 Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev 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); }
// 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 (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn2Earn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"dayId","type":"uint256"},{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimDailyGiveaway","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"dayId","type":"uint256"},{"indexed":true,"internalType":"address","name":"winner","type":"address"}],"name":"SetDailyGiveawayWinner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"beforeBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"afterBalance","type":"uint256"}],"name":"SwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DAY_SECOND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DENO_TAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnFeeThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFeeTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDailyGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"claimDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyGiveaway","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyGiveawayEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"dailyWinnerReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributor","outputs":[{"internalType":"contract DividendDistributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"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":"burner","type":"address"}],"name":"getClaimableReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDayId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"getDayIdByTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dayId","type":"uint256"}],"name":"getRewardsByDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsByToday","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giveAwayTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchNow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardFeeTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"setBurnFeeThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dayId","type":"uint256"}],"name":"setDailyGiveawayWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"setMarketingFeeThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"topWinners","outputs":[{"internalType":"address","name":"burner","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dayId","type":"uint256"}],"name":"totalBurnedByDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurnedToday","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":"tradingEnabled","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":[{"internalType":"uint256","name":"dayId","type":"uint256"},{"internalType":"address","name":"burner","type":"address"}],"name":"userBurnedByDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"burner","type":"address"}],"name":"userBurnedByToday","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600780546001600160a01b031990811661dead1790915560088054909116905560506009819055600a9081556037600b55600c819055600d556005600e55620151806017556020805460ff191690553480156200006057600080fd5b5060405180604001604052806009815260200168213ab9371922b0b93760b91b8152506040518060400160405280600381526020016242324560e81b8152508160039081620000b09190620005ac565b506004620000bf8282620005ac565b505050620000dc620000d6620003b760201b60201c565b620003bb565b60068054735f4ec3df9cbd43714fe2740f5e3616155c5b84196001600160a01b031991821617909155601680547399a9015a2d3bc22b197b1a673b741a297fe07c0b90831617905560148054737a250d5630b4cf539739df2c5dacb4c659f2488d9216821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200017f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a5919062000678565b6001600160a01b031663c9c65396601460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000207573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022d919062000678565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af11580156200027a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a0919062000678565b601580546001600160a01b0319166001600160a01b039290921691821790556000908152601f602052604090819020805460ff19166001179055513390620002e890620004fa565b6001600160a01b039091168152602001604051809103906000f08015801562000315573d6000803e3d6000fd5b50601880546001600160a01b0319166001600160a01b03928316179055306000908152601e6020526040808220805460ff199081166001908117909255338085528385208054831684179055601654861685528385208054831684179055600754909516845291909220805490911690911790556802b5e3af16b18800006010819055601155620003b1906912d2a0cd7b3129e000006200040d565b620006d2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004685760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200047c9190620006aa565b90915550506001600160a01b03821660009081526020819052604081208054839290620004ab908490620006aa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b61100e806200362883390190565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200053357607f821691505b6020821081036200055457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004f557600081815260208120601f850160051c81016020861015620005835750805b601f850160051c820191505b81811015620005a4578281556001016200058f565b505050505050565b81516001600160401b03811115620005c857620005c862000508565b620005e081620005d984546200051e565b846200055a565b602080601f831160018114620006185760008415620005ff5750858301515b600019600386901b1c1916600185901b178555620005a4565b600085815260208120601f198616915b82811015620006495788860151825594840194600190910190840162000628565b5085821015620006685787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200068b57600080fd5b81516001600160a01b0381168114620006a357600080fd5b9392505050565b80820180821115620006cc57634e487b7160e01b600052601160045260246000fd5b92915050565b612f4680620006e26000396000f3fe6080604052600436106103dd5760003560e01c8063715018a6116101fd578063a9059cbb11610118578063dbac26e9116100ab578063e0bf7fd11161007a578063e0bf7fd114610b54578063f0fc6bca14610b84578063f275f64b14610b99578063f2fde38b14610bb9578063f887ea4014610bd957600080fd5b8063dbac26e914610aab578063dd62ed3e14610adb578063dec739a814610b21578063df7787a414610b3757600080fd5b8063bfe10928116100e7578063bfe1092814610a40578063c024666814610a60578063cc1776d314610a80578063d89135cd14610a9657600080fd5b8063a9059cbb146109ad578063a9b232d9146109cd578063af1d4971146109fd578063b5dff83b14610a2a57600080fd5b80638e261b971161019057806395d89b411161015f57806395d89b411461094357806398d5fdca14610958578063a457c2d71461096d578063a8aa1b311461098d57600080fd5b80638e261b97146108da5780639028fdad146108f0578063902d55a5146109105780639358928b1461092e57600080fd5b806373bef44c116101cc57806373bef44c1461084457806375f0a8741461086457806385b12c7c1461089c5780638da5cb5b146108bc57600080fd5b8063715018a6146107e4578063715492aa146107f9578063730e2b2b1461080e578063735039d11461082e57600080fd5b806342966c68116102f85780635d098b381161028b57806365cf7c9b1161025a57806365cf7c9b1461072e5780636e5c59ae146107445780636e708d411461075a5780636eea7bdf1461076f57806370a08231146107ae57600080fd5b80635d098b38146106c25780635ff329af146106e25780636052f060146107025780636292a8eb1461071857600080fd5b80634f7041a5116102c75780634f7041a51461064a578063523991a814610660578063541fb5f614610675578063574b326b146106a257600080fd5b806342966c68146105da5780634ada218b146105fa5780634c9ee579146106145780634ccd8e5a1461063457600080fd5b806318160ddd1161037057806323b872dd1161033f57806323b872dd1461055e578063313ce5671461057e578063395093511461059a578063404769f4146105ba57600080fd5b806318160ddd146104fd5780631c3ff328146105125780631d2cb02d146105325780631d4eaead1461054857600080fd5b8063095ea7b3116103ac578063095ea7b3146104825780630a22e938146104b25780630b89d040146104c857806315f7e05e146104dd57600080fd5b806301547c87146103e9578063040f15df1461042957806306fdde031461043e5780630770cfd01461046057600080fd5b366103e457005b600080fd5b3480156103f557600080fd5b50610416610404366004612a79565b601a6020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561043557600080fd5b50610416610bf9565b34801561044a57600080fd5b50610453610c38565b6040516104209190612a92565b34801561046c57600080fd5b5061048061047b366004612a79565b610cca565b005b34801561048e57600080fd5b506104a261049d366004612af5565b610d02565b6040519015158152602001610420565b3480156104be57600080fd5b5061041660105481565b3480156104d457600080fd5b50610416610d1c565b3480156104e957600080fd5b506104806104f8366004612b21565b610d97565b34801561050957600080fd5b50600254610416565b34801561051e57600080fd5b5061041661052d366004612b21565b610e38565b34801561053e57600080fd5b50610416600d5481565b34801561055457600080fd5b50610416600c5481565b34801561056a57600080fd5b506104a2610579366004612b3e565b610ec4565b34801561058a57600080fd5b5060405160128152602001610420565b3480156105a657600080fd5b506104a26105b5366004612af5565b610ee8565b3480156105c657600080fd5b506104806105d5366004612a79565b610f27565b3480156105e657600080fd5b506104806105f5366004612a79565b610f56565b34801561060657600080fd5b506020546104a29060ff1681565b34801561062057600080fd5b5061041661062f366004612a79565b6113e7565b34801561064057600080fd5b5061041660125481565b34801561065657600080fd5b5061041660095481565b34801561066c57600080fd5b50610480611423565b34801561068157600080fd5b50610416610690366004612b21565b601b6020526000908152604090205481565b3480156106ae57600080fd5b506104166106bd366004612a79565b61150b565b3480156106ce57600080fd5b506104806106dd366004612b21565b61153d565b3480156106ee57600080fd5b506104166106fd366004612b21565b611589565b34801561070e57600080fd5b50610416600f5481565b34801561072457600080fd5b5061041660175481565b34801561073a57600080fd5b5061041660215481565b34801561075057600080fd5b50610416600b5481565b34801561076657600080fd5b506104166115a5565b34801561077b57600080fd5b5061078f61078a366004612b7f565b6115c1565b604080516001600160a01b039093168352602083019190915201610420565b3480156107ba57600080fd5b506104166107c9366004612b21565b6001600160a01b031660009081526020819052604090205490565b3480156107f057600080fd5b506104806115fb565b34801561080557600080fd5b50610480611631565b34801561081a57600080fd5b50610480610829366004612a79565b61166e565b34801561083a57600080fd5b5061041660135481565b34801561085057600080fd5b5061041661085f366004612ba1565b611823565b34801561087057600080fd5b50601654610884906001600160a01b031681565b6040516001600160a01b039091168152602001610420565b3480156108a857600080fd5b506104806108b7366004612a79565b6118a0565b3480156108c857600080fd5b506005546001600160a01b0316610884565b3480156108e657600080fd5b5061041660115481565b3480156108fc57600080fd5b5061041661090b366004612a79565b6118cf565b34801561091c57600080fd5b506104166912d2a0cd7b3129e0000081565b34801561093a57600080fd5b50610416611901565b34801561094f57600080fd5b5061045361195f565b34801561096457600080fd5b5061041661196e565b34801561097957600080fd5b506104a2610988366004612af5565b6119f3565b34801561099957600080fd5b50601554610884906001600160a01b031681565b3480156109b957600080fd5b506104a26109c8366004612af5565b611a85565b3480156109d957600080fd5b506104a26109e8366004612b21565b601f6020526000908152604090205460ff1681565b348015610a0957600080fd5b50610416610a18366004612a79565b60196020526000908152604090205481565b348015610a3657600080fd5b50610416600e5481565b348015610a4c57600080fd5b50601854610884906001600160a01b031681565b348015610a6c57600080fd5b50610480610a7b366004612be6565b611a93565b348015610a8c57600080fd5b50610416600a5481565b348015610aa257600080fd5b50610416611b9f565b348015610ab757600080fd5b506104a2610ac6366004612b21565b601d6020526000908152604090205460ff1681565b348015610ae757600080fd5b50610416610af6366004612c1b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b2d57600080fd5b506104166103e881565b348015610b4357600080fd5b5061041668302379bf2ca2e0000081565b348015610b6057600080fd5b506104a2610b6f366004612b21565b601e6020526000908152604090205460ff1681565b348015610b9057600080fd5b50610480611bc9565b348015610ba557600080fd5b50610480610bb4366004612c49565b611c3b565b348015610bc557600080fd5b50610480610bd4366004612b21565b611cc0565b348015610be557600080fd5b50601454610884906001600160a01b031681565b600060215460001480610c0e57506021544211155b15610c195750600090565b601754602154610c299042612c7a565b610c339190612c8d565b905090565b606060038054610c4790612caf565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7390612caf565b8015610cc05780601f10610c9557610100808354040283529160200191610cc0565b820191906000526020600020905b815481529060010190602001808311610ca357829003601f168201915b5050505050905090565b6005546001600160a01b03163314610cfd5760405162461bcd60e51b8152600401610cf490612ce9565b60405180910390fd5b601155565b600033610d10818585611d5b565b60019150505b92915050565b6018546000906001600160a01b0316634758c547610d38610bf9565b6040518263ffffffff1660e01b8152600401610d5691815260200190565b602060405180830381865afa158015610d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c339190612d1e565b6005546001600160a01b03163314610dc15760405162461bcd60e51b8152600401610cf490612ce9565b6000610dcb610bf9565b601854604051630235804b60e41b8152600481018390526001600160a01b03858116602483015292935091169063235804b0906044015b600060405180830381600087803b158015610e1c57600080fd5b505af1158015610e30573d6000803e3d6000fd5b505050505050565b6018546000906001600160a01b031663352e3d56610e54610bf9565b6040516001600160e01b031960e084901b16815260048101919091526001600160a01b03851660248201526044015b602060405180830381865afa158015610ea0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d169190612d1e565b600033610ed2858285611e7f565b610edd858585611f11565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610d109082908690610f22908790612d37565b611d5b565b6005546001600160a01b03163314610f515760405162461bcd60e51b8152600401610cf490612ce9565b601055565b60215415801590610f6957506021544210155b610fa85760405162461bcd60e51b815260206004820152601060248201526f139bdd081b185d5b98da1959081e595d60821b6044820152606401610cf4565b6000610fb2610bf9565b600754909150610fcd9033906001600160a01b031684611f11565b6018546040516319220ffb60e01b815260048101839052336024820152604481018490526001600160a01b03909116906319220ffb90606401600060405180830381600087803b15801561102057600080fd5b505af1158015611034573d6000803e3d6000fd5b5050601854604051631a971eab60e11b815260048101859052336024820152600093506001600160a01b03909116915063352e3d5690604401602060405180830381865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae9190612d1e565b905060006005815b6006811015611108576000858152601c60205260409020849082600681106110e0576110e0612d4a565b600202016001015410156110f657809250611108565b8061110081612d60565b9150506110b6565b50611111612a40565b6000858152601c602052604090203390846006811061113257611132612d4a565b60020201546001600160a01b031614611262576000611152846001612d37565b90505b6006811015611260576000868152601c60205260409020611177600183612c7a565b6006811061118757611187612d4a565b60020201600101548282600681106111a1576111a1612d4a565b602090810291909101518101919091526000878152601c909152604090206111ca600183612c7a565b600681106111da576111da612d4a565b60020201546001600160a01b03168282600681106111fa576111fa612d4a565b602090810291909101516001600160a01b039092169091526000878152601c909152604090203390826006811061123357611233612d4a565b60020201546001600160a01b03160361124e57809250611260565b8061125881612d60565b915050611155565b505b6000858152601c602052604090208490846006811061128357611283612d4a565b600202016001018190555033601c600087815260200190815260200160002084600681106112b3576112b3612d4a565b6002020180546001600160a01b0319166001600160a01b039290921691909117905560006112e2846001612d37565b90505b8281116113a9578181600681106112fe576112fe612d4a565b602002015160200151601c6000888152602001908152602001600020826006811061132b5761132b612d4a565b600202016001018190555081816006811061134857611348612d4a565b602002015160000151601c6000888152602001908152602001600020826006811061137557611375612d4a565b6002020180546001600160a01b0319166001600160a01b0392909216919091179055806113a181612d60565b9150506112e5565b5060405186815233907fda0f42d43f97f938cb58f3cee369e941ed1af5227b9cb0e856dc10ba388578409060200160405180910390a2505050505050565b6000602154600014806113fc57506021548211155b1561140957506000919050565b6017546021546114199084612c7a565b610d169190612c8d565b336000908152601b602052604081205490036114745760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20436c61696d60801b6044820152606401610cf4565b336000818152601b602052604080822054905181156108fc0292818181858888f193505050501580156114ab573d6000803e3d6000fd5b50336114b5610bf9565b336000908152601b60209081526040918290205491519182527fb5bd259ee04567e7028a6b3c6aa5e90df202361ed7321ef42dabebb57803c41a910160405180910390a3336000908152601b6020526040812055565b6018546040516364ff2b8760e11b8152600481018390526000916001600160a01b03169063c9fe570e90602401610e83565b6005546001600160a01b031633146115675760405162461bcd60e51b8152600401610cf490612ce9565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6018546000906001600160a01b031663ab3b55e3610e54610bf9565b6018546000906001600160a01b031663c9fe570e610d38610bf9565b601c60205281600052604060002081600681106115dd57600080fd5b6002020180546001909101546001600160a01b039091169250905082565b6005546001600160a01b031633146116255760405162461bcd60e51b8152600401610cf490612ce9565b61162f6000612430565b565b6005546001600160a01b0316331461165b5760405162461bcd60e51b8152600401610cf490612ce9565b426021556020805460ff19166001179055565b6005546001600160a01b031633146116985760405162461bcd60e51b8152600401610cf490612ce9565b60008181526019602052604081205490036116e95760405162461bcd60e51b81526020600482015260116024820152704e6f206461696c7920676976656177617960781b6044820152606401610cf4565b60006116f361196e565b60185460405163568b77ff60e11b815260048101859052602481018390523360448201529192506000916001600160a01b039091169063ad16effe90606401602060405180830381865afa15801561174f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117739190612d79565b600084815260196020526040902054909150479061179090612482565b47818111156117cb576117bb6117a682846125a6565b6000878152601a6020526040902054906125e8565b6000868152601a60205260409020555b6000858152601a60209081526040808320546001600160a01b038716808552601b9093528184205551909187917f7bdacf39a863f03e871b76e2bcad995f2338b1b85bb941ac1482d7592d86b96e9190a35050505050565b601854604051631a971eab60e11b8152600481018490526001600160a01b038381166024830152600092169063352e3d5690604401602060405180830381865afa158015611875573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118999190612d1e565b9392505050565b6005546001600160a01b031633146118ca5760405162461bcd60e51b8152600401610cf490612ce9565b602155565b601854604051634758c54760e01b8152600481018390526000916001600160a01b031690634758c54790602401610e83565b6012546008546001600160a01b03166000908152602081905260408120549091610c3391611959906007546001600160a01b0316600090815260208190526040902054611959906912d2a0cd7b3129e00000906125a6565b906125a6565b606060048054610c4790612caf565b600080600660009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa1580156119c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e89190612db0565b509195945050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015611a785760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cf4565b610edd8286868403611d5b565b600033610d10818585611f11565b6005546001600160a01b03163314611abd5760405162461bcd60e51b8152600401610cf490612ce9565b6001600160a01b0382166000908152601e602052604090205481151560ff909116151503611b405760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610cf4565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6012546007546001600160a01b03166000908152602081905260408120549091610c3391906125e8565b6000611bd3610bf9565b601854604051630235804b60e41b8152600481018390523360248201529192506001600160a01b03169063235804b090604401600060405180830381600087803b158015611c2057600080fd5b505af1158015611c34573d6000803e3d6000fd5b5050505050565b6005546001600160a01b03163314611c655760405162461bcd60e51b8152600401610cf490612ce9565b60205481151560ff909116151503611cad5760405162461bcd60e51b815260206004820152600b60248201526a105b1c9958591e481cd95d60aa1b6044820152606401610cf4565b6020805460ff1916911515919091179055565b6005546001600160a01b03163314611cea5760405162461bcd60e51b8152600401610cf490612ce9565b6001600160a01b038116611d4f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cf4565b611d5881612430565b50565b6001600160a01b038316611dbd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cf4565b6001600160a01b038216611e1e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cf4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cf4565b611f0b8484848403611d5b565b50505050565b6001600160a01b038316611f375760405162461bcd60e51b8152600401610cf490612e00565b6001600160a01b038216611f5d5760405162461bcd60e51b8152600401610cf490612e45565b60008111611fad5760405162461bcd60e51b815260206004820152601b60248201527f45524332303a207472616e7366657220616d6f756e74207a65726f00000000006044820152606401610cf4565b6001600160a01b0383166000908152601e602052604081205460ff1680611fec57506001600160a01b0383166000908152601e602052604090205460ff165b60205490915060ff1680611ffd5750805b61203e5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610cf4565b6001600160a01b0384166000908152601d602052604090205460ff1615801561208057506001600160a01b0383166000908152601d602052604090205460ff16155b6120ba5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610cf4565b6001600160a01b0383166000908152601f602052604090205460ff161580156120e1575080155b156121725768302379bf2ca2e0000082612110856001600160a01b031660009081526020819052604090205490565b61211a9190612d37565b11156121725760405162461bcd60e51b815260206004820152602160248201527f556e61626c6520746f20657863656564206d6178486f6c64696e67416d6f756e6044820152601d60fa1b6064820152608401610cf4565b60225460ff161561218857611f0b848484612647565b600f54306000908152602081905260408120549091111580156121ad57506000600f54115b80156121e857506007546001600160a01b03858116911614806121e857506001600160a01b0384166000908152601f602052604090205460ff165b905080156121fb576121fb600f5461279b565b6122058585612882565b1561242557600061222d6103e8612227600b548761291490919063ffffffff16565b90612996565b9050600061224c6103e8612227600c548861291490919063ffffffff16565b9050600061226b6103e8612227600d548961291490919063ffffffff16565b9050600061228a6103e8612227600e548a61291490919063ffffffff16565b90506122b68930838561229d888a612d37565b6122a79190612d37565b6122b19190612d37565b612647565b83600f60008282546122c89190612d37565b9250508190555082601260008282546122e19190612d37565b9091555050601054601254106123145760075460125461230e9130916001600160a01b0390911690612647565b60006012555b81601360008282546123269190612d37565b90915550506011546013541080159061235757506001600160a01b0388166000908152601f602052604090205460ff165b156123be57601354479061236a90612482565b600060135547818111156123bb576016546001600160a01b03166108fc6123918484612c7a565b6040518115909202916000818181858888f193505050501580156123b9573d6000803e3d6000fd5b505b50505b60006123c8610bf9565b6000818152601960205260409020549091506123e490836125e8565b60008281526019602052604090205561241d82846124028789612d37565b61240c9190612d37565b6124169190612d37565b89906125a6565b975050505050505b611c34858585612647565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124b7576124b7612d4a565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612510573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125349190612d79565b8160018151811061254757612547612d4a565b6001600160a01b03928316602091820292909201015260145461256d9130911684611d5b565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790610e02908590600090869030904290600401612e88565b600061189983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506129d8565b6000806125f58385612d37565b9050838110156118995760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610cf4565b6001600160a01b03831661266d5760405162461bcd60e51b8152600401610cf490612e00565b6001600160a01b0382166126935760405162461bcd60e51b8152600401610cf490612e45565b6001600160a01b0383166000908152602081905260409020548181101561270b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cf4565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612742908490612d37565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161278e91815260200190565b60405180910390a3611f0b565b6022805460ff19166001179055476127b282612482565b60006127bc610bf9565b90504782811115612834576018546001600160a01b031663b6b55f256127e28584612c7a565b846040518363ffffffff1660e01b815260040161280191815260200190565b6000604051808303818588803b15801561281a57600080fd5b505af115801561282e573d6000803e3d6000fd5b50505050505b6000600f5560408051848152602081018390527f05ab84b321981d7d9a13402e494604c50821bcb5f2400d128fa06cd6451113d4910160405180910390a150506022805460ff191690555050565b6001600160a01b0382166000908152601e602052604081205460ff16806128c157506001600160a01b0382166000908152601e602052604090205460ff165b156128ce57506000610d16565b6001600160a01b0383166000908152601f602052604090205460ff168061290d57506001600160a01b0382166000908152601f602052604090205460ff165b9050610d16565b60008260000361292657506000610d16565b60006129328385612ef9565b90508261293f8583612c8d565b146118995760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610cf4565b600061189983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612a12565b600081848411156129fc5760405162461bcd60e51b8152600401610cf49190612a92565b506000612a098486612c7a565b95945050505050565b60008183612a335760405162461bcd60e51b8152600401610cf49190612a92565b506000612a098486612c8d565b6040518060c001604052806006905b6040805180820190915260008082526020820152815260200190600190039081612a4f5790505090565b600060208284031215612a8b57600080fd5b5035919050565b600060208083528351808285015260005b81811015612abf57858101830151858201604001528201612aa3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611d5857600080fd5b60008060408385031215612b0857600080fd5b8235612b1381612ae0565b946020939093013593505050565b600060208284031215612b3357600080fd5b813561189981612ae0565b600080600060608486031215612b5357600080fd5b8335612b5e81612ae0565b92506020840135612b6e81612ae0565b929592945050506040919091013590565b60008060408385031215612b9257600080fd5b50508035926020909101359150565b60008060408385031215612bb457600080fd5b823591506020830135612bc681612ae0565b809150509250929050565b80358015158114612be157600080fd5b919050565b60008060408385031215612bf957600080fd5b8235612c0481612ae0565b9150612c1260208401612bd1565b90509250929050565b60008060408385031215612c2e57600080fd5b8235612c3981612ae0565b91506020830135612bc681612ae0565b600060208284031215612c5b57600080fd5b61189982612bd1565b634e487b7160e01b600052601160045260246000fd5b81810381811115610d1657610d16612c64565b600082612caa57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680612cc357607f821691505b602082108103612ce357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612d3057600080fd5b5051919050565b80820180821115610d1657610d16612c64565b634e487b7160e01b600052603260045260246000fd5b600060018201612d7257612d72612c64565b5060010190565b600060208284031215612d8b57600080fd5b815161189981612ae0565b805169ffffffffffffffffffff81168114612be157600080fd5b600080600080600060a08688031215612dc857600080fd5b612dd186612d96565b9450602086015193506040860151925060608601519150612df460808701612d96565b90509295509295909350565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612ed85784516001600160a01b031683529383019391830191600101612eb3565b50506001600160a01b03969096166060850152505050608001529392505050565b8082028115828204841417610d1657610d16612c6456fea264697066735822122010e39d63184e5541b1ceb81c50179cc4053ddec4735166e488297e6c0fb8236c64736f6c6343000814003360806040526ec097ce7bc90715b34b9f100000000060085534801561002357600080fd5b5060405161100e38038061100e83398101604081905261004291610075565b60008054336001600160a01b031991821617909155600180549091166001600160a01b03929092169190911790556100a5565b60006020828403121561008757600080fd5b81516001600160a01b038116811461009e57600080fd5b9392505050565b610f5a806100b46000396000f3fe60806040526004361061010d5760003560e01c8063869df5ac11610095578063b2bdfa7b11610064578063b2bdfa7b1461036d578063b6b55f251461038d578063c9fe570e146103a0578063eaab2c3f146103cd578063ecd0c0c3146103fa57600080fd5b8063869df5ac146102bb578063ab3b55e3146102e8578063ad16effe14610308578063b1559aef1461034057600080fd5b806324df7cd9116100dc57806324df7cd9146101bb578063352e3d56146102145780634758c547146102345780635cc33f74146102615780636f27d8d31461029b57600080fd5b806307e292e5146101195780631014edf51461015957806319220ffb1461017b578063235804b01461019b57600080fd5b3661011457005b600080fd5b34801561012557600080fd5b50610146610134366004610d30565b60046020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561016557600080fd5b50610179610174366004610d65565b61041a565b005b34801561018757600080fd5b50610179610196366004610d91565b61047a565b3480156101a757600080fd5b506101796101b6366004610d65565b610624565b3480156101c757600080fd5b506101f96101d6366004610dc6565b600360208190526000918252604090912060028101549181015460049091015483565b60408051938452602084019290925290820152606001610150565b34801561022057600080fd5b5061014661022f366004610d65565b61076a565b34801561024057600080fd5b5061014661024f366004610d30565b60009081526004602052604090205490565b34801561026d57600080fd5b5061014661027c366004610dc6565b6001600160a01b03166000908152600360208190526040909120015490565b3480156102a757600080fd5b506101466102b6366004610d65565b610795565b3480156102c757600080fd5b506101466102d6366004610d30565b60056020526000908152604090205481565b3480156102f457600080fd5b50610146610303366004610d65565b610845565b34801561031457600080fd5b50610328610323366004610de1565b6108a0565b6040516001600160a01b039091168152602001610150565b34801561034c57600080fd5b5061014661035b366004610d30565b60076020526000908152604090205481565b34801561037957600080fd5b50600154610328906001600160a01b031681565b61017961039b366004610d30565b6109a3565b3480156103ac57600080fd5b506101466103bb366004610d30565b60009081526005602052604090205490565b3480156103d957600080fd5b506101466103e8366004610d30565b60066020526000908152604090205481565b34801561040657600080fd5b50600054610328906001600160a01b031681565b6001546001600160a01b0316331461043157600080fd5b476001600160a01b0382166108fc8461044a578261044c565b845b6040518115909202916000818181858888f19350505050158015610474573d6000803e3d6000fd5b50505050565b6000546001600160a01b0316331461049157600080fd5b600081116104d85760405162461bcd60e51b815260206004820152600f60248201526e14d95d081e995c9bc8185b5bdd5b9d608a1b60448201526064015b60405180910390fd5b60008381526002602052604090206104f09083610a9e565b506105206104fe8484610795565b6001600160a01b03841660009081526003602052604090206002015490610aba565b6001600160a01b0383166000908152600360209081526040808320600281019490945586835292905220546105559082610aba565b6001600160a01b03831660009081526003602090815260408083208784529091529020819055610586908490610b19565b6001600160a01b03831660009081526003602090815260408083208784526001018252808320939093556004905220546105c09082610aba565b6000848152600460209081526040918290209290925580518581526001600160a01b0385169281019290925281018290527fc0b6f9576c83bf2ad9121f8254cae4f923775958ab800f67f633664d7bd2133e906060015b60405180910390a1505050565b6000546001600160a01b0316331461063b57600080fd5b60006106478383610845565b90508015610765576001600160a01b038216600090815260036020819052604090912001546106769082610aba565b6001600160a01b0383166000908152600360208181526040808420928301949094558683525220546106a9908490610b19565b6001600160a01b0383166000818152600360209081526040808320888452600101909152808220939093559151909183156108fc02918491818181858888f193505050501580156106fe573d6000803e3d6000fd5b506001600160a01b03821660008181526003602090815260408083206002810193909355600490920186905581518681529081019290925281018290527f463b7d5936f14485098730e96b2a17d66b325a1778b53b0d87a61194fdb682c590606001610617565b505050565b6001600160a01b03811660009081526003602090815260408083208584529091529020545b92915050565b6001600160a01b038116600090815260036020908152604080832085845290915281205481036107c75750600061078f565b6001600160a01b03821660009081526003602090815260408083208684529091528120546107f6908590610b19565b6001600160a01b03841660009081526003602090815260408083208884526001019091529020549091508082116108325760009250505061078f565b61083c8282610b3c565b95945050505050565b6001600160a01b038116600090815260036020526040812060028101546004909101545b8481116108985761088461087d8286610795565b8390610aba565b91508061089081610e2c565b915050610869565b509392505050565b600080546001600160a01b031633146108b857600080fd5b60008481526002602052604090206108cf90610b7e565b6000036109145760405162461bcd60e51b81526020600482015260136024820152724e6f206275726e65727320696e20612064617960681b60448201526064016104cf565b6040805160208082018690524282840152606080830188905285901b6bffffffffffffffffffffffff1916608083015282518083036074018152609490920183528151918101919091206000878152600290925291812061097490610b7e565b61097e9083610e5b565b60008781526002602052604090209091506109999082610b88565b9695505050505050565b6000546001600160a01b031633146109ba57600080fd5b348015610a9a5760008281526004602052604081205490036109e9576000828152600460205260409020600190555b600082815260056020526040902054610a029082610aba565b600083815260056020908152604080832093909355600490522054600854610a4d91610a3891610a329085610b94565b90610c16565b60008481526007602052604090205490610aba565b6000838152600760209081526040918290209290925580518481529182018390527f06da3309189fa49284f335d2c2bcb4cb0b8ad2a59ad92a9bdebeeb8f1ceba511910160405180910390a15b5050565b6000610ab3836001600160a01b038416610c58565b9392505050565b600080610ac78385610e6f565b905083811015610ab35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104cf565b6008546000838152600760205260408120549091610ab391610a32908590610b94565b6000610ab383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ca7565b600061078f825490565b6000610ab38383610cd8565b600082600003610ba65750600061078f565b6000610bb28385610e82565b905082610bbf8583610e99565b14610ab35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104cf565b6000610ab383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d02565b6000818152600183016020526040812054610c9f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561078f565b50600061078f565b60008184841115610ccb5760405162461bcd60e51b81526004016104cf9190610ead565b50600061083c8486610efb565b6000826000018281548110610cef57610cef610f0e565b9060005260206000200154905092915050565b60008183610d235760405162461bcd60e51b81526004016104cf9190610ead565b50600061083c8486610e99565b600060208284031215610d4257600080fd5b5035919050565b80356001600160a01b0381168114610d6057600080fd5b919050565b60008060408385031215610d7857600080fd5b82359150610d8860208401610d49565b90509250929050565b600080600060608486031215610da657600080fd5b83359250610db660208501610d49565b9150604084013590509250925092565b600060208284031215610dd857600080fd5b610ab382610d49565b600080600060608486031215610df657600080fd5b8335925060208401359150610e0d60408501610d49565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b600060018201610e3e57610e3e610e16565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082610e6a57610e6a610e45565b500690565b8082018082111561078f5761078f610e16565b808202811582820484141761078f5761078f610e16565b600082610ea857610ea8610e45565b500490565b600060208083528351808285015260005b81811015610eda57858101830151858201604001528201610ebe565b506000604082860101526040601f19601f8301168501019250505092915050565b8181038181111561078f5761078f610e16565b634e487b7160e01b600052603260045260246000fdfea26469706673582212203907f70f0f6856bd1e4d399c516194d563727477899c4162df01fae0f692f22964736f6c63430008140033
Deployed Bytecode
0x6080604052600436106103dd5760003560e01c8063715018a6116101fd578063a9059cbb11610118578063dbac26e9116100ab578063e0bf7fd11161007a578063e0bf7fd114610b54578063f0fc6bca14610b84578063f275f64b14610b99578063f2fde38b14610bb9578063f887ea4014610bd957600080fd5b8063dbac26e914610aab578063dd62ed3e14610adb578063dec739a814610b21578063df7787a414610b3757600080fd5b8063bfe10928116100e7578063bfe1092814610a40578063c024666814610a60578063cc1776d314610a80578063d89135cd14610a9657600080fd5b8063a9059cbb146109ad578063a9b232d9146109cd578063af1d4971146109fd578063b5dff83b14610a2a57600080fd5b80638e261b971161019057806395d89b411161015f57806395d89b411461094357806398d5fdca14610958578063a457c2d71461096d578063a8aa1b311461098d57600080fd5b80638e261b97146108da5780639028fdad146108f0578063902d55a5146109105780639358928b1461092e57600080fd5b806373bef44c116101cc57806373bef44c1461084457806375f0a8741461086457806385b12c7c1461089c5780638da5cb5b146108bc57600080fd5b8063715018a6146107e4578063715492aa146107f9578063730e2b2b1461080e578063735039d11461082e57600080fd5b806342966c68116102f85780635d098b381161028b57806365cf7c9b1161025a57806365cf7c9b1461072e5780636e5c59ae146107445780636e708d411461075a5780636eea7bdf1461076f57806370a08231146107ae57600080fd5b80635d098b38146106c25780635ff329af146106e25780636052f060146107025780636292a8eb1461071857600080fd5b80634f7041a5116102c75780634f7041a51461064a578063523991a814610660578063541fb5f614610675578063574b326b146106a257600080fd5b806342966c68146105da5780634ada218b146105fa5780634c9ee579146106145780634ccd8e5a1461063457600080fd5b806318160ddd1161037057806323b872dd1161033f57806323b872dd1461055e578063313ce5671461057e578063395093511461059a578063404769f4146105ba57600080fd5b806318160ddd146104fd5780631c3ff328146105125780631d2cb02d146105325780631d4eaead1461054857600080fd5b8063095ea7b3116103ac578063095ea7b3146104825780630a22e938146104b25780630b89d040146104c857806315f7e05e146104dd57600080fd5b806301547c87146103e9578063040f15df1461042957806306fdde031461043e5780630770cfd01461046057600080fd5b366103e457005b600080fd5b3480156103f557600080fd5b50610416610404366004612a79565b601a6020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561043557600080fd5b50610416610bf9565b34801561044a57600080fd5b50610453610c38565b6040516104209190612a92565b34801561046c57600080fd5b5061048061047b366004612a79565b610cca565b005b34801561048e57600080fd5b506104a261049d366004612af5565b610d02565b6040519015158152602001610420565b3480156104be57600080fd5b5061041660105481565b3480156104d457600080fd5b50610416610d1c565b3480156104e957600080fd5b506104806104f8366004612b21565b610d97565b34801561050957600080fd5b50600254610416565b34801561051e57600080fd5b5061041661052d366004612b21565b610e38565b34801561053e57600080fd5b50610416600d5481565b34801561055457600080fd5b50610416600c5481565b34801561056a57600080fd5b506104a2610579366004612b3e565b610ec4565b34801561058a57600080fd5b5060405160128152602001610420565b3480156105a657600080fd5b506104a26105b5366004612af5565b610ee8565b3480156105c657600080fd5b506104806105d5366004612a79565b610f27565b3480156105e657600080fd5b506104806105f5366004612a79565b610f56565b34801561060657600080fd5b506020546104a29060ff1681565b34801561062057600080fd5b5061041661062f366004612a79565b6113e7565b34801561064057600080fd5b5061041660125481565b34801561065657600080fd5b5061041660095481565b34801561066c57600080fd5b50610480611423565b34801561068157600080fd5b50610416610690366004612b21565b601b6020526000908152604090205481565b3480156106ae57600080fd5b506104166106bd366004612a79565b61150b565b3480156106ce57600080fd5b506104806106dd366004612b21565b61153d565b3480156106ee57600080fd5b506104166106fd366004612b21565b611589565b34801561070e57600080fd5b50610416600f5481565b34801561072457600080fd5b5061041660175481565b34801561073a57600080fd5b5061041660215481565b34801561075057600080fd5b50610416600b5481565b34801561076657600080fd5b506104166115a5565b34801561077b57600080fd5b5061078f61078a366004612b7f565b6115c1565b604080516001600160a01b039093168352602083019190915201610420565b3480156107ba57600080fd5b506104166107c9366004612b21565b6001600160a01b031660009081526020819052604090205490565b3480156107f057600080fd5b506104806115fb565b34801561080557600080fd5b50610480611631565b34801561081a57600080fd5b50610480610829366004612a79565b61166e565b34801561083a57600080fd5b5061041660135481565b34801561085057600080fd5b5061041661085f366004612ba1565b611823565b34801561087057600080fd5b50601654610884906001600160a01b031681565b6040516001600160a01b039091168152602001610420565b3480156108a857600080fd5b506104806108b7366004612a79565b6118a0565b3480156108c857600080fd5b506005546001600160a01b0316610884565b3480156108e657600080fd5b5061041660115481565b3480156108fc57600080fd5b5061041661090b366004612a79565b6118cf565b34801561091c57600080fd5b506104166912d2a0cd7b3129e0000081565b34801561093a57600080fd5b50610416611901565b34801561094f57600080fd5b5061045361195f565b34801561096457600080fd5b5061041661196e565b34801561097957600080fd5b506104a2610988366004612af5565b6119f3565b34801561099957600080fd5b50601554610884906001600160a01b031681565b3480156109b957600080fd5b506104a26109c8366004612af5565b611a85565b3480156109d957600080fd5b506104a26109e8366004612b21565b601f6020526000908152604090205460ff1681565b348015610a0957600080fd5b50610416610a18366004612a79565b60196020526000908152604090205481565b348015610a3657600080fd5b50610416600e5481565b348015610a4c57600080fd5b50601854610884906001600160a01b031681565b348015610a6c57600080fd5b50610480610a7b366004612be6565b611a93565b348015610a8c57600080fd5b50610416600a5481565b348015610aa257600080fd5b50610416611b9f565b348015610ab757600080fd5b506104a2610ac6366004612b21565b601d6020526000908152604090205460ff1681565b348015610ae757600080fd5b50610416610af6366004612c1b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b2d57600080fd5b506104166103e881565b348015610b4357600080fd5b5061041668302379bf2ca2e0000081565b348015610b6057600080fd5b506104a2610b6f366004612b21565b601e6020526000908152604090205460ff1681565b348015610b9057600080fd5b50610480611bc9565b348015610ba557600080fd5b50610480610bb4366004612c49565b611c3b565b348015610bc557600080fd5b50610480610bd4366004612b21565b611cc0565b348015610be557600080fd5b50601454610884906001600160a01b031681565b600060215460001480610c0e57506021544211155b15610c195750600090565b601754602154610c299042612c7a565b610c339190612c8d565b905090565b606060038054610c4790612caf565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7390612caf565b8015610cc05780601f10610c9557610100808354040283529160200191610cc0565b820191906000526020600020905b815481529060010190602001808311610ca357829003601f168201915b5050505050905090565b6005546001600160a01b03163314610cfd5760405162461bcd60e51b8152600401610cf490612ce9565b60405180910390fd5b601155565b600033610d10818585611d5b565b60019150505b92915050565b6018546000906001600160a01b0316634758c547610d38610bf9565b6040518263ffffffff1660e01b8152600401610d5691815260200190565b602060405180830381865afa158015610d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c339190612d1e565b6005546001600160a01b03163314610dc15760405162461bcd60e51b8152600401610cf490612ce9565b6000610dcb610bf9565b601854604051630235804b60e41b8152600481018390526001600160a01b03858116602483015292935091169063235804b0906044015b600060405180830381600087803b158015610e1c57600080fd5b505af1158015610e30573d6000803e3d6000fd5b505050505050565b6018546000906001600160a01b031663352e3d56610e54610bf9565b6040516001600160e01b031960e084901b16815260048101919091526001600160a01b03851660248201526044015b602060405180830381865afa158015610ea0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d169190612d1e565b600033610ed2858285611e7f565b610edd858585611f11565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610d109082908690610f22908790612d37565b611d5b565b6005546001600160a01b03163314610f515760405162461bcd60e51b8152600401610cf490612ce9565b601055565b60215415801590610f6957506021544210155b610fa85760405162461bcd60e51b815260206004820152601060248201526f139bdd081b185d5b98da1959081e595d60821b6044820152606401610cf4565b6000610fb2610bf9565b600754909150610fcd9033906001600160a01b031684611f11565b6018546040516319220ffb60e01b815260048101839052336024820152604481018490526001600160a01b03909116906319220ffb90606401600060405180830381600087803b15801561102057600080fd5b505af1158015611034573d6000803e3d6000fd5b5050601854604051631a971eab60e11b815260048101859052336024820152600093506001600160a01b03909116915063352e3d5690604401602060405180830381865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae9190612d1e565b905060006005815b6006811015611108576000858152601c60205260409020849082600681106110e0576110e0612d4a565b600202016001015410156110f657809250611108565b8061110081612d60565b9150506110b6565b50611111612a40565b6000858152601c602052604090203390846006811061113257611132612d4a565b60020201546001600160a01b031614611262576000611152846001612d37565b90505b6006811015611260576000868152601c60205260409020611177600183612c7a565b6006811061118757611187612d4a565b60020201600101548282600681106111a1576111a1612d4a565b602090810291909101518101919091526000878152601c909152604090206111ca600183612c7a565b600681106111da576111da612d4a565b60020201546001600160a01b03168282600681106111fa576111fa612d4a565b602090810291909101516001600160a01b039092169091526000878152601c909152604090203390826006811061123357611233612d4a565b60020201546001600160a01b03160361124e57809250611260565b8061125881612d60565b915050611155565b505b6000858152601c602052604090208490846006811061128357611283612d4a565b600202016001018190555033601c600087815260200190815260200160002084600681106112b3576112b3612d4a565b6002020180546001600160a01b0319166001600160a01b039290921691909117905560006112e2846001612d37565b90505b8281116113a9578181600681106112fe576112fe612d4a565b602002015160200151601c6000888152602001908152602001600020826006811061132b5761132b612d4a565b600202016001018190555081816006811061134857611348612d4a565b602002015160000151601c6000888152602001908152602001600020826006811061137557611375612d4a565b6002020180546001600160a01b0319166001600160a01b0392909216919091179055806113a181612d60565b9150506112e5565b5060405186815233907fda0f42d43f97f938cb58f3cee369e941ed1af5227b9cb0e856dc10ba388578409060200160405180910390a2505050505050565b6000602154600014806113fc57506021548211155b1561140957506000919050565b6017546021546114199084612c7a565b610d169190612c8d565b336000908152601b602052604081205490036114745760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20436c61696d60801b6044820152606401610cf4565b336000818152601b602052604080822054905181156108fc0292818181858888f193505050501580156114ab573d6000803e3d6000fd5b50336114b5610bf9565b336000908152601b60209081526040918290205491519182527fb5bd259ee04567e7028a6b3c6aa5e90df202361ed7321ef42dabebb57803c41a910160405180910390a3336000908152601b6020526040812055565b6018546040516364ff2b8760e11b8152600481018390526000916001600160a01b03169063c9fe570e90602401610e83565b6005546001600160a01b031633146115675760405162461bcd60e51b8152600401610cf490612ce9565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6018546000906001600160a01b031663ab3b55e3610e54610bf9565b6018546000906001600160a01b031663c9fe570e610d38610bf9565b601c60205281600052604060002081600681106115dd57600080fd5b6002020180546001909101546001600160a01b039091169250905082565b6005546001600160a01b031633146116255760405162461bcd60e51b8152600401610cf490612ce9565b61162f6000612430565b565b6005546001600160a01b0316331461165b5760405162461bcd60e51b8152600401610cf490612ce9565b426021556020805460ff19166001179055565b6005546001600160a01b031633146116985760405162461bcd60e51b8152600401610cf490612ce9565b60008181526019602052604081205490036116e95760405162461bcd60e51b81526020600482015260116024820152704e6f206461696c7920676976656177617960781b6044820152606401610cf4565b60006116f361196e565b60185460405163568b77ff60e11b815260048101859052602481018390523360448201529192506000916001600160a01b039091169063ad16effe90606401602060405180830381865afa15801561174f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117739190612d79565b600084815260196020526040902054909150479061179090612482565b47818111156117cb576117bb6117a682846125a6565b6000878152601a6020526040902054906125e8565b6000868152601a60205260409020555b6000858152601a60209081526040808320546001600160a01b038716808552601b9093528184205551909187917f7bdacf39a863f03e871b76e2bcad995f2338b1b85bb941ac1482d7592d86b96e9190a35050505050565b601854604051631a971eab60e11b8152600481018490526001600160a01b038381166024830152600092169063352e3d5690604401602060405180830381865afa158015611875573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118999190612d1e565b9392505050565b6005546001600160a01b031633146118ca5760405162461bcd60e51b8152600401610cf490612ce9565b602155565b601854604051634758c54760e01b8152600481018390526000916001600160a01b031690634758c54790602401610e83565b6012546008546001600160a01b03166000908152602081905260408120549091610c3391611959906007546001600160a01b0316600090815260208190526040902054611959906912d2a0cd7b3129e00000906125a6565b906125a6565b606060048054610c4790612caf565b600080600660009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa1580156119c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e89190612db0565b509195945050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015611a785760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cf4565b610edd8286868403611d5b565b600033610d10818585611f11565b6005546001600160a01b03163314611abd5760405162461bcd60e51b8152600401610cf490612ce9565b6001600160a01b0382166000908152601e602052604090205481151560ff909116151503611b405760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610cf4565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6012546007546001600160a01b03166000908152602081905260408120549091610c3391906125e8565b6000611bd3610bf9565b601854604051630235804b60e41b8152600481018390523360248201529192506001600160a01b03169063235804b090604401600060405180830381600087803b158015611c2057600080fd5b505af1158015611c34573d6000803e3d6000fd5b5050505050565b6005546001600160a01b03163314611c655760405162461bcd60e51b8152600401610cf490612ce9565b60205481151560ff909116151503611cad5760405162461bcd60e51b815260206004820152600b60248201526a105b1c9958591e481cd95d60aa1b6044820152606401610cf4565b6020805460ff1916911515919091179055565b6005546001600160a01b03163314611cea5760405162461bcd60e51b8152600401610cf490612ce9565b6001600160a01b038116611d4f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cf4565b611d5881612430565b50565b6001600160a01b038316611dbd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cf4565b6001600160a01b038216611e1e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cf4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cf4565b611f0b8484848403611d5b565b50505050565b6001600160a01b038316611f375760405162461bcd60e51b8152600401610cf490612e00565b6001600160a01b038216611f5d5760405162461bcd60e51b8152600401610cf490612e45565b60008111611fad5760405162461bcd60e51b815260206004820152601b60248201527f45524332303a207472616e7366657220616d6f756e74207a65726f00000000006044820152606401610cf4565b6001600160a01b0383166000908152601e602052604081205460ff1680611fec57506001600160a01b0383166000908152601e602052604090205460ff165b60205490915060ff1680611ffd5750805b61203e5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610cf4565b6001600160a01b0384166000908152601d602052604090205460ff1615801561208057506001600160a01b0383166000908152601d602052604090205460ff16155b6120ba5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610cf4565b6001600160a01b0383166000908152601f602052604090205460ff161580156120e1575080155b156121725768302379bf2ca2e0000082612110856001600160a01b031660009081526020819052604090205490565b61211a9190612d37565b11156121725760405162461bcd60e51b815260206004820152602160248201527f556e61626c6520746f20657863656564206d6178486f6c64696e67416d6f756e6044820152601d60fa1b6064820152608401610cf4565b60225460ff161561218857611f0b848484612647565b600f54306000908152602081905260408120549091111580156121ad57506000600f54115b80156121e857506007546001600160a01b03858116911614806121e857506001600160a01b0384166000908152601f602052604090205460ff165b905080156121fb576121fb600f5461279b565b6122058585612882565b1561242557600061222d6103e8612227600b548761291490919063ffffffff16565b90612996565b9050600061224c6103e8612227600c548861291490919063ffffffff16565b9050600061226b6103e8612227600d548961291490919063ffffffff16565b9050600061228a6103e8612227600e548a61291490919063ffffffff16565b90506122b68930838561229d888a612d37565b6122a79190612d37565b6122b19190612d37565b612647565b83600f60008282546122c89190612d37565b9250508190555082601260008282546122e19190612d37565b9091555050601054601254106123145760075460125461230e9130916001600160a01b0390911690612647565b60006012555b81601360008282546123269190612d37565b90915550506011546013541080159061235757506001600160a01b0388166000908152601f602052604090205460ff165b156123be57601354479061236a90612482565b600060135547818111156123bb576016546001600160a01b03166108fc6123918484612c7a565b6040518115909202916000818181858888f193505050501580156123b9573d6000803e3d6000fd5b505b50505b60006123c8610bf9565b6000818152601960205260409020549091506123e490836125e8565b60008281526019602052604090205561241d82846124028789612d37565b61240c9190612d37565b6124169190612d37565b89906125a6565b975050505050505b611c34858585612647565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124b7576124b7612d4a565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612510573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125349190612d79565b8160018151811061254757612547612d4a565b6001600160a01b03928316602091820292909201015260145461256d9130911684611d5b565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790610e02908590600090869030904290600401612e88565b600061189983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506129d8565b6000806125f58385612d37565b9050838110156118995760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610cf4565b6001600160a01b03831661266d5760405162461bcd60e51b8152600401610cf490612e00565b6001600160a01b0382166126935760405162461bcd60e51b8152600401610cf490612e45565b6001600160a01b0383166000908152602081905260409020548181101561270b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cf4565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612742908490612d37565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161278e91815260200190565b60405180910390a3611f0b565b6022805460ff19166001179055476127b282612482565b60006127bc610bf9565b90504782811115612834576018546001600160a01b031663b6b55f256127e28584612c7a565b846040518363ffffffff1660e01b815260040161280191815260200190565b6000604051808303818588803b15801561281a57600080fd5b505af115801561282e573d6000803e3d6000fd5b50505050505b6000600f5560408051848152602081018390527f05ab84b321981d7d9a13402e494604c50821bcb5f2400d128fa06cd6451113d4910160405180910390a150506022805460ff191690555050565b6001600160a01b0382166000908152601e602052604081205460ff16806128c157506001600160a01b0382166000908152601e602052604090205460ff165b156128ce57506000610d16565b6001600160a01b0383166000908152601f602052604090205460ff168061290d57506001600160a01b0382166000908152601f602052604090205460ff165b9050610d16565b60008260000361292657506000610d16565b60006129328385612ef9565b90508261293f8583612c8d565b146118995760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610cf4565b600061189983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612a12565b600081848411156129fc5760405162461bcd60e51b8152600401610cf49190612a92565b506000612a098486612c7a565b95945050505050565b60008183612a335760405162461bcd60e51b8152600401610cf49190612a92565b506000612a098486612c8d565b6040518060c001604052806006905b6040805180820190915260008082526020820152815260200190600190039081612a4f5790505090565b600060208284031215612a8b57600080fd5b5035919050565b600060208083528351808285015260005b81811015612abf57858101830151858201604001528201612aa3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611d5857600080fd5b60008060408385031215612b0857600080fd5b8235612b1381612ae0565b946020939093013593505050565b600060208284031215612b3357600080fd5b813561189981612ae0565b600080600060608486031215612b5357600080fd5b8335612b5e81612ae0565b92506020840135612b6e81612ae0565b929592945050506040919091013590565b60008060408385031215612b9257600080fd5b50508035926020909101359150565b60008060408385031215612bb457600080fd5b823591506020830135612bc681612ae0565b809150509250929050565b80358015158114612be157600080fd5b919050565b60008060408385031215612bf957600080fd5b8235612c0481612ae0565b9150612c1260208401612bd1565b90509250929050565b60008060408385031215612c2e57600080fd5b8235612c3981612ae0565b91506020830135612bc681612ae0565b600060208284031215612c5b57600080fd5b61189982612bd1565b634e487b7160e01b600052601160045260246000fd5b81810381811115610d1657610d16612c64565b600082612caa57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680612cc357607f821691505b602082108103612ce357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612d3057600080fd5b5051919050565b80820180821115610d1657610d16612c64565b634e487b7160e01b600052603260045260246000fd5b600060018201612d7257612d72612c64565b5060010190565b600060208284031215612d8b57600080fd5b815161189981612ae0565b805169ffffffffffffffffffff81168114612be157600080fd5b600080600080600060a08688031215612dc857600080fd5b612dd186612d96565b9450602086015193506040860151925060608601519150612df460808701612d96565b90509295509295909350565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612ed85784516001600160a01b031683529383019391830191600101612eb3565b50506001600160a01b03969096166060850152505050608001529392505050565b8082028115828204841417610d1657610d16612c6456fea264697066735822122010e39d63184e5541b1ceb81c50179cc4053ddec4735166e488297e6c0fb8236c64736f6c63430008140033
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.