Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0.00081215586719502 ETH
Eth Value
$2.39 (@ $2,947.82/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 3,445 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 24015734 | 30 hrs ago | IN | 0 ETH | 0.00005395 | ||||
| Approve | 23997069 | 3 days ago | IN | 0 ETH | 0.0000021 | ||||
| Approve | 23997054 | 3 days ago | IN | 0 ETH | 0.00000216 | ||||
| Approve | 23938208 | 12 days ago | IN | 0 ETH | 0.00000069 | ||||
| Approve | 23938204 | 12 days ago | IN | 0 ETH | 0.00000062 | ||||
| Approve | 23933183 | 12 days ago | IN | 0 ETH | 0.00001311 | ||||
| Approve | 23888456 | 19 days ago | IN | 0 ETH | 0.00001355 | ||||
| Approve | 23888454 | 19 days ago | IN | 0 ETH | 0.00001344 | ||||
| Approve | 23876532 | 20 days ago | IN | 0 ETH | 0.00002975 | ||||
| Approve | 23862075 | 22 days ago | IN | 0 ETH | 0.00001515 | ||||
| Approve | 23838834 | 26 days ago | IN | 0 ETH | 0.00009765 | ||||
| Approve | 23768695 | 35 days ago | IN | 0 ETH | 0.00001778 | ||||
| Approve | 23768694 | 35 days ago | IN | 0 ETH | 0.00001782 | ||||
| Approve | 23747224 | 38 days ago | IN | 0 ETH | 0.00007057 | ||||
| Approve | 23744233 | 39 days ago | IN | 0 ETH | 0.00002296 | ||||
| Approve | 23742576 | 39 days ago | IN | 0 ETH | 0.00005379 | ||||
| Approve | 23738526 | 40 days ago | IN | 0 ETH | 0.00002161 | ||||
| Approve | 23726372 | 41 days ago | IN | 0 ETH | 0.00009737 | ||||
| Approve | 23717747 | 43 days ago | IN | 0 ETH | 0.00009517 | ||||
| Approve | 23717747 | 43 days ago | IN | 0 ETH | 0.0000901 | ||||
| Approve | 23717747 | 43 days ago | IN | 0 ETH | 0.00009749 | ||||
| Approve | 23717747 | 43 days ago | IN | 0 ETH | 0.00009749 | ||||
| Approve | 23717746 | 43 days ago | IN | 0 ETH | 0.00009497 | ||||
| Approve | 23717743 | 43 days ago | IN | 0 ETH | 0.0000964 | ||||
| Approve | 23713381 | 43 days ago | IN | 0 ETH | 0.00001452 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 23921318 | 14 days ago | 0.0000062 ETH | ||||
| Transfer | 23921318 | 14 days ago | 0.00006826 ETH | ||||
| Transfer | 23803058 | 31 days ago | 0.00000329 ETH | ||||
| Transfer | 23803058 | 31 days ago | 0.00003626 ETH | ||||
| Transfer | 23773169 | 35 days ago | 0.00000112 ETH | ||||
| Transfer | 23773169 | 35 days ago | 0.00001233 ETH | ||||
| Transfer | 23742365 | 39 days ago | 0.00000258 ETH | ||||
| Transfer | 23742365 | 39 days ago | 0.00002848 ETH | ||||
| Transfer | 23662878 | 50 days ago | 0.00000043 ETH | ||||
| Transfer | 23662878 | 50 days ago | 0.00000475 ETH | ||||
| Transfer | 23627626 | 55 days ago | 0.00002083 ETH | ||||
| Transfer | 23627626 | 55 days ago | 0.00022914 ETH | ||||
| Transfer | 23623244 | 56 days ago | 0.0000009 ETH | ||||
| Transfer | 23623244 | 56 days ago | 0.00000998 ETH | ||||
| Transfer | 23623227 | 56 days ago | 0.00000162 ETH | ||||
| Transfer | 23623227 | 56 days ago | 0.00001782 ETH | ||||
| Transfer | 23623175 | 56 days ago | 0.0000002 ETH | ||||
| Transfer | 23623175 | 56 days ago | 0.00000229 ETH | ||||
| Transfer | 23622276 | 56 days ago | 0.00473449 ETH | ||||
| Transfer | 23622276 | 56 days ago | 0.00473449 ETH | ||||
| Transfer | 23621226 | 56 days ago | 0.00000065 ETH | ||||
| Transfer | 23621226 | 56 days ago | 0.00000724 ETH | ||||
| Transfer | 23618920 | 56 days ago | 0.00000563 ETH | ||||
| Transfer | 23618920 | 56 days ago | 0.00006203 ETH | ||||
| Transfer | 23618910 | 56 days ago | 0.00001512 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EOS20
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
☞ https://ethos.vision
𝕏 https://x.com/Ethereum_OS
✌︎ https://t.me/ethosportal
Welcome to the Ethereum Operating System — the first-of-its-kind revenue generating DeFi pumpware
built as a social DeFi sandbox that is filled with composable elements so you can create, trade,
communicate, and participate—all in one place.
@
@@:
@@@::
==@@@::::
===@@@:::::
===+@@+::::::
====@@@::::::::
=====@@@:::::::::
======@@@::::::::::
=======@@@:::::::::::
=======*@@+::::::::::::
========@@@::::::::::::::
==========@@@::::::::::::::::
===========@@@:::::::::::::::::
============@@@::::::::::::::::::
============*@@=:::::::::::::::::::
=============@@@:::::::::::::::::::::
=====@@@======@@@::::::::@@@:::::::::::
======@@@======@@@::::::::@@@::::::::::::
=======@@@======@@@::::::::@@@:::::::::::::
=================@@=:::::::::::::::::::::::::
==================%@@::::::::::::::::::::::::::::
===================@@@:::::::::::::::::::::::::::::
====================@@@::::::::::::::::::::::::::::::
=====================@@@:::::::::::::::::::::::::::::::
=====================+@@-::::::::::::::::::::::::::::::::
======================@@@@@@@@@@@@@@*::::::::::::::::::::::
=======================@@@@@@@@@@@@@@::::::::::::::::::::::::
===================================@@@:::::::::::::::::::::::::
=================================@@@:::::::::::::::::::::::
=========@@@@===================@@@::::::::@@@*::::::::::
=========@@@@@@@==============*@@:::::%@@@@@:::::::::::
===========@@@@@@@@@@@#*+=+*@@@@@@@@@@@-:::::::::::
==============+@@@@@@@@@@@@@@@@@@@:::::::::::::::
==========================@@@::::::::::::::::::
========================@@@::::::::::::::::
======================@@@::::::::::::::::
=====================@@@:::::::::::::::
===================@@@:::::::::::::
==================@@@::::::::::::
================*@@=:::::::::::
==============@@@::::::::::
=============@@@:::::::::
============@@@::::::::
==========@@#::::::
========@@@::::::
=======@@@:::::
=====@@@:::
====@@@::
==*@@-:
=@@@:
@
@@@
@@@@@@@@@@@@@@@@@@@ @@@@@@@ ======= ========
@@@@@@@@@@@@@@@@@@ @@@@@ ==== ===== ===== =====
@@@@@ @@ @@@@ ===== ==== ==== ===
@@@@@ @ @@@@ ==== ===== ==== ===
@@@@@ @@@@ ==== ===== ==== ==
@@@@@ @@ @@@@ ===== ===== =====
@@@@@ @ @@@@ @@@@ @ ===== ===== =======
@@@@@ @@ @@@@@@@@@@@@ @@@@ @@@@@@@@ ===== ===== =========
@@@@@@@@@@@@@ @@@@ @@@@@@ @@@@@ ===== ===== =========
@@@@@ @@ @@@@ @@@@@ @@@@@ ===== ===== =========
@@@@@ @@ @@@@ @@@@ @@@@ ===== ===== ========
@@@@@ @@@@ @@@@ @@@@ ====== ===== ======
@@@@@ @@@@ @@@@ @@@@ ===== ===== =====
@@@@@ @@@@ @@@@ @@@@ ===== ===== == =====
@@@@@ @@ @@@@ @@@@ @@@@ ==== ===== === =====
@@@@@ @@@ @@@@@ @@@@ @@@@ ===== ==== ==== ====
@@@@@@@@@@@@@@@@@@ @@@@@@@@@@ @@@@@@ @@@@@@ ===== ==== ===== =====
@@@@@@@@@@@@@@@@@@@@ @@@@@@ @@@@@@@@@ @@@@@@@@@ ========== =========
*/
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./math/SafeMathUint.sol";
import "./math/SafeMathInt.sol";
import "interfaces/IUniswapV2Router02.sol";
import "interfaces/IUniswapV2Pair.sol";
import "interfaces/IUniswapV2Factory.sol";
import "../interfaces/ITokenSettings.sol";
import "../interfaces/IBooster.sol";
interface IETH_OS {
function owner() external view returns (address);
function ecoFeePercent() external view returns (uint256);
function ecoFriendly(address _token) external view returns (bool);
function ecoFriendlyFeePercent() external view returns (uint256);
function ecoFeeOn() external view returns (bool);
function projectClaimFee() external view returns (uint256);
function projectWallet() external view returns (address);
function initialLiquidity(address) external view returns (uint256);
function isEligibleToMintBonus(address _user) external view returns (bool);
function booster() external view returns (address);
function calculatePump(address _token) external view returns (uint256 burnAmount, uint256 pumpNow, uint256 desiredPrice, uint256 price);
function getTimeLeft(address _token) external view returns (uint256);
function isAlive(address _token, address _user) external view returns (bool);
function calculateMaxSell(address _token) external view returns (uint256);
function isBooster(address _token) external view returns (bool);
function mainToken() external view returns (address);
function projectTradeFee() external view returns (uint256);
function minDeathTime() external view returns (uint256);
function maxReflectionPercent() external view returns (uint256);
function maxDailyPumpRate() external view returns (uint256);
function calculateMaxSellForCA(address _token, uint256 _userValue) external view returns (uint256);
function minBuy(address) external view returns (uint256);
function maxWallet(address) external view returns(uint);
function minReflectionsSwap(address) external view returns(uint);
function maxReflectionsSwap(address) external view returns(uint);
function maxBurnPercentage() external view returns(uint);
function maxDevFeePercent() external view returns(uint);
// function isMacroAvalaible() external view returns(bool);
function checkRequirements(uint256 _devFeePercent, uint256 _maxDailyPumpRate,
uint256 _reflectionsPercent, uint256 _liquidityPercent, uint256 _reaperDeathTime,
uint256 _cooldown, uint256 _winAmountPercent, uint256 _apy,
uint256 _burnPercentageBuy, uint256 _burnPercentageSell, address _token) external view returns (bool);
function eosPortionDivider() external view returns(uint);
function infoService() external view returns(address);
function isAuthorizedToClaim(address _user) external view returns(bool);
function lock() external view returns(address);
}
/// @title EOS20 — Eth OS token
/// @author ethjobs
/// @notice ERC20 token that integrates with the Ethereum Operating System.
/// @dev Public/external functions include NatSpec so they render on Etherscan's Read/Write tabs.
contract EOS20 is ERC20, Ownable, ReentrancyGuard, ITokenSettings {
// Libraries
using SafeMath for uint256;
using SafeMath for uint112;
using SafeMathUint for uint256;
using SafeMathInt for int256;
// Contracts
/// @notice ETH_OS orchestrator address.
address public ETH_OS;
/// @notice ETH_OS typed interface.
IETH_OS public ethOs;
/// @notice Uniswap V2 pair for (this token, WETH).
IUniswapV2Pair public uniswapV2Pair;
/// @notice Uniswap V2 router used for swaps and liquidity.
IUniswapV2Router02 public uniswapV2Router;
/// @notice Uniswap V2 factory reference.
IUniswapV2Factory public uniswapFactory;
/// @notice Wrapped ETH address used by the router.
address payable WETH;
// States
// SETTINGS
/// @notice Timestamp when the token was created.
uint256 public timeCreated;
/// @notice Block number when the token was deployed.
uint256 public deploymentBlock;
/// @dev Internal swap lock flag.
bool inSwap = false;
/// @notice When true, prevents draining LP by enforcing max sell.
bool public drainIsForbidden = true;
/// @notice Anti-bot mode for max wallet enforcement on buys.
bool public antiBot = false;
/// @notice Max wallet size as a percent of total supply (1–100).
uint public maxWalletPercent = 100;
// TOGGLES
/// @notice Global trading toggle.
bool public tradingOpen;
/// @notice Yield/reflections distribution toggle.
bool public yieldOn;
/// @notice Macro mode toggle (use larger swap chunks).
bool public isMacro;
// DEV
/// @notice Developer fee percent of incoming ETH in payday distribution.
uint256 public devFeePercent;
/// @notice Accumulated but unclaimed dev ETH.
uint256 public devClaimableEth;
/// @notice Total ETH withdrawn by dev.
uint256 public devWithdrawn;
// PUMP
/// @notice Whether anyone can call `pump()`.
bool public pumpIsPublic = true;
/// @notice Max daily pump rate (policy-gated by ETH_OS).
uint256 public maxDailyPumpRate;
/// @notice Last successful pump timestamp.
uint256 public lastPumpTimestamp;
// GAMBLE
/// @notice Current prize pool (ETH) for gamble.
uint256 public winAmount;
/// @notice Percent of incoming ETH routed to prize pool.
uint256 public winAmountPercent;
/// @notice Cooldown window for changing the current winner.
uint256 public cooldown;
/// @notice Current winner address.
address public currentWinner;
/// @notice Last buy timestamp considered for gamble.
uint256 public lastBuyTimestamp;
// REAPER
/// @notice Timestamp when death countdown started.
uint256 public deathStartedTimestamp;
/// @notice Reaper death time window (0 disables Reaper).
uint256 public deathTime;
// REFLECT
/// @notice Reflections percent taken on trades (in ‱ or %, policy-gated).
uint256 public reflectionsPercent;
/// @notice Accumulated token volume earmarked for reflections/eco fees.
uint256 public volumeAmount;
// AUTO LP
/// @notice ETH amount waiting to be added as liquidity.
uint256 public ethToLP = 0;
/// @notice Percent of incoming ETH sent to LP on payday.
uint256 public liquidityPercent;
/// @notice Total LP tokens received and (implicitly) burned to treasury.
uint256 public lpAdded;
// SHARES
/// @notice Magnitude constant for precise dividend math.
uint256 public constant MAGNITUDE = 2 ** 128;
/// @notice Accumulated ETH per share (scaled by MAGNITUDE).
uint256 public magnifiedEtherPerShare;
/// @notice Total ETH ever distributed to holders via yield.
uint256 public totalEthDistributed;
/// @notice Sum of all user shares (mirrors circulating if yieldOn).
uint256 public totalShares;
// PONZI
/// @notice APY in basis points (10000 = 100%).
uint256 public apy;
/// @notice Start time of the current APY period.
uint256 public ponziStart;
// BURN
/// @notice Percent burned on buys.
uint256 public burnPercentageBuy;
/// @notice Percent burned on sells.
uint256 public burnPercentageSell;
// Mappings
/// @notice User shares used for ETH yield calculations.
mapping(address => uint256) public shares;
/// @notice Whitelist addresses exempt from trade restrictions/fees.
mapping(address => bool) public wl;
/// @notice First time an address received tokens (used by Reaper/claim).
mapping(address => uint256) public firstReceivedBlockTimeStamp;
/// @notice Addresses that cannot die (Reaper exempt).
mapping(address => bool) public immortal;
/// @dev Per-user correction factor for magnified dividend math.
mapping(address => int256) public magnifiedEtherCorrections;
/// @notice Total ETH withdrawn by user via `claim`.
mapping(address => uint256) public ethWithdrawn;
/// @notice Convenience mirror of claimed ETH shown in UI (post-fee).
mapping(address => uint256) public ethWithdrawnForUi;
/// @notice Last timestamp a user claimed or we checkpointed their accrual.
mapping(address => uint256) public lastTimeClaimed;
/// @notice Pending token accrual cached during transfers.
mapping(address => uint256) public savedPonziTokens;
// Events
/// @notice Emitted after a successful pump.
/// @param burnAmount Tokens burned from the pair.
/// @param pumpAmount Implied pump amount (router-side calculation).
event Pumped(uint256 burnAmount, uint256 pumpAmount);
/// @notice Emitted when a user resets their death timer.
/// @param user Address that avoided death.
/// @param when Timestamp when it happened.
event DeathAvoided(address indexed user, uint256 when);
/// @notice Emitted when liquidity is added via payday -> addLiquidity.
/// @param add1 Tokens actually added to the pool.
/// @param add2 ETH actually paired.
/// @param liquidityBurned LP tokens minted (and custodied to ETH_OS).
event LiquidityAdded(uint256 add1, uint256 add2, uint256 liquidityBurned);
/// @notice Emitted when the gamble winner is reset.
/// @param winner New winner.
/// @param prevWinner Previous winner.
/// @param timeLeft Time left in the round at the moment of reset.
event WinnerReset(address indexed winner, address indexed prevWinner, uint256 timeLeft);
/// @notice Emitted when prize pool increases.
/// @param amountIncreased Amount added to the pool.
event PrizePoolIncreased(uint256 amountIncreased);
/// @notice Emitted upon paying the winner.
/// @param winner Winner address.
/// @param amount ETH amount paid.
event WinnerPaid(address indexed winner, uint256 amount);
/// @notice Emitted when ETH is distributed for yield.
/// @param from Caller that triggered distribution.
/// @param weiAmount ETH amount distributed (post eco & routing).
event Payday(address indexed from, uint256 weiAmount);
/// @notice Emitted when user shares are minted.
/// @param user Address receiving share credit.
/// @param amountToken Token amount used as basis for shares.
event DepositShares(address indexed user, uint256 amountToken);
/// @notice Emitted when user shares are burned.
/// @param user Address losing share credit.
/// @param amountToken Token amount used as basis for shares.
event WithdrawShares(address indexed user, uint256 amountToken);
/// @notice Emitted on successful claim of ETH.
/// @param user Beneficiary address.
/// @param tokenBal Token balance at claim time.
/// @param ethClaimed ETH amount (or tokens for Ponzi claim).
event Claim(address indexed user, uint256 tokenBal, uint256 ethClaimed);
/// @notice Emitted on successful claim of EOS20 tokens.
/// @param user Beneficiary address.
/// @param amount Token amount claimed.
event ClaimTokens(address indexed user, uint256 amount);
// Modifiers
// /// @notice Restricts function to the ETH_OS system.
modifier onlyEthOs() {
require(msg.sender == ETH_OS, "Caller is not ETH OS");
_;
}
/// @notice Restricts function to the ETH_OS owner.
modifier onlyEthOsOwner() {
require(msg.sender == IETH_OS(ETH_OS).owner(), "Caller is not Eth OS Owner");
_;
}
/// @dev Reentrancy guard for token->ETH swaps.
modifier lockTheSwap() {
inSwap = true;
_;
inSwap = false;
}
// Constructor
/// @notice Deploys the ERC20 and records the ETH_OS address.
/// @param name ERC20 name.
/// @param symbol ERC20 symbol.
/// @param _EthOS ETH_OS coordinator address.
constructor(string memory name, string memory symbol, address _EthOS) ERC20(name, symbol) {
ETH_OS = _EthOS;
ethOs = IETH_OS(ETH_OS);
}
// Deploy Functions
/// @notice Initializes core token state via ETH_OS (mints supply, sets routers, flags).
/// @dev Must be called by ETH_OS once, immediately after deployment.
/// @param owner Project owner address (whitelisted & immortal).
/// @param router Uniswap V2 router address.
/// @param deployer Address to receive initial supply and temporary ownership.
function initializeToken(address owner, address router, address deployer, uint256 _devDeadline) public onlyEthOs {
_transferOwnership(deployer);
uniswapV2Router = IUniswapV2Router02(router);
uniswapFactory = IUniswapV2Factory(uniswapV2Router.factory());
WETH = payable(uniswapV2Router.WETH());
_mint(deployer, 100_000_000e18);
timeCreated = block.timestamp;
deploymentBlock = block.number;
wl[deployer] = true;
wl[owner] = true;
wl[address(this)] = true;
immortal[ETH_OS] = true;
immortal[owner] = true;
immortal[address(uniswapV2Router)] = true;
immortal[address(this)] = true;
uniswapV2Pair = IUniswapV2Pair(IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH()));
immortal[address(uniswapV2Pair)] = true;
}
/// @notice Owner-controlled settings update, policy-gated by ETH_OS.
/// @dev When changing APY upwards, `ponziStart` resets to now. Also updates death and pump windows.
/// @param _devFeePercent New developer fee percent for payday routing.
/// @param _maxDailyPumpRate New max daily pump rate.
/// @param _reflectionsPercent New reflections percent on trades.
/// @param _liquidityPercent New percent of payday ETH routed to LP.
/// @param _reaperDeathTime New death window (0 disables Reaper).
/// @param _cooldown Gamble round cooldown.
/// @param _winAmountPercent Percent of payday ETH routed to prize pool.
/// @param _apy APY in basis points.
/// @param _burnPercentageBuy Burn percent on buys.
/// @param _burnPercentageSell Burn percent on sells.
function setSpecs(
uint256 _devFeePercent,
uint256 _maxDailyPumpRate,
uint256 _reflectionsPercent,
uint256 _liquidityPercent,
uint256 _reaperDeathTime,
uint256 _cooldown,
uint256 _winAmountPercent,
uint256 _apy,
uint256 _burnPercentageBuy,
uint256 _burnPercentageSell
) public onlyOwner {
// require(block.timestamp > settingLockTime, "Settings are locked");
require(ethOs.checkRequirements(_devFeePercent, _maxDailyPumpRate, _reflectionsPercent, _liquidityPercent,
_reaperDeathTime, _cooldown, _winAmountPercent, _apy, _burnPercentageBuy,
_burnPercentageSell, address(this)), "Requirements not met");
if (_reflectionsPercent != reflectionsPercent) {
reflectionsPercent = _reflectionsPercent;
}
if (_winAmountPercent != winAmountPercent) {
winAmountPercent = _winAmountPercent;
}
if (_devFeePercent != devFeePercent) {
devFeePercent = _devFeePercent;
}
if (_liquidityPercent != liquidityPercent) {
liquidityPercent = _liquidityPercent;
}
if (_maxDailyPumpRate != maxDailyPumpRate) {
maxDailyPumpRate = _maxDailyPumpRate;
lastPumpTimestamp = block.timestamp;
}
if (_reaperDeathTime != deathTime) {
if(_reaperDeathTime == 0){
deathTime = 0;
deathStartedTimestamp = 0;
}else{
if(_reaperDeathTime < deathTime || deathStartedTimestamp == 0){
deathStartedTimestamp = block.timestamp;
}
deathTime = _reaperDeathTime;
}
}
if (_apy != apy) {
if(_apy > apy){
ponziStart = block.timestamp;
}
apy = _apy;
}
if (_cooldown > 0 && winAmountPercent > 0) {
if(_cooldown != cooldown){
if(_cooldown < cooldown){
lastBuyTimestamp = block.timestamp;
}
cooldown = _cooldown;
}
}else{
cooldown = 0;
}
if(_burnPercentageBuy != burnPercentageBuy){
burnPercentageBuy = _burnPercentageBuy;
}
if(_burnPercentageSell != burnPercentageSell){
burnPercentageSell = _burnPercentageSell;
}
}
/// @notice Opens trading (whitelist still applies where relevant).
/// @param _tradingOpen for Eth OS and Eth OS owner.
function openTrading(bool _tradingOpen) public {
require(msg.sender == ETH_OS || msg.sender == IETH_OS(ETH_OS).owner(), "Not authorized");
tradingOpen = _tradingOpen;
}
/// @notice Transfers contract ownership and updates WL/immortal flags.
/// @param _owner New owner address.
function transferOwnershipOfTheToken(address _owner) public onlyOwner {
address oldOwner = owner();
_transferOwnership(_owner);
wl[oldOwner] = false;
wl[_owner] = true;
immortal[oldOwner] = false;
immortal[_owner] = true;
}
// Pump
/// @notice Executes a pump by burning tokens from the LP pair if policy allows.
/// @dev Uses ETH_OS.calculatePump to get burn amount; syncs pair afterwards.
function pump() public {
require(pumpIsPublic || msg.sender == owner(), "You can not pump");
(uint256 burnAmount, uint256 pumpAmount,,) = ethOs.calculatePump(address(this));
if (burnAmount > 0) {
_burn(address(uniswapV2Pair), burnAmount);
lastPumpTimestamp = block.timestamp;
uniswapV2Pair.sync();
emit Pumped(burnAmount, pumpAmount);
}
}
// Gamble
/// @dev Internal gamble logic used on buys to rotate winner and pay when elapsed.
/// @param value Buy amount in tokens.
/// @param to Buyer address (potential new winner).
function _gamble(uint256 value, address to) internal {
if(cooldown > 0){
uint256 timeLeft = ethOs.getTimeLeft(address(this));
if(value >= ethOs.minBuy(address(this))){
if (timeLeft > 0) {
address prevWinner = currentWinner;
currentWinner = to;
lastBuyTimestamp = block.timestamp;
emit WinnerReset(currentWinner, prevWinner, timeLeft);
} else {
address winner = currentWinner;
currentWinner = to;
lastBuyTimestamp = block.timestamp;
uint256 prize = winAmount / 2;
(bool success,) = winner.call{value: prize}("");
if (!success) {
(bool success2,) = ethOs.projectWallet().call{value: prize}("");
require(success2, "_gamble: Transfer to wallet failed");
}
winAmount -= prize;
emit WinnerPaid(winner, prize);
emit WinnerReset(currentWinner, winner, timeLeft);
}
}
}
}
// Reaper
/// @notice Resets the caller's death timer if Reaper is enabled and they are alive.
function avoidDeath() public {
if (deathTime > 0 && ethOs.isAlive(address(this), msg.sender)) {
firstReceivedBlockTimeStamp[msg.sender] = block.timestamp;
emit DeathAvoided(msg.sender, block.timestamp);
}
}
// Ponzi
/// @notice Returns pending APY-based token accrual for `_user`.
/// @param _user Address to query.
/// @return pending The amount of EOS tokens claimable by `_user`.
function pendingPonziTokens(address _user) public view returns (uint256) {
if (apy > 0 && lastTimeClaimed[_user] > 0) {
uint time = ponziStart > lastTimeClaimed[_user] ? ponziStart : lastTimeClaimed[_user];
return (((balanceOf(_user) * apy / 10000 ) / 86400) * (block.timestamp - time)) + savedPonziTokens[_user];
} else {
return 0;
}
}
/// @notice Mints bonus EOS for `_user` (authorized Booster-only).
/// @param amount Amount of EOS to mint.
/// @param _user Recipient of the minted tokens.
function mintBonus(uint256 amount, address _user) public {
require(ethOs.isEligibleToMintBonus(msg.sender), "Not authorized Mint");
_mint(_user, amount);
_mintShare(_user, amount);
}
/// @notice Claims pending APY accrual as newly minted tokens.
function claimPonziTokens() public nonReentrant {
uint256 accumulatedTokens = pendingPonziTokens(msg.sender);
require(accumulatedTokens > 0, "Zero claimable amount for tokens");
lastTimeClaimed[msg.sender] = block.timestamp;
savedPonziTokens[msg.sender] = 0;
_mint(msg.sender, accumulatedTokens);
_mintShare(msg.sender, accumulatedTokens);
emit ClaimTokens(msg.sender, accumulatedTokens);
}
// Core
/// @notice Basic address eligibility check for share accounting.
/// @param _address Address to check.
/// @return ok True if eligible (non-zero and not router/pair/system).
function isEligible(address _address) public view returns (bool) {
if (_address != address(0) && _address != address(uniswapV2Pair) && _address != address(this) && _address != address(ETH_OS)){
return true;
}else{
return false;
}
}
/// @notice Sets anti-bot mode and max wallet percent (1–100).
/// @param _antiBot Toggle anti-bot checks.
/// @param _maxWallet Percent of total supply allowed per wallet.
function setMaxWallet(bool _antiBot, uint _maxWallet) public onlyOwner() {
require(_maxWallet >= 1 && _maxWallet <= 100, "Not correct max wallet");
maxWalletPercent = _maxWallet;
antiBot = _antiBot;
}
/// @inheritdoc ERC20
function _beforeTokenTransfer(address from, address to, uint256 value) internal virtual override {
if (from != address(0)) {
uint256 reflectionsAmount = 0;
if (deathTime > 0) {
require(ethOs.isAlive(address(this), from) || ethOs.isBooster(to) || to == address(0), "cannot escape death");
}
if (firstReceivedBlockTimeStamp[to] == 0) {
firstReceivedBlockTimeStamp[to] = block.timestamp;
}
if(pendingPonziTokens(to) > 0){
savedPonziTokens[to] = pendingPonziTokens(to);
lastTimeClaimed[to] = block.timestamp;
}else{
lastTimeClaimed[to] = block.timestamp;
}
if (msg.sender != address(this) && to != address(0)) {
if (yieldOn) {
if (isEligible(from)) {
if (ethAccumulated(from) > 0) {claim(from);}
if (totalShares > 1e18 && value >= totalShares - 1e18) {
require(
value <= totalShares - 1e18,
"You are the only holder, you need to leave 1e18 tokens in lp."
);
}
if(pendingPonziTokens(from) > 0){
savedPonziTokens[from] = pendingPonziTokens(from);
lastTimeClaimed[from] = block.timestamp;
}
_burnShare(from, value);
}
if (isEligible(to)) {
_mintShare(to, value);
}
}
if (!wl[from] && !wl[to]) {
if (from == address(uniswapV2Pair) && to != address(uniswapV2Router)) {
if (!tradingOpen) {
require(wl[to], "Trading not open");
}
require(value <= ethOs.maxWallet(address(this)), "Over max wallet");
reflectionsAmount = (value * (reflectionsPercent + ethOs.ecoFeePercent())) / 1000;
if (winAmountPercent > 0) {
_gamble(value, to);
}
}
if (to == address(uniswapV2Pair) && from != address(this)) {
if (!tradingOpen) {
require(wl[from], "Trading is not open yet");
}
if (tradingOpen) {
if (drainIsForbidden) {
require(value <= ethOs.calculateMaxSell(address(this)), "Eth cannot be less then owner provided.");
}
}
reflectionsAmount = (value * (reflectionsPercent + ethOs.ecoFeePercent())) / 1000;
}
if (ethOs.ecoFeeOn() || yieldOn && reflectionsAmount > 0) {
volumeAmount += reflectionsAmount;
}
bool canSwap = volumeAmount > ethOs.minReflectionsSwap(address(this)) && reflectionsAmount > 0;
if (yieldOn || ethOs.ecoFeeOn()) {
if (canSwap && !inSwap && to == address(uniswapV2Pair)) {
uint256 toSwap = isMacro ? volumeAmount : reflectionsAmount;
_swapAndLiquify(toSwap, value);
}
}
}
}
}
super._beforeTokenTransfer(from, to, value);
}
/// @inheritdoc ERC20
function _transfer(
address from,
address to,
uint256 amount
) internal virtual override {
if (!wl[from] && !wl[to]) {
// buy
if (from == address(uniswapV2Pair) && to != address(uniswapV2Router) && burnPercentageBuy > 0) {
uint burnAmount = amount * burnPercentageBuy / 100;
super._transfer(from, to, amount);
_burn(to, burnAmount);
if(yieldOn){_burnShare(to, burnAmount);}
}
// sell
else if (to == address(uniswapV2Pair) && from != address(this) && burnPercentageSell > 0) {
uint burnAmount = amount * burnPercentageSell / 100;
super._transfer(from, to, amount - burnAmount);
_burn(from, burnAmount);
if(yieldOn){_burnShare(from, burnAmount);}
}
else{
super._transfer(from, to, amount);
}
}else{
super._transfer(from, to, amount);
}
}
// Sell
/// @dev Swaps reflection tokens to ETH and adds liquidity when thresholds are hit.
/// @param _toSwap Token amount to convert to ETH for reflections/eco.
/// @param _value Current trade value (used for policy-bound max sell calc).
function _swapAndLiquify(uint256 _toSwap, uint256 _value) internal lockTheSwap {
uint maxSwap = ethOs.maxReflectionsSwap(address(this));
uint256 toSwap;
if(isMacro){
toSwap = _toSwap >= maxSwap ? maxSwap : _toSwap;
}else{
toSwap = _toSwap;
}
if (drainIsForbidden && toSwap > ethOs.calculateMaxSellForCA(address(this), _value)) {
toSwap = ethOs.calculateMaxSellForCA(address(this), _value);
}
if(toSwap > 0){
_swapTokensForEth(toSwap);
}
if (ethToLP > 0) {
_addLiquidity(ethToLP);
}
}
/// @notice Calculates the split of incoming ETH for dev/gamble/LP/yield.
/// @dev Values are computed from current percents; yield is the remainder.
/// @param value Incoming ETH amount.
/// @return dev Portion routed to developer wallet (claimable).
/// @return gamble Portion routed to the prize pool.
/// @return liquidity Portion reserved to add as liquidity.
/// @return yield Portion distributed to holders (if `yieldOn`).
function calculatePortions(uint256 value) public view returns (uint256 dev, uint256 gamble, uint256 liquidity, uint256 yield){
devFeePercent > 0 ? dev = value * devFeePercent / 100 : 0;
winAmountPercent > 0 ? gamble = value * winAmountPercent / 100 : gamble = 0;
liquidityPercent > 0 ? liquidity = value * liquidityPercent / 100 : liquidity = 0;
yieldOn ? yield = value - gamble - liquidity - dev : yield = 0;
return (dev, gamble, liquidity, yield);
}
/// @dev Swaps `_toSwap` tokens (minted from fees) to ETH into the contract.
/// @param _toSwap Token amount to swap.
function _swapTokensForEth(uint256 _toSwap) private {
volumeAmount -= _toSwap;
_mint(address(this), _toSwap);
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
this.approve(address(uniswapV2Router), _toSwap);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
_toSwap,
0,
path,
address(this),
block.timestamp
);
}
/// @dev Adds liquidity using accumulated `ethToLP` and freshly minted tokens.
/// @param _amountETHMin ETH amount earmarked for LP.
function _addLiquidity(uint256 _amountETHMin) private nonReentrant {
(uint112 r0, uint112 r1) = getReserves();
uint256 tokensToLiquidity = getQuote(_amountETHMin, r1, r0);
uint256 ethToLiquidity = getQuote(tokensToLiquidity, r0, r1);
_mint(address(this), tokensToLiquidity);
this.approve(address(uniswapV2Router), tokensToLiquidity);
(uint256 add1, uint256 add2, uint256 gotLiquidity) = uniswapV2Router.addLiquidityETH{value: ethToLiquidity}(
address(this), tokensToLiquidity, 0, ethToLiquidity, address(ETH_OS), block.timestamp
);
lpAdded += gotLiquidity;
ethToLP = 0;
emit LiquidityAdded(add1, add2, gotLiquidity);
}
// Shares
/// @dev Routes ETH accrued via payday to dev, prize, LP and holder yield.
/// @param _amount ETH amount to distribute (after eco fees).
function _distributeMechanics(uint256 _amount) private {
(uint256 dev, uint256 gamble, uint256 liquidity, uint256 yield) = calculatePortions(_amount);
if (dev > 0) {
devClaimableEth += dev;
}
if (gamble > 0) {
winAmount += gamble;
emit PrizePoolIncreased(gamble);
}
if (liquidity > 0) {
ethToLP += liquidity;
}
if (yieldOn && totalShares > 0) {
magnifiedEtherPerShare = magnifiedEtherPerShare.add((yield).mul(MAGNITUDE) / totalShares);
totalEthDistributed += yield;
emit Payday(msg.sender, yield);
}
}
/// @notice Computes eco portion from msg.value considering reflections.
/// @param _amount Incoming ETH amount.
/// @return eco ETH amount routed to project/EOS according to policy.
function calculateValueForEco(uint256 _amount) public view returns (uint256) {
if (yieldOn && totalShares > 0) {
uint ecoFee = ethOs.ecoFriendly(address(this)) ? ethOs.ecoFriendlyFeePercent() : ethOs.ecoFeePercent();
uint256 totalFee = reflectionsPercent + ecoFee;
if (totalFee == 0) {return 0;}
uint256 ecoValuePercent = (ecoFee * 1e18) / totalFee;
uint256 ecoValue = (_amount * (ecoValuePercent / 1e9)) / 1e9;
return ecoValue;
} else {
return _amount;
}
}
/// @notice Entry point to feed ETH into mechanics and distribute according to current settings.
function payday() public payable {
if (msg.value > 0) {
uint256 ecoAmount = calculateValueForEco(msg.value);
if (ecoAmount > 0) {
uint eosPortion;
if(address(this) == ethOs.mainToken()){
eosPortion = 0;
}else{
eosPortion = ecoAmount/ethOs.eosPortionDivider();
}
(bool projectSuccess,) = ethOs.projectWallet().call{value: ecoAmount - eosPortion}("");
require(projectSuccess, "Transfer to project wallet failed");
if(eosPortion > 0){
(bool eosSuccess,) = address(ethOs.mainToken()).call{value: eosPortion}("");
require(eosSuccess, "Transfer to EOS failed");
}
}
uint256 value = msg.value - ecoAmount;
if (value > 0) {
_distributeMechanics(value);
}
}
}
/// @notice Claims accumulated ETH yield for `user` (caller can be router/user/booster).
/// @param user Beneficiary address to claim for.
function claim(address user) public nonReentrant {
require(msg.sender == user || ethOs.isAuthorizedToClaim(msg.sender), "Not authorized Claim");
// require(!claimPaused, "Claim paused");
uint256 accumulatedEther = ethAccumulated(user);
require(accumulatedEther > 0, "Zero claimable amount");
uint256 claimableAmount = (accumulatedEther * (100 - ethOs.projectClaimFee())) / 100;
uint256 feeAmount = accumulatedEther - claimableAmount;
ethWithdrawn[user] = ethWithdrawn[user].add(accumulatedEther);
ethWithdrawnForUi[user] = ethWithdrawnForUi[user].add(claimableAmount);
emit Claim(user, balanceOf(user), claimableAmount);
(bool success1,) = user.call{value: claimableAmount}("");
if(!success1){
(success1,) = ethOs.projectWallet().call{value: claimableAmount}("");
require(success1, "Transfer to project wallet failed");
}
(bool success2,) = ethOs.projectWallet().call{value: feeAmount}("");
require(success2, "Transfer to project wallet failed");
}
/// @notice View helper returning claimable ETH after project fee.
/// @param _user Address to query.
function ethAccumulatedForUi(address _user) public view returns (uint256) {
return ((ethAccumulated(_user) * (100 - ethOs.projectClaimFee())) / 100);
}
/// @notice View helper returning gross accumulated ETH (pre-fee).
/// @param _user Address to query.
function ethAccumulated(address _user) public view returns (uint256) {
return ethCumulative(_user).sub(ethWithdrawn[_user]);
}
/// @notice Returns share ratio of a user (1e18 = 100%).
/// @param _user Address to query.
function share(address _user) public view returns (uint256) {
if (totalShares > 0) {
return (shares[_user] * 1e18) / totalShares;
} else {
return 0;
}
}
/// @notice Cumulative ETH entitlement of `_user` based on magnified shares.
/// @param _user Address to query.
function ethCumulative(address _user) public view returns (uint256) {
return magnifiedEtherPerShare.mul(shares[_user]).toInt256Safe().add(magnifiedEtherCorrections[_user])
.toUint256Safe() / MAGNITUDE;
}
/// @dev Mints shares for `account` when tokens are received while yield is on.
/// @param account Beneficiary address.
/// @param value Token amount forming the basis of shares.
function _mintShare(address account, uint256 value) internal {
totalShares += value;
unchecked {
shares[account] += value;
}
magnifiedEtherCorrections[account] =
magnifiedEtherCorrections[account].sub((magnifiedEtherPerShare.mul(value)).toInt256Safe());
emit DepositShares(account, value);
}
/// @dev Burns shares for `account` when tokens are sent while yield is on.
/// @param account Address to debit.
/// @param value Token amount forming the basis of shares.
function _burnShare(address account, uint256 value) internal {
uint256 userShare = shares[account];
require(userShare >= value, "EOS20: burn amount exceeds balance");
unchecked {
shares[account] = userShare - value;
totalShares -= value;
}
magnifiedEtherCorrections[account] =
magnifiedEtherCorrections[account].add((magnifiedEtherPerShare.mul(value)).toInt256Safe());
emit WithdrawShares(account, value);
}
/// @notice Owner-only helper to manually adjust `volumeAmount` by burning excessive tokens.
/// @param _burnAmount Amount to decrement from `volumeAmount`.
function burnExcessiveTokens(uint _burnAmount) public onlyOwner() {
volumeAmount -= _burnAmount;
}
// Pair Helpers
/// @notice Quotes how much of token B is needed given reserves for amountA.
/// @param amountA Input amount of token A.
/// @param reserveA Reserve of token A.
/// @param reserveB Reserve of token B.
/// @return amountB Output amount of token B.
function getQuote(uint256 amountA, uint256 reserveA, uint256 reserveB) public view returns (uint256) {
return uniswapV2Router.quote(amountA, reserveA, reserveB);
}
/// @notice Returns pair reserves sorted so that (token,eth) align with this token and WETH.
/// @return token Reserve of this token.
/// @return eth Reserve of WETH.
function getReserves() public view returns (uint112 token, uint112 eth) {
(uint112 _reserve0, uint112 _reserve1,) = uniswapV2Pair.getReserves();
return address(this) < uniswapV2Router.WETH() ? (_reserve0, _reserve1) : (_reserve1, _reserve0);
}
// Admin
/// @notice Enables/disables share calculations (default: ON).
/// @dev Use cautiously; disabling then enabling may cause user share skew if transfers occur while off.
/// @param toggle New state for `yieldOn`.
function toggleYield(bool toggle) public {
require(msg.sender == ETH_OS || msg.sender == IETH_OS(ETH_OS).owner(), "Not authorized");
yieldOn = toggle;
}
/// @notice Enables or disables public pumping.
/// @param toggle New state for `pumpIsPublic`.
function togglePump(bool toggle) public onlyOwner {
pumpIsPublic = toggle;
}
/// @notice Sets macro mode when allowed by ETH_OS policy or if main token.
/// @param _isMacro New value for macro mode.
function setIsMacro(bool _isMacro) public onlyEthOsOwner {
isMacro = _isMacro;
}
/// @notice Updates the ETH_OS address (ETH_OS owner only).
/// @param _ethos New ETH_OS address.
function setEthOsAddress(address _ethos) public onlyEthOsOwner {
ETH_OS = _ethos;
}
/// @notice Grants or revokes immortality (Reaper exemption) for `account`.
/// @param account Target address.
/// @param isImmortal True to exempt from death checks.
function playWithDeath( address account, bool isImmortal) public onlyEthOsOwner {
immortal[account] = isImmortal;
}
/// @notice Recovers arbitrary ETH to `_user` from this contract (ETH_OS owner only).
/// @param _user Recipient address.
/// @param _amount ETH amount to send.
function recoverEth(address payable _user, uint256 _amount) external onlyEthOsOwner {
(bool success,) = _user.call{value: _amount}("");
}
/// @notice Claims accumulated dev fees to the current owner.
function claimDevFees() public nonReentrant onlyOwner {
address user = owner();
// require(user != address(0), "Owner address is zero");
uint256 accumulatedEther = devClaimableEth;
require(accumulatedEther > 0, "Zero claimable amount");
// Effects: Update state first
devClaimableEth = 0;
devWithdrawn += accumulatedEther;
// Emit event
emit Claim(user, balanceOf(user), accumulatedEther);
// Interactions: Transfer ETH last
(bool success, ) = user.call{value: accumulatedEther}("");
require(success, "ETH transfer failed");
}
// Burn
/// @notice Burns `amount` tokens from caller; adjusts shares if yield is on.
/// @param amount Amount of tokens to burn.
function burn(uint256 amount) public {
_burn(msg.sender, amount);
if(yieldOn && msg.sender!= ETH_OS){
_burnShare(msg.sender, amount);
}
}
// Receive
/// @notice Accepts ETH and routes it through `payday()` automatically.
receive() external payable {
payday();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* 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, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions 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.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.1;
/**
* @title SafeMathUint
* @dev Math operations with safety checks that revert on error
*/
library SafeMathUint {
function toInt256Safe(uint256 a) internal pure returns (int256) {
int256 b = int256(a);
require(b >= 0);
return b;
}
}// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.1;
/**
* @title SafeMathInt
* @dev Math operations with safety checks that revert on error
* @dev SafeMath adapted for int256
* Based on code of https://github.com/RequestNetwork/requestNetwork/blob/master/packages/requestNetworkSmartContracts/contracts/base/math/SafeMathInt.sol
*/
library SafeMathInt {
function mul(int256 a, int256 b) internal pure returns (int256) {
// Prevent overflow when multiplying INT256_MIN with -1
// https://github.com/RequestNetwork/requestNetwork/issues/43
require(!(a == -2 ** 255 && b == -1) && !(b == -2 ** 255 && a == -1));
int256 c = a * b;
require((b == 0) || (c / b == a));
return c;
}
function div(int256 a, int256 b) internal pure returns (int256) {
// Prevent overflow when dividing INT256_MIN by -1
// https://github.com/RequestNetwork/requestNetwork/issues/43
require(!(a == -2 ** 255 && b == -1) && (b > 0));
return a / b;
}
function sub(int256 a, int256 b) internal pure returns (int256) {
require((b >= 0 && a - b <= a) || (b < 0 && a - b > a));
return a - b;
}
function add(int256 a, int256 b) internal pure returns (int256) {
int256 c = a + b;
require((b >= 0 && c >= a) || (b < 0 && c < a));
return c;
}
function toUint256Safe(int256 a) internal pure returns (uint256) {
require(a >= 0);
return uint256(a);
}
}pragma solidity >=0.6.2;
import './IUniswapV2Router01.sol';
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function launch(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
uint8 buyLpFee,
uint8 sellLpFee,
uint8 buyProtocolFee,
uint8 sellProtocolFee,
address protocolAddress
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}pragma solidity >=0.5.0;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
event Mint(address indexed sender, uint amount0, uint amount1);
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function mint(address to) external returns (uint liquidity);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ITokenSettings {
struct TokenSettings {
string name;
string symbol;
address router;
// address owner;
// address deployer;
string description;
string website;
string image;
string chat;
string socials;
uint256 devFee;
uint256 reflectionsPercent;
uint256 liquidityPercent;
uint256 maxDailyPumpRate;
uint256 reaperDeathTime;
uint256 cooldown;
uint256 winAmountPercent;
uint256 apy;
uint256 devSupply;
uint256 devDeadline;
uint256 burnPercentBuy;
uint256 burnPercentSell;
uint256 maxWallet;
bool antiBot;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IBOOSTER {
function mainToken() external view returns (address);
function balanceOf(address _user) external view returns (uint256);
function bonusEOS(address _user) external view returns (uint256);
function getEosPriceInUsd() external view returns (uint);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts 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;
}
}pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}{
"remappings": [
"forge-std/=lib/forge-std/src/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"@ensdomains/=lib/v4-core/node_modules/@ensdomains/",
"@uniswap/=lib/universal-router/node_modules/@uniswap/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/",
"hardhat/=lib/v4-core/node_modules/hardhat/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"permit2/=lib/permit2/",
"solmate/=lib/universal-router/lib/solmate/",
"universal-router/=lib/universal-router/",
"v4-core/=lib/v4-core/src/",
"v4-periphery/=lib/v4-periphery/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_EthOS","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenBal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethClaimed","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"when","type":"uint256"}],"name":"DeathAvoided","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"}],"name":"DepositShares","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"add1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"add2","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityBurned","type":"uint256"}],"name":"LiquidityAdded","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":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"Payday","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIncreased","type":"uint256"}],"name":"PrizePoolIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"burnAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pumpAmount","type":"uint256"}],"name":"Pumped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WinnerPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":true,"internalType":"address","name":"prevWinner","type":"address"},{"indexed":false,"internalType":"uint256","name":"timeLeft","type":"uint256"}],"name":"WinnerReset","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"}],"name":"WithdrawShares","type":"event"},{"inputs":[],"name":"ETH_OS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAGNITUDE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"antiBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"apy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"avoidDeath","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnAmount","type":"uint256"}],"name":"burnExcessiveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnPercentageBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnPercentageSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"calculatePortions","outputs":[{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"gamble","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"yield","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"calculateValueForEco","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDevFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPonziTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentWinner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deathStartedTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deathTime","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":"deploymentBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devClaimableEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"drainIsForbidden","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"ethAccumulated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"ethAccumulatedForUi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"ethCumulative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethOs","outputs":[{"internalType":"contract IETH_OS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethToLP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ethWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ethWithdrawnForUi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstReceivedBlockTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"name":"getQuote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"token","type":"uint112"},{"internalType":"uint112","name":"eth","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"immortal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"owner","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"deployer","type":"address"},{"internalType":"uint256","name":"_devDeadline","type":"uint256"}],"name":"initializeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isEligible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMacro","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBuyTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPumpTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTimeClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpAdded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"magnifiedEtherCorrections","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"magnifiedEtherPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDailyPumpRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"mintBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingOpen","type":"bool"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payday","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingPonziTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isImmortal","type":"bool"}],"name":"playWithDeath","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ponziStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pump","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pumpIsPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reflectionsPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"savedPonziTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_ethos","type":"address"}],"name":"setEthOsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isMacro","type":"bool"}],"name":"setIsMacro","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_antiBot","type":"bool"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFeePercent","type":"uint256"},{"internalType":"uint256","name":"_maxDailyPumpRate","type":"uint256"},{"internalType":"uint256","name":"_reflectionsPercent","type":"uint256"},{"internalType":"uint256","name":"_liquidityPercent","type":"uint256"},{"internalType":"uint256","name":"_reaperDeathTime","type":"uint256"},{"internalType":"uint256","name":"_cooldown","type":"uint256"},{"internalType":"uint256","name":"_winAmountPercent","type":"uint256"},{"internalType":"uint256","name":"_apy","type":"uint256"},{"internalType":"uint256","name":"_burnPercentageBuy","type":"uint256"},{"internalType":"uint256","name":"_burnPercentageSell","type":"uint256"}],"name":"setSpecs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"share","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeCreated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"toggle","type":"bool"}],"name":"togglePump","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"toggle","type":"bool"}],"name":"toggleYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalEthDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"tradingOpen","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":"address","name":"_owner","type":"address"}],"name":"transferOwnershipOfTheToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapFactory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"volumeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"winAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"winAmountPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wl","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
6080604052600f805462ffffff191661010017905560646010556015805460ff1916600117905560006021553480156200003857600080fd5b5060405162005c4f38038062005c4f8339810160408190526200005b91620001ea565b828260036200006b838262000306565b5060046200007a828262000306565b5050506200009762000091620000cf60201b60201c565b620000d3565b6001600655600780546001600160a01b039092166001600160a01b031992831681179091556008805490921617905550620003d29050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200014d57600080fd5b81516001600160401b03808211156200016a576200016a62000125565b604051601f8301601f19908116603f0116810190828211818310171562000195576200019562000125565b81604052838152602092508683858801011115620001b257600080fd5b600091505b83821015620001d65785820183015181830184015290820190620001b7565b600093810190920192909252949350505050565b6000806000606084860312156200020057600080fd5b83516001600160401b03808211156200021857600080fd5b62000226878388016200013b565b945060208601519150808211156200023d57600080fd5b506200024c868287016200013b565b604086015190935090506001600160a01b03811681146200026c57600080fd5b809150509250925092565b600181811c908216806200028c57607f821691505b602082108103620002ad57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030157600081815260208120601f850160051c81016020861015620002dc5750805b601f850160051c820191505b81811015620002fd57828155600101620002e8565b5050505b505050565b81516001600160401b0381111562000322576200032262000125565b6200033a8162000333845462000277565b84620002b3565b602080601f831160018114620003725760008415620003595750858301515b600019600386901b1c1916600185901b178555620002fd565b600085815260208120601f198616915b82811015620003a35788860151825594840194600190910190840162000382565b5085821015620003c25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61586d80620003e26000396000f3fe6080604052600436106104fb5760003560e01c806366e305fd1161028c578063a19431131161015a578063ce7c2ac2116100cc578063e84f3f7f11610085578063e84f3f7f14610f50578063e92f3ae914610f70578063ea27c93c14610f90578063f1653f6e14610fbd578063f2fde38b14610fd3578063ffb54a9914610ff357600080fd5b8063ce7c2ac214610e8d578063d9cf361f14610eba578063dd62ed3e14610eda578063decb3a9014610efa578063e1100eac14610f10578063e72c571714610f3057600080fd5b8063aabe2fe31161011e578063aabe2fe314610dc7578063af8deddb14610de7578063b068375514610dfd578063ba77a02d14610e13578063bb59d23614610e53578063cdbecc7414610e6d57600080fd5b8063a194311314610d3b578063a245716814610d51578063a2ced30514610d71578063a457c2d714610d87578063a9059cbb14610da757600080fd5b80637dfcbe34116101fe5780638bdb2afa116101b75780638bdb2afa14610c7b5780638da5cb5b14610c9b57806395d89b4114610cb95780639cc9966714610cce5780639d98702c14610cee578063a0c1be3614610d1b57600080fd5b80637dfcbe3414610bc457806382100e3f14610be4578063854d50eb14610bfa57806387e679d214610c2757806388f2aea514610c4757806389a7019914610c5c57600080fd5b806370a082311161025057806370a0823114610b0d578063715018a614610b435780637363fad914610b58578063780119cb14610b78578063787a08a614610b8e5780637de7dbf714610ba457600080fd5b806366e305fd14610a8757806366e582aa14610aa7578063675d493614610abd5780636881385b14610aed5780636d3036a714610af557600080fd5b806339509351116103c957806342b7e4161161033b5780634b1d447d116102f45780634b1d447d146109e25780634d6a80ab146109f85780634ff4f31714610a0e57806354c6739914610a245780635d6bdf1214610a3a57806365d44ab414610a5a57600080fd5b806342b7e4161461094157806345f8b77a14610957578063473e7ef8146109775780634985746f1461099657806349bd5a5e146109ac5780634a903623146109cc57600080fd5b80633bcfc4b81161038d5780633bcfc4b8146108aa5780633d9a3d19146108c05780633e582eac146108d65780633f64a7ab146108f6578063412f2efd1461090c57806342966c681461092157600080fd5b8063395093511461081f578063395ea61b1461083f5780633a98ef39146108545780633ba5e7cf1461086a5780633bbdd8fb1461088a57600080fd5b80631877bb5c1161046d5780632a9b8072116104265780632a9b8072146107675780632fee9e7e1461078757806330363f1d146107b7578063313ce567146107cd578063331a4b9c146107e9578063339c4d961461080957600080fd5b80631877bb5c146106bc57806319042209146106dc5780631e83409a146106f2578063215b5f861461071257806323b872dd1461073257806329051e8e1461075257600080fd5b80630a5ee89d116104bf5780630a5ee89d146105ec5780630e7daf6d14610624578063108a244e1461063a5780631131c0bc146106675780631694505e1461068757806318160ddd146106a757600080fd5b806302a71bde1461050f57806306fdde03146105385780630902f1ac1461055a578063095ea7b31461058f57806309ac91bc146105bf57600080fd5b3661050a5761050861100d565b005b600080fd5b34801561051b57600080fd5b5061052560255481565b6040519081526020015b60405180910390f35b34801561054457600080fd5b5061054d61134f565b60405161052f919061525c565b34801561056657600080fd5b5061056f6113e1565b604080516001600160701b0393841681529290911660208301520161052f565b34801561059b57600080fd5b506105af6105aa3660046152bf565b6114fd565b604051901515815260200161052f565b3480156105cb57600080fd5b506105256105da3660046152eb565b602d6020526000908152604090205481565b3480156105f857600080fd5b5060085461060c906001600160a01b031681565b6040516001600160a01b03909116815260200161052f565b34801561063057600080fd5b50610525601f5481565b34801561064657600080fd5b506105256106553660046152eb565b60306020526000908152604090205481565b34801561067357600080fd5b506011546105af9062010000900460ff1681565b34801561069357600080fd5b50600a5461060c906001600160a01b031681565b3480156106b357600080fd5b50600254610525565b3480156106c857600080fd5b506105256106d73660046152eb565b611517565b3480156106e857600080fd5b5061052560165481565b3480156106fe57600080fd5b5061050861070d3660046152eb565b611567565b34801561071e57600080fd5b5061052561072d366004615308565b611a16565b34801561073e57600080fd5b506105af61074d366004615321565b611c14565b34801561075e57600080fd5b50610508611c38565b34801561077357600080fd5b50610508610782366004615370565b611d06565b34801561079357600080fd5b506105af6107a23660046152eb565b602c6020526000908152604090205460ff1681565b3480156107c357600080fd5b50610525601d5481565b3480156107d957600080fd5b506040516012815260200161052f565b3480156107f557600080fd5b506105086108043660046152eb565b611df6565b34801561081557600080fd5b5061052560285481565b34801561082b57600080fd5b506105af61083a3660046152bf565b611e7b565b34801561084b57600080fd5b50610508611e9d565b34801561086057600080fd5b5061052560265481565b34801561087657600080fd5b50610508610885366004615370565b61202e565b34801561089657600080fd5b506105086108a536600461538d565b612125565b3480156108b657600080fd5b5061052560275481565b3480156108cc57600080fd5b5061052560105481565b3480156108e257600080fd5b506105086108f13660046153ab565b6121a3565b34801561090257600080fd5b5061052560125481565b34801561091857600080fd5b50610508612275565b34801561092d57600080fd5b5061050861093c366004615308565b61234b565b34801561094d57600080fd5b50610525602a5481565b34801561096357600080fd5b506105256109723660046152eb565b612386565b34801561098357600080fd5b50600f546105af90610100900460ff1681565b3480156109a257600080fd5b50610525601c5481565b3480156109b857600080fd5b5060095461060c906001600160a01b031681565b3480156109d857600080fd5b5061052560195481565b3480156109ee57600080fd5b5061052560295481565b348015610a0457600080fd5b5061052560205481565b348015610a1a57600080fd5b5061052560215481565b348015610a3057600080fd5b5061052560135481565b348015610a4657600080fd5b50610525610a553660046152eb565b6123b2565b348015610a6657600080fd5b50610525610a753660046152eb565b60316020526000908152604090205481565b348015610a9357600080fd5b506105af610aa23660046152eb565b612405565b348015610ab357600080fd5b5061052560245481565b348015610ac957600080fd5b506105af610ad83660046152eb565b602e6020526000908152604090205460ff1681565b61050861100d565b348015610b0157600080fd5b50610525600160801b81565b348015610b1957600080fd5b50610525610b283660046152eb565b6001600160a01b031660009081526020819052604090205490565b348015610b4f57600080fd5b50610508612469565b348015610b6457600080fd5b50610525610b733660046153e4565b61247b565b348015610b8457600080fd5b5061052560175481565b348015610b9a57600080fd5b50610525601a5481565b348015610bb057600080fd5b50610525610bbf3660046152eb565b6124ff565b348015610bd057600080fd5b50600f546105af9062010000900460ff1681565b348015610bf057600080fd5b50610525600e5481565b348015610c0657600080fd5b50610525610c153660046152eb565b60336020526000908152604090205481565b348015610c3357600080fd5b50610508610c42366004615370565b6125f9565b348015610c5357600080fd5b50610508612614565b348015610c6857600080fd5b506011546105af90610100900460ff1681565b348015610c8757600080fd5b50600b5461060c906001600160a01b031681565b348015610ca757600080fd5b506005546001600160a01b031661060c565b348015610cc557600080fd5b5061054d61279a565b348015610cda57600080fd5b50610525610ce93660046152eb565b6127a9565b348015610cfa57600080fd5b50610525610d093660046152eb565b60326020526000908152604090205481565b348015610d2757600080fd5b50610508610d36366004615308565b612842565b348015610d4757600080fd5b5061052560145481565b348015610d5d57600080fd5b50610508610d6c366004615410565b612864565b348015610d7d57600080fd5b50610525601e5481565b348015610d9357600080fd5b506105af610da23660046152bf565b612926565b348015610db357600080fd5b506105af610dc23660046152bf565b6129a1565b348015610dd357600080fd5b50601b5461060c906001600160a01b031681565b348015610df357600080fd5b5061052560235481565b348015610e0957600080fd5b5061052560225481565b348015610e1f57600080fd5b50610e33610e2e366004615308565b6129af565b60408051948552602085019390935291830152606082015260800161052f565b348015610e5f57600080fd5b506015546105af9060ff1681565b348015610e7957600080fd5b50610508610e883660046152eb565b612a8f565b348015610e9957600080fd5b50610525610ea83660046152eb565b602b6020526000908152604090205481565b348015610ec657600080fd5b5060075461060c906001600160a01b031681565b348015610ee657600080fd5b50610525610ef5366004615435565b612b58565b348015610f0657600080fd5b5061052560185481565b348015610f1c57600080fd5b50610508610f2b366004615370565b612b83565b348015610f3c57600080fd5b50610508610f4b3660046152bf565b612c46565b348015610f5c57600080fd5b50610508610f6b366004615463565b612d47565b348015610f7c57600080fd5b50610508610f8b3660046154cb565b612f5f565b348015610f9c57600080fd5b50610525610fab3660046152eb565b602f6020526000908152604090205481565b348015610fc957600080fd5b50610525600d5481565b348015610fdf57600080fd5b50610508610fee3660046152eb565b613319565b348015610fff57600080fd5b506011546105af9060ff1681565b341561134d57600061101e34611a16565b9050801561132d5760085460408051633fc15f1560e01b815290516000926001600160a01b031691633fc15f159160048083019260209291908290030181865afa158015611070573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611094919061551c565b6001600160a01b031630036110ab5750600061112f565b600860009054906101000a90046001600160a01b03166001600160a01b031663b23339516040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111229190615539565b61112c9083615568565b90505b6008546040805163beb08ab960e01b815290516000926001600160a01b03169163beb08ab99160048083019260209291908290030181865afa158015611179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119d919061551c565b6001600160a01b03166111b0838561558a565b604051600081818185875af1925050503d80600081146111ec576040519150601f19603f3d011682016040523d82523d6000602084013e6111f1565b606091505b505090508061121b5760405162461bcd60e51b81526004016112129061559d565b60405180910390fd5b811561132a5760085460408051633fc15f1560e01b815290516000926001600160a01b031691633fc15f159160048083019260209291908290030181865afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d80600081146112d9576040519150601f19603f3d011682016040523d82523d6000602084013e6112de565b606091505b50509050806113285760405162461bcd60e51b8152602060048201526016602482015275151c985b9cd9995c881d1bc81153d4c819985a5b195960521b6044820152606401611212565b505b50505b6000611339823461558a565b9050801561134a5761134a8161338f565b50505b565b60606003805461135e906155de565b80601f016020809104026020016040519081016040528092919081815260200182805461138a906155de565b80156113d75780601f106113ac576101008083540402835291602001916113d7565b820191906000526020600020905b8154815290600101906020018083116113ba57829003601f168201915b5050505050905090565b600080600080600960009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561143a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145e919061562f565b5091509150600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da919061551c565b6001600160a01b031630106114f05780826114f3565b81815b9350935050509091565b60003361150b8185856134d6565b60019150505b92915050565b6026546000901561155a576026546001600160a01b0383166000908152602b602052604090205461155090670de0b6b3a764000061567f565b6115119190615568565b506000919050565b919050565b61156f6135fa565b336001600160a01b03821614806115ed575060085460405163386cf6d760e21b81523360048201526001600160a01b039091169063e1b3db5c90602401602060405180830381865afa1580156115c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ed9190615696565b6116305760405162461bcd60e51b81526020600482015260146024820152734e6f7420617574686f72697a656420436c61696d60601b6044820152606401611212565b600061163b82612386565b9050600081116116855760405162461bcd60e51b815260206004820152601560248201527416995c9bc818db185a5b58589b1948185b5bdd5b9d605a1b6044820152606401611212565b60006064600860009054906101000a90046001600160a01b03166001600160a01b031663b755eb956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117009190615539565b61170b90606461558a565b611715908461567f565b61171f9190615568565b9050600061172d828461558a565b6001600160a01b0385166000908152603060205260409020549091506117539084613653565b6001600160a01b0385166000908152603060209081526040808320939093556031905220546117829083613653565b6001600160a01b03851660008181526031602090815260408083209490945581905291909120547f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf79060408051918252602082018690520160405180910390a26000846001600160a01b03168360405160006040518083038185875af1925050503d806000811461182f576040519150601f19603f3d011682016040523d82523d6000602084013e611834565b606091505b505090508061192657600860009054906101000a90046001600160a01b03166001600160a01b031663beb08ab96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b4919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d80600081146118fe576040519150601f19603f3d011682016040523d82523d6000602084013e611903565b606091505b505080915050806119265760405162461bcd60e51b81526004016112129061559d565b6008546040805163beb08ab960e01b815290516000926001600160a01b03169163beb08ab99160048083019260209291908290030181865afa158015611970573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611994919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d80600081146119de576040519150601f19603f3d011682016040523d82523d6000602084013e6119e3565b606091505b5050905080611a045760405162461bcd60e51b81526004016112129061559d565b5050505050611a136001600655565b50565b601154600090610100900460ff168015611a3257506000602654115b15611c10576008546040516312e76b9360e31b81523060048201526000916001600160a01b03169063973b5c9890602401602060405180830381865afa158015611a80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa49190615696565b611b2357600860009054906101000a90046001600160a01b03166001600160a01b0316629dba516040518163ffffffff1660e01b8152600401602060405180830381865afa158015611afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1e9190615539565b611b9a565b600860009054906101000a90046001600160a01b03166001600160a01b031663bf3c0f046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9a9190615539565b9050600081601f54611bac91906156b3565b905080600003611bc0575060009392505050565b600081611bd584670de0b6b3a764000061567f565b611bdf9190615568565b90506000633b9aca00611bf28184615568565b611bfc908861567f565b611c069190615568565b9695505050505050565b5090565b600033611c2285828561365f565b611c2d8585856136d9565b506001949350505050565b6000601e54118015611cb7575060085460405163f8aa43f760e01b81523060048201523360248201526001600160a01b039091169063f8aa43f790604401602060405180830381865afa158015611c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb79190615696565b1561134d57336000818152602d6020908152604091829020429081905591519182527f622710e6ca376681393fb03ebe838ec14a28b014cc6c79159207054b484f4b27910160405180910390a2565b6007546001600160a01b0316331480611da65750600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d91919061551c565b6001600160a01b0316336001600160a01b0316145b611de35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401611212565b6011805460ff1916911515919091179055565b611dfe61384a565b6000611e126005546001600160a01b031690565b9050611e1d826138a4565b6001600160a01b039081166000818152602c60209081526040808320805460ff1990811690915595909416808352848320805487166001908117909155938352602e9091528382208054861690558152919091208054909216179055565b60003361150b818585611e8e8383612b58565b611e9891906156b3565b6134d6565b60155460ff1680611eb857506005546001600160a01b031633145b611ef75760405162461bcd60e51b815260206004820152601060248201526f0596f752063616e206e6f742070756d760841b6044820152606401611212565b600854604051637bc298f360e11b815230600482015260009182916001600160a01b039091169063f78531e690602401608060405180830381865afa158015611f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6891906156c6565b50919350915050811561134a57600954611f8b906001600160a01b0316836138f6565b426017556009546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015611fd857600080fd5b505af1158015611fec573d6000803e3d6000fd5b505060408051858152602081018590527f5b552f71f3e21c6a90f2e8f39f803983d362e16d9ad6e762e0a03d1767074428935001905060405180910390a15050565b6007546001600160a01b03163314806120ce5750600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b9919061551c565b6001600160a01b0316336001600160a01b0316145b61210b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401611212565b601180549115156101000261ff0019909216919091179055565b61212d61384a565b6001811015801561213f575060648111155b6121845760405162461bcd60e51b8152602060048201526016602482015275139bdd0818dbdc9c9958dd081b585e081dd85b1b195d60521b6044820152606401611212565b601055600f8054911515620100000262ff000019909216919091179055565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221a919061551c565b6001600160a01b0316336001600160a01b03161461224a5760405162461bcd60e51b8152600401611212906156fc565b6001600160a01b03919091166000908152602e60205260409020805460ff1916911515919091179055565b61227d6135fa565b6000612288336124ff565b9050600081116122da5760405162461bcd60e51b815260206004820181905260248201527f5a65726f20636c61696d61626c6520616d6f756e7420666f7220746f6b656e736044820152606401611212565b33600081815260326020908152604080832042905560339091528120556123019082613a34565b61230b3382613b00565b60405181815233907f4d7f917f6b905f28ba5297e6c224a6cfec20ac6a3698a55b412d30b95ad25d2f9060200160405180910390a25061134d6001600655565b61235533826138f6565b601154610100900460ff16801561237757506007546001600160a01b03163314155b15611a1357611a133382613bc4565b6001600160a01b038116600090815260306020526040812054611511906123ac846123b2565b90613cee565b6001600160a01b0381166000908152602f6020908152604080832054602b909252822054602454600160801b9261155092612400926123fa916123f59190613cfa565b613d06565b90613d16565b613d54565b60006001600160a01b0382161580159061242d57506009546001600160a01b03838116911614155b801561244257506001600160a01b0382163014155b801561245c57506007546001600160a01b03838116911614155b1561155a57506001919050565b61247161384a565b61134d60006138a4565b600a54604051632b58577b60e21b81526004810185905260248101849052604481018390526000916001600160a01b03169063ad615dec90606401602060405180830381865afa1580156124d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f79190615539565b949350505050565b60008060275411801561252957506001600160a01b03821660009081526032602052604090205415155b1561155a576001600160a01b0382166000908152603260205260408120546028541161256d576001600160a01b038316600090815260326020526040902054612571565b6028545b6001600160a01b038416600090815260336020526040902054909150612597824261558a565b620151806127106027546125c0886001600160a01b031660009081526020819052604090205490565b6125ca919061567f565b6125d49190615568565b6125de9190615568565b6125e8919061567f565b6125f291906156b3565b9392505050565b61260161384a565b6015805460ff1916911515919091179055565b61261c6135fa565b61262461384a565b60006126386005546001600160a01b031690565b601354909150806126835760405162461bcd60e51b815260206004820152601560248201527416995c9bc818db185a5b58589b1948185b5bdd5b9d605a1b6044820152606401611212565b6000601381905550806014600082825461269d91906156b3565b90915550506001600160a01b0382166000818152602081905260409020547f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf79060408051918252602082018590520160405180910390a26000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612741576040519150601f19603f3d011682016040523d82523d6000602084013e612746565b606091505b505090508061278d5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401611212565b50505061134d6001600655565b60606004805461135e906155de565b60006064600860009054906101000a90046001600160a01b03166001600160a01b031663b755eb956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612800573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128249190615539565b61282f90606461558a565b61283884612386565b611550919061567f565b61284a61384a565b806020600082825461285c919061558a565b909155505050565b600854604051630391384960e61b81523360048201526001600160a01b039091169063e44e124090602401602060405180830381865afa1580156128ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d09190615696565b6129125760405162461bcd60e51b8152602060048201526013602482015272139bdd08185d5d1a1bdc9a5e995908135a5b9d606a1b6044820152606401611212565b61291c8183613a34565b61134a8183613b00565b600033816129348286612b58565b9050838110156129945760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401611212565b611c2d82868684036134d6565b60003361150b8185856136d9565b6000806000806000601254116129c65760006129e4565b6064601254866129d6919061567f565b6129e09190615568565b9350835b506000601954116129f9576000925082612a17565b606460195486612a09919061567f565b612a139190615568565b9250825b50600060225411612a2c576000915081612a4a565b606460225486612a3c919061567f565b612a469190615568565b9150815b50601154610100900460ff16612a635750600080612a87565b8382612a6f858861558a565b612a79919061558a565b612a83919061558a565b9050805b509193509193565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ae2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b06919061551c565b6001600160a01b0316336001600160a01b031614612b365760405162461bcd60e51b8152600401611212906156fc565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bfa919061551c565b6001600160a01b0316336001600160a01b031614612c2a5760405162461bcd60e51b8152600401611212906156fc565b60118054911515620100000262ff000019909216919091179055565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cbd919061551c565b6001600160a01b0316336001600160a01b031614612ced5760405162461bcd60e51b8152600401611212906156fc565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612d3a576040519150601f19603f3d011682016040523d82523d6000602084013e612d3f565b606091505b505050505050565b612d4f61384a565b600854604051633668476360e01b8152600481018c9052602481018b9052604481018a9052606481018990526084810188905260a4810187905260c4810186905260e4810185905261010481018490526101248101839052306101448201526001600160a01b039091169063366847639061016401602060405180830381865afa158015612de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e059190615696565b612e485760405162461bcd60e51b815260206004820152601460248201527314995c5d5a5c995b595b9d1cc81b9bdd081b595d60621b6044820152606401611212565b601f548814612e5757601f8890555b6019548414612e665760198490555b6012548a14612e755760128a90555b6022548714612e845760228790555b6016548914612e97576016899055426017555b601e548614612ed75785600003612eb7576000601e819055601d55612ed7565b601e54861080612ec75750601d54155b15612ed15742601d555b601e8690555b6027548314612ef557602754831115612eef57426028555b60278390555b600085118015612f0757506000601954115b15612f2f57601a548514612f2a57601a54851015612f245742601c555b601a8590555b612f35565b6000601a555b6029548214612f445760298290555b602a548114612f5357602a8190555b50505050505050505050565b6007546001600160a01b03163314612fb05760405162461bcd60e51b815260206004820152601460248201527343616c6c6572206973206e6f7420455448204f5360601b6044820152606401611212565b612fb9826138a4565b600a80546001600160a01b0319166001600160a01b0385169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015613012573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613036919061551c565b600b80546001600160a01b0319166001600160a01b03928316179055600a54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa158015613094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b8919061551c565b600c80546001600160a01b0319166001600160a01b03929092169190911790556130ed826a52b7d2dcc80cd2e4000000613a34565b42600d5543600e556001600160a01b038281166000908152602c602090815260408083208054600160ff199182168117909255898616808652838620805483168417905530808752848720805484168517905560075488168752602e865284872080548416851790559086528386208054831684179055600a805488168752848720805484168517905590865294839020805490911690911790559154825163c45a015560e01b8152925193169263c45a01559260048082019392918290030181865afa1580156131c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e6919061551c565b6001600160a01b031663e6a4390530600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613248573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326c919061551c565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156132b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132db919061551c565b600980546001600160a01b0319166001600160a01b039290921691821790556000908152602e60205260409020805460ff1916600117905550505050565b61332161384a565b6001600160a01b0381166133865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611212565b611a13816138a4565b60008060008061339e856129af565b935093509350935060008411156133c75783601360008282546133c191906156b3565b90915550505b82156134185782601860008282546133df91906156b3565b90915550506040518381527f3c231f64b16483d16ca517ccd881f34f86dd04ccc1305e65b854fe82189b76259060200160405180910390a15b811561343657816021600082825461343091906156b3565b90915550505b601154610100900460ff16801561344f57506000602654115b156134cf5760265461347c9061346983600160801b613cfa565b6134739190615568565b60245490613653565b602481905550806025600082825461349491906156b3565b909155505060405181815233907fd8ae90c673ec9f2905e99d702eb0547f5c701a093ec078ca39480dcc385a5fb59060200160405180910390a25b5050505050565b6001600160a01b0383166135385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401611212565b6001600160a01b0382166135995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401611212565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60026006540361364c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611212565b6002600655565b60006125f282846156b3565b600061366b8484612b58565b905060001981146136d357818110156136c65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401611212565b6136d384848484036134d6565b50505050565b6001600160a01b0383166000908152602c602052604090205460ff1615801561371b57506001600160a01b0382166000908152602c602052604090205460ff16155b1561383a576009546001600160a01b03848116911614801561374b5750600a546001600160a01b03838116911614155b801561375957506000602954115b156137ab576000606460295483613770919061567f565b61377a9190615568565b9050613787848484613d63565b61379183826138f6565b601154610100900460ff16156136d3576136d38382613bc4565b6009546001600160a01b0383811691161480156137d157506001600160a01b0383163014155b80156137df57506000602a54115b1561383a5760006064602a54836137f6919061567f565b6138009190615568565b90506138168484613811848661558a565b613d63565b61382084826138f6565b601154610100900460ff16156136d3576136d38482613bc4565b613845838383613d63565b505050565b6005546001600160a01b0316331461134d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611212565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166139565760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401611212565b61396282600083613f12565b6001600160a01b038216600090815260208190526040902054818110156139d65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401611212565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038216613a8a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401611212565b613a9660008383613f12565b8060026000828254613aa891906156b3565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361134a565b8060266000828254613b1291906156b3565b90915550506001600160a01b0382166000908152602b60205260409020805482019055602454613b6990613b4a906123f59084613cfa565b6001600160a01b0384166000908152602f6020526040902054906148d1565b6001600160a01b0383166000818152602f6020526040908190209290925590517fedf54db273368693b9491f47152f0af6334ed61b18d374f0eb1ca87bd3a4216290613bb89084815260200190565b60405180910390a25050565b6001600160a01b0382166000908152602b602052604090205481811015613c385760405162461bcd60e51b815260206004820152602260248201527f454f5332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401611212565b6001600160a01b0383166000908152602b602052604090208282039055602680548390039055602454613c9290613c73906123f59085613cfa565b6001600160a01b0385166000908152602f602052604090205490613d16565b6001600160a01b0384166000818152602f6020526040908190209290925590517f65acde034bd1126095b070c3dab2499d374f97ad47387adfb86ba47b0240a24f90613ce19085815260200190565b60405180910390a2505050565b60006125f2828461558a565b60006125f2828461567f565b6000818181121561151157600080fd5b600080613d238385615733565b905060008312158015613d365750838112155b80613d4b5750600083128015613d4b57508381125b6125f257600080fd5b600080821215611c1057600080fd5b6001600160a01b038316613dc75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401611212565b6001600160a01b038216613e295760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401611212565b613e34838383613f12565b6001600160a01b03831660009081526020819052604090205481811015613eac5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401611212565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36136d3565b6001600160a01b0383161561384557601e54600090156140685760085460405163f8aa43f760e01b81523060048201526001600160a01b0386811660248301529091169063f8aa43f790604401602060405180830381865afa158015613f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fa09190615696565b80614014575060085460405163765ced2160e11b81526001600160a01b0385811660048301529091169063ecb9da4290602401602060405180830381865afa158015613ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140149190615696565b8061402657506001600160a01b038316155b6140685760405162461bcd60e51b81526020600482015260136024820152720c6c2dcdcdee840cae6c6c2e0ca40c8cac2e8d606b1b6044820152606401611212565b6001600160a01b0383166000908152602d602052604081205490036140a3576001600160a01b0383166000908152602d602052604090204290555b60006140ae846124ff565b11156140e9576140bd836124ff565b6001600160a01b0384166000908152603360209081526040808320939093556032905220429055614105565b6001600160a01b03831660009081526032602052604090204290555b33301480159061411d57506001600160a01b03831615155b156136d357601154610100900460ff161561427c5761413b84612405565b1561426457600061414b85612386565b111561415a5761415a84611567565b670de0b6b3a76400006026541180156141885750670de0b6b3a7640000602654614184919061558a565b8210155b1561421857670de0b6b3a76400006026546141a3919061558a565b8211156142185760405162461bcd60e51b815260206004820152603d60248201527f596f752061726520746865206f6e6c7920686f6c6465722c20796f75206e656560448201527f6420746f206c65617665203165313820746f6b656e7320696e206c702e0000006064820152608401611212565b6000614223856124ff565b111561425a57614232846124ff565b6001600160a01b03851660009081526033602090815260408083209390935560329052204290555b6142648483613bc4565b61426d83612405565b1561427c5761427c8383613b00565b6001600160a01b0384166000908152602c602052604090205460ff161580156142be57506001600160a01b0383166000908152602c602052604090205460ff16155b156136d3576009546001600160a01b0385811691161480156142ee5750600a546001600160a01b03848116911614155b156144a85760115460ff16614358576001600160a01b0383166000908152602c602052604090205460ff166143585760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401611212565b6008546040516339cde4fb60e21b81523060048201526001600160a01b039091169063e73793ec90602401602060405180830381865afa1580156143a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143c49190615539565b8211156144055760405162461bcd60e51b815260206004820152600f60248201526e13dd995c881b585e081dd85b1b195d608a1b6044820152606401611212565b60085460408051629dba5160e01b815290516103e8926001600160a01b031691629dba519160048083019260209291908290030181865afa15801561444e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144729190615539565b601f5461447f91906156b3565b614489908461567f565b6144939190615568565b601954909150156144a8576144a8828461491d565b6009546001600160a01b0384811691161480156144ce57506001600160a01b0384163014155b156146bc5760115460ff16614545576001600160a01b0384166000908152602c602052604090205460ff166145455760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f74206f70656e207965740000000000000000006044820152606401611212565b60115460ff161561462b57600f54610100900460ff161561462b576008546040516317caf98160e21b81523060048201526001600160a01b0390911690635f2be60490602401602060405180830381865afa1580156145a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145cc9190615539565b82111561462b5760405162461bcd60e51b815260206004820152602760248201527f4574682063616e6e6f74206265206c657373207468656e206f776e657220707260448201526637bb34b232b21760c91b6064820152608401611212565b60085460408051629dba5160e01b815290516103e8926001600160a01b031691629dba519160048083019260209291908290030181865afa158015614674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146989190615539565b601f546146a591906156b3565b6146af908461567f565b6146b99190615568565b90505b600860009054906101000a90046001600160a01b03166001600160a01b031663f1af453d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561470f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147339190615696565b806147505750601154610100900460ff1680156147505750600081115b1561476d57806020600082825461476791906156b3565b90915550505b600854604051639527b9cf60e01b81523060048201526000916001600160a01b031690639527b9cf90602401602060405180830381865afa1580156147b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147da9190615539565b6020541180156147ea5750600082115b601154909150610100900460ff16806148755750600860009054906101000a90046001600160a01b03166001600160a01b031663f1af453d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614851573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148759190615696565b156134cf5780801561488a5750600f5460ff16155b80156148a357506009546001600160a01b038581169116145b156134cf5760115460009062010000900460ff166148c157826148c5565b6020545b9050612d3f8185614cc3565b60008082121580156148ec5750826148e9838261575b565b13155b8061490a575060008212801561490a575082614908838261575b565b135b61491357600080fd5b6125f2828461575b565b601a541561134a5760085460405163111eb8b160e01b81523060048201526000916001600160a01b03169063111eb8b190602401602060405180830381865afa15801561496e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149929190615539565b60085460405163258c50f960e01b81523060048201529192506001600160a01b03169063258c50f990602401602060405180830381865afa1580156149db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149ff9190615539565b8310613845578015614a7357601b80546001600160a01b038481166001600160a01b03198316811790935542601c5560405191169182917fcd59426740ab85c89d34f8dfcc1ce20ec8d097d8d04a52debaf2841a48bc4ad690614a659086815260200190565b60405180910390a350505050565b601b80546001600160a01b038481166001600160a01b031983161790925542601c55601854911690600090614aaa90600290615568565b90506000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614af9576040519150601f19603f3d011682016040523d82523d6000602084013e614afe565b606091505b5050905080614c22576008546040805163beb08ab960e01b815290516000926001600160a01b03169163beb08ab99160048083019260209291908290030181865afa158015614b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b75919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d8060008114614bbf576040519150601f19603f3d011682016040523d82523d6000602084013e614bc4565b606091505b5050905080614c205760405162461bcd60e51b815260206004820152602260248201527f5f67616d626c653a205472616e7366657220746f2077616c6c6574206661696c604482015261195960f21b6064820152608401611212565b505b8160186000828254614c34919061558a565b90915550506040518281526001600160a01b038416907f8cbbe5cd65720098fc8ce6e99a5deb232085117dd486475b49cb11604b528f309060200160405180910390a2601b546040518581526001600160a01b038581169216907fcd59426740ab85c89d34f8dfcc1ce20ec8d097d8d04a52debaf2841a48bc4ad69060200160405180910390a3505050505050565b600f805460ff19166001179055600854604051628512ed60e41b81523060048201526000916001600160a01b0316906308512ed090602401602060405180830381865afa158015614d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d3c9190615539565b60115490915060009062010000900460ff1615614d6a5781841015614d615783614d63565b815b9050614d6d565b50825b600f54610100900460ff168015614df557506008546040516354a7ba3560e01b8152306004820152602481018590526001600160a01b03909116906354a7ba3590604401602060405180830381865afa158015614dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614df29190615539565b81115b15614e70576008546040516354a7ba3560e01b8152306004820152602481018590526001600160a01b03909116906354a7ba3590604401602060405180830381865afa158015614e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e6d9190615539565b90505b8015614e7f57614e7f81614ea2565b60215415614e9257614e92602154615073565b5050600f805460ff191690555050565b8060206000828254614eb4919061558a565b90915550614ec490503082613a34565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614ef957614ef9615782565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614f76919061551c565b81600181518110614f8957614f89615782565b6001600160a01b039283166020918202929092010152600a5460405163095ea7b360e01b81529116600482015260248101839052309063095ea7b3906044016020604051808303816000875af1158015614fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061500b9190615696565b50600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790615045908590600090869030904290600401615798565b600060405180830381600087803b15801561505f57600080fd5b505af1158015612d3f573d6000803e3d6000fd5b61507b6135fa565b6000806150866113e1565b9150915060006150a984836001600160701b0316856001600160701b031661247b565b905060006150ca82856001600160701b0316856001600160701b031661247b565b90506150d63083613a34565b600a5460405163095ea7b360e01b81526001600160a01b03909116600482015260248101839052309063095ea7b3906044016020604051808303816000875af1158015615127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061514b9190615696565b50600a5460075460405163f305d71960e01b815230600482015260248101859052600060448201819052606482018590526001600160a01b0392831660848301524260a4830152928392839291169063f305d71990869060c40160606040518083038185885af11580156151c3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906151e89190615809565b925092509250806023600082825461520091906156b3565b9091555050600060215560408051848152602081018490529081018290527fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39060600160405180910390a150505050505050611a136001600655565b600060208083528351808285015260005b818110156152895785810183015185820160400152820161526d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611a1357600080fd5b600080604083850312156152d257600080fd5b82356152dd816152aa565b946020939093013593505050565b6000602082840312156152fd57600080fd5b81356125f2816152aa565b60006020828403121561531a57600080fd5b5035919050565b60008060006060848603121561533657600080fd5b8335615341816152aa565b92506020840135615351816152aa565b929592945050506040919091013590565b8015158114611a1357600080fd5b60006020828403121561538257600080fd5b81356125f281615362565b600080604083850312156153a057600080fd5b82356152dd81615362565b600080604083850312156153be57600080fd5b82356153c9816152aa565b915060208301356153d981615362565b809150509250929050565b6000806000606084860312156153f957600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561542357600080fd5b8235915060208301356153d9816152aa565b6000806040838503121561544857600080fd5b8235615453816152aa565b915060208301356153d9816152aa565b6000806000806000806000806000806101408b8d03121561548357600080fd5b505088359a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0810135965060e081013595506101008101359450610120013592509050565b600080600080608085870312156154e157600080fd5b84356154ec816152aa565b935060208501356154fc816152aa565b9250604085013561550c816152aa565b9396929550929360600135925050565b60006020828403121561552e57600080fd5b81516125f2816152aa565b60006020828403121561554b57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008261558557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561151157611511615552565b60208082526021908201527f5472616e7366657220746f2070726f6a6563742077616c6c6574206661696c656040820152601960fa1b606082015260800190565b600181811c908216806155f257607f821691505b60208210810361561257634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160701b038116811461156257600080fd5b60008060006060848603121561564457600080fd5b61564d84615618565b925061565b60208501615618565b9150604084015163ffffffff8116811461567457600080fd5b809150509250925092565b808202811582820484141761151157611511615552565b6000602082840312156156a857600080fd5b81516125f281615362565b8082018082111561151157611511615552565b600080600080608085870312156156dc57600080fd5b505082516020840151604085015160609095015191969095509092509050565b6020808252601a908201527f43616c6c6572206973206e6f7420457468204f53204f776e6572000000000000604082015260600190565b808201828112600083128015821682158216171561575357615753615552565b505092915050565b818103600083128015838313168383128216171561577b5761577b615552565b5092915050565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156157e85784516001600160a01b0316835293830193918301916001016157c3565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561581e57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220709f1f7be16107efcbc6eddd9c52dae84b2271480befb3c59672dd8477c6666164736f6c63430008130033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003e3b232dc122e8c582c4a341be19ebe4b7e12a9a0000000000000000000000000000000000000000000000000000000000000006457468204f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003454f530000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106104fb5760003560e01c806366e305fd1161028c578063a19431131161015a578063ce7c2ac2116100cc578063e84f3f7f11610085578063e84f3f7f14610f50578063e92f3ae914610f70578063ea27c93c14610f90578063f1653f6e14610fbd578063f2fde38b14610fd3578063ffb54a9914610ff357600080fd5b8063ce7c2ac214610e8d578063d9cf361f14610eba578063dd62ed3e14610eda578063decb3a9014610efa578063e1100eac14610f10578063e72c571714610f3057600080fd5b8063aabe2fe31161011e578063aabe2fe314610dc7578063af8deddb14610de7578063b068375514610dfd578063ba77a02d14610e13578063bb59d23614610e53578063cdbecc7414610e6d57600080fd5b8063a194311314610d3b578063a245716814610d51578063a2ced30514610d71578063a457c2d714610d87578063a9059cbb14610da757600080fd5b80637dfcbe34116101fe5780638bdb2afa116101b75780638bdb2afa14610c7b5780638da5cb5b14610c9b57806395d89b4114610cb95780639cc9966714610cce5780639d98702c14610cee578063a0c1be3614610d1b57600080fd5b80637dfcbe3414610bc457806382100e3f14610be4578063854d50eb14610bfa57806387e679d214610c2757806388f2aea514610c4757806389a7019914610c5c57600080fd5b806370a082311161025057806370a0823114610b0d578063715018a614610b435780637363fad914610b58578063780119cb14610b78578063787a08a614610b8e5780637de7dbf714610ba457600080fd5b806366e305fd14610a8757806366e582aa14610aa7578063675d493614610abd5780636881385b14610aed5780636d3036a714610af557600080fd5b806339509351116103c957806342b7e4161161033b5780634b1d447d116102f45780634b1d447d146109e25780634d6a80ab146109f85780634ff4f31714610a0e57806354c6739914610a245780635d6bdf1214610a3a57806365d44ab414610a5a57600080fd5b806342b7e4161461094157806345f8b77a14610957578063473e7ef8146109775780634985746f1461099657806349bd5a5e146109ac5780634a903623146109cc57600080fd5b80633bcfc4b81161038d5780633bcfc4b8146108aa5780633d9a3d19146108c05780633e582eac146108d65780633f64a7ab146108f6578063412f2efd1461090c57806342966c681461092157600080fd5b8063395093511461081f578063395ea61b1461083f5780633a98ef39146108545780633ba5e7cf1461086a5780633bbdd8fb1461088a57600080fd5b80631877bb5c1161046d5780632a9b8072116104265780632a9b8072146107675780632fee9e7e1461078757806330363f1d146107b7578063313ce567146107cd578063331a4b9c146107e9578063339c4d961461080957600080fd5b80631877bb5c146106bc57806319042209146106dc5780631e83409a146106f2578063215b5f861461071257806323b872dd1461073257806329051e8e1461075257600080fd5b80630a5ee89d116104bf5780630a5ee89d146105ec5780630e7daf6d14610624578063108a244e1461063a5780631131c0bc146106675780631694505e1461068757806318160ddd146106a757600080fd5b806302a71bde1461050f57806306fdde03146105385780630902f1ac1461055a578063095ea7b31461058f57806309ac91bc146105bf57600080fd5b3661050a5761050861100d565b005b600080fd5b34801561051b57600080fd5b5061052560255481565b6040519081526020015b60405180910390f35b34801561054457600080fd5b5061054d61134f565b60405161052f919061525c565b34801561056657600080fd5b5061056f6113e1565b604080516001600160701b0393841681529290911660208301520161052f565b34801561059b57600080fd5b506105af6105aa3660046152bf565b6114fd565b604051901515815260200161052f565b3480156105cb57600080fd5b506105256105da3660046152eb565b602d6020526000908152604090205481565b3480156105f857600080fd5b5060085461060c906001600160a01b031681565b6040516001600160a01b03909116815260200161052f565b34801561063057600080fd5b50610525601f5481565b34801561064657600080fd5b506105256106553660046152eb565b60306020526000908152604090205481565b34801561067357600080fd5b506011546105af9062010000900460ff1681565b34801561069357600080fd5b50600a5461060c906001600160a01b031681565b3480156106b357600080fd5b50600254610525565b3480156106c857600080fd5b506105256106d73660046152eb565b611517565b3480156106e857600080fd5b5061052560165481565b3480156106fe57600080fd5b5061050861070d3660046152eb565b611567565b34801561071e57600080fd5b5061052561072d366004615308565b611a16565b34801561073e57600080fd5b506105af61074d366004615321565b611c14565b34801561075e57600080fd5b50610508611c38565b34801561077357600080fd5b50610508610782366004615370565b611d06565b34801561079357600080fd5b506105af6107a23660046152eb565b602c6020526000908152604090205460ff1681565b3480156107c357600080fd5b50610525601d5481565b3480156107d957600080fd5b506040516012815260200161052f565b3480156107f557600080fd5b506105086108043660046152eb565b611df6565b34801561081557600080fd5b5061052560285481565b34801561082b57600080fd5b506105af61083a3660046152bf565b611e7b565b34801561084b57600080fd5b50610508611e9d565b34801561086057600080fd5b5061052560265481565b34801561087657600080fd5b50610508610885366004615370565b61202e565b34801561089657600080fd5b506105086108a536600461538d565b612125565b3480156108b657600080fd5b5061052560275481565b3480156108cc57600080fd5b5061052560105481565b3480156108e257600080fd5b506105086108f13660046153ab565b6121a3565b34801561090257600080fd5b5061052560125481565b34801561091857600080fd5b50610508612275565b34801561092d57600080fd5b5061050861093c366004615308565b61234b565b34801561094d57600080fd5b50610525602a5481565b34801561096357600080fd5b506105256109723660046152eb565b612386565b34801561098357600080fd5b50600f546105af90610100900460ff1681565b3480156109a257600080fd5b50610525601c5481565b3480156109b857600080fd5b5060095461060c906001600160a01b031681565b3480156109d857600080fd5b5061052560195481565b3480156109ee57600080fd5b5061052560295481565b348015610a0457600080fd5b5061052560205481565b348015610a1a57600080fd5b5061052560215481565b348015610a3057600080fd5b5061052560135481565b348015610a4657600080fd5b50610525610a553660046152eb565b6123b2565b348015610a6657600080fd5b50610525610a753660046152eb565b60316020526000908152604090205481565b348015610a9357600080fd5b506105af610aa23660046152eb565b612405565b348015610ab357600080fd5b5061052560245481565b348015610ac957600080fd5b506105af610ad83660046152eb565b602e6020526000908152604090205460ff1681565b61050861100d565b348015610b0157600080fd5b50610525600160801b81565b348015610b1957600080fd5b50610525610b283660046152eb565b6001600160a01b031660009081526020819052604090205490565b348015610b4f57600080fd5b50610508612469565b348015610b6457600080fd5b50610525610b733660046153e4565b61247b565b348015610b8457600080fd5b5061052560175481565b348015610b9a57600080fd5b50610525601a5481565b348015610bb057600080fd5b50610525610bbf3660046152eb565b6124ff565b348015610bd057600080fd5b50600f546105af9062010000900460ff1681565b348015610bf057600080fd5b50610525600e5481565b348015610c0657600080fd5b50610525610c153660046152eb565b60336020526000908152604090205481565b348015610c3357600080fd5b50610508610c42366004615370565b6125f9565b348015610c5357600080fd5b50610508612614565b348015610c6857600080fd5b506011546105af90610100900460ff1681565b348015610c8757600080fd5b50600b5461060c906001600160a01b031681565b348015610ca757600080fd5b506005546001600160a01b031661060c565b348015610cc557600080fd5b5061054d61279a565b348015610cda57600080fd5b50610525610ce93660046152eb565b6127a9565b348015610cfa57600080fd5b50610525610d093660046152eb565b60326020526000908152604090205481565b348015610d2757600080fd5b50610508610d36366004615308565b612842565b348015610d4757600080fd5b5061052560145481565b348015610d5d57600080fd5b50610508610d6c366004615410565b612864565b348015610d7d57600080fd5b50610525601e5481565b348015610d9357600080fd5b506105af610da23660046152bf565b612926565b348015610db357600080fd5b506105af610dc23660046152bf565b6129a1565b348015610dd357600080fd5b50601b5461060c906001600160a01b031681565b348015610df357600080fd5b5061052560235481565b348015610e0957600080fd5b5061052560225481565b348015610e1f57600080fd5b50610e33610e2e366004615308565b6129af565b60408051948552602085019390935291830152606082015260800161052f565b348015610e5f57600080fd5b506015546105af9060ff1681565b348015610e7957600080fd5b50610508610e883660046152eb565b612a8f565b348015610e9957600080fd5b50610525610ea83660046152eb565b602b6020526000908152604090205481565b348015610ec657600080fd5b5060075461060c906001600160a01b031681565b348015610ee657600080fd5b50610525610ef5366004615435565b612b58565b348015610f0657600080fd5b5061052560185481565b348015610f1c57600080fd5b50610508610f2b366004615370565b612b83565b348015610f3c57600080fd5b50610508610f4b3660046152bf565b612c46565b348015610f5c57600080fd5b50610508610f6b366004615463565b612d47565b348015610f7c57600080fd5b50610508610f8b3660046154cb565b612f5f565b348015610f9c57600080fd5b50610525610fab3660046152eb565b602f6020526000908152604090205481565b348015610fc957600080fd5b50610525600d5481565b348015610fdf57600080fd5b50610508610fee3660046152eb565b613319565b348015610fff57600080fd5b506011546105af9060ff1681565b341561134d57600061101e34611a16565b9050801561132d5760085460408051633fc15f1560e01b815290516000926001600160a01b031691633fc15f159160048083019260209291908290030181865afa158015611070573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611094919061551c565b6001600160a01b031630036110ab5750600061112f565b600860009054906101000a90046001600160a01b03166001600160a01b031663b23339516040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111229190615539565b61112c9083615568565b90505b6008546040805163beb08ab960e01b815290516000926001600160a01b03169163beb08ab99160048083019260209291908290030181865afa158015611179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119d919061551c565b6001600160a01b03166111b0838561558a565b604051600081818185875af1925050503d80600081146111ec576040519150601f19603f3d011682016040523d82523d6000602084013e6111f1565b606091505b505090508061121b5760405162461bcd60e51b81526004016112129061559d565b60405180910390fd5b811561132a5760085460408051633fc15f1560e01b815290516000926001600160a01b031691633fc15f159160048083019260209291908290030181865afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d80600081146112d9576040519150601f19603f3d011682016040523d82523d6000602084013e6112de565b606091505b50509050806113285760405162461bcd60e51b8152602060048201526016602482015275151c985b9cd9995c881d1bc81153d4c819985a5b195960521b6044820152606401611212565b505b50505b6000611339823461558a565b9050801561134a5761134a8161338f565b50505b565b60606003805461135e906155de565b80601f016020809104026020016040519081016040528092919081815260200182805461138a906155de565b80156113d75780601f106113ac576101008083540402835291602001916113d7565b820191906000526020600020905b8154815290600101906020018083116113ba57829003601f168201915b5050505050905090565b600080600080600960009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561143a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145e919061562f565b5091509150600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da919061551c565b6001600160a01b031630106114f05780826114f3565b81815b9350935050509091565b60003361150b8185856134d6565b60019150505b92915050565b6026546000901561155a576026546001600160a01b0383166000908152602b602052604090205461155090670de0b6b3a764000061567f565b6115119190615568565b506000919050565b919050565b61156f6135fa565b336001600160a01b03821614806115ed575060085460405163386cf6d760e21b81523360048201526001600160a01b039091169063e1b3db5c90602401602060405180830381865afa1580156115c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ed9190615696565b6116305760405162461bcd60e51b81526020600482015260146024820152734e6f7420617574686f72697a656420436c61696d60601b6044820152606401611212565b600061163b82612386565b9050600081116116855760405162461bcd60e51b815260206004820152601560248201527416995c9bc818db185a5b58589b1948185b5bdd5b9d605a1b6044820152606401611212565b60006064600860009054906101000a90046001600160a01b03166001600160a01b031663b755eb956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117009190615539565b61170b90606461558a565b611715908461567f565b61171f9190615568565b9050600061172d828461558a565b6001600160a01b0385166000908152603060205260409020549091506117539084613653565b6001600160a01b0385166000908152603060209081526040808320939093556031905220546117829083613653565b6001600160a01b03851660008181526031602090815260408083209490945581905291909120547f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf79060408051918252602082018690520160405180910390a26000846001600160a01b03168360405160006040518083038185875af1925050503d806000811461182f576040519150601f19603f3d011682016040523d82523d6000602084013e611834565b606091505b505090508061192657600860009054906101000a90046001600160a01b03166001600160a01b031663beb08ab96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b4919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d80600081146118fe576040519150601f19603f3d011682016040523d82523d6000602084013e611903565b606091505b505080915050806119265760405162461bcd60e51b81526004016112129061559d565b6008546040805163beb08ab960e01b815290516000926001600160a01b03169163beb08ab99160048083019260209291908290030181865afa158015611970573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611994919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d80600081146119de576040519150601f19603f3d011682016040523d82523d6000602084013e6119e3565b606091505b5050905080611a045760405162461bcd60e51b81526004016112129061559d565b5050505050611a136001600655565b50565b601154600090610100900460ff168015611a3257506000602654115b15611c10576008546040516312e76b9360e31b81523060048201526000916001600160a01b03169063973b5c9890602401602060405180830381865afa158015611a80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa49190615696565b611b2357600860009054906101000a90046001600160a01b03166001600160a01b0316629dba516040518163ffffffff1660e01b8152600401602060405180830381865afa158015611afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1e9190615539565b611b9a565b600860009054906101000a90046001600160a01b03166001600160a01b031663bf3c0f046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9a9190615539565b9050600081601f54611bac91906156b3565b905080600003611bc0575060009392505050565b600081611bd584670de0b6b3a764000061567f565b611bdf9190615568565b90506000633b9aca00611bf28184615568565b611bfc908861567f565b611c069190615568565b9695505050505050565b5090565b600033611c2285828561365f565b611c2d8585856136d9565b506001949350505050565b6000601e54118015611cb7575060085460405163f8aa43f760e01b81523060048201523360248201526001600160a01b039091169063f8aa43f790604401602060405180830381865afa158015611c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb79190615696565b1561134d57336000818152602d6020908152604091829020429081905591519182527f622710e6ca376681393fb03ebe838ec14a28b014cc6c79159207054b484f4b27910160405180910390a2565b6007546001600160a01b0316331480611da65750600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d91919061551c565b6001600160a01b0316336001600160a01b0316145b611de35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401611212565b6011805460ff1916911515919091179055565b611dfe61384a565b6000611e126005546001600160a01b031690565b9050611e1d826138a4565b6001600160a01b039081166000818152602c60209081526040808320805460ff1990811690915595909416808352848320805487166001908117909155938352602e9091528382208054861690558152919091208054909216179055565b60003361150b818585611e8e8383612b58565b611e9891906156b3565b6134d6565b60155460ff1680611eb857506005546001600160a01b031633145b611ef75760405162461bcd60e51b815260206004820152601060248201526f0596f752063616e206e6f742070756d760841b6044820152606401611212565b600854604051637bc298f360e11b815230600482015260009182916001600160a01b039091169063f78531e690602401608060405180830381865afa158015611f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6891906156c6565b50919350915050811561134a57600954611f8b906001600160a01b0316836138f6565b426017556009546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015611fd857600080fd5b505af1158015611fec573d6000803e3d6000fd5b505060408051858152602081018590527f5b552f71f3e21c6a90f2e8f39f803983d362e16d9ad6e762e0a03d1767074428935001905060405180910390a15050565b6007546001600160a01b03163314806120ce5750600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b9919061551c565b6001600160a01b0316336001600160a01b0316145b61210b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401611212565b601180549115156101000261ff0019909216919091179055565b61212d61384a565b6001811015801561213f575060648111155b6121845760405162461bcd60e51b8152602060048201526016602482015275139bdd0818dbdc9c9958dd081b585e081dd85b1b195d60521b6044820152606401611212565b601055600f8054911515620100000262ff000019909216919091179055565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221a919061551c565b6001600160a01b0316336001600160a01b03161461224a5760405162461bcd60e51b8152600401611212906156fc565b6001600160a01b03919091166000908152602e60205260409020805460ff1916911515919091179055565b61227d6135fa565b6000612288336124ff565b9050600081116122da5760405162461bcd60e51b815260206004820181905260248201527f5a65726f20636c61696d61626c6520616d6f756e7420666f7220746f6b656e736044820152606401611212565b33600081815260326020908152604080832042905560339091528120556123019082613a34565b61230b3382613b00565b60405181815233907f4d7f917f6b905f28ba5297e6c224a6cfec20ac6a3698a55b412d30b95ad25d2f9060200160405180910390a25061134d6001600655565b61235533826138f6565b601154610100900460ff16801561237757506007546001600160a01b03163314155b15611a1357611a133382613bc4565b6001600160a01b038116600090815260306020526040812054611511906123ac846123b2565b90613cee565b6001600160a01b0381166000908152602f6020908152604080832054602b909252822054602454600160801b9261155092612400926123fa916123f59190613cfa565b613d06565b90613d16565b613d54565b60006001600160a01b0382161580159061242d57506009546001600160a01b03838116911614155b801561244257506001600160a01b0382163014155b801561245c57506007546001600160a01b03838116911614155b1561155a57506001919050565b61247161384a565b61134d60006138a4565b600a54604051632b58577b60e21b81526004810185905260248101849052604481018390526000916001600160a01b03169063ad615dec90606401602060405180830381865afa1580156124d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f79190615539565b949350505050565b60008060275411801561252957506001600160a01b03821660009081526032602052604090205415155b1561155a576001600160a01b0382166000908152603260205260408120546028541161256d576001600160a01b038316600090815260326020526040902054612571565b6028545b6001600160a01b038416600090815260336020526040902054909150612597824261558a565b620151806127106027546125c0886001600160a01b031660009081526020819052604090205490565b6125ca919061567f565b6125d49190615568565b6125de9190615568565b6125e8919061567f565b6125f291906156b3565b9392505050565b61260161384a565b6015805460ff1916911515919091179055565b61261c6135fa565b61262461384a565b60006126386005546001600160a01b031690565b601354909150806126835760405162461bcd60e51b815260206004820152601560248201527416995c9bc818db185a5b58589b1948185b5bdd5b9d605a1b6044820152606401611212565b6000601381905550806014600082825461269d91906156b3565b90915550506001600160a01b0382166000818152602081905260409020547f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf79060408051918252602082018590520160405180910390a26000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612741576040519150601f19603f3d011682016040523d82523d6000602084013e612746565b606091505b505090508061278d5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401611212565b50505061134d6001600655565b60606004805461135e906155de565b60006064600860009054906101000a90046001600160a01b03166001600160a01b031663b755eb956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612800573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128249190615539565b61282f90606461558a565b61283884612386565b611550919061567f565b61284a61384a565b806020600082825461285c919061558a565b909155505050565b600854604051630391384960e61b81523360048201526001600160a01b039091169063e44e124090602401602060405180830381865afa1580156128ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d09190615696565b6129125760405162461bcd60e51b8152602060048201526013602482015272139bdd08185d5d1a1bdc9a5e995908135a5b9d606a1b6044820152606401611212565b61291c8183613a34565b61134a8183613b00565b600033816129348286612b58565b9050838110156129945760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401611212565b611c2d82868684036134d6565b60003361150b8185856136d9565b6000806000806000601254116129c65760006129e4565b6064601254866129d6919061567f565b6129e09190615568565b9350835b506000601954116129f9576000925082612a17565b606460195486612a09919061567f565b612a139190615568565b9250825b50600060225411612a2c576000915081612a4a565b606460225486612a3c919061567f565b612a469190615568565b9150815b50601154610100900460ff16612a635750600080612a87565b8382612a6f858861558a565b612a79919061558a565b612a83919061558a565b9050805b509193509193565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ae2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b06919061551c565b6001600160a01b0316336001600160a01b031614612b365760405162461bcd60e51b8152600401611212906156fc565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bfa919061551c565b6001600160a01b0316336001600160a01b031614612c2a5760405162461bcd60e51b8152600401611212906156fc565b60118054911515620100000262ff000019909216919091179055565b600760009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cbd919061551c565b6001600160a01b0316336001600160a01b031614612ced5760405162461bcd60e51b8152600401611212906156fc565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612d3a576040519150601f19603f3d011682016040523d82523d6000602084013e612d3f565b606091505b505050505050565b612d4f61384a565b600854604051633668476360e01b8152600481018c9052602481018b9052604481018a9052606481018990526084810188905260a4810187905260c4810186905260e4810185905261010481018490526101248101839052306101448201526001600160a01b039091169063366847639061016401602060405180830381865afa158015612de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e059190615696565b612e485760405162461bcd60e51b815260206004820152601460248201527314995c5d5a5c995b595b9d1cc81b9bdd081b595d60621b6044820152606401611212565b601f548814612e5757601f8890555b6019548414612e665760198490555b6012548a14612e755760128a90555b6022548714612e845760228790555b6016548914612e97576016899055426017555b601e548614612ed75785600003612eb7576000601e819055601d55612ed7565b601e54861080612ec75750601d54155b15612ed15742601d555b601e8690555b6027548314612ef557602754831115612eef57426028555b60278390555b600085118015612f0757506000601954115b15612f2f57601a548514612f2a57601a54851015612f245742601c555b601a8590555b612f35565b6000601a555b6029548214612f445760298290555b602a548114612f5357602a8190555b50505050505050505050565b6007546001600160a01b03163314612fb05760405162461bcd60e51b815260206004820152601460248201527343616c6c6572206973206e6f7420455448204f5360601b6044820152606401611212565b612fb9826138a4565b600a80546001600160a01b0319166001600160a01b0385169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015613012573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613036919061551c565b600b80546001600160a01b0319166001600160a01b03928316179055600a54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa158015613094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b8919061551c565b600c80546001600160a01b0319166001600160a01b03929092169190911790556130ed826a52b7d2dcc80cd2e4000000613a34565b42600d5543600e556001600160a01b038281166000908152602c602090815260408083208054600160ff199182168117909255898616808652838620805483168417905530808752848720805484168517905560075488168752602e865284872080548416851790559086528386208054831684179055600a805488168752848720805484168517905590865294839020805490911690911790559154825163c45a015560e01b8152925193169263c45a01559260048082019392918290030181865afa1580156131c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e6919061551c565b6001600160a01b031663e6a4390530600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613248573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326c919061551c565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156132b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132db919061551c565b600980546001600160a01b0319166001600160a01b039290921691821790556000908152602e60205260409020805460ff1916600117905550505050565b61332161384a565b6001600160a01b0381166133865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611212565b611a13816138a4565b60008060008061339e856129af565b935093509350935060008411156133c75783601360008282546133c191906156b3565b90915550505b82156134185782601860008282546133df91906156b3565b90915550506040518381527f3c231f64b16483d16ca517ccd881f34f86dd04ccc1305e65b854fe82189b76259060200160405180910390a15b811561343657816021600082825461343091906156b3565b90915550505b601154610100900460ff16801561344f57506000602654115b156134cf5760265461347c9061346983600160801b613cfa565b6134739190615568565b60245490613653565b602481905550806025600082825461349491906156b3565b909155505060405181815233907fd8ae90c673ec9f2905e99d702eb0547f5c701a093ec078ca39480dcc385a5fb59060200160405180910390a25b5050505050565b6001600160a01b0383166135385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401611212565b6001600160a01b0382166135995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401611212565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60026006540361364c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611212565b6002600655565b60006125f282846156b3565b600061366b8484612b58565b905060001981146136d357818110156136c65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401611212565b6136d384848484036134d6565b50505050565b6001600160a01b0383166000908152602c602052604090205460ff1615801561371b57506001600160a01b0382166000908152602c602052604090205460ff16155b1561383a576009546001600160a01b03848116911614801561374b5750600a546001600160a01b03838116911614155b801561375957506000602954115b156137ab576000606460295483613770919061567f565b61377a9190615568565b9050613787848484613d63565b61379183826138f6565b601154610100900460ff16156136d3576136d38382613bc4565b6009546001600160a01b0383811691161480156137d157506001600160a01b0383163014155b80156137df57506000602a54115b1561383a5760006064602a54836137f6919061567f565b6138009190615568565b90506138168484613811848661558a565b613d63565b61382084826138f6565b601154610100900460ff16156136d3576136d38482613bc4565b613845838383613d63565b505050565b6005546001600160a01b0316331461134d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611212565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166139565760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401611212565b61396282600083613f12565b6001600160a01b038216600090815260208190526040902054818110156139d65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401611212565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038216613a8a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401611212565b613a9660008383613f12565b8060026000828254613aa891906156b3565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361134a565b8060266000828254613b1291906156b3565b90915550506001600160a01b0382166000908152602b60205260409020805482019055602454613b6990613b4a906123f59084613cfa565b6001600160a01b0384166000908152602f6020526040902054906148d1565b6001600160a01b0383166000818152602f6020526040908190209290925590517fedf54db273368693b9491f47152f0af6334ed61b18d374f0eb1ca87bd3a4216290613bb89084815260200190565b60405180910390a25050565b6001600160a01b0382166000908152602b602052604090205481811015613c385760405162461bcd60e51b815260206004820152602260248201527f454f5332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401611212565b6001600160a01b0383166000908152602b602052604090208282039055602680548390039055602454613c9290613c73906123f59085613cfa565b6001600160a01b0385166000908152602f602052604090205490613d16565b6001600160a01b0384166000818152602f6020526040908190209290925590517f65acde034bd1126095b070c3dab2499d374f97ad47387adfb86ba47b0240a24f90613ce19085815260200190565b60405180910390a2505050565b60006125f2828461558a565b60006125f2828461567f565b6000818181121561151157600080fd5b600080613d238385615733565b905060008312158015613d365750838112155b80613d4b5750600083128015613d4b57508381125b6125f257600080fd5b600080821215611c1057600080fd5b6001600160a01b038316613dc75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401611212565b6001600160a01b038216613e295760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401611212565b613e34838383613f12565b6001600160a01b03831660009081526020819052604090205481811015613eac5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401611212565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36136d3565b6001600160a01b0383161561384557601e54600090156140685760085460405163f8aa43f760e01b81523060048201526001600160a01b0386811660248301529091169063f8aa43f790604401602060405180830381865afa158015613f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fa09190615696565b80614014575060085460405163765ced2160e11b81526001600160a01b0385811660048301529091169063ecb9da4290602401602060405180830381865afa158015613ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140149190615696565b8061402657506001600160a01b038316155b6140685760405162461bcd60e51b81526020600482015260136024820152720c6c2dcdcdee840cae6c6c2e0ca40c8cac2e8d606b1b6044820152606401611212565b6001600160a01b0383166000908152602d602052604081205490036140a3576001600160a01b0383166000908152602d602052604090204290555b60006140ae846124ff565b11156140e9576140bd836124ff565b6001600160a01b0384166000908152603360209081526040808320939093556032905220429055614105565b6001600160a01b03831660009081526032602052604090204290555b33301480159061411d57506001600160a01b03831615155b156136d357601154610100900460ff161561427c5761413b84612405565b1561426457600061414b85612386565b111561415a5761415a84611567565b670de0b6b3a76400006026541180156141885750670de0b6b3a7640000602654614184919061558a565b8210155b1561421857670de0b6b3a76400006026546141a3919061558a565b8211156142185760405162461bcd60e51b815260206004820152603d60248201527f596f752061726520746865206f6e6c7920686f6c6465722c20796f75206e656560448201527f6420746f206c65617665203165313820746f6b656e7320696e206c702e0000006064820152608401611212565b6000614223856124ff565b111561425a57614232846124ff565b6001600160a01b03851660009081526033602090815260408083209390935560329052204290555b6142648483613bc4565b61426d83612405565b1561427c5761427c8383613b00565b6001600160a01b0384166000908152602c602052604090205460ff161580156142be57506001600160a01b0383166000908152602c602052604090205460ff16155b156136d3576009546001600160a01b0385811691161480156142ee5750600a546001600160a01b03848116911614155b156144a85760115460ff16614358576001600160a01b0383166000908152602c602052604090205460ff166143585760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401611212565b6008546040516339cde4fb60e21b81523060048201526001600160a01b039091169063e73793ec90602401602060405180830381865afa1580156143a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143c49190615539565b8211156144055760405162461bcd60e51b815260206004820152600f60248201526e13dd995c881b585e081dd85b1b195d608a1b6044820152606401611212565b60085460408051629dba5160e01b815290516103e8926001600160a01b031691629dba519160048083019260209291908290030181865afa15801561444e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144729190615539565b601f5461447f91906156b3565b614489908461567f565b6144939190615568565b601954909150156144a8576144a8828461491d565b6009546001600160a01b0384811691161480156144ce57506001600160a01b0384163014155b156146bc5760115460ff16614545576001600160a01b0384166000908152602c602052604090205460ff166145455760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f74206f70656e207965740000000000000000006044820152606401611212565b60115460ff161561462b57600f54610100900460ff161561462b576008546040516317caf98160e21b81523060048201526001600160a01b0390911690635f2be60490602401602060405180830381865afa1580156145a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145cc9190615539565b82111561462b5760405162461bcd60e51b815260206004820152602760248201527f4574682063616e6e6f74206265206c657373207468656e206f776e657220707260448201526637bb34b232b21760c91b6064820152608401611212565b60085460408051629dba5160e01b815290516103e8926001600160a01b031691629dba519160048083019260209291908290030181865afa158015614674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146989190615539565b601f546146a591906156b3565b6146af908461567f565b6146b99190615568565b90505b600860009054906101000a90046001600160a01b03166001600160a01b031663f1af453d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561470f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147339190615696565b806147505750601154610100900460ff1680156147505750600081115b1561476d57806020600082825461476791906156b3565b90915550505b600854604051639527b9cf60e01b81523060048201526000916001600160a01b031690639527b9cf90602401602060405180830381865afa1580156147b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147da9190615539565b6020541180156147ea5750600082115b601154909150610100900460ff16806148755750600860009054906101000a90046001600160a01b03166001600160a01b031663f1af453d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614851573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148759190615696565b156134cf5780801561488a5750600f5460ff16155b80156148a357506009546001600160a01b038581169116145b156134cf5760115460009062010000900460ff166148c157826148c5565b6020545b9050612d3f8185614cc3565b60008082121580156148ec5750826148e9838261575b565b13155b8061490a575060008212801561490a575082614908838261575b565b135b61491357600080fd5b6125f2828461575b565b601a541561134a5760085460405163111eb8b160e01b81523060048201526000916001600160a01b03169063111eb8b190602401602060405180830381865afa15801561496e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149929190615539565b60085460405163258c50f960e01b81523060048201529192506001600160a01b03169063258c50f990602401602060405180830381865afa1580156149db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149ff9190615539565b8310613845578015614a7357601b80546001600160a01b038481166001600160a01b03198316811790935542601c5560405191169182917fcd59426740ab85c89d34f8dfcc1ce20ec8d097d8d04a52debaf2841a48bc4ad690614a659086815260200190565b60405180910390a350505050565b601b80546001600160a01b038481166001600160a01b031983161790925542601c55601854911690600090614aaa90600290615568565b90506000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614af9576040519150601f19603f3d011682016040523d82523d6000602084013e614afe565b606091505b5050905080614c22576008546040805163beb08ab960e01b815290516000926001600160a01b03169163beb08ab99160048083019260209291908290030181865afa158015614b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b75919061551c565b6001600160a01b03168360405160006040518083038185875af1925050503d8060008114614bbf576040519150601f19603f3d011682016040523d82523d6000602084013e614bc4565b606091505b5050905080614c205760405162461bcd60e51b815260206004820152602260248201527f5f67616d626c653a205472616e7366657220746f2077616c6c6574206661696c604482015261195960f21b6064820152608401611212565b505b8160186000828254614c34919061558a565b90915550506040518281526001600160a01b038416907f8cbbe5cd65720098fc8ce6e99a5deb232085117dd486475b49cb11604b528f309060200160405180910390a2601b546040518581526001600160a01b038581169216907fcd59426740ab85c89d34f8dfcc1ce20ec8d097d8d04a52debaf2841a48bc4ad69060200160405180910390a3505050505050565b600f805460ff19166001179055600854604051628512ed60e41b81523060048201526000916001600160a01b0316906308512ed090602401602060405180830381865afa158015614d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d3c9190615539565b60115490915060009062010000900460ff1615614d6a5781841015614d615783614d63565b815b9050614d6d565b50825b600f54610100900460ff168015614df557506008546040516354a7ba3560e01b8152306004820152602481018590526001600160a01b03909116906354a7ba3590604401602060405180830381865afa158015614dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614df29190615539565b81115b15614e70576008546040516354a7ba3560e01b8152306004820152602481018590526001600160a01b03909116906354a7ba3590604401602060405180830381865afa158015614e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e6d9190615539565b90505b8015614e7f57614e7f81614ea2565b60215415614e9257614e92602154615073565b5050600f805460ff191690555050565b8060206000828254614eb4919061558a565b90915550614ec490503082613a34565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614ef957614ef9615782565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614f76919061551c565b81600181518110614f8957614f89615782565b6001600160a01b039283166020918202929092010152600a5460405163095ea7b360e01b81529116600482015260248101839052309063095ea7b3906044016020604051808303816000875af1158015614fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061500b9190615696565b50600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790615045908590600090869030904290600401615798565b600060405180830381600087803b15801561505f57600080fd5b505af1158015612d3f573d6000803e3d6000fd5b61507b6135fa565b6000806150866113e1565b9150915060006150a984836001600160701b0316856001600160701b031661247b565b905060006150ca82856001600160701b0316856001600160701b031661247b565b90506150d63083613a34565b600a5460405163095ea7b360e01b81526001600160a01b03909116600482015260248101839052309063095ea7b3906044016020604051808303816000875af1158015615127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061514b9190615696565b50600a5460075460405163f305d71960e01b815230600482015260248101859052600060448201819052606482018590526001600160a01b0392831660848301524260a4830152928392839291169063f305d71990869060c40160606040518083038185885af11580156151c3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906151e89190615809565b925092509250806023600082825461520091906156b3565b9091555050600060215560408051848152602081018490529081018290527fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39060600160405180910390a150505050505050611a136001600655565b600060208083528351808285015260005b818110156152895785810183015185820160400152820161526d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611a1357600080fd5b600080604083850312156152d257600080fd5b82356152dd816152aa565b946020939093013593505050565b6000602082840312156152fd57600080fd5b81356125f2816152aa565b60006020828403121561531a57600080fd5b5035919050565b60008060006060848603121561533657600080fd5b8335615341816152aa565b92506020840135615351816152aa565b929592945050506040919091013590565b8015158114611a1357600080fd5b60006020828403121561538257600080fd5b81356125f281615362565b600080604083850312156153a057600080fd5b82356152dd81615362565b600080604083850312156153be57600080fd5b82356153c9816152aa565b915060208301356153d981615362565b809150509250929050565b6000806000606084860312156153f957600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561542357600080fd5b8235915060208301356153d9816152aa565b6000806040838503121561544857600080fd5b8235615453816152aa565b915060208301356153d9816152aa565b6000806000806000806000806000806101408b8d03121561548357600080fd5b505088359a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0810135965060e081013595506101008101359450610120013592509050565b600080600080608085870312156154e157600080fd5b84356154ec816152aa565b935060208501356154fc816152aa565b9250604085013561550c816152aa565b9396929550929360600135925050565b60006020828403121561552e57600080fd5b81516125f2816152aa565b60006020828403121561554b57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008261558557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561151157611511615552565b60208082526021908201527f5472616e7366657220746f2070726f6a6563742077616c6c6574206661696c656040820152601960fa1b606082015260800190565b600181811c908216806155f257607f821691505b60208210810361561257634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160701b038116811461156257600080fd5b60008060006060848603121561564457600080fd5b61564d84615618565b925061565b60208501615618565b9150604084015163ffffffff8116811461567457600080fd5b809150509250925092565b808202811582820484141761151157611511615552565b6000602082840312156156a857600080fd5b81516125f281615362565b8082018082111561151157611511615552565b600080600080608085870312156156dc57600080fd5b505082516020840151604085015160609095015191969095509092509050565b6020808252601a908201527f43616c6c6572206973206e6f7420457468204f53204f776e6572000000000000604082015260600190565b808201828112600083128015821682158216171561575357615753615552565b505092915050565b818103600083128015838313168383128216171561577b5761577b615552565b5092915050565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156157e85784516001600160a01b0316835293830193918301916001016157c3565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561581e57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220709f1f7be16107efcbc6eddd9c52dae84b2271480befb3c59672dd8477c6666164736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003e3b232dc122e8c582c4a341be19ebe4b7e12a9a0000000000000000000000000000000000000000000000000000000000000006457468204f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003454f530000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Eth OS
Arg [1] : symbol (string): EOS
Arg [2] : _EthOS (address): 0x3E3b232Dc122E8c582c4A341be19eBE4B7e12a9A
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000003e3b232dc122e8c582c4a341be19ebe4b7e12a9a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 457468204f530000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 454f530000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,945.76 | 0.00081216 | $2.39 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.