Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 85 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Renounce Ownersh... | 17132896 | 618 days ago | IN | 0 ETH | 0.00107384 | ||||
Approve | 17132864 | 618 days ago | IN | 0 ETH | 0.00186028 | ||||
Approve | 17132864 | 618 days ago | IN | 0 ETH | 0.00186028 | ||||
Approve | 17132864 | 618 days ago | IN | 0 ETH | 0.00186028 | ||||
Approve | 17132864 | 618 days ago | IN | 0 ETH | 0.00186028 | ||||
Approve | 17132864 | 618 days ago | IN | 0 ETH | 0.00186028 | ||||
Approve | 17132863 | 618 days ago | IN | 0 ETH | 0.00189607 | ||||
Approve | 17132839 | 618 days ago | IN | 0 ETH | 0.00218865 | ||||
Approve | 17132837 | 618 days ago | IN | 0 ETH | 0.00213698 | ||||
Approve | 17132834 | 618 days ago | IN | 0 ETH | 0.00232185 | ||||
Approve | 17132831 | 618 days ago | IN | 0 ETH | 0.00224394 | ||||
Approve | 17132828 | 618 days ago | IN | 0 ETH | 0.00279042 | ||||
Approve | 17132826 | 618 days ago | IN | 0 ETH | 0.00246487 | ||||
Approve | 17132825 | 618 days ago | IN | 0 ETH | 0.00279042 | ||||
Approve | 17132825 | 618 days ago | IN | 0 ETH | 0.00279042 | ||||
Approve | 17132825 | 618 days ago | IN | 0 ETH | 0.00250545 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.00229159 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.00229159 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.00229159 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.00229159 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.00229159 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.00229159 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.0023854 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.0023854 | ||||
Approve | 17132824 | 618 days ago | IN | 0 ETH | 0.00242674 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PepinaContract
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** telegram: t.me/pepinacoineth /** */ // SPDX-License-Identifier: MIT /** */ pragma solidity ^0.8.17; /** * Abstract contract to easily change things when deploying new projects. Saves me having to find it everywhere. */ abstract contract Project { address public marketingWallet = 0x6271B60545ec3d6688C9ddCA77c23cBE516C4722; address public devWallet = 0x6271B60545ec3d6688C9ddCA77c23cBE516C4722; string constant _name = "PEPINA"; string constant _symbol = "PEPINA"; uint8 constant _decimals = 9; uint256 _totalSupply = 1 * 10000**6 * 10**_decimals; uint256 public _maxTxAmount = (_totalSupply * 10) / 1000; // (_totalSupply * 10) / 1000 [this equals 1%] uint256 public _maxWalletToken = (_totalSupply * 10) / 1000; // uint256 public buyFee = 0; uint256 public buyTotalFee = buyFee; uint256 public swapLpFee = 0; uint256 public swapMarketing = 0; uint256 public swapTreasuryFee = 0; uint256 public swapTotalFee = swapMarketing + swapLpFee + swapTreasuryFee; uint256 public transFee = 0; uint256 public feeDenominator = 100; } /** * @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, 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; } } } interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function getOwner() external view returns (address); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address _owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } abstract contract Context { //function _msgSender() internal view virtual returns (address payable) { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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. */ contract Ownable is Context { address private _owner; address private _previousOwner; uint256 private _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } function geUnlockTime() public view returns (uint256) { return _lockTime; } //Locks the contract for owner for the amount of time provided function lock(uint256 time) public virtual onlyOwner { _previousOwner = _owner; _owner = address(0); _lockTime = block.timestamp + time; emit OwnershipTransferred(_owner, address(0)); } //Unlocks the contract for owner when _lockTime is exceeds function unlock() public virtual { require(_previousOwner == msg.sender, "You don't have permission to unlock"); require(block.timestamp > _lockTime , "Contract is locked until 7 days"); emit OwnershipTransferred(_owner, _previousOwner); _owner = _previousOwner; } } 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; } 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; } 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); } 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; } /** * MainContract */ contract PepinaContract is Project, IERC20, Ownable { using SafeMath for uint256; address DEAD = 0x000000000000000000000000000000000000dEaD; address ZERO = 0x0000000000000000000000000000000000000000; mapping (address => uint256) _balances; mapping (address => mapping (address => uint256)) _allowances; mapping (address => bool) isFeeExempt; mapping (address => bool) isTxLimitExempt; mapping (address => bool) isMaxExempt; mapping (address => bool) isTimelockExempt; address public autoLiquidityReceiver; uint256 targetLiquidity = 20; uint256 targetLiquidityDenominator = 100; IUniswapV2Router02 public immutable contractRouter; address public immutable uniswapV2Pair; bool public tradingOpen = false; bool public buyCooldownEnabled = true; uint8 public cooldownTimerInterval = 10; mapping (address => uint) private cooldownTimer; bool public swapEnabled = true; uint256 public swapThreshold = _totalSupply * 30 / 10000; uint256 public swapAmount = _totalSupply * 30 / 10000; bool inSwap; modifier swapping() { inSwap = true; _; inSwap = false; } constructor () { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); //Mainnet & Testnet ETH // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables contractRouter = _uniswapV2Router; _allowances[address(this)][address(contractRouter)] = type(uint256).max; isFeeExempt[msg.sender] = true; isTxLimitExempt[msg.sender] = true; isMaxExempt[msg.sender] = true; isTimelockExempt[msg.sender] = true; isTimelockExempt[DEAD] = true; isTimelockExempt[address(this)] = true; isFeeExempt[marketingWallet] = true; isMaxExempt[marketingWallet] = true; isTxLimitExempt[marketingWallet] = true; autoLiquidityReceiver = msg.sender; _balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } receive() external payable { } function totalSupply() external view override returns (uint256) { return _totalSupply; } function decimals() external pure override returns (uint8) { return _decimals; } function symbol() external pure override returns (string memory) { return _symbol; } function name() external pure override returns (string memory) { return _name; } function getOwner() external view override returns (address) { return owner(); } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function approveMax(address spender) external returns (bool) { return approve(spender, type(uint256).max); } 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(_allowances[sender][msg.sender] != type(uint256).max){ _allowances[sender][msg.sender] = _allowances[sender][msg.sender].sub(amount, "Insufficient Allowance"); } return _transferFrom(sender, recipient, amount); } function setMaxWalletPercent_base1000(uint256 maxWallPercent_base1000) external onlyOwner() { _maxWalletToken = (_totalSupply * maxWallPercent_base1000 ) / 1000; } function setMaxTxPercent_base1000(uint256 maxTXPercentage_base1000) external onlyOwner() { _maxTxAmount = (_totalSupply * maxTXPercentage_base1000 ) / 1000; } function setTxLimit(uint256 amount) external onlyOwner() { _maxTxAmount = amount; } // *** // Functions for the burning mechanism // *** /** * Burn an amount of tokens for the current wallet (if they have enough) */ function burnTokens(uint256 amount) external { // does this user have enough tokens to perform the burn if(_balances[msg.sender] > amount) { _basicTransfer(msg.sender, DEAD, amount); } } // *** // End functions for the burning mechanism // *** function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) { if(inSwap){ return _basicTransfer(sender, recipient, amount); } if(sender != owner() && recipient != owner()){ require(tradingOpen,"Trading not open yet"); } bool inSell = (recipient == uniswapV2Pair); bool inTransfer = (recipient != uniswapV2Pair && sender != uniswapV2Pair); if (recipient != address(this) && recipient != address(DEAD) && recipient != uniswapV2Pair && recipient != marketingWallet && recipient != devWallet && recipient != autoLiquidityReceiver ){ uint256 heldTokens = balanceOf(recipient); if(!isMaxExempt[recipient]) { require((heldTokens + amount) <= _maxWalletToken,"Total Holding is currently limited, you can not buy that much."); } } if (sender == uniswapV2Pair && buyCooldownEnabled && !isTimelockExempt[recipient] ){ require(cooldownTimer[recipient] < block.timestamp,"Please wait for 1min between two buys"); cooldownTimer[recipient] = block.timestamp + cooldownTimerInterval; } // Checks max transaction limit // but no point if the recipient is exempt // this check ensures that someone that is buying and is txnExempt then they are able to buy any amount if(!isTxLimitExempt[recipient]) { checkTxLimit(sender, amount); } //Exchange tokens _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); uint256 amountReceived = amount; // Do NOT take a fee if sender AND recipient are NOT the contract // i.e. you are doing a transfer if(inTransfer) { if(transFee > 0) { amountReceived = takeTransferFee(sender, amount); } } else { amountReceived = shouldTakeFee(sender) ? takeFee(sender, amount, inSell) : amount; if(shouldSwapBack()){ swapBack(); } } _balances[recipient] = _balances[recipient].add(amountReceived); emit Transfer(sender, recipient, amountReceived); return true; } function _basicTransfer(address sender, address recipient, uint256 amount) internal returns (bool) { _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); return true; } function checkTxLimit(address sender, uint256 amount) internal view { require(amount <= _maxTxAmount || isTxLimitExempt[sender], "TX Limit Exceeded"); } function shouldTakeFee(address sender) internal view returns (bool) { return !isFeeExempt[sender]; } // *** // Handle Fees // *** function takeTransferFee(address sender, uint256 amount) internal returns (uint256) { uint256 feeToTake = transFee; uint256 feeAmount = amount.mul(feeToTake).mul(100).div(feeDenominator * 100); _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); return amount.sub(feeAmount); } function takeFee(address sender, uint256 amount, bool isSell) internal returns (uint256) { uint256 feeToTake = isSell ? swapTotalFee : buyTotalFee; uint256 feeAmount = amount.mul(feeToTake).mul(100).div(feeDenominator * 100); _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); return amount.sub(feeAmount); } // *** // End Handle Fees // *** function shouldSwapBack() internal view returns (bool) { return msg.sender != uniswapV2Pair && !inSwap && swapEnabled && _balances[address(this)] >= swapThreshold; } function clearStuckBalance(uint256 amountPercentage) external onlyOwner() { uint256 amountETH = address(this).balance; payable(marketingWallet).transfer(amountETH * amountPercentage / 100); } function clearStuckBalance_sender(uint256 amountPercentage) external onlyOwner() { uint256 amountETH = address(this).balance; payable(msg.sender).transfer(amountETH * amountPercentage / 100); } // switch Trading function tradingStatus(bool _status) public onlyOwner { tradingOpen = _status; } // enable cooldown between trades function cooldownEnabled(bool _status, uint8 _interval) public onlyOwner { buyCooldownEnabled = _status; cooldownTimerInterval = _interval; } function swapBack() internal swapping { uint256 dynamicLiquidityFee = isOverLiquified(targetLiquidity, targetLiquidityDenominator) ? 0 : swapLpFee; uint256 amountToLiquify = swapAmount.mul(dynamicLiquidityFee).div(swapTotalFee).div(2); uint256 amountToSwap = swapAmount.sub(amountToLiquify); address[] memory path = new address[](2); path[0] = address(this); path[1] = contractRouter.WETH(); uint256 balanceBefore = address(this).balance; contractRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp ); uint256 amountETH = address(this).balance.sub(balanceBefore); uint256 totalETHFee = swapTotalFee.sub(dynamicLiquidityFee.div(2)); uint256 amountETHLiquidity = amountETH.mul(swapLpFee).div(totalETHFee).div(2); uint256 amountETHMarketing = amountETH.mul(swapMarketing).div(totalETHFee); uint256 amountETHTreasury = amountETH.mul(swapTreasuryFee).div(totalETHFee); (bool tmpSuccess,) = payable(marketingWallet).call{value: amountETHMarketing, gas: 30000}(""); (tmpSuccess,) = payable(devWallet).call{value: amountETHTreasury, gas: 30000}(""); // Supress warning msg tmpSuccess = false; if(amountToLiquify > 0){ contractRouter.addLiquidityETH{value: amountETHLiquidity}( address(this), amountToLiquify, 0, 0, autoLiquidityReceiver, block.timestamp ); emit AutoLiquify(amountETHLiquidity, amountToLiquify); } } // *** // Various exempt functions // *** function setIsFeeExempt(address holder, bool exempt) external onlyOwner() { isFeeExempt[holder] = exempt; } function setIsMaxExempt(address holder, bool exempt) external onlyOwner() { isMaxExempt[holder] = exempt; } function setIsTxLimitExempt(address holder, bool exempt) external onlyOwner() { isTxLimitExempt[holder] = exempt; } function setIsTimelockExempt(address holder, bool exempt) external onlyOwner() { isTimelockExempt[holder] = exempt; } // *** // End various exempt functions // *** // *** // Start fee things // *** function setTransFee(uint256 fee) external onlyOwner() { transFee = fee; } function setSwapFees(uint256 _newSwapLpFee, uint256 _newSwapMarketingFee, uint256 _newSwapTreasuryFee, uint256 _feeDenominator) external onlyOwner() { swapLpFee = _newSwapLpFee; swapMarketing = _newSwapMarketingFee; swapTreasuryFee = _newSwapTreasuryFee; swapTotalFee = _newSwapLpFee.add(_newSwapMarketingFee).add(_newSwapTreasuryFee); feeDenominator = _feeDenominator; require(swapTotalFee < 90, "Fees cannot be that high"); } function setBuyFees(uint256 buyTax) external onlyOwner() { buyTotalFee = buyTax; } // *** // end fee stuff§2e sw. // *** function setTreasuryFeeReceiver(address _newWallet) external onlyOwner() { isFeeExempt[devWallet] = false; isFeeExempt[_newWallet] = true; devWallet = _newWallet; } function setMarketingWallet(address _newWallet) external onlyOwner() { isFeeExempt[marketingWallet] = false; isFeeExempt[_newWallet] = true; isMaxExempt[_newWallet] = true; marketingWallet = _newWallet; } function setFeeReceivers(address _autoLiquidityReceiver, address _newMarketingWallet, address _newdevWallet ) external onlyOwner() { isFeeExempt[devWallet] = false; isFeeExempt[_newdevWallet] = true; isFeeExempt[marketingWallet] = false; isFeeExempt[_newMarketingWallet] = true; isMaxExempt[_newMarketingWallet] = true; autoLiquidityReceiver = _autoLiquidityReceiver; marketingWallet = _newMarketingWallet; devWallet = _newdevWallet; } // *** // Swap settings // *** function setSwapThresholdAmount(uint256 _amount) external onlyOwner() { swapThreshold = _amount; } function setSwapAmount(uint256 _amount) external onlyOwner() { if(_amount > swapThreshold) { swapAmount = swapThreshold; } else { swapAmount = _amount; } } // *** // End Swap settings // *** function setTargetLiquidity(uint256 _target, uint256 _denominator) external onlyOwner() { targetLiquidity = _target; targetLiquidityDenominator = _denominator; } function getCirculatingSupply() public view returns (uint256) { return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(ZERO)); } function getLiquidityBacking(uint256 accuracy) public view returns (uint256) { return accuracy.mul(balanceOf(uniswapV2Pair).mul(2)).div(getCirculatingSupply()); } function isOverLiquified(uint256 target, uint256 accuracy) public view returns (bool) { return getLiquidityBacking(accuracy) > target; } /* Airdrop */ function airDropCustom(address from, address[] calldata addresses, uint256[] calldata tokens) external onlyOwner { require(addresses.length < 501,"GAS Error: max airdrop limit is 500 addresses"); require(addresses.length == tokens.length,"Mismatch between Address and token count"); uint256 SCCC = 0; for(uint i=0; i < addresses.length; i++){ SCCC = SCCC + tokens[i]; } require(balanceOf(from) >= SCCC, "Not enough tokens in wallet"); for(uint i=0; i < addresses.length; i++){ _basicTransfer(from,addresses[i],tokens[i]); } } function airDropFixed(address from, address[] calldata addresses, uint256 tokens) external onlyOwner { require(addresses.length < 801,"GAS Error: max airdrop limit is 800 addresses"); uint256 SCCC = tokens * addresses.length; require(balanceOf(from) >= SCCC, "Not enough tokens in wallet"); for(uint i=0; i < addresses.length; i++){ _basicTransfer(from,addresses[i],tokens); } } event AutoLiquify(uint256 amountETH, uint256 amountBOG); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountBOG","type":"uint256"}],"name":"AutoLiquify","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":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"airDropCustom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"airDropFixed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoLiquidityReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyCooldownEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountPercentage","type":"uint256"}],"name":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountPercentage","type":"uint256"}],"name":"clearStuckBalance_sender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"},{"internalType":"uint8","name":"_interval","type":"uint8"}],"name":"cooldownEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cooldownTimerInterval","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"accuracy","type":"uint256"}],"name":"getLiquidityBacking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint256","name":"accuracy","type":"uint256"}],"name":"isOverLiquified","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyTax","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_autoLiquidityReceiver","type":"address"},{"internalType":"address","name":"_newMarketingWallet","type":"address"},{"internalType":"address","name":"_newdevWallet","type":"address"}],"name":"setFeeReceivers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsFeeExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsMaxExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsTimelockExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsTxLimitExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTXPercentage_base1000","type":"uint256"}],"name":"setMaxTxPercent_base1000","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWallPercent_base1000","type":"uint256"}],"name":"setMaxWalletPercent_base1000","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSwapLpFee","type":"uint256"},{"internalType":"uint256","name":"_newSwapMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_newSwapTreasuryFee","type":"uint256"},{"internalType":"uint256","name":"_feeDenominator","type":"uint256"}],"name":"setSwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapThresholdAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_target","type":"uint256"},{"internalType":"uint256","name":"_denominator","type":"uint256"}],"name":"setTargetLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setTransFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"setTreasuryFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapLpFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"bool","name":"_status","type":"bool"}],"name":"tradingStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transFee","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405260008054736271b60545ec3d6688c9ddca77c23cbe516c47226001600160a01b03199182168117909255600180549091169091179055620000486009600a6200057a565b6200005e9069d3c21bcecceda100000062000592565b6002556103e8600254600a62000075919062000592565b620000819190620005ac565b6003556103e8600254600a62000098919062000592565b620000a49190620005ac565b600455600060058190556006819055600781905560088190556009819055620000ce8180620005cf565b620000da9190620005cf565b600a556000600b556064600c8190556010805461dead6001600160a01b0319918216179091556011805490911690556014601955601a55601b805462ffffff1916620a0100179055601d805460ff19166001179055600254612710906200014390601e62000592565b6200014f9190620005ac565b601e55612710600254601e62000166919062000592565b620001729190620005ac565b601f553480156200018257600080fd5b50600d80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200021e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002449190620005e5565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000292573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b89190620005e5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000306573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032c9190620005e5565b6001600160a01b0390811660a052818116608081905230600081815260136020908152604080832094835293815283822060001990553380835260148083528584208054600160ff19918216811790925560158086528887208054831684179055601680875289882080548416851790556017875289882080548416851790556010548b1688528988208054841685179055978752888720805483168417905586548a168752928552878620805482168317905585548916865295845286852080548716821790558454909716845282528483208054909416909517909255601880546001600160a01b03191685179055600254848252601283528382208190559251928352917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35062000610565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004bc578160001904821115620004a057620004a062000465565b80851615620004ae57918102915b93841c939080029062000480565b509250929050565b600082620004d55750600162000574565b81620004e45750600062000574565b8160018114620004fd5760028114620005085762000528565b600191505062000574565b60ff8411156200051c576200051c62000465565b50506001821b62000574565b5060208310610133831016604e8410600b84101617156200054d575081810a62000574565b6200055983836200047b565b806000190482111562000570576200057062000465565b0290505b92915050565b60006200058b60ff841683620004c4565b9392505050565b808202811582820484141762000574576200057462000465565b600082620005ca57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000574576200057462000465565b600060208284031215620005f857600080fd5b81516001600160a01b03811681146200058b57600080fd5b60805160a051612d3962000675600039600081816106bb0152818161174501528181611baf01528181611be901528181611c5001528181611d8b01526122e60152600081816107c60152818161240c015281816124c601526126c90152612d396000f3fe6080604052600436106103c75760003560e01c80636d1b229d116101f2578063b6c523241161010d578063dd62ed3e116100a0578063f2fde38b1161006f578063f2fde38b14610b1c578063f53fd58414610b3c578063f84ba65d14610b52578063ffb54a9914610b7257600080fd5b8063dd62ed3e14610a80578063e53c30b014610ac6578063e632313c14610adc578063ee9ef29e14610afc57600080fd5b8063d7c01032116100dc578063d7c0103214610a00578063dcf7aef314610a20578063dd395c6314610a40578063dd46706414610a6057600080fd5b8063b6c523241461098b578063bd9ab537146109a0578063ca33e64c146109c0578063d51ed1c8146109e057600080fd5b80637d1db4a5116101855780638ea5220f116101545780638ea5220f1461093657806395d89b4114610412578063a69df4b514610956578063a9059cbb1461096b57600080fd5b80637d1db4a5146108cd5780638038cbd3146108e3578063893d20e8146109035780638da5cb5b1461091857600080fd5b8063715018a6116101c1578063715018a614610862578063722b62ad1461087757806375f0a8741461089757806378109e54146108b757600080fd5b80636d1b229d146107e85780636ddd17131461080857806370a0823114610822578063713e4ae51461084257600080fd5b80632d594567116102e257806349bd5a5e116102755780635d098b38116102445780635d098b3814610755578063617fe0ed14610775578063658d4b7f1461079457806367ac77b4146107b457600080fd5b806349bd5a5e146106a957806350db71fb146106f5578063571ac8b0146107155780635c85974f1461073557600080fd5b8063442a583d116102b1578063442a583d1461063d57806344a33fd21461065d57806346e421a21461067d578063470624021461069357600080fd5b80632d594567146105cf5780632e8fa821146105ef578063313ce567146106055780633705b3921461062757600080fd5b806318160ddd1161035a578063201e799111610329578063201e79911461055a57806323b872dd1461057a57806329e04b4a1461059a5780632b112e49146105ba57600080fd5b806318160ddd146104ef5780631ad017b9146105045780631da1db5e146105245780631e25dc541461054457600080fd5b8063095ea7b311610396578063095ea7b3146104695780630d295980146104995780631161ae39146104b9578063180b0d7e146104d957600080fd5b8063026f7d15146103d35780630445b667146103fc57806306fdde031461041257806309302dc61461044757600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b506103e960085481565b6040519081526020015b60405180910390f35b34801561040857600080fd5b506103e9601e5481565b34801561041e57600080fd5b506040805180820182526006815265504550494e4160d01b602082015290516103f3919061278e565b34801561045357600080fd5b506104676104623660046127dc565b610b8c565b005b34801561047557600080fd5b5061048961048436600461280a565b610be0565b60405190151581526020016103f3565b3480156104a557600080fd5b506104676104b436600461284b565b610c4d565b3480156104c557600080fd5b506104896104d4366004612866565b610c8a565b3480156104e557600080fd5b506103e9600c5481565b3480156104fb57600080fd5b506002546103e9565b34801561051057600080fd5b5061046761051f366004612888565b610c9e565b34801561053057600080fd5b5061046761053f3660046127dc565b610d18565b34801561055057600080fd5b506103e9600b5481565b34801561056657600080fd5b50610467610575366004612866565b610d96565b34801561058657600080fd5b506104896105953660046128a5565b610dcb565b3480156105a657600080fd5b506104676105b53660046127dc565b610e8d565b3480156105c657600080fd5b506103e9610ebc565b3480156105db57600080fd5b506104676105ea3660046128e6565b610f05565b3480156105fb57600080fd5b506103e9601f5481565b34801561061157600080fd5b5060095b60405160ff90911681526020016103f3565b34801561063357600080fd5b506103e960065481565b34801561064957600080fd5b5061046761065836600461296f565b610f60565b34801561066957600080fd5b506104676106783660046127dc565b6110ae565b34801561068957600080fd5b506103e960075481565b34801561069f57600080fd5b506103e960055481565b3480156106b557600080fd5b506106dd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103f3565b34801561070157600080fd5b506104676107103660046129cb565b6110e9565b34801561072157600080fd5b50610489610730366004612888565b61113e565b34801561074157600080fd5b506104676107503660046127dc565b61114c565b34801561076157600080fd5b50610467610770366004612888565b61117b565b34801561078157600080fd5b50601b5461048990610100900460ff1681565b3480156107a057600080fd5b506104676107af3660046129cb565b611207565b3480156107c057600080fd5b506106dd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107f457600080fd5b506104676108033660046127dc565b61125c565b34801561081457600080fd5b50601d546104899060ff1681565b34801561082e57600080fd5b506103e961083d366004612888565b611290565b34801561084e57600080fd5b5061046761085d366004612a00565b6112ab565b34801561086e57600080fd5b506104676114a9565b34801561088357600080fd5b50601b546106159062010000900460ff1681565b3480156108a357600080fd5b506000546106dd906001600160a01b031681565b3480156108c357600080fd5b506103e960045481565b3480156108d957600080fd5b506103e960035481565b3480156108ef57600080fd5b506104676108fe366004612a83565b61150b565b34801561090f57600080fd5b506106dd6115b7565b34801561092457600080fd5b50600d546001600160a01b03166106dd565b34801561094257600080fd5b506001546106dd906001600160a01b031681565b34801561096257600080fd5b506104676115cb565b34801561097757600080fd5b5061048961098636600461280a565b6116d3565b34801561099757600080fd5b50600f546103e9565b3480156109ac57600080fd5b506104676109bb3660046127dc565b6116e0565b3480156109cc57600080fd5b506018546106dd906001600160a01b031681565b3480156109ec57600080fd5b506103e96109fb3660046127dc565b61172b565b348015610a0c57600080fd5b50610467610a1b366004612ab5565b61177c565b348015610a2c57600080fd5b50610467610a3b3660046127dc565b61183f565b348015610a4c57600080fd5b50610467610a5b3660046129cb565b61186e565b348015610a6c57600080fd5b50610467610a7b3660046127dc565b6118c3565b348015610a8c57600080fd5b506103e9610a9b366004612b00565b6001600160a01b03918216600090815260136020908152604080832093909416825291909152205490565b348015610ad257600080fd5b506103e9600a5481565b348015610ae857600080fd5b50610467610af73660046127dc565b611948565b348015610b0857600080fd5b50610467610b173660046127dc565b61198a565b348015610b2857600080fd5b50610467610b37366004612888565b6119b9565b348015610b4857600080fd5b506103e960095481565b348015610b5e57600080fd5b50610467610b6d3660046129cb565b611a92565b348015610b7e57600080fd5b50601b546104899060ff1681565b600d546001600160a01b03163314610bbf5760405162461bcd60e51b8152600401610bb690612b2e565b60405180910390fd5b6103e881600254610bd09190612b79565b610bda9190612b90565b60045550565b3360008181526013602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c3b9086815260200190565b60405180910390a35060015b92915050565b600d546001600160a01b03163314610c775760405162461bcd60e51b8152600401610bb690612b2e565b601b805460ff1916911515919091179055565b600082610c968361172b565b119392505050565b600d546001600160a01b03163314610cc85760405162461bcd60e51b8152600401610bb690612b2e565b600180546001600160a01b03908116600090815260146020526040808220805460ff19908116909155949092168082529190208054909316821790925580546001600160a01b0319169091179055565b600d546001600160a01b03163314610d425760405162461bcd60e51b8152600401610bb690612b2e565b60005447906001600160a01b03166108fc6064610d5f8585612b79565b610d699190612b90565b6040518115909202916000818181858888f19350505050158015610d91573d6000803e3d6000fd5b505050565b600d546001600160a01b03163314610dc05760405162461bcd60e51b8152600401610bb690612b2e565b601991909155601a55565b6001600160a01b038316600090815260136020908152604080832033845290915281205460001914610e78576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601382528381203382529091529190912054610e53918490611ae7565b6001600160a01b03851660009081526013602090815260408083203384529091529020555b610e83848484611b13565b90505b9392505050565b600d546001600160a01b03163314610eb75760405162461bcd60e51b8152600401610bb690612b2e565b601e55565b601154600090610f0090610ed8906001600160a01b0316611290565b601054610efa90610ef1906001600160a01b0316611290565b60025490612019565b90612019565b905090565b600d546001600160a01b03163314610f2f5760405162461bcd60e51b8152600401610bb690612b2e565b601b805462ffff0019166101009315159390930262ff00001916929092176201000060ff9290921691909102179055565b600d546001600160a01b03163314610f8a5760405162461bcd60e51b8152600401610bb690612b2e565b6103218210610ff15760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3830302061646472657373657360981b6064820152608401610bb6565b6000610ffd8383612b79565b90508061100986611290565b10156110575760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610bb6565b60005b838110156110a6576110938686868481811061107857611078612bb2565b905060200201602081019061108d9190612888565b85612025565b508061109e81612bc8565b91505061105a565b505050505050565b600d546001600160a01b031633146110d85760405162461bcd60e51b8152600401610bb690612b2e565b47336108fc6064610d5f8585612b79565b600d546001600160a01b031633146111135760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6000610c4782600019610be0565b600d546001600160a01b031633146111765760405162461bcd60e51b8152600401610bb690612b2e565b600355565b600d546001600160a01b031633146111a55760405162461bcd60e51b8152600401610bb690612b2e565b600080546001600160a01b039081168252601460209081526040808420805460ff1990811690915594909216808452828420805486166001908117909155601690925291832080549094161790925580546001600160a01b0319169091179055565b600d546001600160a01b031633146112315760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b3360009081526012602052604090205481101561128d5760105461128b9033906001600160a01b031683612025565b505b50565b6001600160a01b031660009081526012602052604090205490565b600d546001600160a01b031633146112d55760405162461bcd60e51b8152600401610bb690612b2e565b6101f5831061133c5760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b6064820152608401610bb6565b82811461139c5760405162461bcd60e51b815260206004820152602860248201527f4d69736d61746368206265747765656e204164647265737320616e6420746f6b604482015267195b8818dbdd5b9d60c21b6064820152608401610bb6565b6000805b848110156113e0578383828181106113ba576113ba612bb2565b90506020020135826113cc9190612be1565b9150806113d881612bc8565b9150506113a0565b50806113eb87611290565b10156114395760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610bb6565b60005b848110156114a05761148d8787878481811061145a5761145a612bb2565b905060200201602081019061146f9190612888565b86868581811061148157611481612bb2565b90506020020135612025565b508061149881612bc8565b91505061143c565b50505050505050565b600d546001600160a01b031633146114d35760405162461bcd60e51b8152600401610bb690612b2e565b600d546040516000916001600160a01b031690600080516020612cc4833981519152908390a3600d80546001600160a01b0319169055565b600d546001600160a01b031633146115355760405162461bcd60e51b8152600401610bb690612b2e565b6007849055600883905560098290556115588261155286866120f9565b906120f9565b600a819055600c829055605a116115b15760405162461bcd60e51b815260206004820152601860248201527f466565732063616e6e6f742062652074686174206869676800000000000000006044820152606401610bb6565b50505050565b6000610f00600d546001600160a01b031690565b600e546001600160a01b031633146116315760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610bb6565b600f5442116116825760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610bb6565b600e54600d546040516001600160a01b039283169290911690600080516020612cc483398151915290600090a3600e54600d80546001600160a01b0319166001600160a01b03909216919091179055565b6000610e86338484611b13565b600d546001600160a01b0316331461170a5760405162461bcd60e51b8152600401610bb690612b2e565b6103e88160025461171b9190612b79565b6117259190612b90565b60035550565b6000610c47611738610ebc565b61177661176f60026117697f0000000000000000000000000000000000000000000000000000000000000000611290565b90612105565b8590612105565b90612111565b600d546001600160a01b031633146117a65760405162461bcd60e51b8152600401610bb690612b2e565b600180546001600160a01b039081166000908152601460209081526040808320805460ff1990811690915595841680845281842080548816871790558354851684528184208054881690559684168084528184208054881687179055601690925282208054909516841790945560188054969092166001600160a01b031996871617909155805485169092179091558054909216179055565b600d546001600160a01b031633146118695760405162461bcd60e51b8152600401610bb690612b2e565b600655565b600d546001600160a01b031633146118985760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b600d546001600160a01b031633146118ed5760405162461bcd60e51b8152600401610bb690612b2e565b600d8054600e80546001600160a01b03199081166001600160a01b0384161790915516905561191c8142612be1565b600f55600d546040516000916001600160a01b031690600080516020612cc4833981519152908390a350565b600d546001600160a01b031633146119725760405162461bcd60e51b8152600401610bb690612b2e565b601e5481111561198557601e54601f5550565b601f55565b600d546001600160a01b031633146119b45760405162461bcd60e51b8152600401610bb690612b2e565b600b55565b600d546001600160a01b031633146119e35760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b038116611a485760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb6565b600d546040516001600160a01b03808416921690600080516020612cc483398151915290600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b03163314611abc5760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b60008184841115611b0b5760405162461bcd60e51b8152600401610bb6919061278e565b505050900390565b60205460009060ff1615611b3357611b2c848484612025565b9050610e86565b600d546001600160a01b03858116911614801590611b5f5750600d546001600160a01b03848116911614155b15611bad57601b5460ff16611bad5760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b6044820152606401610bb6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908416146000811582611c1e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b031614155b90506001600160a01b0385163014801590611c4757506010546001600160a01b03868116911614155b8015611c8557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b8015611c9f57506000546001600160a01b03868116911614155b8015611cb957506001546001600160a01b03868116911614155b8015611cd357506018546001600160a01b03868116911614155b15611d89576000611ce386611290565b6001600160a01b03871660009081526016602052604090205490915060ff16611d8757600454611d138683612be1565b1115611d875760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e00006064820152608401610bb6565b505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b0316148015611dd15750601b54610100900460ff165b8015611df657506001600160a01b03851660009081526017602052604090205460ff16155b15611ea0576001600160a01b0385166000908152601c60205260409020544211611e705760405162461bcd60e51b815260206004820152602560248201527f506c65617365207761697420666f7220316d696e206265747765656e2074776f604482015264206275797360d81b6064820152608401610bb6565b601b54611e869062010000900460ff1642612be1565b6001600160a01b0386166000908152601c60205260409020555b6001600160a01b03851660009081526015602052604090205460ff16611eca57611eca868561211d565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038916600090815260129091529190912054611f1c918690611ae7565b6001600160a01b038716600090815260126020526040902055838115611f5657600b5415611f5157611f4e8786612186565b90505b611f9f565b6001600160a01b03871660009081526014602052604090205460ff1615611f7d5784611f88565b611f88878685612228565b9050611f926122d9565b15611f9f57611f9f612345565b6001600160a01b038616600090815260126020526040902054611fc290826120f9565b6001600160a01b038088166000818152601260205260409081902093909355915190891690600080516020612ce4833981519152906120049085815260200190565b60405180910390a35060019695505050505050565b6000610e868284612bf4565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152601290915291822054612076918490611ae7565b6001600160a01b0380861660009081526012602052604080822093909355908516815220546120a590836120f9565b6001600160a01b038085166000818152601260205260409081902093909355915190861690600080516020612ce4833981519152906120e79086815260200190565b60405180910390a35060019392505050565b6000610e868284612be1565b6000610e868284612b79565b6000610e868284612b90565b6003548111158061214657506001600160a01b03821660009081526015602052604090205460ff165b61128b5760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610bb6565b600080600b54905060006121b1600c5460646121a29190612b79565b61177660646117698887612105565b306000908152601260205260409020549091506121ce90826120f9565b30600081815260126020526040908190209290925590516001600160a01b03871690600080516020612ce48339815191529061220d9085815260200190565b60405180910390a361221f8482612019565b95945050505050565b600080826122385760065461223c565b600a545b90506000612261600c5460646122529190612b79565b61177660646117698987612105565b3060009081526012602052604090205490915061227e90826120f9565b30600081815260126020526040908190209290925590516001600160a01b03881690600080516020612ce4833981519152906122bd9085815260200190565b60405180910390a36122cf8582612019565b9695505050505050565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801590612317575060205460ff16155b80156123255750601d5460ff165b8015610f00575050601e5430600090815260126020526040902054101590565b6020805460ff19166001179055601954601a5460009161236491610c8a565b61237057600754612373565b60005b905060006123976002611776600a5461177686601f5461210590919063ffffffff16565b905060006123b082601f5461201990919063ffffffff16565b604080516002808252606082018352929350600092909160208301908036833701905050905030816000815181106123ea576123ea612bb2565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248c9190612c07565b8160018151811061249f5761249f612bb2565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b815247917f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612504908690600090879030904290600401612c24565b600060405180830381600087803b15801561251e57600080fd5b505af1158015612532573d6000803e3d6000fd5b50505050600061254b824761201990919063ffffffff16565b9050600061256661255d886002612111565b600a5490612019565b905060006125886002611776846117766007548861210590919063ffffffff16565b905060006125a5836117766008548761210590919063ffffffff16565b905060006125c2846117766009548861210590919063ffffffff16565b6000805460405192935090916001600160a01b039091169061753090859084818181858888f193505050503d8060008114612619576040519150601f19603f3d011682016040523d82523d6000602084013e61261e565b606091505b50506001546040519192506001600160a01b0316906175309084906000818181858888f193505050503d8060008114612673576040519150601f19603f3d011682016040523d82523d6000602084013e612678565b606091505b5060009250508a1590506127775760185460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990869060c40160606040518083038185885af1158015612715573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061273a9190612c95565b505060408051868152602081018d90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b50506020805460ff19169055505050505050505050565b600060208083528351808285015260005b818110156127bb5785810183015185820160400152820161279f565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156127ee57600080fd5b5035919050565b6001600160a01b038116811461128d57600080fd5b6000806040838503121561281d57600080fd5b8235612828816127f5565b946020939093013593505050565b8035801515811461284657600080fd5b919050565b60006020828403121561285d57600080fd5b610e8682612836565b6000806040838503121561287957600080fd5b50508035926020909101359150565b60006020828403121561289a57600080fd5b8135610e86816127f5565b6000806000606084860312156128ba57600080fd5b83356128c5816127f5565b925060208401356128d5816127f5565b929592945050506040919091013590565b600080604083850312156128f957600080fd5b61290283612836565b9150602083013560ff8116811461291857600080fd5b809150509250929050565b60008083601f84011261293557600080fd5b50813567ffffffffffffffff81111561294d57600080fd5b6020830191508360208260051b850101111561296857600080fd5b9250929050565b6000806000806060858703121561298557600080fd5b8435612990816127f5565b9350602085013567ffffffffffffffff8111156129ac57600080fd5b6129b887828801612923565b9598909750949560400135949350505050565b600080604083850312156129de57600080fd5b82356129e9816127f5565b91506129f760208401612836565b90509250929050565b600080600080600060608688031215612a1857600080fd5b8535612a23816127f5565b9450602086013567ffffffffffffffff80821115612a4057600080fd5b612a4c89838a01612923565b90965094506040880135915080821115612a6557600080fd5b50612a7288828901612923565b969995985093965092949392505050565b60008060008060808587031215612a9957600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060608486031215612aca57600080fd5b8335612ad5816127f5565b92506020840135612ae5816127f5565b91506040840135612af5816127f5565b809150509250925092565b60008060408385031215612b1357600080fd5b8235612b1e816127f5565b91506020830135612918816127f5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610c4757610c47612b63565b600082612bad57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612bda57612bda612b63565b5060010190565b80820180821115610c4757610c47612b63565b81810381811115610c4757610c47612b63565b600060208284031215612c1957600080fd5b8151610e86816127f5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c745784516001600160a01b031683529383019391830191600101612c4f565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612caa57600080fd5b835192506020840151915060408401519050925092509256fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220584f4ca4df68356ca4c6ff8ec4e3577391b7b1fbcbae64149412563c30772db064736f6c63430008130033
Deployed Bytecode
0x6080604052600436106103c75760003560e01c80636d1b229d116101f2578063b6c523241161010d578063dd62ed3e116100a0578063f2fde38b1161006f578063f2fde38b14610b1c578063f53fd58414610b3c578063f84ba65d14610b52578063ffb54a9914610b7257600080fd5b8063dd62ed3e14610a80578063e53c30b014610ac6578063e632313c14610adc578063ee9ef29e14610afc57600080fd5b8063d7c01032116100dc578063d7c0103214610a00578063dcf7aef314610a20578063dd395c6314610a40578063dd46706414610a6057600080fd5b8063b6c523241461098b578063bd9ab537146109a0578063ca33e64c146109c0578063d51ed1c8146109e057600080fd5b80637d1db4a5116101855780638ea5220f116101545780638ea5220f1461093657806395d89b4114610412578063a69df4b514610956578063a9059cbb1461096b57600080fd5b80637d1db4a5146108cd5780638038cbd3146108e3578063893d20e8146109035780638da5cb5b1461091857600080fd5b8063715018a6116101c1578063715018a614610862578063722b62ad1461087757806375f0a8741461089757806378109e54146108b757600080fd5b80636d1b229d146107e85780636ddd17131461080857806370a0823114610822578063713e4ae51461084257600080fd5b80632d594567116102e257806349bd5a5e116102755780635d098b38116102445780635d098b3814610755578063617fe0ed14610775578063658d4b7f1461079457806367ac77b4146107b457600080fd5b806349bd5a5e146106a957806350db71fb146106f5578063571ac8b0146107155780635c85974f1461073557600080fd5b8063442a583d116102b1578063442a583d1461063d57806344a33fd21461065d57806346e421a21461067d578063470624021461069357600080fd5b80632d594567146105cf5780632e8fa821146105ef578063313ce567146106055780633705b3921461062757600080fd5b806318160ddd1161035a578063201e799111610329578063201e79911461055a57806323b872dd1461057a57806329e04b4a1461059a5780632b112e49146105ba57600080fd5b806318160ddd146104ef5780631ad017b9146105045780631da1db5e146105245780631e25dc541461054457600080fd5b8063095ea7b311610396578063095ea7b3146104695780630d295980146104995780631161ae39146104b9578063180b0d7e146104d957600080fd5b8063026f7d15146103d35780630445b667146103fc57806306fdde031461041257806309302dc61461044757600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b506103e960085481565b6040519081526020015b60405180910390f35b34801561040857600080fd5b506103e9601e5481565b34801561041e57600080fd5b506040805180820182526006815265504550494e4160d01b602082015290516103f3919061278e565b34801561045357600080fd5b506104676104623660046127dc565b610b8c565b005b34801561047557600080fd5b5061048961048436600461280a565b610be0565b60405190151581526020016103f3565b3480156104a557600080fd5b506104676104b436600461284b565b610c4d565b3480156104c557600080fd5b506104896104d4366004612866565b610c8a565b3480156104e557600080fd5b506103e9600c5481565b3480156104fb57600080fd5b506002546103e9565b34801561051057600080fd5b5061046761051f366004612888565b610c9e565b34801561053057600080fd5b5061046761053f3660046127dc565b610d18565b34801561055057600080fd5b506103e9600b5481565b34801561056657600080fd5b50610467610575366004612866565b610d96565b34801561058657600080fd5b506104896105953660046128a5565b610dcb565b3480156105a657600080fd5b506104676105b53660046127dc565b610e8d565b3480156105c657600080fd5b506103e9610ebc565b3480156105db57600080fd5b506104676105ea3660046128e6565b610f05565b3480156105fb57600080fd5b506103e9601f5481565b34801561061157600080fd5b5060095b60405160ff90911681526020016103f3565b34801561063357600080fd5b506103e960065481565b34801561064957600080fd5b5061046761065836600461296f565b610f60565b34801561066957600080fd5b506104676106783660046127dc565b6110ae565b34801561068957600080fd5b506103e960075481565b34801561069f57600080fd5b506103e960055481565b3480156106b557600080fd5b506106dd7f000000000000000000000000cd89783ca7eab70df81b5f188926d2f79543607f81565b6040516001600160a01b0390911681526020016103f3565b34801561070157600080fd5b506104676107103660046129cb565b6110e9565b34801561072157600080fd5b50610489610730366004612888565b61113e565b34801561074157600080fd5b506104676107503660046127dc565b61114c565b34801561076157600080fd5b50610467610770366004612888565b61117b565b34801561078157600080fd5b50601b5461048990610100900460ff1681565b3480156107a057600080fd5b506104676107af3660046129cb565b611207565b3480156107c057600080fd5b506106dd7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156107f457600080fd5b506104676108033660046127dc565b61125c565b34801561081457600080fd5b50601d546104899060ff1681565b34801561082e57600080fd5b506103e961083d366004612888565b611290565b34801561084e57600080fd5b5061046761085d366004612a00565b6112ab565b34801561086e57600080fd5b506104676114a9565b34801561088357600080fd5b50601b546106159062010000900460ff1681565b3480156108a357600080fd5b506000546106dd906001600160a01b031681565b3480156108c357600080fd5b506103e960045481565b3480156108d957600080fd5b506103e960035481565b3480156108ef57600080fd5b506104676108fe366004612a83565b61150b565b34801561090f57600080fd5b506106dd6115b7565b34801561092457600080fd5b50600d546001600160a01b03166106dd565b34801561094257600080fd5b506001546106dd906001600160a01b031681565b34801561096257600080fd5b506104676115cb565b34801561097757600080fd5b5061048961098636600461280a565b6116d3565b34801561099757600080fd5b50600f546103e9565b3480156109ac57600080fd5b506104676109bb3660046127dc565b6116e0565b3480156109cc57600080fd5b506018546106dd906001600160a01b031681565b3480156109ec57600080fd5b506103e96109fb3660046127dc565b61172b565b348015610a0c57600080fd5b50610467610a1b366004612ab5565b61177c565b348015610a2c57600080fd5b50610467610a3b3660046127dc565b61183f565b348015610a4c57600080fd5b50610467610a5b3660046129cb565b61186e565b348015610a6c57600080fd5b50610467610a7b3660046127dc565b6118c3565b348015610a8c57600080fd5b506103e9610a9b366004612b00565b6001600160a01b03918216600090815260136020908152604080832093909416825291909152205490565b348015610ad257600080fd5b506103e9600a5481565b348015610ae857600080fd5b50610467610af73660046127dc565b611948565b348015610b0857600080fd5b50610467610b173660046127dc565b61198a565b348015610b2857600080fd5b50610467610b37366004612888565b6119b9565b348015610b4857600080fd5b506103e960095481565b348015610b5e57600080fd5b50610467610b6d3660046129cb565b611a92565b348015610b7e57600080fd5b50601b546104899060ff1681565b600d546001600160a01b03163314610bbf5760405162461bcd60e51b8152600401610bb690612b2e565b60405180910390fd5b6103e881600254610bd09190612b79565b610bda9190612b90565b60045550565b3360008181526013602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c3b9086815260200190565b60405180910390a35060015b92915050565b600d546001600160a01b03163314610c775760405162461bcd60e51b8152600401610bb690612b2e565b601b805460ff1916911515919091179055565b600082610c968361172b565b119392505050565b600d546001600160a01b03163314610cc85760405162461bcd60e51b8152600401610bb690612b2e565b600180546001600160a01b03908116600090815260146020526040808220805460ff19908116909155949092168082529190208054909316821790925580546001600160a01b0319169091179055565b600d546001600160a01b03163314610d425760405162461bcd60e51b8152600401610bb690612b2e565b60005447906001600160a01b03166108fc6064610d5f8585612b79565b610d699190612b90565b6040518115909202916000818181858888f19350505050158015610d91573d6000803e3d6000fd5b505050565b600d546001600160a01b03163314610dc05760405162461bcd60e51b8152600401610bb690612b2e565b601991909155601a55565b6001600160a01b038316600090815260136020908152604080832033845290915281205460001914610e78576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601382528381203382529091529190912054610e53918490611ae7565b6001600160a01b03851660009081526013602090815260408083203384529091529020555b610e83848484611b13565b90505b9392505050565b600d546001600160a01b03163314610eb75760405162461bcd60e51b8152600401610bb690612b2e565b601e55565b601154600090610f0090610ed8906001600160a01b0316611290565b601054610efa90610ef1906001600160a01b0316611290565b60025490612019565b90612019565b905090565b600d546001600160a01b03163314610f2f5760405162461bcd60e51b8152600401610bb690612b2e565b601b805462ffff0019166101009315159390930262ff00001916929092176201000060ff9290921691909102179055565b600d546001600160a01b03163314610f8a5760405162461bcd60e51b8152600401610bb690612b2e565b6103218210610ff15760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3830302061646472657373657360981b6064820152608401610bb6565b6000610ffd8383612b79565b90508061100986611290565b10156110575760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610bb6565b60005b838110156110a6576110938686868481811061107857611078612bb2565b905060200201602081019061108d9190612888565b85612025565b508061109e81612bc8565b91505061105a565b505050505050565b600d546001600160a01b031633146110d85760405162461bcd60e51b8152600401610bb690612b2e565b47336108fc6064610d5f8585612b79565b600d546001600160a01b031633146111135760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6000610c4782600019610be0565b600d546001600160a01b031633146111765760405162461bcd60e51b8152600401610bb690612b2e565b600355565b600d546001600160a01b031633146111a55760405162461bcd60e51b8152600401610bb690612b2e565b600080546001600160a01b039081168252601460209081526040808420805460ff1990811690915594909216808452828420805486166001908117909155601690925291832080549094161790925580546001600160a01b0319169091179055565b600d546001600160a01b031633146112315760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b3360009081526012602052604090205481101561128d5760105461128b9033906001600160a01b031683612025565b505b50565b6001600160a01b031660009081526012602052604090205490565b600d546001600160a01b031633146112d55760405162461bcd60e51b8152600401610bb690612b2e565b6101f5831061133c5760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b6064820152608401610bb6565b82811461139c5760405162461bcd60e51b815260206004820152602860248201527f4d69736d61746368206265747765656e204164647265737320616e6420746f6b604482015267195b8818dbdd5b9d60c21b6064820152608401610bb6565b6000805b848110156113e0578383828181106113ba576113ba612bb2565b90506020020135826113cc9190612be1565b9150806113d881612bc8565b9150506113a0565b50806113eb87611290565b10156114395760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610bb6565b60005b848110156114a05761148d8787878481811061145a5761145a612bb2565b905060200201602081019061146f9190612888565b86868581811061148157611481612bb2565b90506020020135612025565b508061149881612bc8565b91505061143c565b50505050505050565b600d546001600160a01b031633146114d35760405162461bcd60e51b8152600401610bb690612b2e565b600d546040516000916001600160a01b031690600080516020612cc4833981519152908390a3600d80546001600160a01b0319169055565b600d546001600160a01b031633146115355760405162461bcd60e51b8152600401610bb690612b2e565b6007849055600883905560098290556115588261155286866120f9565b906120f9565b600a819055600c829055605a116115b15760405162461bcd60e51b815260206004820152601860248201527f466565732063616e6e6f742062652074686174206869676800000000000000006044820152606401610bb6565b50505050565b6000610f00600d546001600160a01b031690565b600e546001600160a01b031633146116315760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610bb6565b600f5442116116825760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610bb6565b600e54600d546040516001600160a01b039283169290911690600080516020612cc483398151915290600090a3600e54600d80546001600160a01b0319166001600160a01b03909216919091179055565b6000610e86338484611b13565b600d546001600160a01b0316331461170a5760405162461bcd60e51b8152600401610bb690612b2e565b6103e88160025461171b9190612b79565b6117259190612b90565b60035550565b6000610c47611738610ebc565b61177661176f60026117697f000000000000000000000000cd89783ca7eab70df81b5f188926d2f79543607f611290565b90612105565b8590612105565b90612111565b600d546001600160a01b031633146117a65760405162461bcd60e51b8152600401610bb690612b2e565b600180546001600160a01b039081166000908152601460209081526040808320805460ff1990811690915595841680845281842080548816871790558354851684528184208054881690559684168084528184208054881687179055601690925282208054909516841790945560188054969092166001600160a01b031996871617909155805485169092179091558054909216179055565b600d546001600160a01b031633146118695760405162461bcd60e51b8152600401610bb690612b2e565b600655565b600d546001600160a01b031633146118985760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b600d546001600160a01b031633146118ed5760405162461bcd60e51b8152600401610bb690612b2e565b600d8054600e80546001600160a01b03199081166001600160a01b0384161790915516905561191c8142612be1565b600f55600d546040516000916001600160a01b031690600080516020612cc4833981519152908390a350565b600d546001600160a01b031633146119725760405162461bcd60e51b8152600401610bb690612b2e565b601e5481111561198557601e54601f5550565b601f55565b600d546001600160a01b031633146119b45760405162461bcd60e51b8152600401610bb690612b2e565b600b55565b600d546001600160a01b031633146119e35760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b038116611a485760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb6565b600d546040516001600160a01b03808416921690600080516020612cc483398151915290600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b03163314611abc5760405162461bcd60e51b8152600401610bb690612b2e565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b60008184841115611b0b5760405162461bcd60e51b8152600401610bb6919061278e565b505050900390565b60205460009060ff1615611b3357611b2c848484612025565b9050610e86565b600d546001600160a01b03858116911614801590611b5f5750600d546001600160a01b03848116911614155b15611bad57601b5460ff16611bad5760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b6044820152606401610bb6565b7f000000000000000000000000cd89783ca7eab70df81b5f188926d2f79543607f6001600160a01b03908116908416146000811582611c1e57507f000000000000000000000000cd89783ca7eab70df81b5f188926d2f79543607f6001600160a01b0316866001600160a01b031614155b90506001600160a01b0385163014801590611c4757506010546001600160a01b03868116911614155b8015611c8557507f000000000000000000000000cd89783ca7eab70df81b5f188926d2f79543607f6001600160a01b0316856001600160a01b031614155b8015611c9f57506000546001600160a01b03868116911614155b8015611cb957506001546001600160a01b03868116911614155b8015611cd357506018546001600160a01b03868116911614155b15611d89576000611ce386611290565b6001600160a01b03871660009081526016602052604090205490915060ff16611d8757600454611d138683612be1565b1115611d875760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e00006064820152608401610bb6565b505b7f000000000000000000000000cd89783ca7eab70df81b5f188926d2f79543607f6001600160a01b0316866001600160a01b0316148015611dd15750601b54610100900460ff165b8015611df657506001600160a01b03851660009081526017602052604090205460ff16155b15611ea0576001600160a01b0385166000908152601c60205260409020544211611e705760405162461bcd60e51b815260206004820152602560248201527f506c65617365207761697420666f7220316d696e206265747765656e2074776f604482015264206275797360d81b6064820152608401610bb6565b601b54611e869062010000900460ff1642612be1565b6001600160a01b0386166000908152601c60205260409020555b6001600160a01b03851660009081526015602052604090205460ff16611eca57611eca868561211d565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038916600090815260129091529190912054611f1c918690611ae7565b6001600160a01b038716600090815260126020526040902055838115611f5657600b5415611f5157611f4e8786612186565b90505b611f9f565b6001600160a01b03871660009081526014602052604090205460ff1615611f7d5784611f88565b611f88878685612228565b9050611f926122d9565b15611f9f57611f9f612345565b6001600160a01b038616600090815260126020526040902054611fc290826120f9565b6001600160a01b038088166000818152601260205260409081902093909355915190891690600080516020612ce4833981519152906120049085815260200190565b60405180910390a35060019695505050505050565b6000610e868284612bf4565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152601290915291822054612076918490611ae7565b6001600160a01b0380861660009081526012602052604080822093909355908516815220546120a590836120f9565b6001600160a01b038085166000818152601260205260409081902093909355915190861690600080516020612ce4833981519152906120e79086815260200190565b60405180910390a35060019392505050565b6000610e868284612be1565b6000610e868284612b79565b6000610e868284612b90565b6003548111158061214657506001600160a01b03821660009081526015602052604090205460ff165b61128b5760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610bb6565b600080600b54905060006121b1600c5460646121a29190612b79565b61177660646117698887612105565b306000908152601260205260409020549091506121ce90826120f9565b30600081815260126020526040908190209290925590516001600160a01b03871690600080516020612ce48339815191529061220d9085815260200190565b60405180910390a361221f8482612019565b95945050505050565b600080826122385760065461223c565b600a545b90506000612261600c5460646122529190612b79565b61177660646117698987612105565b3060009081526012602052604090205490915061227e90826120f9565b30600081815260126020526040908190209290925590516001600160a01b03881690600080516020612ce4833981519152906122bd9085815260200190565b60405180910390a36122cf8582612019565b9695505050505050565b6000336001600160a01b037f000000000000000000000000cd89783ca7eab70df81b5f188926d2f79543607f1614801590612317575060205460ff16155b80156123255750601d5460ff165b8015610f00575050601e5430600090815260126020526040902054101590565b6020805460ff19166001179055601954601a5460009161236491610c8a565b61237057600754612373565b60005b905060006123976002611776600a5461177686601f5461210590919063ffffffff16565b905060006123b082601f5461201990919063ffffffff16565b604080516002808252606082018352929350600092909160208301908036833701905050905030816000815181106123ea576123ea612bb2565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248c9190612c07565b8160018151811061249f5761249f612bb2565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b815247917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612504908690600090879030904290600401612c24565b600060405180830381600087803b15801561251e57600080fd5b505af1158015612532573d6000803e3d6000fd5b50505050600061254b824761201990919063ffffffff16565b9050600061256661255d886002612111565b600a5490612019565b905060006125886002611776846117766007548861210590919063ffffffff16565b905060006125a5836117766008548761210590919063ffffffff16565b905060006125c2846117766009548861210590919063ffffffff16565b6000805460405192935090916001600160a01b039091169061753090859084818181858888f193505050503d8060008114612619576040519150601f19603f3d011682016040523d82523d6000602084013e61261e565b606091505b50506001546040519192506001600160a01b0316906175309084906000818181858888f193505050503d8060008114612673576040519150601f19603f3d011682016040523d82523d6000602084013e612678565b606091505b5060009250508a1590506127775760185460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990869060c40160606040518083038185885af1158015612715573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061273a9190612c95565b505060408051868152602081018d90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b50506020805460ff19169055505050505050505050565b600060208083528351808285015260005b818110156127bb5785810183015185820160400152820161279f565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156127ee57600080fd5b5035919050565b6001600160a01b038116811461128d57600080fd5b6000806040838503121561281d57600080fd5b8235612828816127f5565b946020939093013593505050565b8035801515811461284657600080fd5b919050565b60006020828403121561285d57600080fd5b610e8682612836565b6000806040838503121561287957600080fd5b50508035926020909101359150565b60006020828403121561289a57600080fd5b8135610e86816127f5565b6000806000606084860312156128ba57600080fd5b83356128c5816127f5565b925060208401356128d5816127f5565b929592945050506040919091013590565b600080604083850312156128f957600080fd5b61290283612836565b9150602083013560ff8116811461291857600080fd5b809150509250929050565b60008083601f84011261293557600080fd5b50813567ffffffffffffffff81111561294d57600080fd5b6020830191508360208260051b850101111561296857600080fd5b9250929050565b6000806000806060858703121561298557600080fd5b8435612990816127f5565b9350602085013567ffffffffffffffff8111156129ac57600080fd5b6129b887828801612923565b9598909750949560400135949350505050565b600080604083850312156129de57600080fd5b82356129e9816127f5565b91506129f760208401612836565b90509250929050565b600080600080600060608688031215612a1857600080fd5b8535612a23816127f5565b9450602086013567ffffffffffffffff80821115612a4057600080fd5b612a4c89838a01612923565b90965094506040880135915080821115612a6557600080fd5b50612a7288828901612923565b969995985093965092949392505050565b60008060008060808587031215612a9957600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060608486031215612aca57600080fd5b8335612ad5816127f5565b92506020840135612ae5816127f5565b91506040840135612af5816127f5565b809150509250925092565b60008060408385031215612b1357600080fd5b8235612b1e816127f5565b91506020830135612918816127f5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610c4757610c47612b63565b600082612bad57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612bda57612bda612b63565b5060010190565b80820180821115610c4757610c47612b63565b81810381811115610c4757610c47612b63565b600060208284031215612c1957600080fd5b8151610e86816127f5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c745784516001600160a01b031683529383019391830191600101612c4f565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612caa57600080fd5b835192506020840151915060408401519050925092509256fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220584f4ca4df68356ca4c6ff8ec4e3577391b7b1fbcbae64149412563c30772db064736f6c63430008130033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.