ERC-20
Overview
Max Total Supply
1,000,000,000 IBTC
Holders
102
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,750,000 IBTCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
iSharesBitcoin
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import {ERC20} from "solmate/tokens/ERC20.sol"; import {WETH} from "solmate/tokens/WETH.sol"; import {Owned} from "solmate/auth/Owned.sol"; import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol"; import {IUniswapV2Factory} from "./interfaces/IUniswapV2Factory.sol"; import {IUniswapV2Router} from "./interfaces/IUniswapV2Router.sol"; // Twitter: https://twitter.com/IBTCERC // Telegram: https://t.me/iBTCTokenPortal // Website: https://ibtc.capital/ // Larry Fink has launched a new ETF called IBTC. // IBTC is partially collateralised by WBTC through our ETF contract contract iSharesBitcoin is ERC20, Owned { using SafeTransferLib for ERC20; struct User { bool isBlacklisted; bool isAutomatedMarketMaker; bool isExcludedFromFees; bool isExcludedFromMaxTransactionAmount; } struct Fees { uint8 buy; uint8 sell; uint8 liquidity; uint8 index; uint8 development; } struct Settings { bool limitsInEffect; bool swapEnabled; bool blacklistRenounced; bool feeChangeRenounced; bool tradingActive; /// @dev Upon enabling trading, record the end block for bot protection fee /// @dev This fee is a 90% fee that is reduced by 5% every block for 18 blocks. uint216 endBlock; } uint256 public constant MAX_SUPPLY = 1_000_000_000 * 1e18; uint256 public constant MIN_SWAP_AMOUNT = MAX_SUPPLY / 100_000; // 0.001% uint256 public constant MAX_SWAP_AMOUNT = (MAX_SUPPLY * 5) / 1_000; // 0.5% IUniswapV2Router public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public immutable index; address public immutable developmentWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public tokensForBotProtection; Fees public feeAmounts; bool private _swapping; Settings private settings = Settings({ limitsInEffect: true, swapEnabled: true, blacklistRenounced: false, feeChangeRenounced: false, tradingActive: false, endBlock: uint216(0) }); mapping(address => User) private _users; address private wethAddress; event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeFromMaxTransaction(address indexed account, bool isExcluded); event FailedSwapBackTransfer(address indexed destination, uint256 amount); event MaxTransactionAmountUpdated(uint256 newAmount, uint256 oldAmount); event SetAutomatedMarketMakerPair(address indexed pair, bool value); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived); event SwapTokensAtAmountUpdated(uint256 newAmount, uint256 oldAmount); error Index__BlacklistModificationDisabled(); error Index__BuyAmountGreaterThanMax(); error Index__CannotBlacklistLPPair(); error Index__CannotBlacklistRouter(); error Index__CannotRemovePairFromAMMs(); error Index__CannotTransferFromAddressZero(); error Index__CannotTransferToAddressZero(); error Index__ErrorWithdrawingEth(); error Index__FeeChangeRenounced(); error Index__MaxFeeFivePercent(); error Index__MaxTransactionTooLow(); error Index__MaxWalletAmountExceeded(); error Index__MaxWalletAmountTooLow(); error Index__OnlyOwner(); error Index__ReceiverBlacklisted(); error Index__ReceiverCannotBeAddressZero(); error Index__SellAmountGreaterThanMax(); error Index__SenderBlacklisted(); error Index__StuckEthWithdrawError(); error Index__SwapAmountGreaterThanMaximum(); error Index__SwapAmountLowerThanMinimum(); error Index__TokenAddressCannotBeAddressZero(); error Index__TradingNotActive(); constructor( address indexWallet ) ERC20("iSharesBitcoin", "IBTC", 18) Owned(msg.sender) { // fix addrs index = indexWallet; developmentWallet = msg.sender; IUniswapV2Router _uniswapV2Router = IUniswapV2Router( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Router = _uniswapV2Router; wethAddress = uniswapV2Router.WETH(); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); maxTransactionAmount = MAX_SUPPLY / 200; // 0.5% maxWallet = MAX_SUPPLY / 100; // 1% swapTokensAtAmount = (MAX_SUPPLY * 5) / 10_000; // 0.05% feeAmounts = Fees({ buy: 5, sell: 5, liquidity: 20, index: 10, development: 70 }); _users[msg.sender] = User({ isExcludedFromFees: true, isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isBlacklisted: false }); _users[address(this)] = User({ isExcludedFromFees: true, isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isBlacklisted: false }); _users[address(uniswapV2Router)] = User({ isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isExcludedFromFees: false, isBlacklisted: false }); _users[address(uniswapV2Pair)] = User({ isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: true, isExcludedFromFees: false, isBlacklisted: false }); _mint(msg.sender, MAX_SUPPLY); _approve(address(uniswapV2Router), type(uint256).max); } receive() external payable {} function _requireIsOwner() internal view { require(msg.sender == owner, "!owner"); } function burn(address from, uint256 amount) external { require(msg.sender == index, "!index"); _burn(from, amount); } function updateFees(Fees memory newFees) external { _requireIsOwner(); require( newFees.development + newFees.index + newFees.liquidity == 100, "!valid" ); feeAmounts = newFees; } function finaliseFees() external { _requireIsOwner(); feeAmounts = Fees({ buy: 5, sell: 5, liquidity: 20, index: 60, development: 20 }); } function enableTrading() external { _requireIsOwner(); settings.endBlock = uint216(block.number) + 20; settings.tradingActive = true; } function removeLimits() external { _requireIsOwner(); settings.limitsInEffect = false; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external { _requireIsOwner(); if (newAmount < MIN_SWAP_AMOUNT) { revert Index__SwapAmountLowerThanMinimum(); } if (newAmount > MAX_SWAP_AMOUNT) { revert Index__SwapAmountGreaterThanMaximum(); } uint256 oldSwapAmount = swapTokensAtAmount; swapTokensAtAmount = newAmount; emit SwapTokensAtAmountUpdated(newAmount, oldSwapAmount); } function updateMaxTransactionAmount(uint256 newAmount) external { _requireIsOwner(); if (newAmount < (MAX_SUPPLY * 5) / 1000) { revert Index__MaxTransactionTooLow(); } uint256 oldMaxTransactionAmount = maxTransactionAmount; maxTransactionAmount = newAmount; emit MaxTransactionAmountUpdated(newAmount, oldMaxTransactionAmount); } function excludeFromFees(address account, bool excluded) external { _requireIsOwner(); _users[account].isExcludedFromFees = excluded; emit ExcludeFromFees(account, excluded); } function excludeFromMaxTransaction( address account, bool isExcluded ) external { _requireIsOwner(); _users[account].isExcludedFromMaxTransactionAmount = isExcluded; emit ExcludeFromMaxTransaction(account, isExcluded); } function setAutomatedMarketMakerPair(address pair, bool value) external { _requireIsOwner(); if (pair == uniswapV2Pair) { revert Index__CannotRemovePairFromAMMs(); } _users[pair].isAutomatedMarketMaker = value; emit SetAutomatedMarketMakerPair(pair, value); } function renounceBlacklist() external { _requireIsOwner(); settings.blacklistRenounced = true; } function blacklist(address account) external { _requireIsOwner(); if (settings.blacklistRenounced) { revert Index__BlacklistModificationDisabled(); } if (account == uniswapV2Pair) { revert Index__CannotBlacklistLPPair(); } if (account == address(uniswapV2Router)) { revert Index__CannotBlacklistRouter(); } _users[account].isBlacklisted = true; } // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the function unblacklist(address account) external { _requireIsOwner(); _users[account].isBlacklisted = false; } function isExcludedFromFees(address account) external view returns (bool) { return _users[account].isExcludedFromFees; } function isExcludedFromMaxTransactionAmount( address account ) external view returns (bool) { return _users[account].isExcludedFromMaxTransactionAmount; } function isAutomatedMarketMakerPair( address pair ) external view returns (bool) { return _users[pair].isAutomatedMarketMaker; } function isBlacklisted(address account) external view returns (bool) { return _users[account].isBlacklisted; } function isSwapEnabled() external view returns (bool) { return settings.swapEnabled; } function amountOfTokensForBotProtection() external view returns (uint256) { return tokensForBotProtection; } function isBlacklistRenounced() external view returns (bool) { return settings.blacklistRenounced; } function isFeeChangeRenounced() external view returns (bool) { return settings.feeChangeRenounced; } function isTradingActive() external view returns (bool) { return settings.tradingActive; } function isLimitInEffect() external view returns (bool) { return settings.limitsInEffect; } function transfer( address to, uint256 amount ) public override returns (bool) { _transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public override returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) { allowance[from][msg.sender] = allowed - amount; } _transfer(from, to, amount); return true; } function _transfer( address from, address to, uint256 amount ) internal returns (bool) { User memory fromData = _users[from]; User memory toData = _users[to]; Settings memory settingCache = settings; if (!settingCache.tradingActive) { if (!fromData.isExcludedFromFees) { if (!toData.isExcludedFromFees) { revert Index__TradingNotActive(); } } } // Apply blacklist protection if (fromData.isBlacklisted) { revert Index__SenderBlacklisted(); } if (toData.isBlacklisted) { revert Index__ReceiverBlacklisted(); } // If zero amount, continue if (amount == 0) { return true; } bool excludedFromFees = fromData.isExcludedFromFees || toData.isExcludedFromFees; // Cache transaction type for reference. // 1 = Buy // 2 = Sell // 3 = Transfer uint8 txType = 3; if (fromData.isAutomatedMarketMaker) { // Buys originate from the AMM pair txType = 1; } else if (toData.isAutomatedMarketMaker) { // Sells send funds to AMM pair txType = 2; } if (!_swapping) { if (settingCache.limitsInEffect) { //when buy if (txType == 1 && !toData.isExcludedFromMaxTransactionAmount) { if (amount > maxTransactionAmount) { revert Index__BuyAmountGreaterThanMax(); } if (amount + this.balanceOf(to) > maxWallet) { revert Index__MaxWalletAmountExceeded(); } } //when sell else if ( txType == 2 && !fromData.isExcludedFromMaxTransactionAmount ) { if (amount > maxTransactionAmount) { revert Index__SellAmountGreaterThanMax(); } } else if (!toData.isExcludedFromMaxTransactionAmount) { if (amount + this.balanceOf(to) > maxWallet) { revert Index__MaxWalletAmountExceeded(); } } } if (settingCache.swapEnabled) { // Only sells will trigger the fee swap if (txType == 2) { if (this.balanceOf(address(this)) >= swapTokensAtAmount) { _swapping = true; _swapBack(); _swapping = false; } } } } if (txType < 3) { bool takeFee = !_swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (excludedFromFees) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { Fees memory feeCache = feeAmounts; // on sell if (txType == 2) { if (feeCache.sell > 0) { fees = (amount * feeCache.sell) / 100; } } // on buy else if (txType == 1) { if (feeCache.buy > 0) { fees = (amount * feeCache.buy) / 100; } } if (block.number < settingCache.endBlock) { uint256 blocksLeft = settingCache.endBlock - block.number; uint256 botFeeMultiplier = 95; // Apply sniper protection - first 18 blocks have a fee reduced 5% each block. if (blocksLeft < 19) { botFeeMultiplier -= (5 * (19 - blocksLeft)); } uint256 botFee = (amount * botFeeMultiplier) / 100; // send tokens to dev from bot protection _doTransfer(from, developmentWallet, fees); amount -= botFee; tokensForBotProtection += botFee; } amount -= fees; if (fees > 0) { _doTransfer(from, address(this), fees); } } } _doTransfer(from, to, amount); return true; } function _swapTokensForEth(uint256 tokenAmount) internal { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) internal { uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner, block.timestamp ); } function _doTransfer( address from, address to, uint256 amount ) internal returns (bool) { balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } function _swapBack() internal { // Cache values uint256 contractBalance = this.balanceOf(address(this)); Fees memory feeCache = feeAmounts; if (contractBalance == 0) { return; } // Prevent too many tokens from being swapped uint256 maxAmount = swapTokensAtAmount * 20; if (contractBalance > maxAmount) { contractBalance = maxAmount; } uint256 liquidityAmount = (contractBalance * feeCache.liquidity) / 100; // Halve the amount of liquidity tokens uint256 liquidityTokens = liquidityAmount - (liquidityAmount / 2); uint256 initialETHBalance = address(this).balance; _swapTokensForEth(liquidityTokens); uint256 ethForLiquidity = address(this).balance - initialETHBalance; if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(liquidityTokens, ethForLiquidity); } uint256 amountToSwapForETH = contractBalance - liquidityAmount; _swapTokensForEth(amountToSwapForETH); uint256 contractEthAmount = address(this).balance; uint256 initialTotalEth = contractEthAmount + (ethForLiquidity * 2); uint256 developmentEthAmount = (initialTotalEth * feeCache.development) / 100; (bool success, ) = address(developmentWallet).call{ value: developmentEthAmount }(""); require(success); uint256 indexEthAmount = contractEthAmount - developmentEthAmount; WETH(payable(wethAddress)).deposit{value: indexEthAmount}(); ERC20(wethAddress).safeTransfer(index, indexEthAmount); } function _approve(address spender, uint256 amount) internal onlyOwner { allowance[address(this)][spender] = amount; emit Approval(address(this), spender, amount); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "./ERC20.sol"; import {SafeTransferLib} from "../utils/SafeTransferLib.sol"; /// @notice Minimalist and modern Wrapped Ether implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/WETH.sol) /// @author Inspired by WETH9 (https://github.com/dapphub/ds-weth/blob/master/src/weth9.sol) contract WETH is ERC20("Wrapped Ether", "WETH", 18) { using SafeTransferLib for address; event Deposit(address indexed from, uint256 amount); event Withdrawal(address indexed to, uint256 amount); function deposit() public payable virtual { _mint(msg.sender, msg.value); emit Deposit(msg.sender, msg.value); } function withdraw(uint256 amount) public virtual { _burn(msg.sender, amount); emit Withdrawal(msg.sender, amount); msg.sender.safeTransferETH(amount); } receive() external payable virtual { deposit(); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "../tokens/ERC20.sol"; /// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol) /// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer. /// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller. library SafeTransferLib { /*////////////////////////////////////////////////////////////// ETH OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferETH(address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /*////////////////////////////////////////////////////////////// ERC20 OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferFrom( ERC20 token, address from, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(from, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "from" argument. mstore(add(freeMemoryPointer, 36), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 100, 0, 32) ) } require(success, "TRANSFER_FROM_FAILED"); } function safeTransfer( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "TRANSFER_FAILED"); } function safeApprove( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "APPROVE_FAILED"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IUniswapV2Router { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "solmate/=lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"indexWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Index__BlacklistModificationDisabled","type":"error"},{"inputs":[],"name":"Index__BuyAmountGreaterThanMax","type":"error"},{"inputs":[],"name":"Index__CannotBlacklistLPPair","type":"error"},{"inputs":[],"name":"Index__CannotBlacklistRouter","type":"error"},{"inputs":[],"name":"Index__CannotRemovePairFromAMMs","type":"error"},{"inputs":[],"name":"Index__CannotTransferFromAddressZero","type":"error"},{"inputs":[],"name":"Index__CannotTransferToAddressZero","type":"error"},{"inputs":[],"name":"Index__ErrorWithdrawingEth","type":"error"},{"inputs":[],"name":"Index__FeeChangeRenounced","type":"error"},{"inputs":[],"name":"Index__MaxFeeFivePercent","type":"error"},{"inputs":[],"name":"Index__MaxTransactionTooLow","type":"error"},{"inputs":[],"name":"Index__MaxWalletAmountExceeded","type":"error"},{"inputs":[],"name":"Index__MaxWalletAmountTooLow","type":"error"},{"inputs":[],"name":"Index__OnlyOwner","type":"error"},{"inputs":[],"name":"Index__ReceiverBlacklisted","type":"error"},{"inputs":[],"name":"Index__ReceiverCannotBeAddressZero","type":"error"},{"inputs":[],"name":"Index__SellAmountGreaterThanMax","type":"error"},{"inputs":[],"name":"Index__SenderBlacklisted","type":"error"},{"inputs":[],"name":"Index__StuckEthWithdrawError","type":"error"},{"inputs":[],"name":"Index__SwapAmountGreaterThanMaximum","type":"error"},{"inputs":[],"name":"Index__SwapAmountLowerThanMinimum","type":"error"},{"inputs":[],"name":"Index__TokenAddressCannotBeAddressZero","type":"error"},{"inputs":[],"name":"Index__TradingNotActive","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FailedSwapBackTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"MaxTransactionAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SWAP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_SWAP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountOfTokensForBotProtection","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developmentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAmounts","outputs":[{"internalType":"uint8","name":"buy","type":"uint8"},{"internalType":"uint8","name":"sell","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"index","type":"uint8"},{"internalType":"uint8","name":"development","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finaliseFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"index","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"isAutomatedMarketMakerPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBlacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFeeChangeRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLimitInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSwapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBotProtection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"buy","type":"uint8"},{"internalType":"uint8","name":"sell","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"index","type":"uint8"},{"internalType":"uint8","name":"development","type":"uint8"}],"internalType":"struct iSharesBitcoin.Fees","name":"newFees","type":"tuple"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
61022060405260016101608190526101805260006101a08190526101c08190526101e081905261020052610101600d553480156200003c57600080fd5b5060405162003545380380620035458339810160408190526200005f91620009ca565b336040518060400160405280600e81526020016d34a9b430b932b9a134ba31b7b4b760911b815250604051806040016040528060048152602001634942544360e01b81525060128260009081620000b7919062000aa1565b506001620000c6838262000aa1565b5060ff81166080524660a052620000dc62000819565b60c0525050600680546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b038116610120523361014052737a250d5630b4cf539739df2c5dacb4c659f2488d60e0819052604080516315ab88c960e31b81529051829163ad5c46489160048083019260209291908290030181865afa15801562000198573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001be9190620009ca565b600f60006101000a8154816001600160a01b0302191690836001600160a01b03160217905550806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000223573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002499190620009ca565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000297573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002bd9190620009ca565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200030b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003319190620009ca565b6001600160a01b0316610100526200035760c86b033b2e3c9fd0803ce800000062000b83565b6007556200037360646b033b2e3c9fd0803ce800000062000b83565b600955612710620003926b033b2e3c9fd0803ce8000000600562000ba6565b6200039e919062000b83565b6008819055506040518060a00160405280600560ff168152602001600560ff168152602001601460ff168152602001600a60ff168152602001604660ff16815250600b60008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff160217905550905050604051806080016040528060001515815260200160001515815260200160011515815260200160011515815250600e6000336001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff021916908315150217905550905050604051806080016040528060001515815260200160001515815260200160011515815260200160011515815250600e6000306001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff021916908315150217905550905050604051806080016040528060001515815260200160001515815260200160001515815260200160011515815250600e600060e0516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff021916908315150217905550905050604051806080016040528060001515815260200160011515815260200160001515815260200160011515815250600e6000610100516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555090505062000800336b033b2e3c9fd0803ce8000000620008b560201b60201c565b60e051620008119060001962000923565b505062000c5a565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516200084d919062000bc6565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254620008c9919062000c44565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6006546001600160a01b03163314620009715760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b604482015260640160405180910390fd5b3060008181526004602090815260408083206001600160a01b03871680855290835292819020859055518481529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910162000917565b600060208284031215620009dd57600080fd5b81516001600160a01b0381168114620009f557600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000a2757607f821691505b60208210810362000a4857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a9c57600081815260208120601f850160051c8101602086101562000a775750805b601f850160051c820191505b8181101562000a985782815560010162000a83565b5050505b505050565b81516001600160401b0381111562000abd5762000abd620009fc565b62000ad58162000ace845462000a12565b8462000a4e565b602080601f83116001811462000b0d576000841562000af45750858301515b600019600386901b1c1916600185901b17855562000a98565b600085815260208120601f198616915b8281101562000b3e5788860151825594840194600190910190840162000b1d565b508582101562000b5d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008262000ba157634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141762000bc05762000bc062000b6d565b92915050565b600080835462000bd68162000a12565b6001828116801562000bf1576001811462000c075762000c38565b60ff198416875282151583028701945062000c38565b8760005260208060002060005b8581101562000c2f5781548a82015290840190820162000c14565b50505082870194505b50929695505050505050565b8082018082111562000bc05762000bc062000b6d565b60805160a05160c05160e05161010051610120516101405161284a62000cfb6000396000818161081d01528181611aea0152611e6d0152600081816103f301528181610f150152611f7201526000818161053401528181610e5b015261145b01526000818161032b015281816114ad015281816120960152818161214e015261220701526000610c8101526000610c4c01526000610427015261284a6000f3fe6080604052600436106102b25760003560e01c80638da5cb5b11610175578063c04a5414116100dc578063dd62ed3e11610095578063f2fde38b1161006f578063f2fde38b14610961578063f8b45b0514610981578063f9f92be414610997578063fe575a87146109b757600080fd5b8063dd62ed3e146108d3578063e2f456051461090b578063e9481eee1461092157600080fd5b8063c04a54141461080b578063c53d4d531461083f578063c8c8ebe41461085e578063cc10a17914610874578063d257b34f14610893578063d505accf146108b357600080fd5b80639dc29fac1161012e5780639dc29fac14610755578063a9059cbb14610775578063aa49802314610795578063ba1618d5146107b5578063be1ded87146107cd578063c0246668146107eb57600080fd5b80638da5cb5b146106c157806395d89b41146106e15780639759f76e146106f657806398d84a571461070b57806399f34c12146107205780639a7a23d61461073557600080fd5b80633f17b16111610219578063751039fc116101d2578063751039fc146105ec5780637571336a1461060157806375e3661e146106215780637949a403146106415780637ecebe001461067f5780638a8c523c146106ac57600080fd5b80633f17b161146104ad57806349bd5a5e146105225780634a2c2d43146105565780634fbee1931461056b5780635f189361146105aa57806370a08231146105bf57600080fd5b806323b872dd1161026b57806323b872dd146103c15780632986c0e5146103e1578063313ce5671461041557806332cb6b0c1461045b578063351a964d1461047b5780633644e5151461049857600080fd5b806306fdde03146102be578063095ea7b3146102e95780631694505e1461031957806317ee89511461036557806318160ddd146103875780631b624ecb146103ab57600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102d36109f0565b6040516102e09190612306565b60405180910390f35b3480156102f557600080fd5b5061030961030436600461236c565b610a7e565b60405190151581526020016102e0565b34801561032557600080fd5b5061034d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e0565b34801561037157600080fd5b506103856103803660046123ae565b610aeb565b005b34801561039357600080fd5b5061039d60025481565b6040519081526020016102e0565b3480156103b757600080fd5b5061039d600a5481565b3480156103cd57600080fd5b506103096103dc36600461244a565b610bd3565b3480156103ed57600080fd5b5061034d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561042157600080fd5b506104497f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016102e0565b34801561046757600080fd5b5061039d6b033b2e3c9fd0803ce800000081565b34801561048757600080fd5b50600d54610100900460ff16610309565b3480156104a457600080fd5b5061039d610c48565b3480156104b957600080fd5b50600b546104ee9060ff80821691610100810482169162010000820481169163010000008104821691600160201b9091041685565b6040805160ff968716815294861660208601529285169284019290925283166060830152909116608082015260a0016102e0565b34801561052e57600080fd5b5061034d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561056257600080fd5b50600a5461039d565b34801561057757600080fd5b5061030961058636600461248b565b6001600160a01b03166000908152600e602052604090205462010000900460ff1690565b3480156105b657600080fd5b50610385610ca3565b3480156105cb57600080fd5b5061039d6105da36600461248b565b60036020526000908152604090205481565b3480156105f857600080fd5b50610385610cbe565b34801561060d57600080fd5b5061038561061c3660046124a8565b610cd2565b34801561062d57600080fd5b5061038561063c36600461248b565b610d49565b34801561064d57600080fd5b5061030961065c36600461248b565b6001600160a01b03166000908152600e6020526040902054610100900460ff1690565b34801561068b57600080fd5b5061039d61069a36600461248b565b60056020526000908152604090205481565b3480156106b857600080fd5b50610385610d72565b3480156106cd57600080fd5b5060065461034d906001600160a01b031681565b3480156106ed57600080fd5b506102d3610dbe565b34801561070257600080fd5b5061039d610dcb565b34801561071757600080fd5b50610385610df2565b34801561072c57600080fd5b5061039d610e38565b34801561074157600080fd5b506103856107503660046124a8565b610e51565b34801561076157600080fd5b5061038561077036600461236c565b610f0a565b34801561078157600080fd5b5061030961079036600461236c565b610f79565b3480156107a157600080fd5b506103856107b03660046124e6565b610f90565b3480156107c157600080fd5b50600d5460ff16610309565b3480156107d957600080fd5b50600d5462010000900460ff16610309565b3480156107f757600080fd5b506103856108063660046124a8565b611022565b34801561081757600080fd5b5061034d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561084b57600080fd5b50600d54600160201b900460ff16610309565b34801561086a57600080fd5b5061039d60075481565b34801561088057600080fd5b50600d546301000000900460ff16610309565b34801561089f57600080fd5b506103856108ae3660046124e6565b61108b565b3480156108bf57600080fd5b506103856108ce3660046124ff565b61114e565b3480156108df57600080fd5b5061039d6108ee36600461256d565b600460209081526000928352604080842090915290825290205481565b34801561091757600080fd5b5061039d60085481565b34801561092d57600080fd5b5061030961093c36600461248b565b6001600160a01b03166000908152600e60205260409020546301000000900460ff1690565b34801561096d57600080fd5b5061038561097c36600461248b565b611392565b34801561098d57600080fd5b5061039d60095481565b3480156109a357600080fd5b506103856109b236600461248b565b611427565b3480156109c357600080fd5b506103096109d236600461248b565b6001600160a01b03166000908152600e602052604090205460ff1690565b600080546109fd9061259b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a299061259b565b8015610a765780601f10610a4b57610100808354040283529160200191610a76565b820191906000526020600020905b815481529060010190602001808311610a5957829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610ad99086815260200190565b60405180910390a35060015b92915050565b610af3611521565b806040015181606001518260800151610b0c91906125eb565b610b1691906125eb565b60ff16606414610b565760405162461bcd60e51b8152602060048201526006602482015265085d985b1a5960d21b60448201526064015b60405180910390fd5b8051600b805460208401516040850151606086015160809096015160ff908116600160201b0264ff000000001997821663010000000263ff0000001993831662010000029390931663ffff0000199483166101000261ffff1990961692909716919091179390931791909116939093179290921792909216179055565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610c2f57610c0a8382612604565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b610c3a858585611566565b5060019150505b9392505050565b60007f00000000000000000000000000000000000000000000000000000000000000004614610c7e57610c79611b76565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b610cab611521565b600d805462ff0000191662010000179055565b610cc6611521565b600d805460ff19169055565b610cda611521565b6001600160a01b0382166000818152600e602052604090819020805484151563010000000263ff00000019909116179055517fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0890610d3d90841515815260200190565b60405180910390a25050565b610d51611521565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b610d7a611521565b610d85436014612617565b600d805464ff00000000196001600160d81b039390931665010000000000029290921663ffffffff90921691909117600160201b179055565b600180546109fd9061259b565b6103e8610de56b033b2e3c9fd0803ce8000000600561263e565b610def9190612655565b81565b610dfa611521565b6040805160a081018252600580825260208201526014918101829052603c606082015260800152600b805464ffffffffff191664143c140505179055565b610def620186a06b033b2e3c9fd0803ce8000000612655565b610e59611521565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610eab5760405163775404b160e11b815260040160405180910390fd5b6001600160a01b0382166000818152600e60205260409081902080548415156101000261ff0019909116179055517fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90610d3d90841515815260200190565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610f6b5760405162461bcd60e51b8152602060048201526006602482015265042d2dcc8caf60d31b6044820152606401610b4d565b610f758282611c10565b5050565b6000610f86338484611566565b5060019392505050565b610f98611521565b6103e8610fb26b033b2e3c9fd0803ce8000000600561263e565b610fbc9190612655565b811015610fdc5760405163613d3f0760e01b815260040160405180910390fd5b600780549082905560408051838152602081018390527fd40d861b6c61fb22040b4eb8de22cc4c267673593fef5c5880e2f55e75ef454891015b60405180910390a15050565b61102a611521565b6001600160a01b0382166000818152600e6020526040908190208054841515620100000262ff000019909116179055517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df790610d3d90841515815260200190565b611093611521565b6110ac620186a06b033b2e3c9fd0803ce8000000612655565b8110156110cc5760405163b1eace1d60e01b815260040160405180910390fd5b6103e86110e66b033b2e3c9fd0803ce8000000600561263e565b6110f09190612655565b81111561111057604051632b1e640360e01b815260040160405180910390fd5b600880549082905560408051838152602081018390527febb96427ceba6a46f9f71146db5c30bc7e2fe31285e9bf34b38bbdede7cd5ea19101611016565b4284101561119e5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610b4d565b600060016111aa610c48565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156112b6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906112ec5750876001600160a01b0316816001600160a01b0316145b6113295760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610b4d565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6006546001600160a01b031633146113db5760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b6044820152606401610b4d565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b61142f611521565b600d5462010000900460ff16156114595760405163112f512960e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316036114ab576040516332a547eb60e21b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316036114fd57604051631634629960e31b815260040160405180910390fd5b6001600160a01b03166000908152600e60205260409020805460ff19166001179055565b6006546001600160a01b031633146115645760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b6044820152606401610b4d565b565b6001600160a01b038381166000908152600e60208181526040808420815160808082018452915460ff808216151583526101008083048216151584880152620100008084048316151585880152630100000093849004831615156060808701919091529a8d168a529787528589208651808701885290548084161515825282810484161515828a0152898104841615158289015284900483161515818c0152865160c081018852600d5480851615158252928304841615159881019890985297810482161515958701959095529084048116151597850197909752600160201b83049096161515908301819052650100000000009091046001600160d81b031660a083015292939261169d57826040015161169d57816040015161169d576040516394d6fb1560e01b815260040160405180910390fd5b8251156116bd57604051630c7b136160e01b815260040160405180910390fd5b8151156116dd57604051632f72662560e21b815260040160405180910390fd5b846000036116f15760019350505050610c41565b6000836040015180611704575082604001515b60208501519091506003901561171c5750600161172a565b83602001511561172a575060025b600c5460ff16611988578251156118eb578060ff16600114801561175057508360600151155b1561181157600754871115611778576040516341468fcf60e01b815260040160405180910390fd5b6009546040516370a0823160e01b81526001600160a01b038a16600482015230906370a0823190602401602060405180830381865afa1580156117bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e39190612677565b6117ed9089612690565b111561180c57604051630860e65b60e31b815260040160405180910390fd5b6118eb565b8060ff16600214801561182657508460600151155b1561184e5760075487111561180c576040516308c5a1f160e01b815260040160405180910390fd5b83606001516118eb576009546040516370a0823160e01b81526001600160a01b038a16600482015230906370a0823190602401602060405180830381865afa15801561189e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c29190612677565b6118cc9089612690565b11156118eb57604051630860e65b60e31b815260040160405180910390fd5b826020015115611988578060ff16600203611988576008546040516370a0823160e01b81523060048201819052906370a0823190602401602060405180830381865afa15801561193f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119639190612677565b1061198857600c805460ff1916600117905561197d611c8b565b600c805460ff191690555b60038160ff161015611b5b57600c5460ff161582156119a5575060005b60008115611b58576040805160a081018252600b5460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b900482166080820152908416600203611a3657602081015160ff1615611a31576064816020015160ff168b611a24919061263e565b611a2e9190612655565b91505b611a6a565b8360ff16600103611a6a57805160ff1615611a6a578051606490611a5d9060ff168c61263e565b611a679190612655565b91505b8560a001516001600160d81b0316431015611b37576000438760a001516001600160d81b0316611a9a9190612604565b9050605f6013821015611aca57611ab2826013612604565b611abd90600561263e565b611ac79082612604565b90505b60006064611ad8838f61263e565b611ae29190612655565b9050611b0f8f7f000000000000000000000000000000000000000000000000000000000000000087611fa8565b50611b1a818e612604565b9c5080600a6000828254611b2e9190612690565b90915550505050505b611b41828b612604565b99508115611b5657611b548c3084611fa8565b505b505b50505b611b66898989611fa8565b5060019998505050505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051611ba891906126a3565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b03821660009081526003602052604081208054839290611c38908490612604565b90915550506002805482900390556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015611cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ced9190612677565b6040805160a081018252600b5460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b900490911660808201529091506000829003611d49575050565b60006008546014611d5a919061263e565b905080831115611d68578092505b60006064836040015160ff1685611d7f919061263e565b611d899190612655565b90506000611d98600283612655565b611da29083612604565b905047611dae8261203f565b6000611dba8247612604565b9050600083118015611dcc5750600081115b15611e1557611ddb83826121c4565b60408051848152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6000611e218589612604565b9050611e2c8161203f565b476000611e3a84600261263e565b611e449083612690565b9050600060648a6080015160ff1683611e5d919061263e565b611e679190612655565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ed6576040519150601f19603f3d011682016040523d82523d6000602084013e611edb565b606091505b5050905080611ee957600080fd5b6000611ef58386612604565b9050600f60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015611f4757600080fd5b505af1158015611f5b573d6000803e3d6000fd5b5050600f54611f9993506001600160a01b031691507f000000000000000000000000000000000000000000000000000000000000000090508361227f565b50505050505050505050505050565b6001600160a01b038316600090815260036020526040812080548391908390611fd2908490612604565b90915550506001600160a01b03808416600081815260036020526040908190208054860190555190918616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061202d9086815260200190565b60405180910390a35060019392505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061207457612074612742565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121169190612758565b8160018151811061212957612129612742565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac9479061218e908590600090869030904290600401612775565b600060405180830381600087803b1580156121a857600080fd5b505af11580156121bc573d6000803e3d6000fd5b505050505050565b60065460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af1158015612253573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061227891906127e6565b5050505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806123005760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610b4d565b50505050565b600060208083528351808285015260005b8181101561233357858101830151858201604001528201612317565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461236957600080fd5b50565b6000806040838503121561237f57600080fd5b823561238a81612354565b946020939093013593505050565b803560ff811681146123a957600080fd5b919050565b600060a082840312156123c057600080fd5b60405160a0810181811067ffffffffffffffff821117156123f157634e487b7160e01b600052604160045260246000fd5b6040526123fd83612398565b815261240b60208401612398565b602082015261241c60408401612398565b604082015261242d60608401612398565b606082015261243e60808401612398565b60808201529392505050565b60008060006060848603121561245f57600080fd5b833561246a81612354565b9250602084013561247a81612354565b929592945050506040919091013590565b60006020828403121561249d57600080fd5b8135610c4181612354565b600080604083850312156124bb57600080fd5b82356124c681612354565b9150602083013580151581146124db57600080fd5b809150509250929050565b6000602082840312156124f857600080fd5b5035919050565b600080600080600080600060e0888a03121561251a57600080fd5b873561252581612354565b9650602088013561253581612354565b9550604088013594506060880135935061255160808901612398565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561258057600080fd5b823561258b81612354565b915060208301356124db81612354565b600181811c908216806125af57607f821691505b6020821081036125cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610ae557610ae56125d5565b81810381811115610ae557610ae56125d5565b6001600160d81b03818116838216019080821115612637576126376125d5565b5092915050565b8082028115828204841417610ae557610ae56125d5565b60008261267257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561268957600080fd5b5051919050565b80820180821115610ae557610ae56125d5565b600080835481600182811c9150808316806126bf57607f831692505b602080841082036126de57634e487b7160e01b86526022600452602486fd5b8180156126f2576001811461270757612734565b60ff1986168952841515850289019650612734565b60008a81526020902060005b8681101561272c5781548b820152908501908301612713565b505084890196505b509498975050505050505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561276a57600080fd5b8151610c4181612354565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127c55784516001600160a01b0316835293830193918301916001016127a0565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156127fb57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212209560ba22f3d588b6465738ac202952b420c96701adb3d8515d008fcb07fbbd1e64736f6c634300081400330000000000000000000000009e2542e587336f776684369207ef182f5ad82ce9
Deployed Bytecode
0x6080604052600436106102b25760003560e01c80638da5cb5b11610175578063c04a5414116100dc578063dd62ed3e11610095578063f2fde38b1161006f578063f2fde38b14610961578063f8b45b0514610981578063f9f92be414610997578063fe575a87146109b757600080fd5b8063dd62ed3e146108d3578063e2f456051461090b578063e9481eee1461092157600080fd5b8063c04a54141461080b578063c53d4d531461083f578063c8c8ebe41461085e578063cc10a17914610874578063d257b34f14610893578063d505accf146108b357600080fd5b80639dc29fac1161012e5780639dc29fac14610755578063a9059cbb14610775578063aa49802314610795578063ba1618d5146107b5578063be1ded87146107cd578063c0246668146107eb57600080fd5b80638da5cb5b146106c157806395d89b41146106e15780639759f76e146106f657806398d84a571461070b57806399f34c12146107205780639a7a23d61461073557600080fd5b80633f17b16111610219578063751039fc116101d2578063751039fc146105ec5780637571336a1461060157806375e3661e146106215780637949a403146106415780637ecebe001461067f5780638a8c523c146106ac57600080fd5b80633f17b161146104ad57806349bd5a5e146105225780634a2c2d43146105565780634fbee1931461056b5780635f189361146105aa57806370a08231146105bf57600080fd5b806323b872dd1161026b57806323b872dd146103c15780632986c0e5146103e1578063313ce5671461041557806332cb6b0c1461045b578063351a964d1461047b5780633644e5151461049857600080fd5b806306fdde03146102be578063095ea7b3146102e95780631694505e1461031957806317ee89511461036557806318160ddd146103875780631b624ecb146103ab57600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102d36109f0565b6040516102e09190612306565b60405180910390f35b3480156102f557600080fd5b5061030961030436600461236c565b610a7e565b60405190151581526020016102e0565b34801561032557600080fd5b5061034d7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102e0565b34801561037157600080fd5b506103856103803660046123ae565b610aeb565b005b34801561039357600080fd5b5061039d60025481565b6040519081526020016102e0565b3480156103b757600080fd5b5061039d600a5481565b3480156103cd57600080fd5b506103096103dc36600461244a565b610bd3565b3480156103ed57600080fd5b5061034d7f0000000000000000000000009e2542e587336f776684369207ef182f5ad82ce981565b34801561042157600080fd5b506104497f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff90911681526020016102e0565b34801561046757600080fd5b5061039d6b033b2e3c9fd0803ce800000081565b34801561048757600080fd5b50600d54610100900460ff16610309565b3480156104a457600080fd5b5061039d610c48565b3480156104b957600080fd5b50600b546104ee9060ff80821691610100810482169162010000820481169163010000008104821691600160201b9091041685565b6040805160ff968716815294861660208601529285169284019290925283166060830152909116608082015260a0016102e0565b34801561052e57600080fd5b5061034d7f0000000000000000000000007471efbebe0b046be107b2c86d3648c920a882b881565b34801561056257600080fd5b50600a5461039d565b34801561057757600080fd5b5061030961058636600461248b565b6001600160a01b03166000908152600e602052604090205462010000900460ff1690565b3480156105b657600080fd5b50610385610ca3565b3480156105cb57600080fd5b5061039d6105da36600461248b565b60036020526000908152604090205481565b3480156105f857600080fd5b50610385610cbe565b34801561060d57600080fd5b5061038561061c3660046124a8565b610cd2565b34801561062d57600080fd5b5061038561063c36600461248b565b610d49565b34801561064d57600080fd5b5061030961065c36600461248b565b6001600160a01b03166000908152600e6020526040902054610100900460ff1690565b34801561068b57600080fd5b5061039d61069a36600461248b565b60056020526000908152604090205481565b3480156106b857600080fd5b50610385610d72565b3480156106cd57600080fd5b5060065461034d906001600160a01b031681565b3480156106ed57600080fd5b506102d3610dbe565b34801561070257600080fd5b5061039d610dcb565b34801561071757600080fd5b50610385610df2565b34801561072c57600080fd5b5061039d610e38565b34801561074157600080fd5b506103856107503660046124a8565b610e51565b34801561076157600080fd5b5061038561077036600461236c565b610f0a565b34801561078157600080fd5b5061030961079036600461236c565b610f79565b3480156107a157600080fd5b506103856107b03660046124e6565b610f90565b3480156107c157600080fd5b50600d5460ff16610309565b3480156107d957600080fd5b50600d5462010000900460ff16610309565b3480156107f757600080fd5b506103856108063660046124a8565b611022565b34801561081757600080fd5b5061034d7f000000000000000000000000021ea62ca80d35b87770b87c59886d3edfcd46d681565b34801561084b57600080fd5b50600d54600160201b900460ff16610309565b34801561086a57600080fd5b5061039d60075481565b34801561088057600080fd5b50600d546301000000900460ff16610309565b34801561089f57600080fd5b506103856108ae3660046124e6565b61108b565b3480156108bf57600080fd5b506103856108ce3660046124ff565b61114e565b3480156108df57600080fd5b5061039d6108ee36600461256d565b600460209081526000928352604080842090915290825290205481565b34801561091757600080fd5b5061039d60085481565b34801561092d57600080fd5b5061030961093c36600461248b565b6001600160a01b03166000908152600e60205260409020546301000000900460ff1690565b34801561096d57600080fd5b5061038561097c36600461248b565b611392565b34801561098d57600080fd5b5061039d60095481565b3480156109a357600080fd5b506103856109b236600461248b565b611427565b3480156109c357600080fd5b506103096109d236600461248b565b6001600160a01b03166000908152600e602052604090205460ff1690565b600080546109fd9061259b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a299061259b565b8015610a765780601f10610a4b57610100808354040283529160200191610a76565b820191906000526020600020905b815481529060010190602001808311610a5957829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610ad99086815260200190565b60405180910390a35060015b92915050565b610af3611521565b806040015181606001518260800151610b0c91906125eb565b610b1691906125eb565b60ff16606414610b565760405162461bcd60e51b8152602060048201526006602482015265085d985b1a5960d21b60448201526064015b60405180910390fd5b8051600b805460208401516040850151606086015160809096015160ff908116600160201b0264ff000000001997821663010000000263ff0000001993831662010000029390931663ffff0000199483166101000261ffff1990961692909716919091179390931791909116939093179290921792909216179055565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610c2f57610c0a8382612604565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b610c3a858585611566565b5060019150505b9392505050565b60007f00000000000000000000000000000000000000000000000000000000000000014614610c7e57610c79611b76565b905090565b507faefe97e8903e9721444d6f19d44404c34db22c85f557a0c65128afd98896068890565b610cab611521565b600d805462ff0000191662010000179055565b610cc6611521565b600d805460ff19169055565b610cda611521565b6001600160a01b0382166000818152600e602052604090819020805484151563010000000263ff00000019909116179055517fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0890610d3d90841515815260200190565b60405180910390a25050565b610d51611521565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b610d7a611521565b610d85436014612617565b600d805464ff00000000196001600160d81b039390931665010000000000029290921663ffffffff90921691909117600160201b179055565b600180546109fd9061259b565b6103e8610de56b033b2e3c9fd0803ce8000000600561263e565b610def9190612655565b81565b610dfa611521565b6040805160a081018252600580825260208201526014918101829052603c606082015260800152600b805464ffffffffff191664143c140505179055565b610def620186a06b033b2e3c9fd0803ce8000000612655565b610e59611521565b7f0000000000000000000000007471efbebe0b046be107b2c86d3648c920a882b86001600160a01b0316826001600160a01b031603610eab5760405163775404b160e11b815260040160405180910390fd5b6001600160a01b0382166000818152600e60205260409081902080548415156101000261ff0019909116179055517fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90610d3d90841515815260200190565b336001600160a01b037f0000000000000000000000009e2542e587336f776684369207ef182f5ad82ce91614610f6b5760405162461bcd60e51b8152602060048201526006602482015265042d2dcc8caf60d31b6044820152606401610b4d565b610f758282611c10565b5050565b6000610f86338484611566565b5060019392505050565b610f98611521565b6103e8610fb26b033b2e3c9fd0803ce8000000600561263e565b610fbc9190612655565b811015610fdc5760405163613d3f0760e01b815260040160405180910390fd5b600780549082905560408051838152602081018390527fd40d861b6c61fb22040b4eb8de22cc4c267673593fef5c5880e2f55e75ef454891015b60405180910390a15050565b61102a611521565b6001600160a01b0382166000818152600e6020526040908190208054841515620100000262ff000019909116179055517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df790610d3d90841515815260200190565b611093611521565b6110ac620186a06b033b2e3c9fd0803ce8000000612655565b8110156110cc5760405163b1eace1d60e01b815260040160405180910390fd5b6103e86110e66b033b2e3c9fd0803ce8000000600561263e565b6110f09190612655565b81111561111057604051632b1e640360e01b815260040160405180910390fd5b600880549082905560408051838152602081018390527febb96427ceba6a46f9f71146db5c30bc7e2fe31285e9bf34b38bbdede7cd5ea19101611016565b4284101561119e5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610b4d565b600060016111aa610c48565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156112b6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906112ec5750876001600160a01b0316816001600160a01b0316145b6113295760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610b4d565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6006546001600160a01b031633146113db5760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b6044820152606401610b4d565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b61142f611521565b600d5462010000900460ff16156114595760405163112f512960e11b815260040160405180910390fd5b7f0000000000000000000000007471efbebe0b046be107b2c86d3648c920a882b86001600160a01b0316816001600160a01b0316036114ab576040516332a547eb60e21b815260040160405180910390fd5b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316816001600160a01b0316036114fd57604051631634629960e31b815260040160405180910390fd5b6001600160a01b03166000908152600e60205260409020805460ff19166001179055565b6006546001600160a01b031633146115645760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b6044820152606401610b4d565b565b6001600160a01b038381166000908152600e60208181526040808420815160808082018452915460ff808216151583526101008083048216151584880152620100008084048316151585880152630100000093849004831615156060808701919091529a8d168a529787528589208651808701885290548084161515825282810484161515828a0152898104841615158289015284900483161515818c0152865160c081018852600d5480851615158252928304841615159881019890985297810482161515958701959095529084048116151597850197909752600160201b83049096161515908301819052650100000000009091046001600160d81b031660a083015292939261169d57826040015161169d57816040015161169d576040516394d6fb1560e01b815260040160405180910390fd5b8251156116bd57604051630c7b136160e01b815260040160405180910390fd5b8151156116dd57604051632f72662560e21b815260040160405180910390fd5b846000036116f15760019350505050610c41565b6000836040015180611704575082604001515b60208501519091506003901561171c5750600161172a565b83602001511561172a575060025b600c5460ff16611988578251156118eb578060ff16600114801561175057508360600151155b1561181157600754871115611778576040516341468fcf60e01b815260040160405180910390fd5b6009546040516370a0823160e01b81526001600160a01b038a16600482015230906370a0823190602401602060405180830381865afa1580156117bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e39190612677565b6117ed9089612690565b111561180c57604051630860e65b60e31b815260040160405180910390fd5b6118eb565b8060ff16600214801561182657508460600151155b1561184e5760075487111561180c576040516308c5a1f160e01b815260040160405180910390fd5b83606001516118eb576009546040516370a0823160e01b81526001600160a01b038a16600482015230906370a0823190602401602060405180830381865afa15801561189e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c29190612677565b6118cc9089612690565b11156118eb57604051630860e65b60e31b815260040160405180910390fd5b826020015115611988578060ff16600203611988576008546040516370a0823160e01b81523060048201819052906370a0823190602401602060405180830381865afa15801561193f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119639190612677565b1061198857600c805460ff1916600117905561197d611c8b565b600c805460ff191690555b60038160ff161015611b5b57600c5460ff161582156119a5575060005b60008115611b58576040805160a081018252600b5460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b900482166080820152908416600203611a3657602081015160ff1615611a31576064816020015160ff168b611a24919061263e565b611a2e9190612655565b91505b611a6a565b8360ff16600103611a6a57805160ff1615611a6a578051606490611a5d9060ff168c61263e565b611a679190612655565b91505b8560a001516001600160d81b0316431015611b37576000438760a001516001600160d81b0316611a9a9190612604565b9050605f6013821015611aca57611ab2826013612604565b611abd90600561263e565b611ac79082612604565b90505b60006064611ad8838f61263e565b611ae29190612655565b9050611b0f8f7f000000000000000000000000021ea62ca80d35b87770b87c59886d3edfcd46d687611fa8565b50611b1a818e612604565b9c5080600a6000828254611b2e9190612690565b90915550505050505b611b41828b612604565b99508115611b5657611b548c3084611fa8565b505b505b50505b611b66898989611fa8565b5060019998505050505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051611ba891906126a3565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b03821660009081526003602052604081208054839290611c38908490612604565b90915550506002805482900390556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015611cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ced9190612677565b6040805160a081018252600b5460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b900490911660808201529091506000829003611d49575050565b60006008546014611d5a919061263e565b905080831115611d68578092505b60006064836040015160ff1685611d7f919061263e565b611d899190612655565b90506000611d98600283612655565b611da29083612604565b905047611dae8261203f565b6000611dba8247612604565b9050600083118015611dcc5750600081115b15611e1557611ddb83826121c4565b60408051848152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6000611e218589612604565b9050611e2c8161203f565b476000611e3a84600261263e565b611e449083612690565b9050600060648a6080015160ff1683611e5d919061263e565b611e679190612655565b905060007f000000000000000000000000021ea62ca80d35b87770b87c59886d3edfcd46d66001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ed6576040519150601f19603f3d011682016040523d82523d6000602084013e611edb565b606091505b5050905080611ee957600080fd5b6000611ef58386612604565b9050600f60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015611f4757600080fd5b505af1158015611f5b573d6000803e3d6000fd5b5050600f54611f9993506001600160a01b031691507f0000000000000000000000009e2542e587336f776684369207ef182f5ad82ce990508361227f565b50505050505050505050505050565b6001600160a01b038316600090815260036020526040812080548391908390611fd2908490612604565b90915550506001600160a01b03808416600081815260036020526040908190208054860190555190918616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061202d9086815260200190565b60405180910390a35060019392505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061207457612074612742565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121169190612758565b8160018151811061212957612129612742565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac9479061218e908590600090869030904290600401612775565b600060405180830381600087803b1580156121a857600080fd5b505af11580156121bc573d6000803e3d6000fd5b505050505050565b60065460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af1158015612253573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061227891906127e6565b5050505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806123005760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610b4d565b50505050565b600060208083528351808285015260005b8181101561233357858101830151858201604001528201612317565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461236957600080fd5b50565b6000806040838503121561237f57600080fd5b823561238a81612354565b946020939093013593505050565b803560ff811681146123a957600080fd5b919050565b600060a082840312156123c057600080fd5b60405160a0810181811067ffffffffffffffff821117156123f157634e487b7160e01b600052604160045260246000fd5b6040526123fd83612398565b815261240b60208401612398565b602082015261241c60408401612398565b604082015261242d60608401612398565b606082015261243e60808401612398565b60808201529392505050565b60008060006060848603121561245f57600080fd5b833561246a81612354565b9250602084013561247a81612354565b929592945050506040919091013590565b60006020828403121561249d57600080fd5b8135610c4181612354565b600080604083850312156124bb57600080fd5b82356124c681612354565b9150602083013580151581146124db57600080fd5b809150509250929050565b6000602082840312156124f857600080fd5b5035919050565b600080600080600080600060e0888a03121561251a57600080fd5b873561252581612354565b9650602088013561253581612354565b9550604088013594506060880135935061255160808901612398565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561258057600080fd5b823561258b81612354565b915060208301356124db81612354565b600181811c908216806125af57607f821691505b6020821081036125cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610ae557610ae56125d5565b81810381811115610ae557610ae56125d5565b6001600160d81b03818116838216019080821115612637576126376125d5565b5092915050565b8082028115828204841417610ae557610ae56125d5565b60008261267257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561268957600080fd5b5051919050565b80820180821115610ae557610ae56125d5565b600080835481600182811c9150808316806126bf57607f831692505b602080841082036126de57634e487b7160e01b86526022600452602486fd5b8180156126f2576001811461270757612734565b60ff1986168952841515850289019650612734565b60008a81526020902060005b8681101561272c5781548b820152908501908301612713565b505084890196505b509498975050505050505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561276a57600080fd5b8151610c4181612354565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127c55784516001600160a01b0316835293830193918301916001016127a0565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156127fb57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212209560ba22f3d588b6465738ac202952b420c96701adb3d8515d008fcb07fbbd1e64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009e2542e587336f776684369207ef182f5ad82ce9
-----Decoded View---------------
Arg [0] : indexWallet (address): 0x9e2542e587336f776684369207EF182F5AD82Ce9
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009e2542e587336f776684369207ef182f5ad82ce9
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.