More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 63 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 16644318 | 713 days ago | IN | 0 ETH | 0.00287796 | ||||
Approve | 16643694 | 713 days ago | IN | 0 ETH | 0.00205557 | ||||
Approve | 16643681 | 713 days ago | IN | 0 ETH | 0.00205591 | ||||
Approve | 16643680 | 713 days ago | IN | 0 ETH | 0.00319913 | ||||
Approve | 16643680 | 713 days ago | IN | 0 ETH | 0.00185867 | ||||
Set Floor Fee Pe... | 16643679 | 713 days ago | IN | 0 ETH | 0.00204828 | ||||
Approve | 16643676 | 713 days ago | IN | 0 ETH | 0.00307048 | ||||
Set Marketing Fe... | 16643674 | 713 days ago | IN | 0 ETH | 0.00179673 | ||||
Approve | 16643674 | 713 days ago | IN | 0 ETH | 0.00172056 | ||||
Set Liquidity Fe... | 16643672 | 713 days ago | IN | 0 ETH | 0.00167471 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.0024827 | ||||
Approve | 16643671 | 713 days ago | IN | 0 ETH | 0.00251871 | ||||
Approve | 16643670 | 713 days ago | IN | 0 ETH | 0.00263001 | ||||
Approve | 16643667 | 713 days ago | IN | 0 ETH | 0.00265978 | ||||
Approve | 16643666 | 713 days ago | IN | 0 ETH | 0.00268928 | ||||
Approve | 16643666 | 713 days ago | IN | 0 ETH | 0.00362528 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TOKEN
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.7; interface IERC20 { function totalSupply() external view returns (uint256); 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); } library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } abstract contract Ownable is Context { address internal _owner; address private _previousOwner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract LockToken is Ownable { bool public isOpen = false; mapping(address => bool) private _whiteList; modifier open(address from, address to) { require(isOpen || _whiteList[from] || _whiteList[to], " Trading is not Open"); _; } constructor() { _whiteList[msg.sender] = true; _whiteList[address(this)] = true; } function openTrade(bool value) external onlyOwner { isOpen = value; } function includeToWhiteList(address _users, bool _trueFalse) external onlyOwner { _whiteList[_users] = _trueFalse; } } interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } contract ERC20 is Context,Ownable, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } 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; } contract TOKEN is ERC20, LockToken { using SafeMath for uint256; using Address for address; mapping (address => bool) private _isExcludedFromFee; address public _marketingWalletAddress; address public _floorAddress; uint256 public _liquidityFee; uint256 private _previousLiquidityFee; uint256 public _marketingFee; uint256 private _previousMarketingFee; uint256 public _floorFee; uint256 private _previousFloorFee; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled; uint256 public numTokensSellToAddToLiquidity; uint256 public _maxWalletBalance; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); constructor () ERC20("BetMan", "BETMAN"){ _liquidityFee = 10; _previousLiquidityFee = _liquidityFee; _marketingFee = 60; _previousMarketingFee = _marketingFee; _floorFee =30; _previousFloorFee = _floorFee; numTokensSellToAddToLiquidity = 50000 * 1 ** decimals(); _maxWalletBalance = 2000000 * 10 ** decimals(); _marketingWalletAddress = _msgSender(); _floorAddress = _msgSender(); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; //exclude owner and this contract from fee _isExcludedFromFee[_msgSender()] = true; _isExcludedFromFee[address(this)] = true; /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(owner(), 100000000 * 10 ** decimals()); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setLiquidityFeePercent(uint256 taxFee) external onlyOwner { _liquidityFee = taxFee; } function setMarketingFeePercent(uint256 devFee) external onlyOwner { _marketingFee = devFee; } function setFloorFeePercent(uint256 floorFee) external onlyOwner { _floorFee = floorFee; } function setMarketingWalletAddress(address _addr) external onlyOwner { _marketingWalletAddress = _addr; } function setFloorWalletAddress(address _addr) external onlyOwner { _floorAddress = _addr; } function setNumTokensSellToAddToLiquidity(uint256 amount) external onlyOwner { numTokensSellToAddToLiquidity = amount * 10 ** decimals(); } function setMaxBalance(uint256 maxBalancePercent) external onlyOwner { _maxWalletBalance = maxBalancePercent; } function setRouterAddress(address newRouter) external onlyOwner { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(newRouter); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; } function setSwapAndLiquifyEnabled(bool _enabled) external onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} // to withdraw stucked ETH function withdrawStuckedFunds(uint amount) external onlyOwner{ // This is the current recommended method to use. (bool sent,) = _owner.call{value: amount}(""); require(sent, "Failed to send ETH"); } // Withdraw stuked tokens function withdrawStuckedTokens(address tokenAddress, uint256 tokens) external onlyOwner returns (bool success){ return IERC20(tokenAddress).transfer(msg.sender, tokens); } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _transfer( address from, address to, uint256 amount ) internal override open(from, to) { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (from != owner() && to != uniswapV2Pair && !_isExcludedFromFee[from] && !_isExcludedFromFee[to] && !_isExcludedFromFee[tx.origin]) require(balanceOf(to).add(amount) <= _maxWalletBalance, "Balance is exceeding maxWalletBalance" ); uint256 contractTokenBalance = balanceOf(address(this)); bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; inSwapAndLiquify = true; swapBack(contractTokenBalance); inSwapAndLiquify = false; } if(_isExcludedFromFee[from] || _isExcludedFromFee[to] || _isExcludedFromFee[tx.origin]){ super._transfer(from, to, amount); } else { uint256 lpTokens = amount.mul(_liquidityFee).div(1000); uint256 marketingTokens = amount.mul(_marketingFee).div(1000); uint256 floorTokens = amount.mul(_floorFee).div(1000); amount= amount.sub(lpTokens).sub(marketingTokens).sub(floorTokens); super._transfer(from, address(this), lpTokens.add(floorTokens).add(marketingTokens)); super._transfer(from, to, amount); } } function swapBack(uint256 contractBalance) private { uint256 tokensForLiquidity = contractBalance.mul(_liquidityFee).div(1000); uint256 marketingTokens = contractBalance.mul(_marketingFee).div(1000); uint256 floorTokens = contractBalance.mul(_floorFee).div(1000); uint256 totalTokensToSwap = tokensForLiquidity + marketingTokens + floorTokens ; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} bool success; // Halve the amount of liquidity tokens uint256 liquidityTokens = contractBalance * totalTokensToSwap / tokensForLiquidity / 2; swapTokensForEth(contractBalance - liquidityTokens); uint256 ethBalance = address(this).balance; uint256 ethForLiquidity = ethBalance; uint256 ethForMarketing = ethBalance * marketingTokens / (totalTokensToSwap - (tokensForLiquidity/2)); uint256 ethForFloor = ethBalance * floorTokens / (totalTokensToSwap - (tokensForLiquidity/2)); ethForLiquidity -= ethForMarketing + ethForFloor ; if(liquidityTokens > 0 && ethForLiquidity > 0){ addLiquidity(liquidityTokens, ethForLiquidity); } (success,) = address(_marketingWalletAddress).call{value: ethForMarketing}(""); (success,) = address(_floorAddress).call{value: ethForFloor}(""); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function airdrop(address[] memory wallets, uint256[] memory amounts) external onlyOwner { require(wallets.length == amounts.length, "arrays must be the same length"); require(wallets.length <= 200, "Can only airdrop 200 wallets per txn due to gas limits"); for (uint i=0; i<wallets.length; i++) { address wallet = wallets[i]; uint256 amount = amounts[i] * 10 ** decimals(); transfer(wallet, amount); } } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "Token.sol": {} }, "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":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","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":"_floorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_floorFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_users","type":"address"},{"internalType":"bool","name":"_trueFalse","type":"bool"}],"name":"includeToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"openTrade","outputs":[],"stateMutability":"nonpayable","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":"floorFee","type":"uint256"}],"name":"setFloorFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setFloorWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"devFee","type":"uint256"}],"name":"setMarketingFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setMarketingWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxBalancePercent","type":"uint256"}],"name":"setMaxBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStuckedFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"withdrawStuckedTokens","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526007805460ff191690553480156200001b57600080fd5b50604051806040016040528060068152602001652132ba26b0b760d11b815250604051806040016040528060068152602001652122aa26a0a760d11b8152506200006a620003a960201b60201c565b600080546001600160a01b0319166001600160a01b039290921691821781556040517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36005620000bf838262000577565b506006620000ce828262000577565b5050336000908152600860205260408082208054600160ff199182168117909255308452919092208054909116909117905550600a600c819055600d55603c600e819055600f55601e601081905560115562000128601290565b6200013590600162000756565b620001439061c35062000767565b601455620001546012600a62000756565b6200016390621e848062000767565b601555600a8054336001600160a01b03199182168117909255600b805490911690911790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91829163c45a0155916004808201926020929091908290030181865afa158015620001dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000202919062000781565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000250573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000276919062000781565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ea919062000781565b601380546001600160a01b03199081166001600160a01b039384161790915560128054909116918316919091179055600160096000620003273390565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526009909252902080549091166001179055620003a26200037e6000546001600160a01b031690565b6200038c6012600a62000756565b6200039c906305f5e10062000767565b620003ad565b50620007c9565b3390565b6001600160a01b038216620004085760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b6200042481600454620004bc60201b620012bc1790919060201c565b6004556001600160a01b03821660009081526002602090815260409091205462000459918390620012bc620004bc821b17901c565b6001600160a01b0383166000818152600260205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620004ab9085815260200190565b60405180910390a35050565b505050565b6000620004ca8284620007b3565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004fe57607f821691505b6020821081036200051f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004b757600081815260208120601f850160051c810160208610156200054e5750805b601f850160051c820191505b818110156200056f578281556001016200055a565b505050505050565b81516001600160401b03811115620005935762000593620004d3565b620005ab81620005a48454620004e9565b8462000525565b602080601f831160018114620005e35760008415620005ca5750858301515b600019600386901b1c1916600185901b1785556200056f565b600085815260208120601f198616915b828110156200061457888601518255948401946001909101908401620005f3565b5085821015620006335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200069a5781600019048211156200067e576200067e62000643565b808516156200068c57918102915b93841c93908002906200065e565b509250929050565b600082620006b357506001620004cd565b81620006c257506000620004cd565b8160018114620006db5760028114620006e65762000706565b6001915050620004cd565b60ff841115620006fa57620006fa62000643565b50506001821b620004cd565b5060208310610133831016604e8410600b84101617156200072b575081810a620004cd565b62000737838362000659565b80600019048211156200074e576200074e62000643565b029392505050565b6000620004ca60ff841683620006a2565b8082028115828204841417620004cd57620004cd62000643565b6000602082840312156200079457600080fd5b81516001600160a01b0381168114620007ac57600080fd5b9392505050565b80820180821115620004cd57620004cd62000643565b6124d280620007d96000396000f3fe6080604052600436106102555760003560e01c80635d729d8c11610139578063a457c2d7116100b6578063d12a76881161007a578063d12a768814610705578063d4a5af841461071b578063dd62ed3e14610731578063ea2f0b3714610777578063f0f165af14610797578063f2fde38b146107b757600080fd5b8063a457c2d714610665578063a9059cbb14610685578063c49b9a80146106a5578063c8f6b18b146106c5578063caea37b7146106e557600080fd5b8063715018a6116100fd578063715018a6146105dd5780638da5cb5b146105f25780638ee88c531461061057806395d89b41146106305780639d51d9b71461064557600080fd5b80635d729d8c146105315780635d8f29871461055157806367243482146105715780636bc87c3a1461059157806370a08231146105a757600080fd5b806339509351116101d2578063457c194c11610196578063457c194c1461045d57806347535d7b1461047d57806349bd5a5e146104975780634a74bb02146104b75780634cb80fd5146104d85780635342acb4146104f857600080fd5b806339509351146103bd5780634144d9e4146103dd57806341cb87fc146103fd578063437823ec1461041d57806343ce42a01461043d57600080fd5b806322976e0d1161021957806322976e0d1461032957806323b872dd1461033f5780632a3100881461035f57806330d35dee1461037f578063313ce567146103a157600080fd5b80630419c9371461026157806306fdde031461028a578063095ea7b3146102ac5780631694505e146102dc57806318160ddd1461031457600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061027760105481565b6040519081526020015b60405180910390f35b34801561029657600080fd5b5061029f6107d7565b6040516102819190611d8f565b3480156102b857600080fd5b506102cc6102c7366004611df5565b610869565b6040519015158152602001610281565b3480156102e857600080fd5b506012546102fc906001600160a01b031681565b6040516001600160a01b039091168152602001610281565b34801561032057600080fd5b50600454610277565b34801561033557600080fd5b50610277600e5481565b34801561034b57600080fd5b506102cc61035a366004611e21565b610880565b34801561036b57600080fd5b50600b546102fc906001600160a01b031681565b34801561038b57600080fd5b5061039f61039a366004611e70565b6108e9565b005b3480156103ad57600080fd5b5060405160128152602001610281565b3480156103c957600080fd5b506102cc6103d8366004611df5565b61092f565b3480156103e957600080fd5b50600a546102fc906001600160a01b031681565b34801561040957600080fd5b5061039f610418366004611e8d565b610965565b34801561042957600080fd5b5061039f610438366004611e8d565b610b0a565b34801561044957600080fd5b5061039f610458366004611e8d565b610b58565b34801561046957600080fd5b5061039f610478366004611eaa565b610ba4565b34801561048957600080fd5b506007546102cc9060ff1681565b3480156104a357600080fd5b506013546102fc906001600160a01b031681565b3480156104c357600080fd5b506013546102cc90600160a81b900460ff1681565b3480156104e457600080fd5b5061039f6104f3366004611e8d565b610bd3565b34801561050457600080fd5b506102cc610513366004611e8d565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561053d57600080fd5b506102cc61054c366004611df5565b610c1f565b34801561055d57600080fd5b5061039f61056c366004611ec3565b610cc2565b34801561057d57600080fd5b5061039f61058c366004611fd2565b610d17565b34801561059d57600080fd5b50610277600c5481565b3480156105b357600080fd5b506102776105c2366004611e8d565b6001600160a01b031660009081526002602052604090205490565b3480156105e957600080fd5b5061039f610e8d565b3480156105fe57600080fd5b506000546001600160a01b03166102fc565b34801561061c57600080fd5b5061039f61062b366004611eaa565b610f01565b34801561063c57600080fd5b5061029f610f30565b34801561065157600080fd5b5061039f610660366004611eaa565b610f3f565b34801561067157600080fd5b506102cc610680366004611df5565b610f6e565b34801561069157600080fd5b506102cc6106a0366004611df5565b610fbd565b3480156106b157600080fd5b5061039f6106c0366004611e70565b610fca565b3480156106d157600080fd5b5061039f6106e0366004611eaa565b61104c565b3480156106f157600080fd5b5061039f610700366004611eaa565b61107b565b34801561071157600080fd5b5061027760145481565b34801561072757600080fd5b5061027760155481565b34801561073d57600080fd5b5061027761074c366004612094565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561078357600080fd5b5061039f610792366004611e8d565b611141565b3480156107a357600080fd5b5061039f6107b2366004611eaa565b61118c565b3480156107c357600080fd5b5061039f6107d2366004611e8d565b6111d2565b6060600580546107e6906120c2565b80601f0160208091040260200160405190810160405280929190818152602001828054610812906120c2565b801561085f5780601f106108345761010080835404028352916020019161085f565b820191906000526020600020905b81548152906001019060200180831161084257829003601f168201915b5050505050905090565b60006108763384846112c8565b5060015b92915050565b600061088d8484846113ed565b6108df84336108da85604051806060016040528060288152602001612450602891396001600160a01b038a16600090815260036020908152604080832033845290915290205491906117f7565b6112c8565b5060019392505050565b6000546001600160a01b0316331461091c5760405162461bcd60e51b8152600401610913906120fc565b60405180910390fd5b6007805460ff1916911515919091179055565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916108769185906108da90866112bc565b6000546001600160a01b0316331461098f5760405162461bcd60e51b8152600401610913906120fc565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f69190612131565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190612131565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad89190612131565b601380546001600160a01b039283166001600160a01b0319918216179091556012805493909216921691909117905550565b6000546001600160a01b03163314610b345760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000546001600160a01b03163314610b825760405162461bcd60e51b8152600401610913906120fc565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610bce5760405162461bcd60e51b8152600401610913906120fc565b600e55565b6000546001600160a01b03163314610bfd5760405162461bcd60e51b8152600401610913906120fc565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b03163314610c4a5760405162461bcd60e51b8152600401610913906120fc565b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0384169063a9059cbb906044016020604051808303816000875af1158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb919061214e565b9392505050565b6000546001600160a01b03163314610cec5760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610d415760405162461bcd60e51b8152600401610913906120fc565b8051825114610d925760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610913565b60c882511115610e035760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610913565b60005b8251811015610e88576000838281518110610e2357610e2361216b565b602002602001015190506000610e37601290565b610e4290600a61227b565b848481518110610e5457610e5461216b565b6020026020010151610e66919061228a565b9050610e728282610fbd565b5050508080610e80906122a1565b915050610e06565b505050565b6000546001600160a01b03163314610eb75760405162461bcd60e51b8152600401610913906120fc565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610f2b5760405162461bcd60e51b8152600401610913906120fc565b600c55565b6060600680546107e6906120c2565b6000546001600160a01b03163314610f695760405162461bcd60e51b8152600401610913906120fc565b601555565b600061087633846108da85604051806060016040528060258152602001612478602591393360009081526003602090815260408083206001600160a01b038d16845290915290205491906117f7565b60006108763384846113ed565b6000546001600160a01b03163314610ff45760405162461bcd60e51b8152600401610913906120fc565b60138054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061104190831515815260200190565b60405180910390a150565b6000546001600160a01b031633146110765760405162461bcd60e51b8152600401610913906120fc565b601055565b6000546001600160a01b031633146110a55760405162461bcd60e51b8152600401610913906120fc565b600080546040516001600160a01b039091169083908381818185875af1925050503d80600081146110f2576040519150601f19603f3d011682016040523d82523d6000602084013e6110f7565b606091505b505090508061113d5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610913565b5050565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b031633146111b65760405162461bcd60e51b8152600401610913906120fc565b6111c26012600a61227b565b6111cc908261228a565b60145550565b6000546001600160a01b031633146111fc5760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b0381166112615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610913565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610cbb82846122ba565b6001600160a01b03831661132a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610913565b6001600160a01b03821661138b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610913565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6007548390839060ff168061141a57506001600160a01b03821660009081526008602052604090205460ff165b8061143d57506001600160a01b03811660009081526008602052604090205460ff165b6114805760405162461bcd60e51b8152602060048201526014602482015273102a3930b234b7339034b9903737ba1027b832b760611b6044820152606401610913565b6001600160a01b0385166114a65760405162461bcd60e51b8152600401610913906122cd565b6001600160a01b0384166114cc5760405162461bcd60e51b815260040161091390612312565b6000831161152e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610913565b6000546001600160a01b0386811691161480159061155a57506013546001600160a01b03858116911614155b801561157f57506001600160a01b03851660009081526009602052604090205460ff16155b80156115a457506001600160a01b03841660009081526009602052604090205460ff16155b80156115c057503260009081526009602052604090205460ff16155b1561164d576015546115f1846115eb876001600160a01b031660009081526002602052604090205490565b906112bc565b111561164d5760405162461bcd60e51b815260206004820152602560248201527f42616c616e636520697320657863656564696e67206d617857616c6c657442616044820152646c616e636560d81b6064820152608401610913565b306000908152600260205260409020546014548110801590819061167b5750601354600160a01b900460ff16155b801561169557506013546001600160a01b03888116911614155b80156116aa5750601354600160a81b900460ff165b156116de576014546013805460ff60a01b1916600160a01b17905591506116d082611823565b6013805460ff60a01b191690555b6001600160a01b03871660009081526009602052604090205460ff168061171d57506001600160a01b03861660009081526009602052604090205460ff165b8061173757503260009081526009602052604090205460ff165b1561174c57611747878787611a30565b6117ee565b600061176f6103e8611769600c5489611b3c90919063ffffffff16565b90611b48565b9050600061178e6103e8611769600e548a611b3c90919063ffffffff16565b905060006117ad6103e86117696010548b611b3c90919063ffffffff16565b90506117c5816117bf84818c88611b54565b90611b54565b97506117df8a306117da856115eb88876112bc565b611a30565b6117ea8a8a8a611a30565b5050505b50505050505050565b6000818484111561181b5760405162461bcd60e51b81526004016109139190611d8f565b505050900390565b60006118406103e8611769600c5485611b3c90919063ffffffff16565b9050600061185f6103e8611769600e5486611b3c90919063ffffffff16565b9050600061187e6103e861176960105487611b3c90919063ffffffff16565b905060008161188d84866122ba565b61189791906122ba565b90508415806118a4575080155b156118b0575050505050565b6000806002866118c0858a61228a565b6118ca9190612355565b6118d49190612355565b90506118e86118e38289612377565b611b60565b478060006118f760028a612355565b6119019087612377565b61190b898561228a565b6119159190612355565b9050600061192460028b612355565b61192e9088612377565b611938898661228a565b6119429190612355565b905061194e81836122ba565b6119589084612377565b925060008511801561196a5750600083115b15611979576119798584611cba565b600a546040516001600160a01b03909116908390600081818185875af1925050503d80600081146119c6576040519150601f19603f3d011682016040523d82523d6000602084013e6119cb565b606091505b5050600b546040519197506001600160a01b0316908290600081818185875af1925050503d8060008114611a1b576040519150601f19603f3d011682016040523d82523d6000602084013e611a20565b606091505b5050505050505050505050505050565b6001600160a01b038316611a565760405162461bcd60e51b8152600401610913906122cd565b6001600160a01b038216611a7c5760405162461bcd60e51b815260040161091390612312565b611ab98160405180606001604052806026815260200161242a602691396001600160a01b03861660009081526002602052604090205491906117f7565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611ae890826112bc565b6001600160a01b0380841660008181526002602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113e09085815260200190565b6000610cbb828461228a565b6000610cbb8284612355565b6000610cbb8284612377565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b9557611b9561216b565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c129190612131565b81600181518110611c2557611c2561216b565b6001600160a01b039283166020918202929092010152601254611c4b91309116846112c8565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c8490859060009086903090429060040161238a565b600060405180830381600087803b158015611c9e57600080fd5b505af1158015611cb2573d6000803e3d6000fd5b505050505050565b601254611cd29030906001600160a01b0316846112c8565b6012546001600160a01b031663f305d719823085600080611cfb6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611d63573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611d8891906123fb565b5050505050565b600060208083528351808285015260005b81811015611dbc57858101830151858201604001528201611da0565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611df257600080fd5b50565b60008060408385031215611e0857600080fd5b8235611e1381611ddd565b946020939093013593505050565b600080600060608486031215611e3657600080fd5b8335611e4181611ddd565b92506020840135611e5181611ddd565b929592945050506040919091013590565b8015158114611df257600080fd5b600060208284031215611e8257600080fd5b8135610cbb81611e62565b600060208284031215611e9f57600080fd5b8135610cbb81611ddd565b600060208284031215611ebc57600080fd5b5035919050565b60008060408385031215611ed657600080fd5b8235611ee181611ddd565b91506020830135611ef181611e62565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611f3b57611f3b611efc565b604052919050565b600067ffffffffffffffff821115611f5d57611f5d611efc565b5060051b60200190565b600082601f830112611f7857600080fd5b81356020611f8d611f8883611f43565b611f12565b82815260059290921b84018101918181019086841115611fac57600080fd5b8286015b84811015611fc75780358352918301918301611fb0565b509695505050505050565b60008060408385031215611fe557600080fd5b823567ffffffffffffffff80821115611ffd57600080fd5b818501915085601f83011261201157600080fd5b81356020612021611f8883611f43565b82815260059290921b8401810191818101908984111561204057600080fd5b948201945b8386101561206757853561205881611ddd565b82529482019490820190612045565b9650508601359250508082111561207d57600080fd5b5061208a85828601611f67565b9150509250929050565b600080604083850312156120a757600080fd5b82356120b281611ddd565b91506020830135611ef181611ddd565b600181811c908216806120d657607f821691505b6020821081036120f657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561214357600080fd5b8151610cbb81611ddd565b60006020828403121561216057600080fd5b8151610cbb81611e62565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b808511156121d25781600019048211156121b8576121b8612181565b808516156121c557918102915b93841c939080029061219c565b509250929050565b6000826121e95750600161087a565b816121f65750600061087a565b816001811461220c576002811461221657612232565b600191505061087a565b60ff84111561222757612227612181565b50506001821b61087a565b5060208310610133831016604e8410600b8410161715612255575081810a61087a565b61225f8383612197565b806000190482111561227357612273612181565b029392505050565b6000610cbb60ff8416836121da565b808202811582820484141761087a5761087a612181565b6000600182016122b3576122b3612181565b5060010190565b8082018082111561087a5761087a612181565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261237257634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561087a5761087a612181565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123da5784516001600160a01b0316835293830193918301916001016123b5565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561241057600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122075024e4e649c6a1cfdca44acc1f773dffd556536d13055d02cdbf780e0a95ea164736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102555760003560e01c80635d729d8c11610139578063a457c2d7116100b6578063d12a76881161007a578063d12a768814610705578063d4a5af841461071b578063dd62ed3e14610731578063ea2f0b3714610777578063f0f165af14610797578063f2fde38b146107b757600080fd5b8063a457c2d714610665578063a9059cbb14610685578063c49b9a80146106a5578063c8f6b18b146106c5578063caea37b7146106e557600080fd5b8063715018a6116100fd578063715018a6146105dd5780638da5cb5b146105f25780638ee88c531461061057806395d89b41146106305780639d51d9b71461064557600080fd5b80635d729d8c146105315780635d8f29871461055157806367243482146105715780636bc87c3a1461059157806370a08231146105a757600080fd5b806339509351116101d2578063457c194c11610196578063457c194c1461045d57806347535d7b1461047d57806349bd5a5e146104975780634a74bb02146104b75780634cb80fd5146104d85780635342acb4146104f857600080fd5b806339509351146103bd5780634144d9e4146103dd57806341cb87fc146103fd578063437823ec1461041d57806343ce42a01461043d57600080fd5b806322976e0d1161021957806322976e0d1461032957806323b872dd1461033f5780632a3100881461035f57806330d35dee1461037f578063313ce567146103a157600080fd5b80630419c9371461026157806306fdde031461028a578063095ea7b3146102ac5780631694505e146102dc57806318160ddd1461031457600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061027760105481565b6040519081526020015b60405180910390f35b34801561029657600080fd5b5061029f6107d7565b6040516102819190611d8f565b3480156102b857600080fd5b506102cc6102c7366004611df5565b610869565b6040519015158152602001610281565b3480156102e857600080fd5b506012546102fc906001600160a01b031681565b6040516001600160a01b039091168152602001610281565b34801561032057600080fd5b50600454610277565b34801561033557600080fd5b50610277600e5481565b34801561034b57600080fd5b506102cc61035a366004611e21565b610880565b34801561036b57600080fd5b50600b546102fc906001600160a01b031681565b34801561038b57600080fd5b5061039f61039a366004611e70565b6108e9565b005b3480156103ad57600080fd5b5060405160128152602001610281565b3480156103c957600080fd5b506102cc6103d8366004611df5565b61092f565b3480156103e957600080fd5b50600a546102fc906001600160a01b031681565b34801561040957600080fd5b5061039f610418366004611e8d565b610965565b34801561042957600080fd5b5061039f610438366004611e8d565b610b0a565b34801561044957600080fd5b5061039f610458366004611e8d565b610b58565b34801561046957600080fd5b5061039f610478366004611eaa565b610ba4565b34801561048957600080fd5b506007546102cc9060ff1681565b3480156104a357600080fd5b506013546102fc906001600160a01b031681565b3480156104c357600080fd5b506013546102cc90600160a81b900460ff1681565b3480156104e457600080fd5b5061039f6104f3366004611e8d565b610bd3565b34801561050457600080fd5b506102cc610513366004611e8d565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561053d57600080fd5b506102cc61054c366004611df5565b610c1f565b34801561055d57600080fd5b5061039f61056c366004611ec3565b610cc2565b34801561057d57600080fd5b5061039f61058c366004611fd2565b610d17565b34801561059d57600080fd5b50610277600c5481565b3480156105b357600080fd5b506102776105c2366004611e8d565b6001600160a01b031660009081526002602052604090205490565b3480156105e957600080fd5b5061039f610e8d565b3480156105fe57600080fd5b506000546001600160a01b03166102fc565b34801561061c57600080fd5b5061039f61062b366004611eaa565b610f01565b34801561063c57600080fd5b5061029f610f30565b34801561065157600080fd5b5061039f610660366004611eaa565b610f3f565b34801561067157600080fd5b506102cc610680366004611df5565b610f6e565b34801561069157600080fd5b506102cc6106a0366004611df5565b610fbd565b3480156106b157600080fd5b5061039f6106c0366004611e70565b610fca565b3480156106d157600080fd5b5061039f6106e0366004611eaa565b61104c565b3480156106f157600080fd5b5061039f610700366004611eaa565b61107b565b34801561071157600080fd5b5061027760145481565b34801561072757600080fd5b5061027760155481565b34801561073d57600080fd5b5061027761074c366004612094565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561078357600080fd5b5061039f610792366004611e8d565b611141565b3480156107a357600080fd5b5061039f6107b2366004611eaa565b61118c565b3480156107c357600080fd5b5061039f6107d2366004611e8d565b6111d2565b6060600580546107e6906120c2565b80601f0160208091040260200160405190810160405280929190818152602001828054610812906120c2565b801561085f5780601f106108345761010080835404028352916020019161085f565b820191906000526020600020905b81548152906001019060200180831161084257829003601f168201915b5050505050905090565b60006108763384846112c8565b5060015b92915050565b600061088d8484846113ed565b6108df84336108da85604051806060016040528060288152602001612450602891396001600160a01b038a16600090815260036020908152604080832033845290915290205491906117f7565b6112c8565b5060019392505050565b6000546001600160a01b0316331461091c5760405162461bcd60e51b8152600401610913906120fc565b60405180910390fd5b6007805460ff1916911515919091179055565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916108769185906108da90866112bc565b6000546001600160a01b0316331461098f5760405162461bcd60e51b8152600401610913906120fc565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f69190612131565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190612131565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad89190612131565b601380546001600160a01b039283166001600160a01b0319918216179091556012805493909216921691909117905550565b6000546001600160a01b03163314610b345760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000546001600160a01b03163314610b825760405162461bcd60e51b8152600401610913906120fc565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610bce5760405162461bcd60e51b8152600401610913906120fc565b600e55565b6000546001600160a01b03163314610bfd5760405162461bcd60e51b8152600401610913906120fc565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b03163314610c4a5760405162461bcd60e51b8152600401610913906120fc565b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0384169063a9059cbb906044016020604051808303816000875af1158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb919061214e565b9392505050565b6000546001600160a01b03163314610cec5760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610d415760405162461bcd60e51b8152600401610913906120fc565b8051825114610d925760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610913565b60c882511115610e035760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610913565b60005b8251811015610e88576000838281518110610e2357610e2361216b565b602002602001015190506000610e37601290565b610e4290600a61227b565b848481518110610e5457610e5461216b565b6020026020010151610e66919061228a565b9050610e728282610fbd565b5050508080610e80906122a1565b915050610e06565b505050565b6000546001600160a01b03163314610eb75760405162461bcd60e51b8152600401610913906120fc565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610f2b5760405162461bcd60e51b8152600401610913906120fc565b600c55565b6060600680546107e6906120c2565b6000546001600160a01b03163314610f695760405162461bcd60e51b8152600401610913906120fc565b601555565b600061087633846108da85604051806060016040528060258152602001612478602591393360009081526003602090815260408083206001600160a01b038d16845290915290205491906117f7565b60006108763384846113ed565b6000546001600160a01b03163314610ff45760405162461bcd60e51b8152600401610913906120fc565b60138054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061104190831515815260200190565b60405180910390a150565b6000546001600160a01b031633146110765760405162461bcd60e51b8152600401610913906120fc565b601055565b6000546001600160a01b031633146110a55760405162461bcd60e51b8152600401610913906120fc565b600080546040516001600160a01b039091169083908381818185875af1925050503d80600081146110f2576040519150601f19603f3d011682016040523d82523d6000602084013e6110f7565b606091505b505090508061113d5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610913565b5050565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b031633146111b65760405162461bcd60e51b8152600401610913906120fc565b6111c26012600a61227b565b6111cc908261228a565b60145550565b6000546001600160a01b031633146111fc5760405162461bcd60e51b8152600401610913906120fc565b6001600160a01b0381166112615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610913565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610cbb82846122ba565b6001600160a01b03831661132a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610913565b6001600160a01b03821661138b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610913565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6007548390839060ff168061141a57506001600160a01b03821660009081526008602052604090205460ff165b8061143d57506001600160a01b03811660009081526008602052604090205460ff165b6114805760405162461bcd60e51b8152602060048201526014602482015273102a3930b234b7339034b9903737ba1027b832b760611b6044820152606401610913565b6001600160a01b0385166114a65760405162461bcd60e51b8152600401610913906122cd565b6001600160a01b0384166114cc5760405162461bcd60e51b815260040161091390612312565b6000831161152e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610913565b6000546001600160a01b0386811691161480159061155a57506013546001600160a01b03858116911614155b801561157f57506001600160a01b03851660009081526009602052604090205460ff16155b80156115a457506001600160a01b03841660009081526009602052604090205460ff16155b80156115c057503260009081526009602052604090205460ff16155b1561164d576015546115f1846115eb876001600160a01b031660009081526002602052604090205490565b906112bc565b111561164d5760405162461bcd60e51b815260206004820152602560248201527f42616c616e636520697320657863656564696e67206d617857616c6c657442616044820152646c616e636560d81b6064820152608401610913565b306000908152600260205260409020546014548110801590819061167b5750601354600160a01b900460ff16155b801561169557506013546001600160a01b03888116911614155b80156116aa5750601354600160a81b900460ff165b156116de576014546013805460ff60a01b1916600160a01b17905591506116d082611823565b6013805460ff60a01b191690555b6001600160a01b03871660009081526009602052604090205460ff168061171d57506001600160a01b03861660009081526009602052604090205460ff165b8061173757503260009081526009602052604090205460ff165b1561174c57611747878787611a30565b6117ee565b600061176f6103e8611769600c5489611b3c90919063ffffffff16565b90611b48565b9050600061178e6103e8611769600e548a611b3c90919063ffffffff16565b905060006117ad6103e86117696010548b611b3c90919063ffffffff16565b90506117c5816117bf84818c88611b54565b90611b54565b97506117df8a306117da856115eb88876112bc565b611a30565b6117ea8a8a8a611a30565b5050505b50505050505050565b6000818484111561181b5760405162461bcd60e51b81526004016109139190611d8f565b505050900390565b60006118406103e8611769600c5485611b3c90919063ffffffff16565b9050600061185f6103e8611769600e5486611b3c90919063ffffffff16565b9050600061187e6103e861176960105487611b3c90919063ffffffff16565b905060008161188d84866122ba565b61189791906122ba565b90508415806118a4575080155b156118b0575050505050565b6000806002866118c0858a61228a565b6118ca9190612355565b6118d49190612355565b90506118e86118e38289612377565b611b60565b478060006118f760028a612355565b6119019087612377565b61190b898561228a565b6119159190612355565b9050600061192460028b612355565b61192e9088612377565b611938898661228a565b6119429190612355565b905061194e81836122ba565b6119589084612377565b925060008511801561196a5750600083115b15611979576119798584611cba565b600a546040516001600160a01b03909116908390600081818185875af1925050503d80600081146119c6576040519150601f19603f3d011682016040523d82523d6000602084013e6119cb565b606091505b5050600b546040519197506001600160a01b0316908290600081818185875af1925050503d8060008114611a1b576040519150601f19603f3d011682016040523d82523d6000602084013e611a20565b606091505b5050505050505050505050505050565b6001600160a01b038316611a565760405162461bcd60e51b8152600401610913906122cd565b6001600160a01b038216611a7c5760405162461bcd60e51b815260040161091390612312565b611ab98160405180606001604052806026815260200161242a602691396001600160a01b03861660009081526002602052604090205491906117f7565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611ae890826112bc565b6001600160a01b0380841660008181526002602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113e09085815260200190565b6000610cbb828461228a565b6000610cbb8284612355565b6000610cbb8284612377565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b9557611b9561216b565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c129190612131565b81600181518110611c2557611c2561216b565b6001600160a01b039283166020918202929092010152601254611c4b91309116846112c8565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c8490859060009086903090429060040161238a565b600060405180830381600087803b158015611c9e57600080fd5b505af1158015611cb2573d6000803e3d6000fd5b505050505050565b601254611cd29030906001600160a01b0316846112c8565b6012546001600160a01b031663f305d719823085600080611cfb6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611d63573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611d8891906123fb565b5050505050565b600060208083528351808285015260005b81811015611dbc57858101830151858201604001528201611da0565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611df257600080fd5b50565b60008060408385031215611e0857600080fd5b8235611e1381611ddd565b946020939093013593505050565b600080600060608486031215611e3657600080fd5b8335611e4181611ddd565b92506020840135611e5181611ddd565b929592945050506040919091013590565b8015158114611df257600080fd5b600060208284031215611e8257600080fd5b8135610cbb81611e62565b600060208284031215611e9f57600080fd5b8135610cbb81611ddd565b600060208284031215611ebc57600080fd5b5035919050565b60008060408385031215611ed657600080fd5b8235611ee181611ddd565b91506020830135611ef181611e62565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611f3b57611f3b611efc565b604052919050565b600067ffffffffffffffff821115611f5d57611f5d611efc565b5060051b60200190565b600082601f830112611f7857600080fd5b81356020611f8d611f8883611f43565b611f12565b82815260059290921b84018101918181019086841115611fac57600080fd5b8286015b84811015611fc75780358352918301918301611fb0565b509695505050505050565b60008060408385031215611fe557600080fd5b823567ffffffffffffffff80821115611ffd57600080fd5b818501915085601f83011261201157600080fd5b81356020612021611f8883611f43565b82815260059290921b8401810191818101908984111561204057600080fd5b948201945b8386101561206757853561205881611ddd565b82529482019490820190612045565b9650508601359250508082111561207d57600080fd5b5061208a85828601611f67565b9150509250929050565b600080604083850312156120a757600080fd5b82356120b281611ddd565b91506020830135611ef181611ddd565b600181811c908216806120d657607f821691505b6020821081036120f657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561214357600080fd5b8151610cbb81611ddd565b60006020828403121561216057600080fd5b8151610cbb81611e62565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b808511156121d25781600019048211156121b8576121b8612181565b808516156121c557918102915b93841c939080029061219c565b509250929050565b6000826121e95750600161087a565b816121f65750600061087a565b816001811461220c576002811461221657612232565b600191505061087a565b60ff84111561222757612227612181565b50506001821b61087a565b5060208310610133831016604e8410600b8410161715612255575081810a61087a565b61225f8383612197565b806000190482111561227357612273612181565b029392505050565b6000610cbb60ff8416836121da565b808202811582820484141761087a5761087a612181565b6000600182016122b3576122b3612181565b5060010190565b8082018082111561087a5761087a612181565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261237257634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561087a5761087a612181565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123da5784516001600160a01b0316835293830193918301916001016123b5565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561241057600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122075024e4e649c6a1cfdca44acc1f773dffd556536d13055d02cdbf780e0a95ea164736f6c63430008110033
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.