ERC-20
Overview
Max Total Supply
1,000,000,000 RATIO
Holders
1,665
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ratio
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* Twitter: https://twitter.com/ethratio Telegram: https://t.me/ethratio Dashboard: https://dashboard.ethratio.io */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.21; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } pragma solidity ^0.8.21; interface IUniswapV2Router02 { 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 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; } pragma solidity ^0.8.21; 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 { 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; } } } pragma solidity ^0.8.21; 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); } pragma solidity ^0.8.21; interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } pragma solidity ^0.8.21; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.21; abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } 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 { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.21; contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } 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); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } pragma solidity ^0.8.21; contract Ratio is ERC20, Ownable { using SafeMath for uint256; bytes32 public merkleRoot; mapping(address => bool) public mintClaimed; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address private marketingWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public maxSwapAmount; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 private launchedAt; uint256 private launchedTime; uint256 public blocks; uint256 public buyTotalFees; uint256 public sellTotalFees; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; mapping(uint256 => uint256) private blockSwaps; event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); constructor() ERC20("Ratio", "RATIO") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 totalSupply = 1_000_000_000 * 1e18; maxTransactionAmount = 5_000_000 * 1e18; maxWallet = 5_000_000 * 1e18; swapTokensAtAmount = 20_000 * 1e18; maxSwapAmount = 2_000_000 * 1e18; marketingWallet = msg.sender; uint256 amountLP = totalSupply.mul(25).div(100); uint256 amountTeam = totalSupply.mul(75).div(100); _mint(address(this), amountLP); _mint(msg.sender, amountTeam); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); } receive() external payable {} function getRatioed() external payable onlyOwner { _approve(address(this), address(uniswapV2Router), totalSupply()); uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); blocks = 8; tradingActive = true; swapEnabled = true; launchedAt = block.number; launchedTime = block.timestamp; } function removeLimits() external onlyOwner { limitsInEffect = false; } function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner { swapTokensAtAmount = newAmount * (10 ** 18); } function updateMaxSwap(uint256 newAmount) external onlyOwner { maxSwapAmount = newAmount * (10 ** 18); } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.1%"); maxTransactionAmount = newNum * (10 ** 18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%"); maxWallet = newNum * (10 ** 18); } function whitelistContract(address _whitelist, bool isWL) public onlyOwner { _isExcludedMaxTransactionAmount[_whitelist] = isWL; _isExcludedFromFees[_whitelist] = isWL; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function manualswap(uint256 amount) external { require(_msgSender() == marketingWallet); require(amount <= balanceOf(address(this)) && amount > 0, "Wrong amount"); swapTokensForEth(amount); } function manualsend() external { bool success; (success,) = address(marketingWallet).call{value: address(this).balance}(""); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateFees(uint256 _fee) external onlyOwner { buyTotalFees = _fee; sellTotalFees = _fee; } function updateBuyFees(uint256 _marketingFee) external onlyOwner { buyTotalFees = _marketingFee; } function updateSellFees(uint256 _marketingFee) external onlyOwner { sellTotalFees = _marketingFee; } function updateMarketingWallet(address newMarketingWallet) external onlyOwner { emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; } function airdrop(address[] calldata addresses, uint256[] calldata amounts) external { require(addresses.length > 0 && amounts.length == addresses.length); address from = msg.sender; for (uint256 i = 0; i < addresses.length; i++) { _transfer(from, addresses[i], amounts[i] * (10 ** 18)); } } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) { if ((launchedAt + blocks) >= block.number) { // Starting Taxes sellTotalFees = 30; buyTotalFees = 30; } else { // Final Tax sellTotalFees = 0; buyTotalFees = 0; } if (!tradingActive) { require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if (!_isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { // Limit swaps per block if (blockSwaps[block.number] < 3) { swapping = true; swapBack(); swapping = false; blockSwaps[block.number] = blockSwaps[block.number] + 1; } } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0) { return; } if (contractBalance > maxSwapAmount) { contractBalance = maxSwapAmount; } // Halve the amount of liquidity tokens uint256 amountToSwapForETH = contractBalance; swapTokensForEth(amountToSwapForETH); uint256 totalETH = address(this).balance; (success,) = address(marketingWallet).call{value: totalETH}(""); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the Merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates Merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"previousOwner","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":true,"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"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRatioed","outputs":[],"stateMutability":"payable","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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSwapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintClaimed","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_marketingFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelist","type":"address"},{"internalType":"bool","name":"isWL","type":"bool"}],"name":"whitelistContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600d805462ffffff191660011790553480156200001f575f80fd5b5060405180604001604052806005815260200164526174696f60d81b81525060405180604001604052806005815260200164524154494f60d81b81525081600390816200006d9190620006c9565b5060046200007c8282620006c9565b50505062000099620000936200035860201b60201c565b6200035c565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000bb816001620003ad565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000104573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200012a919062000791565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000176573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200019c919062000791565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001e7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200020d919062000791565b6001600160a01b031660a081905262000228906001620003ad565b60a0516200023890600162000425565b6a0422ca8b0a00a4250000006009819055600b5569043c33c1937564800000600a556a01a784379d99db42000000600c5560088054610100600160a81b03191633610100021790556b033b2e3c9fd0803ce80000005f620002a86064620002a184601962000478565b906200048e565b90505f620002be6064620002a185604b62000478565b9050620002cc30836200049b565b620002d833826200049b565b620002f7620002ef6005546001600160a01b031690565b60016200057d565b620003043060016200057d565b6200031361dead60016200057d565b620003326200032a6005546001600160a01b031690565b6001620003ad565b6200033f306001620003ad565b6200034e61dead6001620003ad565b5050505062000824565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6005546001600160a01b03163314620003fb5760405162461bcd60e51b815260206004820181905260248201525f8051602062002df283398151915260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152601460205260409020805460ff1916911515919091179055565b6001600160a01b0382165f81815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b5f620004858284620007d4565b90505b92915050565b5f620004858284620007ee565b6001600160a01b038216620004f35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003f2565b8060025f8282546200050691906200080e565b90915550506001600160a01b0382165f9081526020819052604081208054839290620005349084906200080e565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620005c75760405162461bcd60e51b815260206004820181905260248201525f8051602062002df28339815191526044820152606401620003f2565b6001600160a01b0382165f81815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200065357607f821691505b6020821081036200067257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000625575f81815260208120601f850160051c81016020861015620006a05750805b601f850160051c820191505b81811015620006c157828155600101620006ac565b505050505050565b81516001600160401b03811115620006e557620006e56200062a565b620006fd81620006f684546200063e565b8462000678565b602080601f83116001811462000733575f84156200071b5750858301515b5f19600386901b1c1916600185901b178555620006c1565b5f85815260208120601f198616915b82811015620007635788860151825594840194600190910190840162000742565b50858210156200078157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215620007a2575f80fd5b81516001600160a01b0381168114620007b9575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620004885762000488620007c0565b5f826200080957634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620004885762000488620007c0565b60805160a0516125746200087e5f395f81816104a501528181610e8701526114b101525f818161039a01528181611368015281816113920152818161148201528181611d0d01528181611dc40152611e0001526125745ff3fe6080604052600436106102a8575f3560e01c806378dacee11161016f578063bbc0c742116100d8578063d85ba06311610092578063eba4c3331161006d578063eba4c3331461084b578063f2fde38b1461086a578063f578990014610889578063f8b45b0514610891575f80fd5b8063d85ba063146107dd578063dd62ed3e146107f2578063e2f4560514610836575f80fd5b8063bbc0c74214610738578063c024666814610756578063c18bc19514610775578063c8c8ebe414610794578063cce987d4146107a9578063d257b34f146107be575f80fd5b80639a7a23d6116101295780639a7a23d61461066f578063a457c2d71461068e578063a672990c146106ad578063a9059cbb146106cc578063aacebbe3146106eb578063b62496f51461070a575f80fd5b806378dacee1146105cc578063881dce60146105eb5780638da5cb5b1461060a578063924de9b71461062757806395d89b4114610646578063967ff23e1461065a575f80fd5b806339509351116102115780636fc3eaec116101cb5780636fc3eaec1461053357806370a0823114610547578063715018a61461056657806371fc46881461057a578063751039fc146105995780637571336a146105ad575f80fd5b8063395093511461047557806349bd5a5e146104945780634a62bb65146104c757806367243482146104e05780636a486a8e146104ff5780636ddd171314610514575f80fd5b806318160ddd1161026257806318160ddd146103d4578063203e727e146103f257806323b872dd1461041157806327c8f835146104305780632eb4a7ab14610445578063313ce5671461045a575f80fd5b806306fdde03146102b3578063095ea7b3146102dd57806310d5de531461030c5780631237e5e81461033a578063150074a3146103685780631694505e14610389575f80fd5b366102af57005b5f80fd5b3480156102be575f80fd5b506102c76108a6565b6040516102d491906120aa565b60405180910390f35b3480156102e8575f80fd5b506102fc6102f7366004612109565b610936565b60405190151581526020016102d4565b348015610317575f80fd5b506102fc610326366004612133565b60146020525f908152604090205460ff1681565b348015610345575f80fd5b506102fc610354366004612133565b60076020525f908152604090205460ff1681565b348015610373575f80fd5b5061038761038236600461214e565b61094c565b005b348015610394575f80fd5b506103bc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102d4565b3480156103df575f80fd5b506002545b6040519081526020016102d4565b3480156103fd575f80fd5b5061038761040c36600461214e565b610997565b34801561041c575f80fd5b506102fc61042b366004612165565b610a74565b34801561043b575f80fd5b506103bc61dead81565b348015610450575f80fd5b506103e460065481565b348015610465575f80fd5b50604051601281526020016102d4565b348015610480575f80fd5b506102fc61048f366004612109565b610b1c565b34801561049f575f80fd5b506103bc7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104d2575f80fd5b50600d546102fc9060ff1681565b3480156104eb575f80fd5b506103876104fa3660046121eb565b610b57565b34801561050a575f80fd5b506103e460125481565b34801561051f575f80fd5b50600d546102fc9062010000900460ff1681565b34801561053e575f80fd5b50610387610bee565b348015610552575f80fd5b506103e4610561366004612133565b610c48565b348015610571575f80fd5b50610387610c62565b348015610585575f80fd5b5061038761059436600461214e565b610c97565b3480156105a4575f80fd5b50610387610cc6565b3480156105b8575f80fd5b506103876105c736600461225f565b610cfc565b3480156105d7575f80fd5b506103876105e636600461214e565b610d50565b3480156105f6575f80fd5b5061038761060536600461214e565b610d84565b348015610615575f80fd5b506005546001600160a01b03166103bc565b348015610632575f80fd5b50610387610641366004612296565b610e06565b348015610651575f80fd5b506102c7610e4c565b348015610665575f80fd5b506103e460105481565b34801561067a575f80fd5b5061038761068936600461225f565b610e5b565b348015610699575f80fd5b506102fc6106a8366004612109565b610f3a565b3480156106b8575f80fd5b506103876106c736600461225f565b610fd2565b3480156106d7575f80fd5b506102fc6106e6366004612109565b611039565b3480156106f6575f80fd5b50610387610705366004612133565b611045565b348015610715575f80fd5b506102fc610724366004612133565b60156020525f908152604090205460ff1681565b348015610743575f80fd5b50600d546102fc90610100900460ff1681565b348015610761575f80fd5b5061038761077036600461225f565b6110d6565b348015610780575f80fd5b5061038761078f36600461214e565b61115e565b34801561079f575f80fd5b506103e460095481565b3480156107b4575f80fd5b506103e4600c5481565b3480156107c9575f80fd5b506103876107d836600461214e565b61122f565b3480156107e8575f80fd5b506103e460115481565b3480156107fd575f80fd5b506103e461080c3660046122b1565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610841575f80fd5b506103e4600a5481565b348015610856575f80fd5b5061038761086536600461214e565b611271565b348015610875575f80fd5b50610387610884366004612133565b6112a0565b610387611338565b34801561089c575f80fd5b506103e4600b5481565b6060600380546108b5906122dd565b80601f01602080910402602001604051908101604052809291908181526020018280546108e1906122dd565b801561092c5780601f106109035761010080835404028352916020019161092c565b820191905f5260205f20905b81548152906001019060200180831161090f57829003601f168201915b5050505050905090565b5f61094233848461153d565b5060015b92915050565b6005546001600160a01b0316331461097f5760405162461bcd60e51b815260040161097690612315565b60405180910390fd5b61099181670de0b6b3a764000061235e565b600c5550565b6005546001600160a01b031633146109c15760405162461bcd60e51b815260040161097690612315565b670de0b6b3a76400006103e86109d660025490565b6109e190600161235e565b6109eb9190612375565b6109f59190612375565b811015610a5c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610976565b610a6e81670de0b6b3a764000061235e565b60095550565b5f610a80848484611660565b6001600160a01b0384165f90815260016020908152604080832033845290915290205482811015610b045760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610976565b610b11853385840361153d565b506001949350505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610942918590610b52908690612394565b61153d565b8215801590610b6557508083145b610b6d575f80fd5b335f5b84811015610be657610bd482878784818110610b8e57610b8e6123a7565b9050602002016020810190610ba39190612133565b868685818110610bb557610bb56123a7565b90506020020135670de0b6b3a7640000610bcf919061235e565b611660565b80610bde816123bb565b915050610b70565b505050505050565b6008546040515f9161010090046001600160a01b03169047908381818185875af1925050503d805f8114610c3d576040519150601f19603f3d011682016040523d82523d5f602084013e610c42565b606091505b50505050565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b03163314610c8c5760405162461bcd60e51b815260040161097690612315565b610c955f611c67565b565b6005546001600160a01b03163314610cc15760405162461bcd60e51b815260040161097690612315565b601155565b6005546001600160a01b03163314610cf05760405162461bcd60e51b815260040161097690612315565b600d805460ff19169055565b6005546001600160a01b03163314610d265760405162461bcd60e51b815260040161097690612315565b6001600160a01b03919091165f908152601460205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d7a5760405162461bcd60e51b815260040161097690612315565b6011819055601255565b60085461010090046001600160a01b0316336001600160a01b031614610da8575f80fd5b610db130610c48565b8111158015610dbf57505f81115b610dfa5760405162461bcd60e51b815260206004820152600c60248201526b15dc9bdb99c8185b5bdd5b9d60a21b6044820152606401610976565b610e0381611cb8565b50565b6005546001600160a01b03163314610e305760405162461bcd60e51b815260040161097690612315565b600d8054911515620100000262ff000019909216919091179055565b6060600480546108b5906122dd565b6005546001600160a01b03163314610e855760405162461bcd60e51b815260040161097690612315565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610f2c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610976565b610f368282611e66565b5050565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610fbb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610976565b610fc8338585840361153d565b5060019392505050565b6005546001600160a01b03163314610ffc5760405162461bcd60e51b815260040161097690612315565b6001600160a01b039091165f908152601460209081526040808320805494151560ff19958616811790915560139092529091208054909216179055565b5f610942338484611660565b6005546001600160a01b0316331461106f5760405162461bcd60e51b815260040161097690612315565b6008546040516001600160a01b036101009092048216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600880546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546001600160a01b031633146111005760405162461bcd60e51b815260040161097690612315565b6001600160a01b0382165f81815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146111885760405162461bcd60e51b815260040161097690612315565b670de0b6b3a76400006103e861119d60025490565b6111a890600561235e565b6111b29190612375565b6111bc9190612375565b8110156112175760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610976565b61122981670de0b6b3a764000061235e565b600b5550565b6005546001600160a01b031633146112595760405162461bcd60e51b815260040161097690612315565b61126b81670de0b6b3a764000061235e565b600a5550565b6005546001600160a01b0316331461129b5760405162461bcd60e51b815260040161097690612315565b601255565b6005546001600160a01b031633146112ca5760405162461bcd60e51b815260040161097690612315565b6001600160a01b03811661132f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610976565b610e0381611c67565b6005546001600160a01b031633146113625760405162461bcd60e51b815260040161097690612315565b611390307f0000000000000000000000000000000000000000000000000000000000000000610b5260025490565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d71947306113ca30610c48565b5f806113de6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611444573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061146991906123d3565b505060405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301525f1960248301527f000000000000000000000000000000000000000000000000000000000000000016915063095ea7b3906044016020604051808303815f875af11580156114f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151c91906123fe565b506008601055600d805462ffff0019166201010017905543600e5542600f55565b6001600160a01b03831661159f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610976565b6001600160a01b0382166116005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610976565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166116865760405162461bcd60e51b815260040161097690612419565b6001600160a01b0382166116ac5760405162461bcd60e51b81526004016109769061245e565b805f036116c3576116be83835f611eb9565b505050565b600d5460ff1615611a3a576005546001600160a01b038481169116148015906116fa57506005546001600160a01b03838116911614155b801561170e57506001600160a01b03821615155b801561172557506001600160a01b03821661dead14155b8015611734575060085460ff16155b15611a3a5743601054600e5461174a9190612394565b1061175e57601e6012819055601155611768565b5f60128190556011555b600d54610100900460ff166117f9576001600160a01b0383165f9081526013602052604090205460ff16806117b457506001600160a01b0382165f9081526013602052604090205460ff165b6117f95760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610976565b6001600160a01b0383165f9081526015602052604090205460ff16801561183857506001600160a01b0382165f9081526014602052604090205460ff16155b1561190c576009548111156118ad5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610976565b600b546118b983610c48565b6118c39083612394565b11156119075760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610976565b611a3a565b6001600160a01b0382165f9081526015602052604090205460ff16801561194b57506001600160a01b0383165f9081526014602052604090205460ff16155b156119c1576009548111156119075760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610976565b6001600160a01b0382165f9081526014602052604090205460ff16611a3a57600b546119ec83610c48565b6119f69083612394565b1115611a3a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610976565b5f611a4430610c48565b600a5490915081108015908190611a635750600d5462010000900460ff165b8015611a72575060085460ff16155b8015611a9657506001600160a01b0385165f9081526015602052604090205460ff16155b8015611aba57506001600160a01b0385165f9081526013602052604090205460ff16155b8015611ade57506001600160a01b0384165f9081526013602052604090205460ff16155b15611b4357435f9081526016602052604090205460031115611b43576008805460ff19166001179055611b0f61200c565b6008805460ff19169055435f90815260166020526040902054611b33906001612394565b435f908152601660205260409020555b6008546001600160a01b0386165f9081526013602052604090205460ff91821615911680611b8857506001600160a01b0385165f9081526013602052604090205460ff165b15611b9057505f5b5f8115611c53576001600160a01b0386165f9081526015602052604090205460ff168015611bbf57505f601254115b15611beb57611be46064611bde6012548861208d90919063ffffffff16565b9061209f565b9050611c35565b6001600160a01b0387165f9081526015602052604090205460ff168015611c1357505f601154115b15611c3557611c326064611bde6011548861208d90919063ffffffff16565b90505b8015611c4657611c46873083611eb9565b611c5081866124a1565b94505b611c5e878787611eb9565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611ceb57611ceb6123a7565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d8b91906124b4565b81600181518110611d9e57611d9e6123a7565b60200260200101906001600160a01b031690816001600160a01b031681525050611de9307f00000000000000000000000000000000000000000000000000000000000000008461153d565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611e3d9085905f908690309042906004016124cf565b5f604051808303815f87803b158015611e54575f80fd5b505af1158015610be6573d5f803e3d5ffd5b6001600160a01b0382165f81815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611edf5760405162461bcd60e51b815260040161097690612419565b6001600160a01b038216611f055760405162461bcd60e51b81526004016109769061245e565b6001600160a01b0383165f9081526020819052604090205481811015611f7c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610976565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611fb2908490612394565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ffe91815260200190565b60405180910390a350505050565b5f61201630610c48565b90505f815f03612024575050565b600c5482111561203457600c5491505b8161203e81611cb8565b600854604051479161010090046001600160a01b03169082905f81818185875af1925050503d805f8114611c5e576040519150601f19603f3d011682016040523d82523d5f602084013e611c5e565b5f612098828461235e565b9392505050565b5f6120988284612375565b5f6020808352835180828501525f5b818110156120d5578581018301518582016040015282016120b9565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e03575f80fd5b5f806040838503121561211a575f80fd5b8235612125816120f5565b946020939093013593505050565b5f60208284031215612143575f80fd5b8135612098816120f5565b5f6020828403121561215e575f80fd5b5035919050565b5f805f60608486031215612177575f80fd5b8335612182816120f5565b92506020840135612192816120f5565b929592945050506040919091013590565b5f8083601f8401126121b3575f80fd5b50813567ffffffffffffffff8111156121ca575f80fd5b6020830191508360208260051b85010111156121e4575f80fd5b9250929050565b5f805f80604085870312156121fe575f80fd5b843567ffffffffffffffff80821115612215575f80fd5b612221888389016121a3565b90965094506020870135915080821115612239575f80fd5b50612246878288016121a3565b95989497509550505050565b8015158114610e03575f80fd5b5f8060408385031215612270575f80fd5b823561227b816120f5565b9150602083013561228b81612252565b809150509250929050565b5f602082840312156122a6575f80fd5b813561209881612252565b5f80604083850312156122c2575f80fd5b82356122cd816120f5565b9150602083013561228b816120f5565b600181811c908216806122f157607f821691505b60208210810361230f57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109465761094661234a565b5f8261238f57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109465761094661234a565b634e487b7160e01b5f52603260045260245ffd5b5f600182016123cc576123cc61234a565b5060010190565b5f805f606084860312156123e5575f80fd5b8351925060208401519150604084015190509250925092565b5f6020828403121561240e575f80fd5b815161209881612252565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109465761094661234a565b5f602082840312156124c4575f80fd5b8151612098816120f5565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561251d5784516001600160a01b0316835293830193918301916001016124f8565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b968f9094d087cd40317c40026b150a01505fedf46607387933ce5ad71b23fa364736f6c634300081500334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102a8575f3560e01c806378dacee11161016f578063bbc0c742116100d8578063d85ba06311610092578063eba4c3331161006d578063eba4c3331461084b578063f2fde38b1461086a578063f578990014610889578063f8b45b0514610891575f80fd5b8063d85ba063146107dd578063dd62ed3e146107f2578063e2f4560514610836575f80fd5b8063bbc0c74214610738578063c024666814610756578063c18bc19514610775578063c8c8ebe414610794578063cce987d4146107a9578063d257b34f146107be575f80fd5b80639a7a23d6116101295780639a7a23d61461066f578063a457c2d71461068e578063a672990c146106ad578063a9059cbb146106cc578063aacebbe3146106eb578063b62496f51461070a575f80fd5b806378dacee1146105cc578063881dce60146105eb5780638da5cb5b1461060a578063924de9b71461062757806395d89b4114610646578063967ff23e1461065a575f80fd5b806339509351116102115780636fc3eaec116101cb5780636fc3eaec1461053357806370a0823114610547578063715018a61461056657806371fc46881461057a578063751039fc146105995780637571336a146105ad575f80fd5b8063395093511461047557806349bd5a5e146104945780634a62bb65146104c757806367243482146104e05780636a486a8e146104ff5780636ddd171314610514575f80fd5b806318160ddd1161026257806318160ddd146103d4578063203e727e146103f257806323b872dd1461041157806327c8f835146104305780632eb4a7ab14610445578063313ce5671461045a575f80fd5b806306fdde03146102b3578063095ea7b3146102dd57806310d5de531461030c5780631237e5e81461033a578063150074a3146103685780631694505e14610389575f80fd5b366102af57005b5f80fd5b3480156102be575f80fd5b506102c76108a6565b6040516102d491906120aa565b60405180910390f35b3480156102e8575f80fd5b506102fc6102f7366004612109565b610936565b60405190151581526020016102d4565b348015610317575f80fd5b506102fc610326366004612133565b60146020525f908152604090205460ff1681565b348015610345575f80fd5b506102fc610354366004612133565b60076020525f908152604090205460ff1681565b348015610373575f80fd5b5061038761038236600461214e565b61094c565b005b348015610394575f80fd5b506103bc7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102d4565b3480156103df575f80fd5b506002545b6040519081526020016102d4565b3480156103fd575f80fd5b5061038761040c36600461214e565b610997565b34801561041c575f80fd5b506102fc61042b366004612165565b610a74565b34801561043b575f80fd5b506103bc61dead81565b348015610450575f80fd5b506103e460065481565b348015610465575f80fd5b50604051601281526020016102d4565b348015610480575f80fd5b506102fc61048f366004612109565b610b1c565b34801561049f575f80fd5b506103bc7f000000000000000000000000b4eea70239744abc626597c107ccb1c447195bc681565b3480156104d2575f80fd5b50600d546102fc9060ff1681565b3480156104eb575f80fd5b506103876104fa3660046121eb565b610b57565b34801561050a575f80fd5b506103e460125481565b34801561051f575f80fd5b50600d546102fc9062010000900460ff1681565b34801561053e575f80fd5b50610387610bee565b348015610552575f80fd5b506103e4610561366004612133565b610c48565b348015610571575f80fd5b50610387610c62565b348015610585575f80fd5b5061038761059436600461214e565b610c97565b3480156105a4575f80fd5b50610387610cc6565b3480156105b8575f80fd5b506103876105c736600461225f565b610cfc565b3480156105d7575f80fd5b506103876105e636600461214e565b610d50565b3480156105f6575f80fd5b5061038761060536600461214e565b610d84565b348015610615575f80fd5b506005546001600160a01b03166103bc565b348015610632575f80fd5b50610387610641366004612296565b610e06565b348015610651575f80fd5b506102c7610e4c565b348015610665575f80fd5b506103e460105481565b34801561067a575f80fd5b5061038761068936600461225f565b610e5b565b348015610699575f80fd5b506102fc6106a8366004612109565b610f3a565b3480156106b8575f80fd5b506103876106c736600461225f565b610fd2565b3480156106d7575f80fd5b506102fc6106e6366004612109565b611039565b3480156106f6575f80fd5b50610387610705366004612133565b611045565b348015610715575f80fd5b506102fc610724366004612133565b60156020525f908152604090205460ff1681565b348015610743575f80fd5b50600d546102fc90610100900460ff1681565b348015610761575f80fd5b5061038761077036600461225f565b6110d6565b348015610780575f80fd5b5061038761078f36600461214e565b61115e565b34801561079f575f80fd5b506103e460095481565b3480156107b4575f80fd5b506103e4600c5481565b3480156107c9575f80fd5b506103876107d836600461214e565b61122f565b3480156107e8575f80fd5b506103e460115481565b3480156107fd575f80fd5b506103e461080c3660046122b1565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610841575f80fd5b506103e4600a5481565b348015610856575f80fd5b5061038761086536600461214e565b611271565b348015610875575f80fd5b50610387610884366004612133565b6112a0565b610387611338565b34801561089c575f80fd5b506103e4600b5481565b6060600380546108b5906122dd565b80601f01602080910402602001604051908101604052809291908181526020018280546108e1906122dd565b801561092c5780601f106109035761010080835404028352916020019161092c565b820191905f5260205f20905b81548152906001019060200180831161090f57829003601f168201915b5050505050905090565b5f61094233848461153d565b5060015b92915050565b6005546001600160a01b0316331461097f5760405162461bcd60e51b815260040161097690612315565b60405180910390fd5b61099181670de0b6b3a764000061235e565b600c5550565b6005546001600160a01b031633146109c15760405162461bcd60e51b815260040161097690612315565b670de0b6b3a76400006103e86109d660025490565b6109e190600161235e565b6109eb9190612375565b6109f59190612375565b811015610a5c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610976565b610a6e81670de0b6b3a764000061235e565b60095550565b5f610a80848484611660565b6001600160a01b0384165f90815260016020908152604080832033845290915290205482811015610b045760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610976565b610b11853385840361153d565b506001949350505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610942918590610b52908690612394565b61153d565b8215801590610b6557508083145b610b6d575f80fd5b335f5b84811015610be657610bd482878784818110610b8e57610b8e6123a7565b9050602002016020810190610ba39190612133565b868685818110610bb557610bb56123a7565b90506020020135670de0b6b3a7640000610bcf919061235e565b611660565b80610bde816123bb565b915050610b70565b505050505050565b6008546040515f9161010090046001600160a01b03169047908381818185875af1925050503d805f8114610c3d576040519150601f19603f3d011682016040523d82523d5f602084013e610c42565b606091505b50505050565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b03163314610c8c5760405162461bcd60e51b815260040161097690612315565b610c955f611c67565b565b6005546001600160a01b03163314610cc15760405162461bcd60e51b815260040161097690612315565b601155565b6005546001600160a01b03163314610cf05760405162461bcd60e51b815260040161097690612315565b600d805460ff19169055565b6005546001600160a01b03163314610d265760405162461bcd60e51b815260040161097690612315565b6001600160a01b03919091165f908152601460205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d7a5760405162461bcd60e51b815260040161097690612315565b6011819055601255565b60085461010090046001600160a01b0316336001600160a01b031614610da8575f80fd5b610db130610c48565b8111158015610dbf57505f81115b610dfa5760405162461bcd60e51b815260206004820152600c60248201526b15dc9bdb99c8185b5bdd5b9d60a21b6044820152606401610976565b610e0381611cb8565b50565b6005546001600160a01b03163314610e305760405162461bcd60e51b815260040161097690612315565b600d8054911515620100000262ff000019909216919091179055565b6060600480546108b5906122dd565b6005546001600160a01b03163314610e855760405162461bcd60e51b815260040161097690612315565b7f000000000000000000000000b4eea70239744abc626597c107ccb1c447195bc66001600160a01b0316826001600160a01b031603610f2c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610976565b610f368282611e66565b5050565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610fbb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610976565b610fc8338585840361153d565b5060019392505050565b6005546001600160a01b03163314610ffc5760405162461bcd60e51b815260040161097690612315565b6001600160a01b039091165f908152601460209081526040808320805494151560ff19958616811790915560139092529091208054909216179055565b5f610942338484611660565b6005546001600160a01b0316331461106f5760405162461bcd60e51b815260040161097690612315565b6008546040516001600160a01b036101009092048216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600880546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546001600160a01b031633146111005760405162461bcd60e51b815260040161097690612315565b6001600160a01b0382165f81815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146111885760405162461bcd60e51b815260040161097690612315565b670de0b6b3a76400006103e861119d60025490565b6111a890600561235e565b6111b29190612375565b6111bc9190612375565b8110156112175760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610976565b61122981670de0b6b3a764000061235e565b600b5550565b6005546001600160a01b031633146112595760405162461bcd60e51b815260040161097690612315565b61126b81670de0b6b3a764000061235e565b600a5550565b6005546001600160a01b0316331461129b5760405162461bcd60e51b815260040161097690612315565b601255565b6005546001600160a01b031633146112ca5760405162461bcd60e51b815260040161097690612315565b6001600160a01b03811661132f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610976565b610e0381611c67565b6005546001600160a01b031633146113625760405162461bcd60e51b815260040161097690612315565b611390307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d610b5260025490565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71947306113ca30610c48565b5f806113de6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611444573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061146991906123d3565b505060405163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d811660048301525f1960248301527f000000000000000000000000b4eea70239744abc626597c107ccb1c447195bc616915063095ea7b3906044016020604051808303815f875af11580156114f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151c91906123fe565b506008601055600d805462ffff0019166201010017905543600e5542600f55565b6001600160a01b03831661159f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610976565b6001600160a01b0382166116005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610976565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166116865760405162461bcd60e51b815260040161097690612419565b6001600160a01b0382166116ac5760405162461bcd60e51b81526004016109769061245e565b805f036116c3576116be83835f611eb9565b505050565b600d5460ff1615611a3a576005546001600160a01b038481169116148015906116fa57506005546001600160a01b03838116911614155b801561170e57506001600160a01b03821615155b801561172557506001600160a01b03821661dead14155b8015611734575060085460ff16155b15611a3a5743601054600e5461174a9190612394565b1061175e57601e6012819055601155611768565b5f60128190556011555b600d54610100900460ff166117f9576001600160a01b0383165f9081526013602052604090205460ff16806117b457506001600160a01b0382165f9081526013602052604090205460ff165b6117f95760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610976565b6001600160a01b0383165f9081526015602052604090205460ff16801561183857506001600160a01b0382165f9081526014602052604090205460ff16155b1561190c576009548111156118ad5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610976565b600b546118b983610c48565b6118c39083612394565b11156119075760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610976565b611a3a565b6001600160a01b0382165f9081526015602052604090205460ff16801561194b57506001600160a01b0383165f9081526014602052604090205460ff16155b156119c1576009548111156119075760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610976565b6001600160a01b0382165f9081526014602052604090205460ff16611a3a57600b546119ec83610c48565b6119f69083612394565b1115611a3a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610976565b5f611a4430610c48565b600a5490915081108015908190611a635750600d5462010000900460ff165b8015611a72575060085460ff16155b8015611a9657506001600160a01b0385165f9081526015602052604090205460ff16155b8015611aba57506001600160a01b0385165f9081526013602052604090205460ff16155b8015611ade57506001600160a01b0384165f9081526013602052604090205460ff16155b15611b4357435f9081526016602052604090205460031115611b43576008805460ff19166001179055611b0f61200c565b6008805460ff19169055435f90815260166020526040902054611b33906001612394565b435f908152601660205260409020555b6008546001600160a01b0386165f9081526013602052604090205460ff91821615911680611b8857506001600160a01b0385165f9081526013602052604090205460ff165b15611b9057505f5b5f8115611c53576001600160a01b0386165f9081526015602052604090205460ff168015611bbf57505f601254115b15611beb57611be46064611bde6012548861208d90919063ffffffff16565b9061209f565b9050611c35565b6001600160a01b0387165f9081526015602052604090205460ff168015611c1357505f601154115b15611c3557611c326064611bde6011548861208d90919063ffffffff16565b90505b8015611c4657611c46873083611eb9565b611c5081866124a1565b94505b611c5e878787611eb9565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611ceb57611ceb6123a7565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d8b91906124b4565b81600181518110611d9e57611d9e6123a7565b60200260200101906001600160a01b031690816001600160a01b031681525050611de9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461153d565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611e3d9085905f908690309042906004016124cf565b5f604051808303815f87803b158015611e54575f80fd5b505af1158015610be6573d5f803e3d5ffd5b6001600160a01b0382165f81815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611edf5760405162461bcd60e51b815260040161097690612419565b6001600160a01b038216611f055760405162461bcd60e51b81526004016109769061245e565b6001600160a01b0383165f9081526020819052604090205481811015611f7c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610976565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611fb2908490612394565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ffe91815260200190565b60405180910390a350505050565b5f61201630610c48565b90505f815f03612024575050565b600c5482111561203457600c5491505b8161203e81611cb8565b600854604051479161010090046001600160a01b03169082905f81818185875af1925050503d805f8114611c5e576040519150601f19603f3d011682016040523d82523d5f602084013e611c5e565b5f612098828461235e565b9392505050565b5f6120988284612375565b5f6020808352835180828501525f5b818110156120d5578581018301518582016040015282016120b9565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e03575f80fd5b5f806040838503121561211a575f80fd5b8235612125816120f5565b946020939093013593505050565b5f60208284031215612143575f80fd5b8135612098816120f5565b5f6020828403121561215e575f80fd5b5035919050565b5f805f60608486031215612177575f80fd5b8335612182816120f5565b92506020840135612192816120f5565b929592945050506040919091013590565b5f8083601f8401126121b3575f80fd5b50813567ffffffffffffffff8111156121ca575f80fd5b6020830191508360208260051b85010111156121e4575f80fd5b9250929050565b5f805f80604085870312156121fe575f80fd5b843567ffffffffffffffff80821115612215575f80fd5b612221888389016121a3565b90965094506020870135915080821115612239575f80fd5b50612246878288016121a3565b95989497509550505050565b8015158114610e03575f80fd5b5f8060408385031215612270575f80fd5b823561227b816120f5565b9150602083013561228b81612252565b809150509250929050565b5f602082840312156122a6575f80fd5b813561209881612252565b5f80604083850312156122c2575f80fd5b82356122cd816120f5565b9150602083013561228b816120f5565b600181811c908216806122f157607f821691505b60208210810361230f57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109465761094661234a565b5f8261238f57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109465761094661234a565b634e487b7160e01b5f52603260045260245ffd5b5f600182016123cc576123cc61234a565b5060010190565b5f805f606084860312156123e5575f80fd5b8351925060208401519150604084015190509250925092565b5f6020828403121561240e575f80fd5b815161209881612252565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109465761094661234a565b5f602082840312156124c4575f80fd5b8151612098816120f5565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561251d5784516001600160a01b0316835293830193918301916001016124f8565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b968f9094d087cd40317c40026b150a01505fedf46607387933ce5ad71b23fa364736f6c63430008150033
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.