Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1.355803182850595834 PIZZA
Holders
294
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.005079636209521464 PIZZAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GumboSlice
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Gumbo Slice // ze moar pizza ze moar pizza // // https://twitter.com/PizzaGumbo // https://gumboslice.pizza // https://t.me/GumboSlicePortal pragma solidity ^0.8.19; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract GumboSlice is IERC20, Ownable { using SafeMath for uint256; /* -------------------------------------------------------------------------- */ /* events */ /* -------------------------------------------------------------------------- */ event RequestRebase(bool increaseSupply, uint256 amount); event Rebase(uint256 indexed time, uint256 totalSupply); event RemovedLimits(); event Log(string message, uint256 value); event ErrorCaught(string reason); /* -------------------------------------------------------------------------- */ /* constants */ /* -------------------------------------------------------------------------- */ address constant DEAD = 0x000000000000000000000000000000000000dEaD; address constant ZERO = 0x0000000000000000000000000000000000000000; uint256 constant NOMINAL_TAX = 5; uint256 private constant MAX_SUPPLY = ~uint128(0); uint256 public constant INITIAL_PIZZA_SUPPLY = 1 ether; uint256 public DELTA_SUPPLY = INITIAL_PIZZA_SUPPLY; // TOTAL_SLICES is a multiple of INITIAL_PIZZA_SUPPLY so that _slicesPerPizza is an integer. // Use the highest value that fits in a uint256 for max granularity. uint256 public constant TOTAL_SLICES = type(uint256).max - (type(uint256).max % INITIAL_PIZZA_SUPPLY); uint256 constant public zero = uint256(0); /* -------------------------------------------------------------------------- */ /* states */ /* -------------------------------------------------------------------------- */ address public SWAP_ROUTER_ADR = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; IUniswapV2Router02 public SWAP_ROUTER; address public immutable SWAP_PAIR; uint256 public _totalSupply; uint256 public _slicesPerPizza; uint256 private slicesSwapThreshold = (TOTAL_SLICES / 100000 * 25); uint256 public maxTxnRate; uint256 public maxWalletRate; address private oracleWallet; address private mktWallet; uint256 public vatBuy; uint256 public vatSell; bool public activateLimitRebaseRate = true; bool public activateLimitRebasePct = true; bool public givePizza = false; bool public swapEnabled = false; bool public enableUpdateTax = true; bool public limitsInEffect = true; bool public syncLP = true; bool inSwap; uint256 private lastRebaseTime = 0; uint256 private limitRebaseRate = 10; uint256 private limitDebaseRate = 5; uint256 private limitRebasePct = 1000; uint256 private limitDebasePct = 600; uint256 private transactionCount = 0; uint256 public txToSwitchTax; uint256 public buyToRebase = 0; uint256 public sellToRebase = 0; string _name = "Gumbo Slice"; string _symbol = "PIZZA"; mapping(address => uint256) public _sliceBalances; mapping (address => mapping (address => uint256)) public _allowedPizza; mapping (address => bool) public isWhitelisted; /* -------------------------------------------------------------------------- */ /* modifiers */ /* -------------------------------------------------------------------------- */ modifier swapping() { inSwap = true; _; inSwap = false; } modifier onlyOracle() { require(msg.sender == oracleWallet, "Not oracle"); _; } constructor(address mkt, address dev) Ownable(msg.sender) { // create uniswap pair SWAP_ROUTER = IUniswapV2Router02(SWAP_ROUTER_ADR); address _uniswapPair = IUniswapV2Factory(SWAP_ROUTER.factory()).createPair(address(this), SWAP_ROUTER.WETH()); SWAP_PAIR = _uniswapPair; _allowedPizza[address(this)][address(SWAP_ROUTER)] = type(uint256).max; _allowedPizza[address(this)][msg.sender] = type(uint256).max; _allowedPizza[address(msg.sender)][address(SWAP_ROUTER)] = type(uint256).max; mktWallet = mkt; oracleWallet = dev; vatBuy = 30; vatSell = 50; txToSwitchTax = 50; maxTxnRate = 3; maxWalletRate = 3; isWhitelisted[msg.sender] = true; isWhitelisted[address(this)] = true; isWhitelisted[SWAP_ROUTER_ADR] = true; isWhitelisted[mktWallet] = true; isWhitelisted[oracleWallet] = true; isWhitelisted[ZERO] = true; isWhitelisted[DEAD] = true; _totalSupply = INITIAL_PIZZA_SUPPLY; _slicesPerPizza = TOTAL_SLICES.div(_totalSupply); _sliceBalances[mkt] = TOTAL_SLICES.div(100).mul(10); _sliceBalances[msg.sender] = TOTAL_SLICES.div(100).mul(90); emit Transfer(address(0), mkt, balanceOf(mkt)); emit Transfer(address(0), msg.sender, balanceOf(msg.sender)); } /* -------------------------------------------------------------------------- */ /* views */ /* -------------------------------------------------------------------------- */ function totalSupply() public view returns (uint256) { return _totalSupply; } function decimals() external pure returns (uint8) { return 18; } function name() external view returns (string memory) { return _name; } function symbol() external view returns (string memory) { return _symbol; } function balanceOf(address holder) public view returns (uint256) { return _sliceBalances[holder].div(_slicesPerPizza); } /* -------------------------------------------------------------------------- */ /* owners */ /* -------------------------------------------------------------------------- */ function clearStuckBalance() external onlyOwner { (bool success,) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } function clearStuckToken() external onlyOwner { _transferFrom(address(this), msg.sender, balanceOf(address(this))); } function setSwapBackSettings(bool _enabled, uint256 _pt) external onlyOwner { swapEnabled = _enabled; slicesSwapThreshold = (TOTAL_SLICES * _pt) / 100000; } function enablePizzaExchange() external onlyOwner { require(!givePizza, "Token launched"); givePizza = true; swapEnabled = true; } function setMaxTxWalletRate(uint256 _rtx, uint256 _rw) external onlyOwner { maxTxnRate = _rtx; maxWalletRate = _rw; } function whitelistWallet(address _address, bool _isWhitelisted) external onlyOwner { isWhitelisted[_address] = _isWhitelisted; } function setTxToSwitchTax(uint256 _c) external onlyOwner { txToSwitchTax = _c; } function setToFinalTax() external onlyOwner { enableUpdateTax = false; vatBuy = NOMINAL_TAX; vatSell = NOMINAL_TAX; } /* -------------------------------------------------------------------------- */ /* oracle */ /* -------------------------------------------------------------------------- */ function setActivateRebaseLimit(bool _l, bool _p) external onlyOracle { activateLimitRebaseRate = _l; activateLimitRebasePct = _p; } function removeLimit() external onlyOracle { limitsInEffect = false; emit RemovedLimits(); } function setSyncLP(bool _s) external onlyOracle { syncLP = _s; } function setRebaseLimit(uint256 _r, uint256 _pct) external onlyOracle { limitRebaseRate = _r; limitRebasePct = _pct; } function setDebaseLimit(uint256 _r, uint256 _pct) external onlyOracle { limitDebaseRate = _r; limitDebasePct = _pct; } function canRebase() public view returns (bool) { return sellToRebase != buyToRebase; } function buyback() external payable onlyOracle { require(msg.value > 0, "No ETH sent"); address[] memory path = new address[](2); path[0] = address(SWAP_ROUTER.WETH()); path[1] = address(this); SWAP_ROUTER.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}( 0, path, DEAD, block.timestamp ); } function rebase() external onlyOracle { uint256 currentTime = block.timestamp; uint256 newSupply = _totalSupply; uint256 rebaseDelta = 0; bool increaseSupply = false; if (sellToRebase > buyToRebase){ rebaseDelta = sellToRebase; } else if (buyToRebase > sellToRebase) { rebaseDelta = buyToRebase; increaseSupply = true; } else { emit Log("same amount, no need to rebase", 0); return; } if (currentTime >= lastRebaseTime + 1 days) { lastRebaseTime = currentTime; DELTA_SUPPLY = newSupply; } if (increaseSupply) { if (activateLimitRebasePct) { if (rebaseDelta > DELTA_SUPPLY.mul(limitRebasePct).div(1000)) { rebaseDelta = DELTA_SUPPLY.mul(limitRebasePct).div(1000); } } if (activateLimitRebaseRate && _totalSupply.add(rebaseDelta) > DELTA_SUPPLY.mul(limitRebaseRate)){ newSupply = DELTA_SUPPLY.mul(limitRebaseRate); } else { newSupply = _totalSupply.add(rebaseDelta); } } else { if (activateLimitRebasePct) { if (rebaseDelta > DELTA_SUPPLY.mul(limitDebasePct).div(1000)) { rebaseDelta = DELTA_SUPPLY.mul(limitDebasePct).div(1000); } } if (activateLimitRebaseRate && _totalSupply.sub(rebaseDelta) < DELTA_SUPPLY.div(limitDebaseRate)){ newSupply = DELTA_SUPPLY.div(limitDebaseRate); } else { newSupply = _totalSupply.sub(rebaseDelta); } } if (newSupply > MAX_SUPPLY) { newSupply = MAX_SUPPLY; } _totalSupply = newSupply; _slicesPerPizza = TOTAL_SLICES.div(_totalSupply); sellToRebase = 0; buyToRebase = 0; if (syncLP){ lpSync(); } emit Rebase(currentTime, _totalSupply); } /* -------------------------------------------------------------------------- */ /* private */ /* -------------------------------------------------------------------------- */ function updateTaxes() internal { if (vatSell > NOMINAL_TAX) { transactionCount += 1; } if (transactionCount == txToSwitchTax) { vatBuy = 15; vatSell = 30; } else if (transactionCount == txToSwitchTax.mul(2)) { vatBuy = 10; vatSell = 20; } else if (transactionCount >= txToSwitchTax.mul(3) && vatSell > NOMINAL_TAX) { vatBuy = NOMINAL_TAX; vatSell = NOMINAL_TAX; enableUpdateTax = false; } } function lpSync() internal { IUniswapV2Pair _pair = IUniswapV2Pair(SWAP_PAIR); try _pair.sync() {} catch {} } /* -------------------------------------------------------------------------- */ /* ERC20 */ /* -------------------------------------------------------------------------- */ function approveMax(address spender) external returns (bool) { return approve(spender, type(uint256).max); } function allowance(address owner_, address spender) public view returns (uint256) { return _allowedPizza[owner_][spender]; } function approve(address spender, uint256 value) public returns (bool) { _allowedPizza[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _allowedPizza[msg.sender][spender] = _allowedPizza[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, _allowedPizza[msg.sender][spender]); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { uint256 oldValue = _allowedPizza[msg.sender][spender]; if (subtractedValue >= oldValue) { _allowedPizza[msg.sender][spender] = 0; } else { _allowedPizza[msg.sender][spender] = oldValue.sub(subtractedValue); } emit Approval(msg.sender, spender, _allowedPizza[msg.sender][spender]); return true; } function transfer(address recipient, uint256 amount) external override returns (bool) { return _transferFrom(msg.sender, recipient, amount); } function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { if (_allowedPizza[sender][msg.sender] != type(uint256).max) { require(_allowedPizza[sender][msg.sender] >= amount, "ERC20: insufficient allowance"); _allowedPizza[sender][msg.sender] = _allowedPizza[sender][msg.sender] - amount; } return _transferFrom(sender, recipient, amount); } function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) { require(amount > 0, "Transfer amount must be greater than zero"); require(sender != DEAD, "Please use a good address"); require(sender != ZERO, "Please use a good address"); uint256 sliceAmount = amount.mul(_slicesPerPizza); require(_sliceBalances[sender] >= sliceAmount, "Insufficient Balance"); if(!inSwap && !isWhitelisted[sender] && !isWhitelisted[recipient]){ require(givePizza, "Trading not live"); if(limitsInEffect){ if (sender == SWAP_PAIR){ require(amount <= _totalSupply.mul(maxTxnRate).div(1000), "Max Tx Exceeded"); } if (recipient != SWAP_PAIR){ require(balanceOf(recipient) + amount <= _totalSupply.mul(maxWalletRate).div(1000), "Max Wallet Exceeded"); } } if (_shouldSwapBack(recipient)){ try this.swapBack(){} catch {} } uint256 vatAmount = 0; if(sender == SWAP_PAIR){ emit RequestRebase(true, amount); buyToRebase += amount; vatAmount = sliceAmount.mul(vatBuy).div(100); } else if (recipient == SWAP_PAIR) { emit RequestRebase(false, amount); sellToRebase += amount; vatAmount = sliceAmount.mul(vatSell).div(100); } if(vatAmount > 0){ _sliceBalances[sender] -= vatAmount; _sliceBalances[address(this)] += vatAmount; emit Transfer(sender, address(this), vatAmount.div(_slicesPerPizza)); sliceAmount -= vatAmount; if (enableUpdateTax) { updateTaxes(); } } } _sliceBalances[sender] = _sliceBalances[sender].sub(sliceAmount); _sliceBalances[recipient] = _sliceBalances[recipient].add(sliceAmount); emit Log("Amount transfered", sliceAmount.div(_slicesPerPizza)); emit Transfer(sender, recipient, sliceAmount.div(_slicesPerPizza)); return true; } function _shouldSwapBack(address recipient) internal view returns (bool) { return recipient == SWAP_PAIR && !inSwap && swapEnabled && balanceOf(address(this)) >= slicesSwapThreshold.div(_slicesPerPizza); } function swapBack() public swapping { uint256 contractBalance = balanceOf(address(this)); if(contractBalance == 0){ return; } if(contractBalance > slicesSwapThreshold.div(_slicesPerPizza).mul(20)){ contractBalance = slicesSwapThreshold.div(_slicesPerPizza).mul(20); } swapTokensForETH(contractBalance); } function swapTokensForETH(uint256 tokenAmount) internal { address[] memory path = new address[](2); path[0] = address(this); path[1] = address(SWAP_ROUTER.WETH()); SWAP_ROUTER.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(oracleWallet), block.timestamp ); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
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; }
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; }
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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"mkt","type":"address"},{"internalType":"address","name":"dev","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"ErrorCaught","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"message","type":"string"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Log","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":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"Rebase","type":"event"},{"anonymous":false,"inputs":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"increaseSupply","type":"bool"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RequestRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELTA_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_PIZZA_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_ROUTER","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_ROUTER_ADR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SLICES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"_allowedPizza","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_sliceBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_slicesPerPizza","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":"activateLimitRebasePct","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateLimitRebaseRate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyToRebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyback","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"canRebase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"enablePizzaExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableUpdateTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"givePizza","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":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellToRebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_l","type":"bool"},{"internalType":"bool","name":"_p","type":"bool"}],"name":"setActivateRebaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_r","type":"uint256"},{"internalType":"uint256","name":"_pct","type":"uint256"}],"name":"setDebaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rtx","type":"uint256"},{"internalType":"uint256","name":"_rw","type":"uint256"}],"name":"setMaxTxWalletRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_r","type":"uint256"},{"internalType":"uint256","name":"_pct","type":"uint256"}],"name":"setRebaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"},{"internalType":"uint256","name":"_pt","type":"uint256"}],"name":"setSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_s","type":"bool"}],"name":"setSyncLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setToFinalTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_c","type":"uint256"}],"name":"setTxToSwitchTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"syncLP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txToSwitchTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vatBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vatSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isWhitelisted","type":"bool"}],"name":"whitelistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zero","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052670de0b6b3a76400006001819055600280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d179055620186a0906200004a905f19620005fa565b62000057905f1962000624565b6200006391906200063a565b6200007090601962000650565b600655600d805466ffffffffffffff191666010101000001011790555f600e819055600a600f5560056010556103e86011556102586012556013819055601581905560165560408051808201909152600b81526a47756d626f20536c69636560a81b6020820152601790620000e690826200070a565b5060408051808201909152600581526450495a5a4160d81b60208201526018906200011290826200070a565b503480156200011f575f80fd5b5060405162002da238038062002da28339810160408190526200014291620007ee565b33806200016857604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b62000173816200054b565b50600254600380546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa158015620001d1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001f7919062000824565b6001600160a01b031663c9c653963060035f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000257573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200027d919062000824565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620002c8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002ee919062000824565b6001600160a01b03818116608052305f818152601a6020818152604080842060038054881686529083528185205f1990819055338087528387208290559484528286208254891687528452828620819055600a80546001600160a01b03199081168e8b16178255600980549091168d8b16178155601e600b556032600c8190556014556007849055600893909355948652601b909352818520805460ff1990811660019081179092559686528286208054881682179055600254881686528286208054881682179055935487168552818520805487168517905554909516835293822080548416821790557f584f46c60af19681376031579adb04a2416e54ee5505351c2a8435e3766026ea805484168217905561dead9091527f6790d4910a095e0e04c8daa388834616a295bac3f59038957b6d0b93a2d216848054909216179055670de0b6b3a7640000600481905591925062000469919062000455908290620005fa565b62000462905f1962000624565b906200059a565b60055562000494600a6200048d606462000455670de0b6b3a76400005f19620005fa565b90620005b0565b6001600160a01b0384165f90815260196020526040902055620004cd605a6200048d606462000455670de0b6b3a76400005f19620005fa565b335f908152601960205260408120919091556001600160a01b038416905f8051602062002d828339815191526200050486620005bd565b60405190815260200160405180910390a3335f5f8051602062002d828339815191526200053183620005bd565b60405190815260200160405180910390a350505062000840565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f620005a782846200063a565b90505b92915050565b5f620005a7828462000650565b6005546001600160a01b0382165f908152601960205260408120549091620005aa91906200059a565b634e487b7160e01b5f52601260045260245ffd5b5f826200060b576200060b620005e6565b500690565b634e487b7160e01b5f52601160045260245ffd5b81810381811115620005aa57620005aa62000610565b5f826200064b576200064b620005e6565b500490565b8082028115828204841417620005aa57620005aa62000610565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200069357607f821691505b602082108103620006b257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000705575f81815260208120601f850160051c81016020861015620006e05750805b601f850160051c820191505b818110156200070157828155600101620006ec565b5050505b505050565b81516001600160401b038111156200072657620007266200066a565b6200073e816200073784546200067e565b84620006b8565b602080601f83116001811462000774575f84156200075c5750858301515b5f19600386901b1c1916600185901b17855562000701565b5f85815260208120601f198616915b82811015620007a45788860151825594840194600190910190840162000783565b5085821015620007c257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b0381168114620007e9575f80fd5b919050565b5f806040838503121562000800575f80fd5b6200080b83620007d2565b91506200081b60208401620007d2565b90509250929050565b5f6020828403121562000835575f80fd5b620005a782620007d2565b6080516124ff620008835f395f8181610842015281816118f70152818161198e01528181611a9601528181611b3b01528181611f880152611ffd01526124ff5ff3fe608060405260043610610374575f3560e01c8063658ac07b116101c8578063bc1b392d116100fd578063df20fd491161009d578063f2fde38b1161006d578063f2fde38b146109c3578063f5769f5c146109e2578063f8ec691114610a01578063fcc3a28914610a09575f80fd5b8063df20fd491461094b578063e91652bd1461096a578063ed1410bf14610983578063f14f295e14610998575f80fd5b8063c6005893116100d8578063c6005893146108bf578063d41c435e146108de578063d85a2828146108f3578063dd62ed3e14610907575f80fd5b8063bc1b392d14610878578063c21b72551461088b578063c5d305ae146108aa575f80fd5b806395d89b4111610168578063a457c2d711610143578063a457c2d7146107f3578063a9059cbb14610812578063aed8d6ba14610831578063af14052c14610864575f80fd5b806395d89b41146107a157806399fd7efb146107b5578063a060533f146107d4575f80fd5b806370a08231116101a357806370a0823114610733578063715018a61461075257806387651fe1146107665780638da5cb5b14610785575f80fd5b8063658ac07b146106e15780636ac5eeee146106ff5780636ddd171314610713575f80fd5b806339509351116102a9578063414e93fb116102495780634f6c3766116102195780634f6c376614610674578063571ac8b01461068f5780636135af2a146106ae57806362256589146106cd575f80fd5b8063414e93fb146105e75780634a62bb65146105fb5780634d9ddce71461061d5780634f00beaf14610653575f80fd5b80633af32abf116102845780633af32abf1461057a5780633d51ed55146105a85780633eaaf86b146105bd578063407d5143146105d2575f80fd5b80633950935114610532578063396adb2d146105515780633ac0b1ee14610565575f80fd5b80631cd343c711610314578063313ce567116102ef578063313ce567146104ca578063329ceacd146104e5578063364333f4146104fe57806339071c9e14610512575f80fd5b80631cd343c71461045557806323b872dd1461047457806325ec340b14610493575f80fd5b80630f58cfa71161034f5780630f58cfa7146103f757806316ce74eb14610418578063180606ac1461042c57806318160ddd14610441575f80fd5b80630645c9e71461037f57806306fdde03146103a7578063095ea7b3146103c8575f80fd5b3661037b57005b5f80fd5b34801561038a575f80fd5b5061039460085481565b6040519081526020015b60405180910390f35b3480156103b2575f80fd5b506103bb610a1e565b60405161039e919061211e565b3480156103d3575f80fd5b506103e76103e236600461217d565b610aae565b604051901515815260200161039e565b348015610402575f80fd5b506104166104113660046121bb565b610b1a565b005b348015610423575f80fd5b50610416610b6e565b348015610437575f80fd5b50610394600c5481565b34801561044c575f80fd5b50600454610394565b348015610460575f80fd5b5061041661046f3660046121d4565b610b90565b34801561047f575f80fd5b506103e761048e3660046121f4565b610ba3565b34801561049e575f80fd5b506002546104b2906001600160a01b031681565b6040516001600160a01b03909116815260200161039e565b3480156104d5575f80fd5b506040516012815260200161039e565b3480156104f0575f80fd5b5060155460165414156103e7565b348015610509575f80fd5b50610416610ca4565b34801561051d575f80fd5b50600d546103e790600160301b900460ff1681565b34801561053d575f80fd5b506103e761054c36600461217d565b610d00565b34801561055c575f80fd5b50610394610d83565b348015610570575f80fd5b5061039460165481565b348015610585575f80fd5b506103e7610594366004612232565b601b6020525f908152604090205460ff1681565b3480156105b3575f80fd5b50610394600b5481565b3480156105c8575f80fd5b5061039460045481565b3480156105dd575f80fd5b5061039460145481565b3480156105f2575f80fd5b50610416610da4565b348015610606575f80fd5b50600d546103e79065010000000000900460ff1681565b348015610628575f80fd5b5061039461063736600461224d565b601a60209081525f928352604080842090915290825290205481565b34801561065e575f80fd5b50600d546103e790640100000000900460ff1681565b34801561067f575f80fd5b50610394670de0b6b3a764000081565b34801561069a575f80fd5b506103e76106a9366004612232565b610e0b565b3480156106b9575f80fd5b506104166106c8366004612284565b610e17565b3480156106d8575f80fd5b50610416610e49565b3480156106ec575f80fd5b50600d546103e790610100900460ff1681565b34801561070a575f80fd5b50610416610eac565b34801561071e575f80fd5b50600d546103e7906301000000900460ff1681565b34801561073e575f80fd5b5061039461074d366004612232565b610f3a565b34801561075d575f80fd5b50610416610f61565b348015610771575f80fd5b506104166107803660046122b7565b610f74565b348015610790575f80fd5b505f546001600160a01b03166104b2565b3480156107ac575f80fd5b506103bb610fc2565b3480156107c0575f80fd5b506104166107cf3660046121d4565b610fd1565b3480156107df575f80fd5b50600d546103e79062010000900460ff1681565b3480156107fe575f80fd5b506103e761080d36600461217d565b611006565b34801561081d575f80fd5b506103e761082c36600461217d565b6110e9565b34801561083c575f80fd5b506104b27f000000000000000000000000000000000000000000000000000000000000000081565b34801561086f575f80fd5b506104166110fc565b348015610883575f80fd5b506103945f81565b348015610896575f80fd5b506104166108a53660046122d1565b6113e9565b3480156108b5575f80fd5b5061039460075481565b3480156108ca575f80fd5b506003546104b2906001600160a01b031681565b3480156108e9575f80fd5b5061039460015481565b3480156108fe575f80fd5b506104166113f6565b348015610912575f80fd5b5061039461092136600461224d565b6001600160a01b039182165f908152601a6020908152604080832093909416825291909152205490565b348015610956575f80fd5b506104166109653660046122e8565b611411565b348015610975575f80fd5b50600d546103e79060ff1681565b34801561098e575f80fd5b5061039460055481565b3480156109a3575f80fd5b506103946109b2366004612232565b60196020525f908152604090205481565b3480156109ce575f80fd5b506104166109dd366004612232565b61146e565b3480156109ed575f80fd5b506104166109fc3660046121d4565b6114a8565b6104166114dd565b348015610a14575f80fd5b5061039460155481565b606060178054610a2d90612302565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5990612302565b8015610aa45780601f10610a7b57610100808354040283529160200191610aa4565b820191905f5260205f20905b815481529060010190602001808311610a8757829003601f168201915b5050505050905090565b335f818152601a602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b089086815260200190565b60405180910390a35060015b92915050565b6009546001600160a01b03163314610b4d5760405162461bcd60e51b8152600401610b449061233a565b60405180910390fd5b600d8054911515600160301b0266ff00000000000019909216919091179055565b610b7661168d565b600d805464ff00000000191690556005600b819055600c55565b610b9861168d565b600791909155600855565b6001600160a01b0383165f908152601a602090815260408083203384529091528120545f1914610c91576001600160a01b0384165f908152601a60209081526040808320338452909152902054821115610c3f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b44565b6001600160a01b0384165f908152601a60209081526040808320338452909152902054610c6d908390612372565b6001600160a01b0385165f908152601a602090815260408083203384529091529020555b610c9c8484846116b9565b949350505050565b610cac61168d565b6040515f90339047908381818185875af1925050503d805f8114610ceb576040519150601f19603f3d011682016040523d82523d5f602084013e610cf0565b606091505b5050905080610cfd575f80fd5b50565b335f908152601a602090815260408083206001600160a01b0386168452909152812054610d2d9083611de7565b335f818152601a602090815260408083206001600160a01b038916808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610b08565b610d96670de0b6b3a76400005f19612399565b610da1905f19612372565b81565b610dac61168d565b600d5462010000900460ff1615610df65760405162461bcd60e51b815260206004820152600e60248201526d151bdad95b881b185d5b98da195960921b6044820152606401610b44565b600d805463ffff000019166301010000179055565b5f610b14825f19610aae565b610e1f61168d565b6001600160a01b03919091165f908152601b60205260409020805460ff1916911515919091179055565b6009546001600160a01b03163314610e735760405162461bcd60e51b8152600401610b449061233a565b600d805465ff0000000000191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b600d805460ff60381b1916600160381b1790555f610ec930610f3a565b9050805f03610ed85750610f2b565b610efa6014610ef4600554600654611df290919063ffffffff16565b90611dfd565b811115610f2057610f1d6014610ef4600554600654611df290919063ffffffff16565b90505b610f2981611e08565b505b600d805460ff60381b19169055565b6005546001600160a01b0382165f908152601960205260408120549091610b149190611df2565b610f6961168d565b610f725f611f2b565b565b6009546001600160a01b03163314610f9e5760405162461bcd60e51b8152600401610b449061233a565b600d805461ffff191692151561ff0019169290921761010091151591909102179055565b606060188054610a2d90612302565b6009546001600160a01b03163314610ffb5760405162461bcd60e51b8152600401610b449061233a565b601091909155601255565b335f908152601a602090815260408083206001600160a01b038616845290915281205480831061105857335f908152601a602090815260408083206001600160a01b0388168452909152812055611086565b6110628184611f7a565b335f908152601a602090815260408083206001600160a01b03891684529091529020555b335f818152601a602090815260408083206001600160a01b038916808552908352928190205490519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b5f6110f53384846116b9565b9392505050565b6009546001600160a01b031633146111265760405162461bcd60e51b8152600401610b449061233a565b6004546015546016544292915f91829110156111465760165491506111c9565b601654601554111561115e57505060155460016111c9565b60408051818152601e818301527f73616d6520616d6f756e742c206e6f206e65656420746f20726562617365000060608201525f602082015290517fdd970dd9b5bfe707922155b058a407655cb18288b807e2216442bca8ad83d6b59181900360800190a150505050565b600e546111d990620151806123ac565b84106111ea57600e84905560018390555b801561129d57600d54610100900460ff161561124a576112236103e861121d601154600154611dfd90919063ffffffff16565b90611df2565b82111561124a576112476103e861121d601154600154611dfd90919063ffffffff16565b91505b600d5460ff1680156112755750600f5460015461126691611dfd565b6004546112739084611de7565b115b1561129057600f5460015461128991611dfd565b9250611340565b6004546112899083611de7565b600d54610100900460ff16156112f1576112ca6103e861121d601254600154611dfd90919063ffffffff16565b8211156112f1576112ee6103e861121d601254600154611dfd90919063ffffffff16565b91505b600d5460ff16801561131c575060105460015461130d91611df2565b60045461131a9084611f7a565b105b156113305760105460015461128991611df2565b60045461133d9083611f7a565b92505b6001600160801b0383111561135a576001600160801b0392505b600483905561138183611376670de0b6b3a76400005f19612399565b61121d905f19612372565b6005555f6016819055601555600d54600160301b900460ff16156113a7576113a7611f85565b837f11c6bf55864ff83827df712625d7a80e5583eef0264921025e7cd22003a215116004546040516113db91815260200190565b60405180910390a250505050565b6113f161168d565b601455565b6113fe61168d565b610cfd303361140c30610f3a565b6116b9565b61141961168d565b600d805463ff0000001916630100000084151502179055620186a081611448670de0b6b3a76400005f19612399565b611453905f19612372565b61145d91906123bf565b61146791906123d6565b6006555050565b61147661168d565b6001600160a01b03811661149f57604051631e4fbdf760e01b81525f6004820152602401610b44565b610cfd81611f2b565b6009546001600160a01b031633146114d25760405162461bcd60e51b8152600401610b449061233a565b600f91909155601155565b6009546001600160a01b031633146115075760405162461bcd60e51b8152600401610b449061233a565b5f34116115445760405162461bcd60e51b815260206004820152600b60248201526a139bc8115512081cd95b9d60aa1b6044820152606401610b44565b6040805160028082526060820183525f926020830190803683375050600354604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156115ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115cf91906123e9565b815f815181106115e1576115e1612404565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061161557611615612404565b6001600160a01b03928316602091820292909201015260035460405163b6f9de9560e01b815291169063b6f9de9590349061165c905f90869061dead90429060040161245a565b5f604051808303818588803b158015611673575f80fd5b505af1158015611685573d5f803e3d5ffd5b505050505050565b5f546001600160a01b03163314610f725760405163118cdaa760e01b8152336004820152602401610b44565b5f80821161171b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610b44565b61deac196001600160a01b038516016117725760405162461bcd60e51b8152602060048201526019602482015278506c6561736520757365206120676f6f64206164647265737360381b6044820152606401610b44565b6001600160a01b0384166117c45760405162461bcd60e51b8152602060048201526019602482015278506c6561736520757365206120676f6f64206164647265737360381b6044820152606401610b44565b5f6117da60055484611dfd90919063ffffffff16565b6001600160a01b0386165f9081526019602052604090205490915081111561183b5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b6044820152606401610b44565b600d54600160381b900460ff1615801561186d57506001600160a01b0385165f908152601b602052604090205460ff16155b801561189157506001600160a01b0384165f908152601b602052604090205460ff16155b15611ca657600d5462010000900460ff166118e15760405162461bcd60e51b815260206004820152601060248201526f54726164696e67206e6f74206c69766560801b6044820152606401610b44565b600d5465010000000000900460ff1615611a3a577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b03160361198c5761194b6103e861121d600754600454611dfd90919063ffffffff16565b83111561198c5760405162461bcd60e51b815260206004820152600f60248201526e13585e08151e08115e18d959591959608a1b6044820152606401610b44565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614611a3a576119e26103e861121d600854600454611dfd90919063ffffffff16565b836119ec86610f3a565b6119f691906123ac565b1115611a3a5760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610b44565b611a4384611ffa565b15611a9357306001600160a01b0316636ac5eeee6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611a80575f80fd5b505af1925050508015611a91575060015b505b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b031603611b39576040805160018152602081018690527fda1382e9d46d51bc7bb1ca2f7b95af327f7106f5d7d5df69d2f3de2644165bfc910160405180910390a18360155f828254611b1891906123ac565b9091555050600b54611b329060649061121d908590611dfd565b9050611bd9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031603611bd957604080515f8152602081018690527fda1382e9d46d51bc7bb1ca2f7b95af327f7106f5d7d5df69d2f3de2644165bfc910160405180910390a18360165f828254611bbc91906123ac565b9091555050600c54611bd69060649061121d908590611dfd565b90505b8015611ca4576001600160a01b0386165f9081526019602052604081208054839290611c06908490612372565b9091555050305f9081526019602052604081208054839290611c299084906123ac565b909155505060055430906001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c6b908590611df2565b60405190815260200160405180910390a3611c868183612372565b600d54909250640100000000900460ff1615611ca457611ca4612082565b505b6001600160a01b0385165f90815260196020526040902054611cc89082611f7a565b6001600160a01b038087165f908152601960205260408082209390935590861681522054611cf69082611de7565b6001600160a01b0385165f908152601960205260409020556005547fdd970dd9b5bfe707922155b058a407655cb18288b807e2216442bca8ad83d6b590611d3e908390611df2565b604051611d799190604080825260119082015270105b5bdd5b9d081d1c985b9cd9995c9959607a1b6060820152602081019190915260800190565b60405180910390a1836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611dcb60055485611df290919063ffffffff16565b60405190815260200160405180910390a3506001949350505050565b5f6110f582846123ac565b5f6110f582846123d6565b5f6110f582846123bf565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611e3b57611e3b612404565b6001600160a01b03928316602091820292909201810191909152600354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb691906123e9565b81600181518110611ec957611ec9612404565b6001600160a01b03928316602091820292909201015260035460095460405163791ac94760e01b81529183169263791ac94792611f149287925f92889290911690429060040161248e565b5f604051808303815f87803b158015611673575f80fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6110f58284612372565b5f7f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611fe1575f80fd5b505af1925050508015611ff2575060015b15610cfd5750565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156120465750600d54600160381b900460ff16155b801561205b5750600d546301000000900460ff165b8015610b14575060055460065461207191611df2565b61207a30610f3a565b101592915050565b6005600c5411156120a557600160135f82825461209f91906123ac565b90915550505b601454601354036120bc57600f600b55601e600c55565b6014546120ca906002611dfd565b601354036120de57600a600b556014600c55565b6014546120ec906003611dfd565b601354101580156120ff57506005600c54115b15610f72576005600b819055600c55600d805464ff0000000019169055565b5f6020808352835180828501525f5b818110156121495785810183015185820160400152820161212d565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610cfd575f80fd5b5f806040838503121561218e575f80fd5b823561219981612169565b946020939093013593505050565b803580151581146121b6575f80fd5b919050565b5f602082840312156121cb575f80fd5b6110f5826121a7565b5f80604083850312156121e5575f80fd5b50508035926020909101359150565b5f805f60608486031215612206575f80fd5b833561221181612169565b9250602084013561222181612169565b929592945050506040919091013590565b5f60208284031215612242575f80fd5b81356110f581612169565b5f806040838503121561225e575f80fd5b823561226981612169565b9150602083013561227981612169565b809150509250929050565b5f8060408385031215612295575f80fd5b82356122a081612169565b91506122ae602084016121a7565b90509250929050565b5f80604083850312156122c8575f80fd5b6122a0836121a7565b5f602082840312156122e1575f80fd5b5035919050565b5f80604083850312156122f9575f80fd5b612199836121a7565b600181811c9082168061231657607f821691505b60208210810361233457634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600a90820152694e6f74206f7261636c6560b01b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610b1457610b1461235e565b634e487b7160e01b5f52601260045260245ffd5b5f826123a7576123a7612385565b500690565b80820180821115610b1457610b1461235e565b8082028115828204841417610b1457610b1461235e565b5f826123e4576123e4612385565b500490565b5f602082840312156123f9575f80fd5b81516110f581612169565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b8381101561244f5781516001600160a01b03168752958201959082019060010161242a565b509495945050505050565b848152608060208201525f6124726080830186612418565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a060408201525f6124ac60a0830186612418565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212205e3ab8131365a184b4a4682d8538ef634f59dd00c2a3a7c2460a529ffaf38a8a64736f6c63430008140033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000d731a598a9a47e9b932a79b27a333544b1fb419e00000000000000000000000087dddc3fc821a4909d3d7a6019a5ab346d8b3123
Deployed Bytecode
0x608060405260043610610374575f3560e01c8063658ac07b116101c8578063bc1b392d116100fd578063df20fd491161009d578063f2fde38b1161006d578063f2fde38b146109c3578063f5769f5c146109e2578063f8ec691114610a01578063fcc3a28914610a09575f80fd5b8063df20fd491461094b578063e91652bd1461096a578063ed1410bf14610983578063f14f295e14610998575f80fd5b8063c6005893116100d8578063c6005893146108bf578063d41c435e146108de578063d85a2828146108f3578063dd62ed3e14610907575f80fd5b8063bc1b392d14610878578063c21b72551461088b578063c5d305ae146108aa575f80fd5b806395d89b4111610168578063a457c2d711610143578063a457c2d7146107f3578063a9059cbb14610812578063aed8d6ba14610831578063af14052c14610864575f80fd5b806395d89b41146107a157806399fd7efb146107b5578063a060533f146107d4575f80fd5b806370a08231116101a357806370a0823114610733578063715018a61461075257806387651fe1146107665780638da5cb5b14610785575f80fd5b8063658ac07b146106e15780636ac5eeee146106ff5780636ddd171314610713575f80fd5b806339509351116102a9578063414e93fb116102495780634f6c3766116102195780634f6c376614610674578063571ac8b01461068f5780636135af2a146106ae57806362256589146106cd575f80fd5b8063414e93fb146105e75780634a62bb65146105fb5780634d9ddce71461061d5780634f00beaf14610653575f80fd5b80633af32abf116102845780633af32abf1461057a5780633d51ed55146105a85780633eaaf86b146105bd578063407d5143146105d2575f80fd5b80633950935114610532578063396adb2d146105515780633ac0b1ee14610565575f80fd5b80631cd343c711610314578063313ce567116102ef578063313ce567146104ca578063329ceacd146104e5578063364333f4146104fe57806339071c9e14610512575f80fd5b80631cd343c71461045557806323b872dd1461047457806325ec340b14610493575f80fd5b80630f58cfa71161034f5780630f58cfa7146103f757806316ce74eb14610418578063180606ac1461042c57806318160ddd14610441575f80fd5b80630645c9e71461037f57806306fdde03146103a7578063095ea7b3146103c8575f80fd5b3661037b57005b5f80fd5b34801561038a575f80fd5b5061039460085481565b6040519081526020015b60405180910390f35b3480156103b2575f80fd5b506103bb610a1e565b60405161039e919061211e565b3480156103d3575f80fd5b506103e76103e236600461217d565b610aae565b604051901515815260200161039e565b348015610402575f80fd5b506104166104113660046121bb565b610b1a565b005b348015610423575f80fd5b50610416610b6e565b348015610437575f80fd5b50610394600c5481565b34801561044c575f80fd5b50600454610394565b348015610460575f80fd5b5061041661046f3660046121d4565b610b90565b34801561047f575f80fd5b506103e761048e3660046121f4565b610ba3565b34801561049e575f80fd5b506002546104b2906001600160a01b031681565b6040516001600160a01b03909116815260200161039e565b3480156104d5575f80fd5b506040516012815260200161039e565b3480156104f0575f80fd5b5060155460165414156103e7565b348015610509575f80fd5b50610416610ca4565b34801561051d575f80fd5b50600d546103e790600160301b900460ff1681565b34801561053d575f80fd5b506103e761054c36600461217d565b610d00565b34801561055c575f80fd5b50610394610d83565b348015610570575f80fd5b5061039460165481565b348015610585575f80fd5b506103e7610594366004612232565b601b6020525f908152604090205460ff1681565b3480156105b3575f80fd5b50610394600b5481565b3480156105c8575f80fd5b5061039460045481565b3480156105dd575f80fd5b5061039460145481565b3480156105f2575f80fd5b50610416610da4565b348015610606575f80fd5b50600d546103e79065010000000000900460ff1681565b348015610628575f80fd5b5061039461063736600461224d565b601a60209081525f928352604080842090915290825290205481565b34801561065e575f80fd5b50600d546103e790640100000000900460ff1681565b34801561067f575f80fd5b50610394670de0b6b3a764000081565b34801561069a575f80fd5b506103e76106a9366004612232565b610e0b565b3480156106b9575f80fd5b506104166106c8366004612284565b610e17565b3480156106d8575f80fd5b50610416610e49565b3480156106ec575f80fd5b50600d546103e790610100900460ff1681565b34801561070a575f80fd5b50610416610eac565b34801561071e575f80fd5b50600d546103e7906301000000900460ff1681565b34801561073e575f80fd5b5061039461074d366004612232565b610f3a565b34801561075d575f80fd5b50610416610f61565b348015610771575f80fd5b506104166107803660046122b7565b610f74565b348015610790575f80fd5b505f546001600160a01b03166104b2565b3480156107ac575f80fd5b506103bb610fc2565b3480156107c0575f80fd5b506104166107cf3660046121d4565b610fd1565b3480156107df575f80fd5b50600d546103e79062010000900460ff1681565b3480156107fe575f80fd5b506103e761080d36600461217d565b611006565b34801561081d575f80fd5b506103e761082c36600461217d565b6110e9565b34801561083c575f80fd5b506104b27f000000000000000000000000ebc0f1c1618bcfcc02e17a698d83732aa68ce00681565b34801561086f575f80fd5b506104166110fc565b348015610883575f80fd5b506103945f81565b348015610896575f80fd5b506104166108a53660046122d1565b6113e9565b3480156108b5575f80fd5b5061039460075481565b3480156108ca575f80fd5b506003546104b2906001600160a01b031681565b3480156108e9575f80fd5b5061039460015481565b3480156108fe575f80fd5b506104166113f6565b348015610912575f80fd5b5061039461092136600461224d565b6001600160a01b039182165f908152601a6020908152604080832093909416825291909152205490565b348015610956575f80fd5b506104166109653660046122e8565b611411565b348015610975575f80fd5b50600d546103e79060ff1681565b34801561098e575f80fd5b5061039460055481565b3480156109a3575f80fd5b506103946109b2366004612232565b60196020525f908152604090205481565b3480156109ce575f80fd5b506104166109dd366004612232565b61146e565b3480156109ed575f80fd5b506104166109fc3660046121d4565b6114a8565b6104166114dd565b348015610a14575f80fd5b5061039460155481565b606060178054610a2d90612302565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5990612302565b8015610aa45780601f10610a7b57610100808354040283529160200191610aa4565b820191905f5260205f20905b815481529060010190602001808311610a8757829003601f168201915b5050505050905090565b335f818152601a602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b089086815260200190565b60405180910390a35060015b92915050565b6009546001600160a01b03163314610b4d5760405162461bcd60e51b8152600401610b449061233a565b60405180910390fd5b600d8054911515600160301b0266ff00000000000019909216919091179055565b610b7661168d565b600d805464ff00000000191690556005600b819055600c55565b610b9861168d565b600791909155600855565b6001600160a01b0383165f908152601a602090815260408083203384529091528120545f1914610c91576001600160a01b0384165f908152601a60209081526040808320338452909152902054821115610c3f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b44565b6001600160a01b0384165f908152601a60209081526040808320338452909152902054610c6d908390612372565b6001600160a01b0385165f908152601a602090815260408083203384529091529020555b610c9c8484846116b9565b949350505050565b610cac61168d565b6040515f90339047908381818185875af1925050503d805f8114610ceb576040519150601f19603f3d011682016040523d82523d5f602084013e610cf0565b606091505b5050905080610cfd575f80fd5b50565b335f908152601a602090815260408083206001600160a01b0386168452909152812054610d2d9083611de7565b335f818152601a602090815260408083206001600160a01b038916808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610b08565b610d96670de0b6b3a76400005f19612399565b610da1905f19612372565b81565b610dac61168d565b600d5462010000900460ff1615610df65760405162461bcd60e51b815260206004820152600e60248201526d151bdad95b881b185d5b98da195960921b6044820152606401610b44565b600d805463ffff000019166301010000179055565b5f610b14825f19610aae565b610e1f61168d565b6001600160a01b03919091165f908152601b60205260409020805460ff1916911515919091179055565b6009546001600160a01b03163314610e735760405162461bcd60e51b8152600401610b449061233a565b600d805465ff0000000000191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b600d805460ff60381b1916600160381b1790555f610ec930610f3a565b9050805f03610ed85750610f2b565b610efa6014610ef4600554600654611df290919063ffffffff16565b90611dfd565b811115610f2057610f1d6014610ef4600554600654611df290919063ffffffff16565b90505b610f2981611e08565b505b600d805460ff60381b19169055565b6005546001600160a01b0382165f908152601960205260408120549091610b149190611df2565b610f6961168d565b610f725f611f2b565b565b6009546001600160a01b03163314610f9e5760405162461bcd60e51b8152600401610b449061233a565b600d805461ffff191692151561ff0019169290921761010091151591909102179055565b606060188054610a2d90612302565b6009546001600160a01b03163314610ffb5760405162461bcd60e51b8152600401610b449061233a565b601091909155601255565b335f908152601a602090815260408083206001600160a01b038616845290915281205480831061105857335f908152601a602090815260408083206001600160a01b0388168452909152812055611086565b6110628184611f7a565b335f908152601a602090815260408083206001600160a01b03891684529091529020555b335f818152601a602090815260408083206001600160a01b038916808552908352928190205490519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b5f6110f53384846116b9565b9392505050565b6009546001600160a01b031633146111265760405162461bcd60e51b8152600401610b449061233a565b6004546015546016544292915f91829110156111465760165491506111c9565b601654601554111561115e57505060155460016111c9565b60408051818152601e818301527f73616d6520616d6f756e742c206e6f206e65656420746f20726562617365000060608201525f602082015290517fdd970dd9b5bfe707922155b058a407655cb18288b807e2216442bca8ad83d6b59181900360800190a150505050565b600e546111d990620151806123ac565b84106111ea57600e84905560018390555b801561129d57600d54610100900460ff161561124a576112236103e861121d601154600154611dfd90919063ffffffff16565b90611df2565b82111561124a576112476103e861121d601154600154611dfd90919063ffffffff16565b91505b600d5460ff1680156112755750600f5460015461126691611dfd565b6004546112739084611de7565b115b1561129057600f5460015461128991611dfd565b9250611340565b6004546112899083611de7565b600d54610100900460ff16156112f1576112ca6103e861121d601254600154611dfd90919063ffffffff16565b8211156112f1576112ee6103e861121d601254600154611dfd90919063ffffffff16565b91505b600d5460ff16801561131c575060105460015461130d91611df2565b60045461131a9084611f7a565b105b156113305760105460015461128991611df2565b60045461133d9083611f7a565b92505b6001600160801b0383111561135a576001600160801b0392505b600483905561138183611376670de0b6b3a76400005f19612399565b61121d905f19612372565b6005555f6016819055601555600d54600160301b900460ff16156113a7576113a7611f85565b837f11c6bf55864ff83827df712625d7a80e5583eef0264921025e7cd22003a215116004546040516113db91815260200190565b60405180910390a250505050565b6113f161168d565b601455565b6113fe61168d565b610cfd303361140c30610f3a565b6116b9565b61141961168d565b600d805463ff0000001916630100000084151502179055620186a081611448670de0b6b3a76400005f19612399565b611453905f19612372565b61145d91906123bf565b61146791906123d6565b6006555050565b61147661168d565b6001600160a01b03811661149f57604051631e4fbdf760e01b81525f6004820152602401610b44565b610cfd81611f2b565b6009546001600160a01b031633146114d25760405162461bcd60e51b8152600401610b449061233a565b600f91909155601155565b6009546001600160a01b031633146115075760405162461bcd60e51b8152600401610b449061233a565b5f34116115445760405162461bcd60e51b815260206004820152600b60248201526a139bc8115512081cd95b9d60aa1b6044820152606401610b44565b6040805160028082526060820183525f926020830190803683375050600354604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156115ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115cf91906123e9565b815f815181106115e1576115e1612404565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061161557611615612404565b6001600160a01b03928316602091820292909201015260035460405163b6f9de9560e01b815291169063b6f9de9590349061165c905f90869061dead90429060040161245a565b5f604051808303818588803b158015611673575f80fd5b505af1158015611685573d5f803e3d5ffd5b505050505050565b5f546001600160a01b03163314610f725760405163118cdaa760e01b8152336004820152602401610b44565b5f80821161171b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610b44565b61deac196001600160a01b038516016117725760405162461bcd60e51b8152602060048201526019602482015278506c6561736520757365206120676f6f64206164647265737360381b6044820152606401610b44565b6001600160a01b0384166117c45760405162461bcd60e51b8152602060048201526019602482015278506c6561736520757365206120676f6f64206164647265737360381b6044820152606401610b44565b5f6117da60055484611dfd90919063ffffffff16565b6001600160a01b0386165f9081526019602052604090205490915081111561183b5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b6044820152606401610b44565b600d54600160381b900460ff1615801561186d57506001600160a01b0385165f908152601b602052604090205460ff16155b801561189157506001600160a01b0384165f908152601b602052604090205460ff16155b15611ca657600d5462010000900460ff166118e15760405162461bcd60e51b815260206004820152601060248201526f54726164696e67206e6f74206c69766560801b6044820152606401610b44565b600d5465010000000000900460ff1615611a3a577f000000000000000000000000ebc0f1c1618bcfcc02e17a698d83732aa68ce0066001600160a01b0316856001600160a01b03160361198c5761194b6103e861121d600754600454611dfd90919063ffffffff16565b83111561198c5760405162461bcd60e51b815260206004820152600f60248201526e13585e08151e08115e18d959591959608a1b6044820152606401610b44565b7f000000000000000000000000ebc0f1c1618bcfcc02e17a698d83732aa68ce0066001600160a01b0316846001600160a01b031614611a3a576119e26103e861121d600854600454611dfd90919063ffffffff16565b836119ec86610f3a565b6119f691906123ac565b1115611a3a5760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610b44565b611a4384611ffa565b15611a9357306001600160a01b0316636ac5eeee6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611a80575f80fd5b505af1925050508015611a91575060015b505b5f7f000000000000000000000000ebc0f1c1618bcfcc02e17a698d83732aa68ce0066001600160a01b0316866001600160a01b031603611b39576040805160018152602081018690527fda1382e9d46d51bc7bb1ca2f7b95af327f7106f5d7d5df69d2f3de2644165bfc910160405180910390a18360155f828254611b1891906123ac565b9091555050600b54611b329060649061121d908590611dfd565b9050611bd9565b7f000000000000000000000000ebc0f1c1618bcfcc02e17a698d83732aa68ce0066001600160a01b0316856001600160a01b031603611bd957604080515f8152602081018690527fda1382e9d46d51bc7bb1ca2f7b95af327f7106f5d7d5df69d2f3de2644165bfc910160405180910390a18360165f828254611bbc91906123ac565b9091555050600c54611bd69060649061121d908590611dfd565b90505b8015611ca4576001600160a01b0386165f9081526019602052604081208054839290611c06908490612372565b9091555050305f9081526019602052604081208054839290611c299084906123ac565b909155505060055430906001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c6b908590611df2565b60405190815260200160405180910390a3611c868183612372565b600d54909250640100000000900460ff1615611ca457611ca4612082565b505b6001600160a01b0385165f90815260196020526040902054611cc89082611f7a565b6001600160a01b038087165f908152601960205260408082209390935590861681522054611cf69082611de7565b6001600160a01b0385165f908152601960205260409020556005547fdd970dd9b5bfe707922155b058a407655cb18288b807e2216442bca8ad83d6b590611d3e908390611df2565b604051611d799190604080825260119082015270105b5bdd5b9d081d1c985b9cd9995c9959607a1b6060820152602081019190915260800190565b60405180910390a1836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611dcb60055485611df290919063ffffffff16565b60405190815260200160405180910390a3506001949350505050565b5f6110f582846123ac565b5f6110f582846123d6565b5f6110f582846123bf565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611e3b57611e3b612404565b6001600160a01b03928316602091820292909201810191909152600354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb691906123e9565b81600181518110611ec957611ec9612404565b6001600160a01b03928316602091820292909201015260035460095460405163791ac94760e01b81529183169263791ac94792611f149287925f92889290911690429060040161248e565b5f604051808303815f87803b158015611673575f80fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6110f58284612372565b5f7f000000000000000000000000ebc0f1c1618bcfcc02e17a698d83732aa68ce0069050806001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611fe1575f80fd5b505af1925050508015611ff2575060015b15610cfd5750565b5f7f000000000000000000000000ebc0f1c1618bcfcc02e17a698d83732aa68ce0066001600160a01b0316826001600160a01b03161480156120465750600d54600160381b900460ff16155b801561205b5750600d546301000000900460ff165b8015610b14575060055460065461207191611df2565b61207a30610f3a565b101592915050565b6005600c5411156120a557600160135f82825461209f91906123ac565b90915550505b601454601354036120bc57600f600b55601e600c55565b6014546120ca906002611dfd565b601354036120de57600a600b556014600c55565b6014546120ec906003611dfd565b601354101580156120ff57506005600c54115b15610f72576005600b819055600c55600d805464ff0000000019169055565b5f6020808352835180828501525f5b818110156121495785810183015185820160400152820161212d565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610cfd575f80fd5b5f806040838503121561218e575f80fd5b823561219981612169565b946020939093013593505050565b803580151581146121b6575f80fd5b919050565b5f602082840312156121cb575f80fd5b6110f5826121a7565b5f80604083850312156121e5575f80fd5b50508035926020909101359150565b5f805f60608486031215612206575f80fd5b833561221181612169565b9250602084013561222181612169565b929592945050506040919091013590565b5f60208284031215612242575f80fd5b81356110f581612169565b5f806040838503121561225e575f80fd5b823561226981612169565b9150602083013561227981612169565b809150509250929050565b5f8060408385031215612295575f80fd5b82356122a081612169565b91506122ae602084016121a7565b90509250929050565b5f80604083850312156122c8575f80fd5b6122a0836121a7565b5f602082840312156122e1575f80fd5b5035919050565b5f80604083850312156122f9575f80fd5b612199836121a7565b600181811c9082168061231657607f821691505b60208210810361233457634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600a90820152694e6f74206f7261636c6560b01b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610b1457610b1461235e565b634e487b7160e01b5f52601260045260245ffd5b5f826123a7576123a7612385565b500690565b80820180821115610b1457610b1461235e565b8082028115828204841417610b1457610b1461235e565b5f826123e4576123e4612385565b500490565b5f602082840312156123f9575f80fd5b81516110f581612169565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b8381101561244f5781516001600160a01b03168752958201959082019060010161242a565b509495945050505050565b848152608060208201525f6124726080830186612418565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a060408201525f6124ac60a0830186612418565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212205e3ab8131365a184b4a4682d8538ef634f59dd00c2a3a7c2460a529ffaf38a8a64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d731a598a9a47e9b932a79b27a333544b1fb419e00000000000000000000000087dddc3fc821a4909d3d7a6019a5ab346d8b3123
-----Decoded View---------------
Arg [0] : mkt (address): 0xD731A598A9a47e9B932A79b27A333544B1fb419e
Arg [1] : dev (address): 0x87ddDc3fc821A4909D3D7a6019a5aB346D8B3123
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d731a598a9a47e9b932a79b27a333544b1fb419e
Arg [1] : 00000000000000000000000087dddc3fc821a4909d3d7a6019a5ab346d8b3123
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.